@univerjs-pro/collaboration-client-ui 0.10.6-nightly.202509060724 → 0.10.6-nightly.202509060832

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 (49) 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/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0xb400(_0x1a9f13,_0x410f81){const _0x4cb619=_0x4cb6();return _0xb400=function(_0xb4005e,_0x534e2d){_0xb4005e=_0xb4005e-0xc9;let _0x277169=_0x4cb619[_0xb4005e];return _0x277169;},_0xb400(_0x1a9f13,_0x410f81);}(function(_0x43cdab,_0x9b1f54){const _0x2f77bb=_0xb400,_0x491f19=_0x43cdab();while(!![]){try{const _0x1f982c=parseInt(_0x2f77bb(0x334))/0x1*(parseInt(_0x2f77bb(0x170))/0x2)+-parseInt(_0x2f77bb(0x20f))/0x3*(parseInt(_0x2f77bb(0x343))/0x4)+-parseInt(_0x2f77bb(0x125))/0x5*(parseInt(_0x2f77bb(0x1e7))/0x6)+-parseInt(_0x2f77bb(0x1ad))/0x7*(-parseInt(_0x2f77bb(0x1cb))/0x8)+-parseInt(_0x2f77bb(0x2ed))/0x9+parseInt(_0x2f77bb(0x344))/0xa*(-parseInt(_0x2f77bb(0x169))/0xb)+-parseInt(_0x2f77bb(0x27b))/0xc*(-parseInt(_0x2f77bb(0x254))/0xd);if(_0x1f982c===_0x9b1f54)break;else _0x491f19['push'](_0x491f19['shift']());}catch(_0x5d70f0){_0x491f19['push'](_0x491f19['shift']());}}}(_0x4cb6,0xf38e4),function(_0xabf7fd,_0x4205e3){const _0x5666d0=_0xb400;typeof exports==_0x5666d0(0x15b)&&typeof module<'u'?_0x4205e3(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==_0x5666d0(0x17b)&&define['amd']?define(['exports',_0x5666d0(0x1e8),_0x5666d0(0x273),'@univerjs/core',_0x5666d0(0x286),_0x5666d0(0x122),_0x5666d0(0x1ea),'react',_0x5666d0(0x1c3),_0x5666d0(0x10f),_0x5666d0(0x127),_0x5666d0(0x28c),_0x5666d0(0x163),_0x5666d0(0x297),_0x5666d0(0xf9),_0x5666d0(0x2fc),_0x5666d0(0x319),'rxjs/operators','@univerjs/sheets-ui'],_0x4205e3):(_0xabf7fd=typeof globalThis<'u'?globalThis:_0xabf7fd||self,_0x4205e3(_0xabf7fd[_0x5666d0(0x11f)]={},_0xabf7fd[_0x5666d0(0x14b)],_0xabf7fd[_0x5666d0(0x362)],_0xabf7fd[_0x5666d0(0x126)],_0xabf7fd[_0x5666d0(0xf3)],_0xabf7fd[_0x5666d0(0x122)],_0xabf7fd[_0x5666d0(0x113)],_0xabf7fd[_0x5666d0(0x14b)],_0xabf7fd[_0x5666d0(0x35f)],_0xabf7fd[_0x5666d0(0x15c)],_0xabf7fd[_0x5666d0(0x335)],_0xabf7fd[_0x5666d0(0x226)],_0xabf7fd[_0x5666d0(0x20c)],_0xabf7fd[_0x5666d0(0x332)],_0xabf7fd['UniverProCollaboration'],_0xabf7fd[_0x5666d0(0x303)],_0xabf7fd[_0x5666d0(0x144)],_0xabf7fd['rxjs']['operators'],_0xabf7fd['UniverSheetsUi']));}(this,function(_0x535fbe,_0x57fd6d,_0x48da18,_0x4b0795,_0x1f01e3,_0x116537,_0x19c5e8,_0x32cfe0,_0x497c70,_0x5be02c,_0x56eea1,_0x2271a4,_0x592c9e,_0x26b89a,_0x14a315,_0x37373d,_0x18a630,_0x44a4f1,_0x485b3a){'use strict';const _0xd692a4=_0xb400;var _0x4b940f=Object[_0xd692a4(0x19a)],_0x197b8b=(_0x25a8f1,_0x47b536,_0x180b10)=>_0x47b536 in _0x25a8f1?_0x4b940f(_0x25a8f1,_0x47b536,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x180b10}):_0x25a8f1[_0x47b536]=_0x180b10,_0x593a34=(_0xe81ba5,_0x4f5ff9,_0x22dbc6)=>_0x197b8b(_0xe81ba5,typeof _0x4f5ff9!=_0xd692a4(0x251)?_0x4f5ff9+'':_0x4f5ff9,_0x22dbc6),_0x496d29=function(){const _0x63619f=_0xd692a4;return _0x496d29=Object[_0x63619f(0x31a)]||function(_0x486fd4){const _0xd3777e=_0x63619f;for(var _0x33f7a7,_0x3087ec=0x1,_0x4a3682=arguments[_0xd3777e(0x32c)];_0x3087ec<_0x4a3682;_0x3087ec++){_0x33f7a7=arguments[_0x3087ec];for(var _0x826763 in _0x33f7a7)Object['prototype'][_0xd3777e(0x2fa)][_0xd3777e(0x1d8)](_0x33f7a7,_0x826763)&&(_0x486fd4[_0x826763]=_0x33f7a7[_0x826763]);}return _0x486fd4;},_0x496d29[_0x63619f(0x151)](this,arguments);},_0x213329=function(_0x30e86f,_0xdd653a){const _0x49df47=_0xd692a4;var _0x16fec9={};for(var _0x3f6e52 in _0x30e86f)Object[_0x49df47(0x1c1)][_0x49df47(0x2fa)][_0x49df47(0x1d8)](_0x30e86f,_0x3f6e52)&&_0xdd653a[_0x49df47(0x31d)](_0x3f6e52)<0x0&&(_0x16fec9[_0x3f6e52]=_0x30e86f[_0x3f6e52]);if(_0x30e86f!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x432d7d=0x0,_0x3f6e52=Object['getOwnPropertySymbols'](_0x30e86f);_0x432d7d<_0x3f6e52[_0x49df47(0x32c)];_0x432d7d++)_0xdd653a[_0x49df47(0x31d)](_0x3f6e52[_0x432d7d])<0x0&&Object[_0x49df47(0x1c1)]['propertyIsEnumerable'][_0x49df47(0x1d8)](_0x30e86f,_0x3f6e52[_0x432d7d])&&(_0x16fec9[_0x3f6e52[_0x432d7d]]=_0x30e86f[_0x3f6e52[_0x432d7d]]);}return _0x16fec9;},_0x507159=_0x32cfe0['forwardRef'](function(_0x527d07,_0x47d890){const _0x31b138=_0xd692a4;var _0x41145f=_0x527d07['icon'],_0x1e3c7e=_0x527d07['id'],_0x2c4c0d=_0x527d07[_0x31b138(0x185)],_0x48b924=_0x527d07[_0x31b138(0x1ef)],_0x26a2fb=_0x213329(_0x527d07,[_0x31b138(0x34c),'id',_0x31b138(0x185),'extend']),_0x213330='univerjs-icon\x20univerjs-icon-'[_0x31b138(0x22c)](_0x1e3c7e,'\x20')[_0x31b138(0x22c)](_0x2c4c0d||'')['trim'](),_0x1d5251=_0x32cfe0[_0x31b138(0x2ab)]('_'[_0x31b138(0x22c)](_0x7cd936()));return _0x4fa9d4(_0x41145f,''['concat'](_0x1e3c7e),{'defIds':_0x41145f['defIds'],'idSuffix':_0x1d5251[_0x31b138(0x1e1)]},_0x496d29({'ref':_0x47d890,'className':_0x213330},_0x26a2fb),_0x48b924);});function _0x4fa9d4(_0x14bf02,_0x5a8468,_0x5b3120,_0x226ef7,_0x5be073){const _0xe5334e=_0xd692a4;return _0x32cfe0[_0xe5334e(0x331)](_0x14bf02[_0xe5334e(0x316)],_0x496d29(_0x496d29({'key':_0x5a8468},_0x152fbb(_0x14bf02,_0x5b3120,_0x5be073)),_0x226ef7),(_0x4998e4(_0x14bf02,_0x5b3120)[_0xe5334e(0x1f8)]||[])[_0xe5334e(0x252)](function(_0x18ca30,_0x1cea0b){const _0x38ea0d=_0xe5334e;return _0x4fa9d4(_0x18ca30,''[_0x38ea0d(0x22c)](_0x5a8468,'-')['concat'](_0x14bf02[_0x38ea0d(0x316)],'-')[_0x38ea0d(0x22c)](_0x1cea0b),_0x5b3120,void 0x0,_0x5be073);}));}function _0x152fbb(_0x554d95,_0x38afc2,_0xefae73){const _0x42536c=_0xd692a4;var _0x462060=_0x496d29({},_0x554d95[_0x42536c(0x2db)]);_0xefae73!=null&&_0xefae73['colorChannel1']&&_0x462060[_0x42536c(0x161)]===_0x42536c(0x363)&&(_0x462060[_0x42536c(0x161)]=_0xefae73['colorChannel1']),_0x554d95['tag']==='mask'&&_0x462060['id']&&(_0x462060['id']=_0x462060['id']+_0x38afc2['idSuffix']),Object[_0x42536c(0x244)](_0x462060)['forEach'](function(_0x49f61f){const _0x4db61c=_0x42536c;var _0x10c554=_0x49f61f[0x0],_0x26d172=_0x49f61f[0x1];_0x10c554===_0x4db61c(0x31e)&&typeof _0x26d172==_0x4db61c(0x1b5)&&(_0x462060[_0x10c554]=_0x26d172[_0x4db61c(0x218)](/url\(#(.*)\)/,_0x4db61c(0x330)[_0x4db61c(0x22c)](_0x38afc2[_0x4db61c(0x2a7)],')')));});var _0x1f8b7b=_0x38afc2[_0x42536c(0x1cc)];return!_0x1f8b7b||_0x1f8b7b[_0x42536c(0x32c)]===0x0||(_0x554d95[_0x42536c(0x316)]===_0x42536c(0x336)&&_0x462060[_0x42536c(0x1a2)]&&(_0x462060['xlink:href']=_0x462060[_0x42536c(0x1a2)]+_0x38afc2[_0x42536c(0x2a7)]),Object['entries'](_0x462060)[_0x42536c(0x345)](function(_0x5eb9fe){const _0xf445ed=_0x42536c;var _0x4d3736=_0x5eb9fe[0x0],_0x223dbb=_0x5eb9fe[0x1];typeof _0x223dbb=='string'&&(_0x462060[_0x4d3736]=_0x223dbb[_0xf445ed(0x218)](/url\(#(.*)\)/,'url(#$1'[_0xf445ed(0x22c)](_0x38afc2['idSuffix'],')')));})),_0x462060;}function _0x4998e4(_0x34534a,_0x196282){const _0x488b0c=_0xd692a4;var _0x59d7e2,_0x42fb49=_0x196282[_0x488b0c(0x1cc)];return!_0x42fb49||_0x42fb49[_0x488b0c(0x32c)]===0x0?_0x34534a:_0x34534a[_0x488b0c(0x316)]===_0x488b0c(0xf0)&&(!((_0x59d7e2=_0x34534a[_0x488b0c(0x1f8)])===null||_0x59d7e2===void 0x0)&&_0x59d7e2[_0x488b0c(0x32c)])?_0x496d29(_0x496d29({},_0x34534a),{'children':_0x34534a[_0x488b0c(0x1f8)]['map'](function(_0x549b10){const _0x160797=_0x488b0c;return typeof _0x549b10['attrs']['id']=='string'&&_0x42fb49&&_0x42fb49[_0x160797(0x288)](_0x549b10[_0x160797(0x2db)]['id'])?_0x496d29(_0x496d29({},_0x549b10),{'attrs':_0x496d29(_0x496d29({},_0x549b10[_0x160797(0x2db)]),{'id':_0x549b10[_0x160797(0x2db)]['id']+_0x196282[_0x160797(0x2a7)]})}):_0x549b10;})}):_0x34534a;}function _0x7cd936(){const _0x5ef123=_0xd692a4;return Math[_0x5ef123(0x22f)]()[_0x5ef123(0x24d)](0x24)[_0x5ef123(0x139)](0x2,0x8);}_0x507159['displayName']='UniverIcon';var _0x1ead05={'tag':_0xd692a4(0x2dc),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xd692a4(0x13a),'viewBox':_0xd692a4(0x12d),'width':_0xd692a4(0x217),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xd692a4(0x103)},'children':[{'tag':'path','attrs':{'stroke':_0xd692a4(0x19f),'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':_0xd692a4(0x181),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xd692a4(0xf0),'attrs':{},'children':[{'tag':_0xd692a4(0x2f6),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0xd692a4(0x14f),'attrs':{'fill':_0xd692a4(0x1b7),'d':_0xd692a4(0x2af)}}]}]}],'defIds':[_0xd692a4(0x1ec)]},_0x407fba=_0x32cfe0[_0xd692a4(0x1c8)](function(_0x17c266,_0x3f2b6d){const _0x304c99=_0xd692a4;return _0x32cfe0['createElement'](_0x507159,Object[_0x304c99(0x31a)]({},_0x17c266,{'id':_0x304c99(0x2f2),'ref':_0x3f2b6d,'icon':_0x1ead05}));});_0x407fba[_0xd692a4(0x27f)]=_0xd692a4(0x26d);var _0x4e022a={'tag':_0xd692a4(0x2dc),'attrs':{'xmlns':_0xd692a4(0xd5),'fill':_0xd692a4(0x13a),'viewBox':_0xd692a4(0x1ee),'width':_0xd692a4(0x217),'height':_0xd692a4(0x217)},'children':[{'tag':'g','attrs':{'clipPath':_0xd692a4(0xf7)},'children':[{'tag':_0xd692a4(0x14f),'attrs':{'stroke':'currentColor','d':_0xd692a4(0x1b1),'strokeLinecap':_0xd692a4(0x181),'strokeLinejoin':_0xd692a4(0x181),'strokeWidth':1.2}}]},{'tag':_0xd692a4(0xf0),'attrs':{},'children':[{'tag':_0xd692a4(0x2f6),'attrs':{'id':_0xd692a4(0x173)},'children':[{'tag':_0xd692a4(0x14f),'attrs':{'fill':_0xd692a4(0x1b7),'d':_0xd692a4(0x2af),'transform':_0xd692a4(0x2df)}}]}]}],'defIds':[_0xd692a4(0x173)]},_0x18ef15=_0x32cfe0['forwardRef'](function(_0x4f874f,_0x18aefc){const _0xd2b858=_0xd692a4;return _0x32cfe0[_0xd2b858(0x331)](_0x507159,Object[_0xd2b858(0x31a)]({},_0x4f874f,{'id':'on-line-icon','ref':_0x18aefc,'icon':_0x4e022a}));});_0x18ef15[_0xd692a4(0x27f)]=_0xd692a4(0x277);function _0x2877da(_0x3b72b6){const _0x51d333=_0xd692a4;switch(_0x3b72b6){case _0x48da18['CollaborationStatus'][_0x51d333(0x2d2)]:return _0x51d333(0x1c4);case _0x48da18[_0x51d333(0x1f5)][_0x51d333(0x20a)]:return _0x51d333(0x2cf);case _0x48da18[_0x51d333(0x1f5)][_0x51d333(0xdd)]:return _0x51d333(0xd0);case _0x48da18[_0x51d333(0x1f5)]['NOT_COLLAB']:return _0x51d333(0x309);case _0x48da18[_0x51d333(0x1f5)]['AWAITING']:case _0x48da18['CollaborationStatus'][_0x51d333(0x2ee)]:return _0x51d333(0xd8);case _0x48da18['CollaborationStatus'][_0x51d333(0x2d0)]:case _0x48da18[_0x51d333(0x1f5)]['PENDING']:return _0x51d333(0xf2);}}function _0x335262(_0x3a61c5){const _0x191fbc=_0xd692a4,{status$:_0xf9f895}=_0x3a61c5,_0x5166b9=_0x1f01e3[_0x191fbc(0x21b)](_0xf9f895,_0x48da18[_0x191fbc(0x1f5)][_0x191fbc(0x184)]),_0x147de4=_0x1f01e3['useDependency'](_0x4b0795['LocaleService']),_0x379254=_0x1f01e3[_0x191fbc(0x2e7)](_0x48da18[_0x191fbc(0x1aa)]),_0x1ba34b=_0x5166b9!==_0x48da18[_0x191fbc(0x1f5)][_0x191fbc(0x2d2)],_0x6cd9b4=_0x147de4['t'](_0x2877da(_0x5166b9)),_0x566052=_0x1ba34b?_0x57fd6d['jsx'](_0x18ef15,{}):_0x57fd6d['jsx'](_0x407fba,{}),_0x386248=_0x32cfe0[_0x191fbc(0x276)](()=>{const _0x10267f=_0x191fbc;_0x1ba34b||_0x379254[_0x10267f(0x1d9)]();},[_0x1ba34b,_0x379254]);function _0x33754e(){const _0x50150a=_0x191fbc;return _0x57fd6d[_0x50150a(0x25d)]('div',{'className':_0x50150a(0x2a8),'onClick':_0x386248,'children':[_0x57fd6d[_0x50150a(0x240)]('div',{'className':_0x19c5e8['clsx'](_0x50150a(0xed),{'univer-text-green-500':_0x1ba34b,'univer-text-red-500':!_0x1ba34b}),'children':_0x566052}),_0x57fd6d['jsx'](_0x50150a(0xcc),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x6cd9b4})]});}return _0x1ba34b?_0x33754e():_0x57fd6d[_0x191fbc(0x240)](_0x19c5e8[_0x191fbc(0x18b)],{'title':_0x147de4['t'](_0x191fbc(0x2a4)),'children':_0x33754e()});}var _0x4836cb=Object[_0xd692a4(0x158)],_0x3737dd=(_0x37c7a3,_0xd16afd,_0x2102a5,_0x1a064a)=>{const _0x2fc93a=_0xd692a4;for(var _0x2cd139=_0x1a064a>0x1?void 0x0:_0x1a064a?_0x4836cb(_0xd16afd,_0x2102a5):_0xd16afd,_0x34077d=_0x37c7a3[_0x2fc93a(0x32c)]-0x1,_0x1e09e0;_0x34077d>=0x0;_0x34077d--)(_0x1e09e0=_0x37c7a3[_0x34077d])&&(_0x2cd139=_0x1e09e0(_0x2cd139)||_0x2cd139);return _0x2cd139;},_0x21813b=(_0x58c2ac,_0x2822ff)=>(_0x11c9ec,_0x3595fa)=>_0x2822ff(_0x11c9ec,_0x3595fa,_0x58c2ac);_0x535fbe['DesktopCollaborationStatusDisplayController']=class extends _0x4b0795[_0xd692a4(0x243)]{constructor(_0x234dad,_0x47db47,_0x5da730,_0x276439){const _0x4923fb=_0xd692a4;super(),_0x593a34(this,_0x4923fb(0x201),new _0x116537['BehaviorSubject'](_0x48da18['CollaborationStatus'][_0x4923fb(0x184)])),(this[_0x4923fb(0x17e)]=_0x234dad,this[_0x4923fb(0x160)]=_0x47db47,this[_0x4923fb(0x1e3)]=_0x5da730,this['_uiPartsService']=_0x276439,this['_initStatusComponent'](),this[_0x4923fb(0x165)]());}[_0xd692a4(0x165)](){const _0x6908f7=_0xd692a4;this['disposeWithMe'](this['_univerInstanceService'][_0x6908f7(0x205)]['pipe'](_0x116537[_0x6908f7(0x365)](()=>{const _0x1a22ba=_0x6908f7,_0x4c95a8=this[_0x1a22ba(0x17e)][_0x1a22ba(0x1a3)]();return _0x4c95a8?this[_0x1a22ba(0x1e3)][_0x1a22ba(0x227)](_0x4c95a8[_0x1a22ba(0x270)]()):_0x116537['of'](null);}),_0x116537[_0x6908f7(0x365)](_0x270fc6=>_0x270fc6?_0x270fc6['status$']:_0x116537['of'](_0x48da18[_0x6908f7(0x1f5)]['NOT_COLLAB'])))[_0x6908f7(0x230)](_0x54d007=>{const _0x486c8a=_0x6908f7;this['_status$'][_0x486c8a(0x214)](_0x54d007);}));}[_0xd692a4(0x256)](){const _0x539813=_0xd692a4;this[_0x539813(0x278)](this['_uiPartsService'][_0x539813(0x2e8)](_0x1f01e3[_0x539813(0x287)][_0x539813(0x1f9)],()=>_0x1f01e3[_0x539813(0x2cd)](_0x2bc9eb({'status$':this[_0x539813(0x201)][_0x539813(0x2dd)]()}),this[_0x539813(0x160)])));}},_0x535fbe[_0xd692a4(0x268)]=_0x3737dd([_0x21813b(0x0,_0x4b0795[_0xd692a4(0x247)]),_0x21813b(0x1,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x274)])),_0x21813b(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x48da18['CollaborationController'])),_0x21813b(0x3,_0x1f01e3[_0xd692a4(0x28d)])],_0x535fbe[_0xd692a4(0x268)]);function _0x2bc9eb(_0x5f44f3){const {status$:_0x463d95}=_0x5f44f3;return function(){return _0x57fd6d['jsx'](_0x335262,{'status$':_0x463d95});};}const _0x48fdcd=_0x4b0795[_0xd692a4(0x1f2)](_0xd692a4(0x17f));var _0x3a1eb5=Object[_0xd692a4(0x158)],_0x44cfb1=(_0x23493e,_0xd5fe2d,_0x59cd46,_0x5e2dcd)=>{for(var _0xcc8cd8=_0x5e2dcd>0x1?void 0x0:_0x5e2dcd?_0x3a1eb5(_0xd5fe2d,_0x59cd46):_0xd5fe2d,_0x567a72=_0x23493e['length']-0x1,_0x3d22b9;_0x567a72>=0x0;_0x567a72--)(_0x3d22b9=_0x23493e[_0x567a72])&&(_0xcc8cd8=_0x3d22b9(_0xcc8cd8)||_0xcc8cd8);return _0xcc8cd8;},_0x8d200e=(_0x552974,_0x22a18b)=>(_0x2ded2e,_0x2054f2)=>_0x22a18b(_0x2ded2e,_0x2054f2,_0x552974);_0x535fbe[_0xd692a4(0x133)]=class extends _0x4b0795['RxDisposable']{constructor(_0x370b52,_0x55f9f6,_0x1f82a1,_0xc6f6b9,_0x54e285){const _0x3cb26f=_0xd692a4;super(),this[_0x3cb26f(0xc9)]=_0x370b52,this['_logService']=_0x55f9f6,this[_0x3cb26f(0x2c8)]=_0x1f82a1,this[_0x3cb26f(0x2f1)]=_0xc6f6b9,_0x54e285?_0x54e285==null||_0x54e285[_0x3cb26f(0x34b)]()[_0x3cb26f(0x1e9)](()=>this[_0x3cb26f(0x1a0)]()):(this[_0x3cb26f(0x16f)]['debug'](_0x3cb26f(0x149),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0xd692a4(0x1a0)](){const _0x33fe02=_0xd692a4,_0x2b6df7=this[_0x33fe02(0xc9)][_0x33fe02(0x2a0)]('unit'),_0x21287f=this[_0x33fe02(0xc9)]['getParam']('type'),_0xcbfda8=this[_0x33fe02(0xc9)][_0x33fe02(0x2a0)](_0x33fe02(0x1fa));if(!_0x2b6df7||!_0x21287f){this['_logService'][_0x33fe02(0x296)](_0x33fe02(0x149),_0x33fe02(0x325));return;}const _0x33f8a1=await this[_0x33fe02(0x2f1)]['loadUnit'](_0x2b6df7,Number(_0x21287f),_0xcbfda8);_0x33f8a1&&_0x33f8a1 instanceof _0x4b0795[_0x33fe02(0x1d6)]&&this[_0x33fe02(0x209)](_0x33f8a1);}async['_setupSubUnitSync'](_0x29c7fe){const _0x53d5d7=_0xd692a4;await this[_0x53d5d7(0x317)](_0x29c7fe),_0x29c7fe[_0x53d5d7(0x175)][_0x53d5d7(0x2ca)](_0x116537[_0x53d5d7(0x30e)](this['dispose$']))[_0x53d5d7(0x230)](_0x9f7b51=>{_0x9f7b51&&this['_updateURLWithCurrentState'](_0x9f7b51);}),this[_0x53d5d7(0xc9)][_0x53d5d7(0x2bc)][_0x53d5d7(0x2ca)](_0x116537[_0x53d5d7(0x30e)](this[_0x53d5d7(0x34d)]))['subscribe'](()=>this[_0x53d5d7(0x317)](_0x29c7fe));}[_0xd692a4(0x20b)](_0x5ecf47,_0x3284dc=!0x1){const _0x43091a=_0xd692a4,_0x2a7cff=this[_0x43091a(0xc9)]['getParam']('subunit');_0x5ecf47['getSheetId']()!==_0x2a7cff&&this[_0x43091a(0xc9)][_0x43091a(0x188)](_0x43091a(0x1fa),_0x5ecf47[_0x43091a(0x232)](),_0x3284dc);}async[_0xd692a4(0x317)](_0x4cf7e7){const _0x4c24e3=_0xd692a4;var _0x467899;const _0x20501a=this['_urlService'][_0x4c24e3(0x2a0)](_0x4c24e3(0x1fa));if(!_0x20501a||!_0x4cf7e7[_0x4c24e3(0x159)](_0x20501a)){const _0x459704=_0x4cf7e7[_0x4c24e3(0x283)]()[0x0],_0x167d10=_0x4cf7e7[_0x4c24e3(0x159)](_0x459704);if(!_0x167d10)return;this[_0x4c24e3(0x20b)](_0x167d10,!0x0),await this[_0x4c24e3(0x2c8)]['executeCommand'](_0x5be02c['SetWorksheetActivateCommand']['id'],{'unitId':_0x4cf7e7[_0x4c24e3(0x270)](),'subUnitId':_0x459704});return;}((_0x467899=_0x4cf7e7[_0x4c24e3(0x21a)]())==null?void 0x0:_0x467899[_0x4c24e3(0x232)]())!==_0x20501a&&await this[_0x4c24e3(0x2c8)][_0x4c24e3(0x1bf)](_0x5be02c[_0x4c24e3(0x112)]['id'],{'unitId':_0x4cf7e7[_0x4c24e3(0x270)](),'subUnitId':_0x20501a});}},_0x535fbe['CollaborationDataLoaderController']=_0x44cfb1([_0x8d200e(0x0,_0x48fdcd),_0x8d200e(0x1,_0x4b0795[_0xd692a4(0x2c7)]),_0x8d200e(0x2,_0x4b0795['ICommandService']),_0x8d200e(0x3,_0x4b0795[_0xd692a4(0x30b)](_0x48da18['DataLoaderService'])),_0x8d200e(0x4,_0x4b0795[_0xd692a4(0x1ab)](_0x497c70[_0xd692a4(0xe3)]))],_0x535fbe[_0xd692a4(0x133)]);var _0x2b0bb6=Object['getOwnPropertyDescriptor'],_0xb769b1=(_0x55c251,_0x4bfcc5,_0x22622a,_0x2e7ccc)=>{for(var _0x40bbc4=_0x2e7ccc>0x1?void 0x0:_0x2e7ccc?_0x2b0bb6(_0x4bfcc5,_0x22622a):_0x4bfcc5,_0x1fb360=_0x55c251['length']-0x1,_0x215fc5;_0x1fb360>=0x0;_0x1fb360--)(_0x215fc5=_0x55c251[_0x1fb360])&&(_0x40bbc4=_0x215fc5(_0x40bbc4)||_0x40bbc4);return _0x40bbc4;},_0x2c1c21=(_0x26a513,_0x57f61c)=>(_0x443c20,_0x24fe69)=>_0x57f61c(_0x443c20,_0x24fe69,_0x26a513);let _0x34f297=class extends _0x4b0795[_0xd692a4(0x259)]{constructor(_0xa42cd1,_0x1289ce){super(),this['_docClipboardService']=_0xa42cd1,this['_imageIoService']=_0x1289ce,this['_init']();}[_0xd692a4(0x1a0)](){const _0x355794=_0xd692a4,_0x5bbf52=this;this['disposeWithMe'](this[_0x355794(0x28b)][_0x355794(0x261)]({'onBeforePasteImage':async _0x2722a4=>{const _0x1b8f66=_0x355794,_0x41c6db=await _0x5bbf52['_imageIoService'][_0x1b8f66(0x1f7)](_0x2722a4);return _0x41c6db?{'source':_0x41c6db[_0x1b8f66(0x10d)],'imageSourceType':_0x41c6db[_0x1b8f66(0x1fd)]}:null;}}));}};_0x34f297=_0xb769b1([_0x2c1c21(0x0,_0x592c9e[_0xd692a4(0x21e)]),_0x2c1c21(0x1,_0x26b89a[_0xd692a4(0x1eb)])],_0x34f297);const _0x245971=['purple.300',_0xd692a4(0x27e),_0xd692a4(0x2b9),_0xd692a4(0x18f),_0xd692a4(0x10e),_0xd692a4(0xf6)];class _0x54f0e6 extends _0x4b0795['Disposable']{constructor(){const _0x38dcd0=_0xd692a4;super(...arguments),_0x593a34(this,_0x38dcd0(0x249),new Map()),_0x593a34(this,'_colorIndex',0x0);}[_0xd692a4(0x143)](_0x5026ef){const _0x45b765=_0xd692a4;if(this[_0x45b765(0x249)][_0x45b765(0x141)](_0x5026ef))return this[_0x45b765(0x249)][_0x45b765(0x166)](_0x5026ef);const _0x5de020=_0x245971[this[_0x45b765(0x308)]];return this['_colorIndex']=(this[_0x45b765(0x308)]+0x1)%_0x245971[_0x45b765(0x32c)],this['_assignedColors']['set'](_0x5026ef,_0x5de020),_0x5de020;}}function _0x12977b(_0x16b277){const _0x4edb31=_0xd692a4;let _0x192892='';for(const _0x158812 of _0x16b277){const {startOffset:_0x28a6d4,endOffset:_0x557b29,isActive:_0x38e438,rangeType:_0x211dc6,segmentId:_0x16e523,segmentPage:_0x3b3bea}=_0x158812;_0x192892[_0x4edb31(0x32c)]&&(_0x192892+=','),_0x192892+=_0x28a6d4+':'+_0x557b29+':'+(_0x38e438?'1':'0')+':'+_0x211dc6+':'+_0x16e523+':'+_0x3b3bea;}return _0x192892;}function _0x174504(_0x7e64){const _0x274a86=_0xd692a4,_0x2b2a5b=_0x7e64[_0x274a86(0x20e)](','),_0xd4daec=[];for(const _0x56a367 of _0x2b2a5b){const [_0x2c1d85,_0x2852d5,_0x584dd5,_0x3d1da9,_0x36ce48,_0x3956b5]=_0x56a367[_0x274a86(0x20e)](':');_0xd4daec['push']({'startOffset':Number(_0x2c1d85),'endOffset':Number(_0x2852d5),'collapsed':_0x2c1d85===_0x2852d5,'isActive':_0x584dd5==='1','rangeType':_0x3d1da9===_0x4b0795[_0x274a86(0x300)][_0x274a86(0x2d9)]?_0x4b0795[_0x274a86(0x300)][_0x274a86(0x2d9)]:_0x4b0795[_0x274a86(0x300)]['RECT'],'segmentId':typeof _0x36ce48=='string'?String(_0x36ce48):'','segmentPage':Number(_0x3956b5!=null?_0x3956b5:-0x1)});}return _0xd4daec[_0x274a86(0x2c0)](_0x556303=>_0x556303[_0x274a86(0x367)])||(_0xd4daec[0x0]['isActive']=!0x0),_0xd4daec;}class _0x2a6d0 extends _0x4b0795[_0xd692a4(0x259)]{constructor(){const _0x292064=_0xd692a4;super(...arguments),_0x593a34(this,_0x292064(0x224),new _0x116537['BehaviorSubject'](null)),_0x593a34(this,'collabCursorState$',this['_collabCursorState$'][_0x292064(0x2dd)]());}[_0xd692a4(0x191)](_0x125d2c){const _0x3f9e4e=_0xd692a4,{unitID:_0x4654ec,memberID:_0x4940eb,textRanges:_0x4d37ac}=_0x125d2c,_0x56a213=_0x12977b(_0x4d37ac);if(_0x56a213==='')return;const _0x38ee99={'unitID':_0x4654ec,'memberID':_0x4940eb,'selection':_0x56a213};this[_0x3f9e4e(0x224)][_0x3f9e4e(0x214)](_0x38ee99);}}var _0x2daef2=Object[_0xd692a4(0x158)],_0x208282=(_0x6d9467,_0x11e9ff,_0x1dc15a,_0x3a6d81)=>{const _0x246232=_0xd692a4;for(var _0x57f95a=_0x3a6d81>0x1?void 0x0:_0x3a6d81?_0x2daef2(_0x11e9ff,_0x1dc15a):_0x11e9ff,_0x4c447d=_0x6d9467[_0x246232(0x32c)]-0x1,_0x12c32f;_0x4c447d>=0x0;_0x4c447d--)(_0x12c32f=_0x6d9467[_0x4c447d])&&(_0x57f95a=_0x12c32f(_0x57f95a)||_0x57f95a);return _0x57f95a;},_0x3b588f=(_0x1848c9,_0x32fc82)=>(_0x48f94e,_0x3d21d3)=>_0x32fc82(_0x48f94e,_0x3d21d3,_0x1848c9);const _0x583116=0x12c,_0x4cb0db=0x64;let _0x3e2f2b=class extends _0x4b0795[_0xd692a4(0x259)]{constructor(_0x5f1b6a,_0x148c83,_0x4c1916,_0x288b36,_0x5ed46e,_0x4735d4,_0x13b761,_0x2d7d32,_0x55ef24){const _0x430dd5=_0xd692a4;super(),_0x593a34(this,'_online',!0x1),_0x593a34(this,'_init',!0x1),_0x593a34(this,_0x430dd5(0x1c0),new _0x116537[(_0x430dd5(0x30c))](new Map())),_0x593a34(this,'cursorInfo$',this[_0x430dd5(0x1c0)][_0x430dd5(0x2dd)]()),_0x593a34(this,_0x430dd5(0x358),new _0x116537[(_0x430dd5(0x30c))]([])),_0x593a34(this,_0x430dd5(0x115),this[_0x430dd5(0x358)][_0x430dd5(0x2ca)](_0x116537[_0x430dd5(0x238)](_0x583116))),_0x593a34(this,_0x430dd5(0x1ae),_0x4b0795[_0x430dd5(0x260)](_0x40dafc=>{const _0x20acbe=_0x430dd5,_0x8b2231={'eventID':_0x14a315[_0x20acbe(0x229)][_0x20acbe(0x31f)],'data':{'unitID':this[_0x20acbe(0x290)],'memberID':this['_session'][_0x20acbe(0x164)](),'selection':_0x12977b(_0x40dafc)}};this[_0x20acbe(0x215)][_0x20acbe(0x2d1)](_0x8b2231,this[_0x20acbe(0x290)]);},_0x4cb0db)),(this['unitID']=_0x5f1b6a,this[_0x430dd5(0x215)]=_0x148c83,this[_0x430dd5(0x160)]=_0x4c1916,this[_0x430dd5(0x22a)]=_0x288b36,this[_0x430dd5(0xd7)]=_0x5ed46e,this[_0x430dd5(0x2fe)]=_0x4735d4,this[_0x430dd5(0x32e)]=_0x13b761,this['_univerInstanceService']=_0x2d7d32,this[_0x430dd5(0x2c8)]=_0x55ef24);}get['cursorInfo'](){const _0x159ebc=_0xd692a4;return this[_0x159ebc(0x1c0)][_0x159ebc(0x231)]();}get[_0xd692a4(0x207)](){const _0x4b2781=_0xd692a4;return this['_roomMembers$'][_0x4b2781(0x231)]();}[_0xd692a4(0x1ca)](){const _0x3c1c4b=_0xd692a4;super[_0x3c1c4b(0x1ca)](),this[_0x3c1c4b(0x1c0)][_0x3c1c4b(0x214)](new Map()),this[_0x3c1c4b(0x1c0)][_0x3c1c4b(0x1b2)](),this[_0x3c1c4b(0x358)]['next']([]),this[_0x3c1c4b(0x358)][_0x3c1c4b(0x1b2)]();}['init'](){const _0x2b7495=_0xd692a4;this['_init']||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x2b7495(0x2ca)](_0x116537[_0x2b7495(0x30e)](this[_0x2b7495(0x34d)]))[_0x2b7495(0x230)](_0x1698dc=>{const _0x247483=_0x2b7495;_0x1698dc===_0x48da18[_0x247483(0x147)][_0x247483(0x1a4)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x2b7495(0x215)][_0x2b7495(0x11a)][_0x2b7495(0x2ca)](_0x116537['takeUntil'](this[_0x2b7495(0x34d)]))['subscribe'](_0x3c1ee2=>{const _0x5b753c=_0x2b7495,_0x555f9c=_0x3c1ee2['eventID'];_0x555f9c===_0x14a315[_0x5b753c(0x229)][_0x5b753c(0x31f)]&&this[_0x5b753c(0x350)](_0x3c1ee2),_0x555f9c===_0x14a315[_0x5b753c(0x229)][_0x5b753c(0x2c4)]&&this[_0x5b753c(0x29a)](_0x3c1ee2);}),this[_0x2b7495(0x278)](this[_0x2b7495(0x2c8)][_0x2b7495(0x352)](_0x2262b9=>{const _0x31afca=_0x2b7495,_0x66e0b5=_0x2262b9['params'];_0x66e0b5!=null&&this['_online']&&_0x2262b9['id']===_0x37373d[_0x31afca(0x18e)]['id']&&_0x66e0b5[_0x31afca(0x366)]===this[_0x31afca(0x290)]&&_0x66e0b5[_0x31afca(0x295)]===!0x1&&_0x66e0b5[_0x31afca(0x109)][_0x31afca(0x32c)]>0x0&&this['_updateLocalCursor'](_0x66e0b5['ranges']);})),this[_0x2b7495(0x2fe)][_0x2b7495(0x326)][_0x2b7495(0x2ca)](_0x116537['takeUntil'](this[_0x2b7495(0x34d)]))[_0x2b7495(0x230)](_0x5be495=>{const _0xba8aa9=_0x2b7495;if((_0x5be495==null?void 0x0:_0x5be495[_0xba8aa9(0x290)])!==this[_0xba8aa9(0x290)])return;const _0x3fb97e={'eventID':_0x14a315['CollaborationEvent'][_0xba8aa9(0x31f)],'data':_0x5be495};this['_onCursorUpdate'](_0x3fb97e);}),this[_0x2b7495(0x278)](this[_0x2b7495(0x2c8)][_0x2b7495(0x352)](_0x1d84de=>{const _0x2f6341=_0x2b7495;if(_0x1d84de['params']==null)return;const _0x16e212=_0x1d84de[_0x2f6341(0x354)];if(_0x1d84de['id']!==_0x37373d['RichTextEditingMutation']['id']||_0x16e212[_0x2f6341(0x366)]!==this[_0x2f6341(0x290)])return;const _0x251352={'id':_0x2f6341(0xde),'params':_0x16e212},_0x3a1680=this[_0x2f6341(0x2d4)];for(const [_0x27933a,_0x2d407d]of _0x3a1680){const _0x180b22={'id':_0x2f6341(0xde),'params':{'unitId':this[_0x2f6341(0x290)],'actions':null,'textRanges':_0x2d407d[_0x2f6341(0x109)]}},_0x465af1=this[_0x2f6341(0x32e)]['transformMutation'](_0x251352,_0x180b22,!0x1);if(_0x14a315[_0x2f6341(0x266)](_0x465af1))throw _0x465af1[_0x2f6341(0x13c)];_0x3a1680[_0x2f6341(0x1da)](_0x27933a,{..._0x2d407d,'ranges':_0x465af1['m2Prime'][_0x2f6341(0x354)]['textRanges']});}queueMicrotask(()=>{const _0x37f5e0=_0x2f6341;this[_0x37f5e0(0x1c0)]['next'](_0x3a1680);});})));}[_0xd692a4(0x350)](_0x492aff){const _0x118600=_0xd692a4;var _0x58a080,_0x29c37a;const {memberID:_0x11a21d,selection:_0x2a6aaf}=_0x492aff['data'],_0x3911f0=_0x174504(_0x2a6aaf),_0x45196c=(_0x29c37a=(_0x58a080=this['_memberService'][_0x118600(0x28f)](this[_0x118600(0x290)],_0x11a21d))==null?void 0x0:_0x58a080['name'])!=null?_0x29c37a:_0x118600(0xfe),_0x2e1a7b={'color':this[_0x118600(0x22a)][_0x118600(0x143)](_0x11a21d),'name':_0x45196c,'ranges':_0x3911f0},_0x43647d=this[_0x118600(0x2d4)];_0x43647d['set'](_0x11a21d,_0x2e1a7b),this['_cursorInfo$'][_0x118600(0x214)](_0x43647d);}['_onCursorDelete'](_0x2c4596){const _0x2dc01f=_0xd692a4,{memberID:_0x2b256b}=_0x2c4596[_0x2dc01f(0x349)],_0x3fcac5=this[_0x2dc01f(0x2d4)];_0x3fcac5[_0x2dc01f(0x324)](_0x2b256b),this[_0x2dc01f(0x1c0)]['next'](_0x3fcac5);}['_toggleOnline'](){const _0x553c7e=_0xd692a4;var _0x34705e;if(this[_0x553c7e(0x1b0)]=!0x0,((_0x34705e=this[_0x553c7e(0x17e)][_0x553c7e(0x1a3)]())==null?void 0x0:_0x34705e[_0x553c7e(0x270)]())!==this[_0x553c7e(0x290)])return;const _0x24b940=this['_injector'][_0x553c7e(0x166)](_0x37373d[_0x553c7e(0x30a)])[_0x553c7e(0x1e6)]();Array[_0x553c7e(0x23c)](_0x24b940)&&_0x24b940['length']>0x0&&this[_0x553c7e(0x1ae)](_0x24b940);}[_0xd692a4(0x285)](){const _0x337577=_0xd692a4;this[_0x337577(0x1b0)]=!0x1;}};_0x3e2f2b=_0x208282([_0x3b588f(0x2,_0x4b0795['Inject'](_0x4b0795[_0xd692a4(0x274)])),_0x3b588f(0x3,_0x4b0795['Inject'](_0x54f0e6)),_0x3b588f(0x4,_0x4b0795[_0xd692a4(0x30b)](_0x48da18[_0xd692a4(0x24a)])),_0x3b588f(0x5,_0x4b0795[_0xd692a4(0x30b)](_0x2a6d0)),_0x3b588f(0x6,_0x14a315[_0xd692a4(0x35a)]),_0x3b588f(0x7,_0x4b0795[_0xd692a4(0x247)]),_0x3b588f(0x8,_0x4b0795[_0xd692a4(0x2bf)])],_0x3e2f2b);var _0x107d03=Object[_0xd692a4(0x158)],_0x3c3cc0=(_0xc99b4a,_0x45d1da,_0x2c6250,_0x35419e)=>{const _0x161ed2=_0xd692a4;for(var _0x392767=_0x35419e>0x1?void 0x0:_0x35419e?_0x107d03(_0x45d1da,_0x2c6250):_0x45d1da,_0x4741e3=_0xc99b4a[_0x161ed2(0x32c)]-0x1,_0x4e5c42;_0x4741e3>=0x0;_0x4741e3--)(_0x4e5c42=_0xc99b4a[_0x4741e3])&&(_0x392767=_0x4e5c42(_0x392767)||_0x392767);return _0x392767;},_0x5430fe=(_0xb274c3,_0x42ed9c)=>(_0x121774,_0x5b91ac)=>_0x42ed9c(_0x121774,_0x5b91ac,_0xb274c3);const _0x51d904=0x12c,_0x106ddc=0x64,_0x7155e2=()=>{let _0x55e7b5=[],_0x69dd94=!0x1;return _0x4f414e=>{const _0x1621ca=_0xb400;_0x55e7b5[_0x1621ca(0x328)](_0x4f414e),_0x69dd94||(_0x69dd94=!0x0,setTimeout(()=>{const _0x25e705=_0x1621ca;_0x55e7b5[_0x25e705(0x345)](_0x76e1e7=>_0x76e1e7()),_0x55e7b5=[],_0x69dd94=!0x1;}));};};let _0x454861=class extends _0x4b0795[_0xd692a4(0x259)]{constructor(_0x24311d,_0x228894,_0xe2b55e,_0x2c7005,_0x28fbbb,_0x297ad7,_0x302f81,_0xddcc1a){const _0x15b07d=_0xd692a4;super(),_0x593a34(this,_0x15b07d(0x1b0),!0x1),_0x593a34(this,'_init',!0x1),_0x593a34(this,'_cursorInfo$',new _0x116537[(_0x15b07d(0x30c))](new Map())),_0x593a34(this,'cursorInfo$',this[_0x15b07d(0x1c0)][_0x15b07d(0x2dd)]()),_0x593a34(this,_0x15b07d(0x358),new _0x116537['BehaviorSubject']([])),_0x593a34(this,_0x15b07d(0x115),this[_0x15b07d(0x358)][_0x15b07d(0x2ca)](_0x116537[_0x15b07d(0x238)](_0x51d904))),_0x593a34(this,'_updateLocalCursor',_0x4b0795['debounce']((_0x36e3f7,_0x44b3a1)=>{const _0x1346b8=_0x15b07d,_0x3db3b8={'eventID':_0x14a315['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x1346b8(0x290)],'memberID':this['_session'][_0x1346b8(0x164)](),'selection':_0x18a630[_0x1346b8(0x1bc)](_0x36e3f7,_0x44b3a1[_0x1346b8(0xfc)])}};this['_session'][_0x1346b8(0x2d1)](_0x3db3b8,this['unitID']);},_0x106ddc)),(this['unitID']=_0x24311d,this['_session']=_0x228894,this[_0x15b07d(0x160)]=_0xe2b55e,this[_0x15b07d(0x22a)]=_0x2c7005,this[_0x15b07d(0xd7)]=_0x28fbbb,this['_univerInstanceService']=_0x297ad7,this[_0x15b07d(0x2c8)]=_0x302f81,this[_0x15b07d(0x15a)]=_0xddcc1a);}get['cursorInfo'](){const _0x1c10b8=_0xd692a4;return this[_0x1c10b8(0x1c0)][_0x1c10b8(0x231)]();}get['roomMembers'](){const _0xe19dbb=_0xd692a4;return this[_0xe19dbb(0x358)]['getValue']();}[_0xd692a4(0x1ca)](){const _0x1b8e17=_0xd692a4;super[_0x1b8e17(0x1ca)](),this[_0x1b8e17(0x1c0)]['next'](new Map()),this[_0x1b8e17(0x1c0)]['complete'](),this[_0x1b8e17(0x358)]['next']([]),this[_0x1b8e17(0x358)][_0x1b8e17(0x1b2)]();}[_0xd692a4(0x171)](){const _0x58d3ca=_0xd692a4;this['_init']||(this[_0x58d3ca(0x1a0)]=!0x0,this[_0x58d3ca(0x215)]['sessionStatus$'][_0x58d3ca(0x2ca)](_0x116537[_0x58d3ca(0x30e)](this[_0x58d3ca(0x34d)]))[_0x58d3ca(0x230)](_0xb8ec46=>{const _0x2c82dd=_0x58d3ca;_0xb8ec46===_0x48da18['SessionStatus']['ONLINE']?this[_0x2c82dd(0x2a2)]():this[_0x2c82dd(0x285)]();}),this[_0x58d3ca(0x215)][_0x58d3ca(0x11a)][_0x58d3ca(0x2ca)](_0x116537[_0x58d3ca(0x30e)](this[_0x58d3ca(0x34d)]))[_0x58d3ca(0x230)](_0x3a731c=>{const _0x4d9d04=_0x58d3ca,_0x59484f=_0x3a731c[_0x4d9d04(0x2b8)];_0x59484f===_0x14a315[_0x4d9d04(0x229)][_0x4d9d04(0x31f)]&&this[_0x4d9d04(0x350)](_0x3a731c),_0x59484f===_0x14a315['CollaborationEvent'][_0x4d9d04(0x2c4)]&&this['_onCursorDelete'](_0x3a731c);}),this[_0x58d3ca(0xf5)](),this[_0x58d3ca(0x278)](this[_0x58d3ca(0x2c8)][_0x58d3ca(0x352)](_0x35961=>{const _0x3418a3=_0x58d3ca;if(this[_0x3418a3(0x1b0)]&&_0x35961['id']===_0x5be02c[_0x3418a3(0x2e9)]['id']&&_0x35961['params']['unitId']===this[_0x3418a3(0x290)]){const _0x3f4a01=_0x35961[_0x3418a3(0x354)];this[_0x3418a3(0x1ae)](_0x3f4a01[_0x3418a3(0x16a)],_0x3f4a01['selections'][0x0]);}})));}['_onCursorUpdate'](_0x2bc04f){const _0x3060cb=_0xd692a4;var _0x7d17ab,_0x332d77;const {memberID:_0x44c083,selection:_0x59d56f}=_0x2bc04f['data'],{sheetName:_0x4eb025,range:_0x4e751b}=_0x18a630[_0x3060cb(0x2a3)](_0x59d56f),_0x3f0a7e={'name':(_0x332d77=(_0x7d17ab=this[_0x3060cb(0xd7)][_0x3060cb(0x28f)](this[_0x3060cb(0x290)],_0x44c083))==null?void 0x0:_0x7d17ab[_0x3060cb(0x302)])!=null?_0x332d77:_0x3060cb(0xfe),'range':this['_getMergeRange'](_0x4eb025,_0x4e751b),'sheetID':_0x4eb025,'color':this[_0x3060cb(0x22a)][_0x3060cb(0x143)](_0x44c083),'selection':_0x59d56f},_0x378fcb=this[_0x3060cb(0x2d4)];_0x378fcb[_0x3060cb(0x1da)](_0x44c083,_0x3f0a7e),this[_0x3060cb(0x1c0)]['next'](_0x378fcb);}['_onCursorDelete'](_0x31b88d){const _0x5058cd=_0xd692a4,{memberID:_0x12c1e9}=_0x31b88d[_0x5058cd(0x349)],_0x55db14=this['cursorInfo'];_0x55db14[_0x5058cd(0x324)](_0x12c1e9),this[_0x5058cd(0x1c0)][_0x5058cd(0x214)](_0x55db14);}['_getMergeRange'](_0xc12f56,_0x47ec1c){const _0xf3894=_0xd692a4;var _0x1e49c9,_0x1bc213;const _0x56d1aa=(_0x1bc213=(_0x1e49c9=this[_0xf3894(0x17e)][_0xf3894(0x197)](this[_0xf3894(0x290)]))==null?void 0x0:_0x1e49c9['getSheetBySheetId'](_0xc12f56))==null?void 0x0:_0x1bc213[_0xf3894(0x33d)]();return(_0x56d1aa==null?void 0x0:_0x56d1aa[_0xf3894(0x108)](_0x302577=>_0x4b0795['Rectangle']['contains'](_0x302577,_0x47ec1c)))||_0x47ec1c;}[_0xd692a4(0xf5)](){const _0x4690fd=_0xd692a4,_0x4bfa90=new _0x4b0795[(_0x4690fd(0x1a5))](),_0x76f39a=_0x7155e2(),_0x45b2ca=()=>{const _0x1b2631=_0x4690fd;_0x4bfa90['dispose']();const _0x403619=(_0x25049d,_0x208f26,_0x163b82,_0xfade7d)=>{const _0x34c9bf=_0xb400;let _0x440579=[];switch(_0x25049d['id']){case _0x5be02c[_0x34c9bf(0x234)]['DeleteRangeMoveLeftCommandId']:{_0x440579=_0x5be02c['handleDeleteRangeMoveLeft'](_0x25049d,_0xfade7d);break;}case _0x5be02c[_0x34c9bf(0x234)][_0x34c9bf(0x210)]:{_0x440579=_0x5be02c['handleDeleteRangeMoveUp'](_0x25049d,_0xfade7d);break;}case _0x5be02c[_0x34c9bf(0x234)]['InsertColCommandId']:{_0x440579=_0x5be02c[_0x34c9bf(0x35d)](_0x25049d,_0xfade7d);break;}case _0x5be02c['EffectRefRangId'][_0x34c9bf(0x12a)]:{_0x440579=_0x5be02c[_0x34c9bf(0x13b)](_0x25049d,_0xfade7d);break;}case _0x5be02c[_0x34c9bf(0x234)]['InsertRangeMoveRightCommandId']:{_0x440579=_0x5be02c[_0x34c9bf(0x135)](_0x25049d,_0xfade7d);break;}case _0x5be02c['EffectRefRangId'][_0x34c9bf(0x1fc)]:{_0x440579=_0x5be02c[_0x34c9bf(0xf1)](_0x25049d,_0xfade7d);break;}case _0x5be02c['EffectRefRangId']['MoveRangeCommandId']:{_0x440579=_0x5be02c[_0x34c9bf(0xe9)](_0x25049d,_0xfade7d);break;}case _0x5be02c[_0x34c9bf(0x234)][_0x34c9bf(0x299)]:{_0x440579=_0x5be02c['handleIRemoveCol'](_0x25049d,_0xfade7d);break;}case _0x5be02c[_0x34c9bf(0x234)][_0x34c9bf(0x19e)]:{_0x440579=_0x5be02c[_0x34c9bf(0x128)](_0x25049d,_0xfade7d);break;}}const _0x12b89a=_0x5be02c[_0x34c9bf(0x120)](_0x440579,_0xfade7d),_0x28992d=this[_0x34c9bf(0x2d4)]['get'](_0x208f26);if(_0x28992d&&_0x12b89a){const _0x4b730c={..._0x28992d,'range':_0x12b89a};this[_0x34c9bf(0x2d4)]['set'](_0x208f26,_0x4b730c),_0x76f39a(()=>{const _0x347be7=_0x34c9bf,_0x1b100a=this[_0x347be7(0x15a)][_0x347be7(0x235)](_0x12b89a,_0x56bef2=>(_0x1b100a['dispose'](),_0x403619(_0x56bef2,_0x208f26,_0x163b82,_0x12b89a)));_0x4bfa90['add'](_0x1b100a);});}return{'redos':[],'undos':[]};};this[_0x1b2631(0x2d4)][_0x1b2631(0x345)]((_0x5c2f05,_0x51434d)=>{const _0x1f175a=_0x1b2631,{range:_0x2c5b7f,sheetID:_0x1084c3}=_0x5c2f05,_0xb02567=this[_0x1f175a(0x15a)][_0x1f175a(0x235)](_0x2c5b7f,_0xaec8c9=>(_0xb02567[_0x1f175a(0x1ca)](),_0x403619(_0xaec8c9,_0x51434d,_0x1084c3,_0x2c5b7f)));_0x4bfa90[_0x1f175a(0x29d)](_0xb02567);});};this[_0x4690fd(0x278)](_0x4b0795[_0x4690fd(0x2ba)](this[_0x4690fd(0x1c0)][_0x4690fd(0x230)](()=>{_0x45b2ca();})));}[_0xd692a4(0x2a2)](){const _0x22a688=_0xd692a4;var _0x2fa22f,_0x23af75;if(this[_0x22a688(0x1b0)]=!0x0,((_0x2fa22f=this[_0x22a688(0x17e)][_0x22a688(0x1a3)]())==null?void 0x0:_0x2fa22f[_0x22a688(0x270)]())!==this[_0x22a688(0x290)])return;const _0x46d23e=(_0x23af75=this[_0x22a688(0x160)][_0x22a688(0x166)](_0x5be02c[_0x22a688(0x24b)])['getCurrentSelections']())==null?void 0x0:_0x23af75[0x0],_0x20def7=this[_0x22a688(0x17e)][_0x22a688(0x239)](_0x4b0795[_0x22a688(0xfb)][_0x22a688(0x167)])[_0x22a688(0x21a)]();_0x46d23e&&_0x20def7&&this[_0x22a688(0x1ae)](_0x20def7[_0x22a688(0x232)](),_0x46d23e);}[_0xd692a4(0x285)](){const _0x106faa=_0xd692a4;this[_0x106faa(0x1b0)]=!0x1;}};_0x454861=_0x3c3cc0([_0x5430fe(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x274)])),_0x5430fe(0x3,_0x4b0795[_0xd692a4(0x30b)](_0x54f0e6)),_0x5430fe(0x4,_0x4b0795[_0xd692a4(0x30b)](_0x48da18[_0xd692a4(0x24a)])),_0x5430fe(0x5,_0x4b0795[_0xd692a4(0x247)]),_0x5430fe(0x6,_0x4b0795[_0xd692a4(0x2bf)]),_0x5430fe(0x7,_0x4b0795[_0xd692a4(0x30b)](_0x5be02c[_0xd692a4(0x17a)]))],_0x454861);var _0x459500=Object['getOwnPropertyDescriptor'],_0x42c435=(_0x4cf2f1,_0xe74258,_0x189df9,_0x3be0d2)=>{for(var _0x11aaca=_0x3be0d2>0x1?void 0x0:_0x3be0d2?_0x459500(_0xe74258,_0x189df9):_0xe74258,_0x1ebfc5=_0x4cf2f1['length']-0x1,_0x1e2386;_0x1ebfc5>=0x0;_0x1ebfc5--)(_0x1e2386=_0x4cf2f1[_0x1ebfc5])&&(_0x11aaca=_0x1e2386(_0x11aaca)||_0x11aaca);return _0x11aaca;},_0x382b5b=(_0x25c698,_0x368e4a)=>(_0xdf5f75,_0xea4c42)=>_0x368e4a(_0xdf5f75,_0xea4c42,_0x25c698);let _0x48ad4d=class extends _0x4b0795[_0xd692a4(0x259)]{constructor(_0x597993,_0x359cc6,_0x44d97b){const _0x32f743=_0xd692a4;super(),_0x593a34(this,_0x32f743(0x35e),new Map()),_0x593a34(this,_0x32f743(0x2f5),new _0x116537['Subject']()),(this[_0x32f743(0x17e)]=_0x597993,this[_0x32f743(0x160)]=_0x359cc6,this[_0x32f743(0x219)]=_0x44d97b,this['_init']());}[_0xd692a4(0x1ca)](){const _0x56ad2e=_0xd692a4;super['dispose'](),this[_0x56ad2e(0x2f5)][_0x56ad2e(0x1b2)](),this['_entities']['forEach'](_0x186c15=>_0x186c15['dispose']());}[_0xd692a4(0x1d0)](_0x1fcf77){const _0x92be41=_0xd692a4;return this['_entities']['has'](_0x1fcf77)?this['_entities'][_0x92be41(0x166)](_0x1fcf77)[_0x92be41(0x272)]:this['_entityInit$'][_0x92be41(0x2ca)](_0x116537['filter'](_0x491365=>_0x491365[_0x92be41(0x290)]===_0x1fcf77),_0x116537[_0x92be41(0x365)](_0x299d67=>_0x299d67[_0x92be41(0x272)]));}[_0xd692a4(0x1a0)](){const _0x226ad7=_0xd692a4;this['_univerInstanceService'][_0x226ad7(0x1ac)](_0x4b0795[_0x226ad7(0xfb)][_0x226ad7(0x167)])[_0x226ad7(0x2ca)](_0x116537[_0x226ad7(0x30e)](this['dispose$']))[_0x226ad7(0x230)](async _0xd8f45e=>{const _0x4b365a=_0x226ad7,_0x341948=_0xd8f45e[_0x4b365a(0x270)](),_0x296db8=await this[_0x4b365a(0x222)](_0x341948);this[_0x4b365a(0x2f5)]['next'](_0x296db8),this[_0x4b365a(0x35e)][_0x4b365a(0x1da)](_0x341948,_0x296db8);}),this[_0x226ad7(0x17e)][_0x226ad7(0x1ac)](_0x4b0795[_0x226ad7(0xfb)][_0x226ad7(0x155)])[_0x226ad7(0x2ca)](_0x116537[_0x226ad7(0x30e)](this[_0x226ad7(0x34d)]))[_0x226ad7(0x2ca)](_0x116537[_0x226ad7(0x154)](_0x92a3ff=>!_0x92a3ff[_0x226ad7(0x270)]()[_0x226ad7(0x31b)]('__')))[_0x226ad7(0x230)](async _0xe8c301=>{const _0x2595c2=_0x226ad7,_0x52fd01=_0xe8c301[_0x2595c2(0x270)](),_0x53cdf9=await this['_startDocCollabCursor'](_0x52fd01);this[_0x2595c2(0x2f5)][_0x2595c2(0x214)](_0x53cdf9),this[_0x2595c2(0x35e)]['set'](_0x52fd01,_0x53cdf9);}),_0x116537[_0x226ad7(0x14c)](this[_0x226ad7(0x17e)][_0x226ad7(0x250)](_0x4b0795[_0x226ad7(0xfb)]['UNIVER_DOC']),this[_0x226ad7(0x17e)][_0x226ad7(0x250)](_0x4b0795[_0x226ad7(0xfb)][_0x226ad7(0x167)]))[_0x226ad7(0x2ca)](_0x116537[_0x226ad7(0x30e)](this[_0x226ad7(0x34d)]))[_0x226ad7(0x230)](_0x3c2813=>{const _0xe9bd94=_0x226ad7,_0x1f4680=_0x3c2813[_0xe9bd94(0x270)](),_0x4b3637=this[_0xe9bd94(0x35e)][_0xe9bd94(0x166)](_0x1f4680);_0x4b3637&&(_0x4b3637[_0xe9bd94(0x1ca)](),this[_0xe9bd94(0x35e)]['delete'](_0x1f4680));});}async['_startSheetCollabCursor'](_0xaffcf5){const _0x493ab4=_0xd692a4,_0x40ef04=await this[_0x493ab4(0x219)][_0x493ab4(0x2cb)](_0xaffcf5),_0x480384=this[_0x493ab4(0x160)]['createInstance'](_0x454861,_0xaffcf5,_0x40ef04);return _0x480384[_0x493ab4(0x171)](),_0x480384;}async[_0xd692a4(0x34a)](_0x2bb82b){const _0x291bbe=_0xd692a4,_0x2556a5=await this['_collabSessionService'][_0x291bbe(0x2cb)](_0x2bb82b),_0x5d6bb5=this['_injector']['createInstance'](_0x3e2f2b,_0x2bb82b,_0x2556a5);return _0x5d6bb5['init'](),_0x5d6bb5;}};_0x48ad4d=_0x42c435([_0x382b5b(0x0,_0x4b0795[_0xd692a4(0x247)]),_0x382b5b(0x1,_0x4b0795['Inject'](_0x4b0795[_0xd692a4(0x274)])),_0x382b5b(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x48da18[_0xd692a4(0x1aa)]))],_0x48ad4d);const _0xe8819b=0x14,_0x1c1276=0xc8,_0x1d63cb=0x4,_0x1f8d0e=0x5;function _0x8c4e5e(_0x146a54,_0x2cfb78){const _0x5923d6=_0xd692a4;let {radius:_0x16e39b,width:_0x1fd4ba,height:_0x10ce48}=_0x2cfb78;_0x16e39b=_0x16e39b!=null?_0x16e39b:0x0,_0x1fd4ba=_0x1fd4ba!=null?_0x1fd4ba:0x1e,_0x10ce48=_0x10ce48!=null?_0x10ce48:0x1e;let _0x10c798=0x0,_0x3f4007=0x0,_0x378731=0x0;_0x10c798=_0x3f4007=_0x378731=Math['min'](_0x16e39b,_0x1fd4ba/0x2,_0x10ce48/0x2),_0x146a54[_0x5923d6(0x25b)](),_0x146a54[_0x5923d6(0x307)](_0x10c798,0x0),_0x146a54[_0x5923d6(0xe1)](_0x1fd4ba-_0x3f4007,0x0),_0x146a54[_0x5923d6(0x1ff)](_0x1fd4ba-_0x3f4007,_0x3f4007,_0x3f4007,Math['PI']*0x3/0x2,0x0,!0x1),_0x146a54[_0x5923d6(0xe1)](_0x1fd4ba,_0x10ce48-_0x378731),_0x146a54[_0x5923d6(0x1ff)](_0x1fd4ba-_0x378731,_0x10ce48-_0x378731,_0x378731,0x0,Math['PI']/0x2,!0x1),_0x146a54[_0x5923d6(0xe1)](0x0,_0x10ce48),_0x146a54[_0x5923d6(0xe1)](0x0,_0x10c798),_0x146a54[_0x5923d6(0x1ff)](_0x10c798,_0x10c798,_0x10c798,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x146a54[_0x5923d6(0x355)](),_0x2cfb78['fill']&&(_0x146a54[_0x5923d6(0x305)](),_0x146a54['fillStyle']=_0x2cfb78['fill'],_0x2cfb78['fillRule']===_0x5923d6(0x2b7)?_0x146a54[_0x5923d6(0x161)]('evenodd'):_0x146a54['fill'](),_0x146a54['restore']());}class _0x1e266e extends _0x56eea1['Shape']{constructor(_0x463d79,_0x2bba72){const _0x32f029=_0xd692a4;super(_0x463d79,_0x2bba72),_0x593a34(this,_0x32f029(0x356)),_0x593a34(this,_0x32f029(0x174)),(this['color']=_0x2bba72==null?void 0x0:_0x2bba72[_0x32f029(0x356)],this[_0x32f029(0x174)]=_0x2bba72==null?void 0x0:_0x2bba72['text']);}static[_0xd692a4(0x111)](_0x26c4bd,_0x3530c1){const _0x5bc0c1=_0xd692a4,{text:_0x37ff6b,color:_0x550184}=_0x3530c1;_0x26c4bd[_0x5bc0c1(0x305)](),_0x26c4bd[_0x5bc0c1(0x19c)]=_0x5bc0c1(0x14e);const _0x44c39b=_0x26c4bd[_0x5bc0c1(0x2ae)](_0x37ff6b)[_0x5bc0c1(0x284)],_0x1bb4d2=Math[_0x5bc0c1(0x298)](_0x44c39b+0x2*_0x1d63cb,_0x1c1276);_0x8c4e5e(_0x26c4bd,{'height':_0xe8819b,'radius':0x4,'width':_0x1bb4d2,'fill':_0x550184}),_0x26c4bd[_0x5bc0c1(0x202)]=_0x5bc0c1(0x24c);const _0x240f58=_0x1d63cb,_0x57ff9a=_0xe8819b-_0x1f8d0e,_0x460442=_0x1c1276-0x2*_0x1d63cb;if(_0x44c39b>_0x460442){let _0x3e7f61='',_0x49d889=0x0;for(const _0x4120a4 of _0x37ff6b){const _0x21c83c=_0x26c4bd[_0x5bc0c1(0x2ae)](_0x4120a4)[_0x5bc0c1(0x284)];if(_0x49d889+_0x21c83c<=_0x460442-_0x26c4bd[_0x5bc0c1(0x2ae)](_0x5bc0c1(0x152))[_0x5bc0c1(0x284)])_0x3e7f61+=_0x4120a4,_0x49d889+=_0x21c83c;else{_0x3e7f61+='...';break;}}_0x26c4bd[_0x5bc0c1(0x162)](_0x3e7f61,_0x240f58,_0x57ff9a);}else _0x26c4bd[_0x5bc0c1(0x162)](_0x37ff6b,_0x240f58,_0x57ff9a);_0x26c4bd[_0x5bc0c1(0x136)]();}[_0xd692a4(0x34f)](_0x15640f){const _0x1a4cbc=_0xd692a4;_0x1e266e[_0x1a4cbc(0x111)](_0x15640f,this);}}const _0x25fa9b='collab-text-anchor-',_0x12a089=_0xd692a4(0x361),_0x489a26=_0xd692a4(0xd4),_0x5a38d7=0x6,_0x45b544=1.5,_0x81491b=0x4,_0x4cc5ee=1.5,_0x542da6=_0xd692a4(0x223);class _0x4ed095{constructor(_0x379fa7,_0xf5262a,_0x2430df,_0x3eda0d){const _0x2c5eba=_0xd692a4;_0x593a34(this,_0x2c5eba(0x18d),[]),_0x593a34(this,_0x2c5eba(0x2b5),null),_0x593a34(this,'_textBubble',null),_0x593a34(this,'_anchorDot',null),_0x593a34(this,_0x2c5eba(0x31c),null),_0x593a34(this,'_eventUnsubscribe',null),(this[_0x2c5eba(0x22d)]=_0x379fa7,this[_0x2c5eba(0x1b4)]=_0xf5262a,this[_0x2c5eba(0x267)]=_0x2430df,this[_0x2c5eba(0x26e)]=_0x3eda0d,this[_0x2c5eba(0x1dc)]());}set['_hover'](_0x5b64b3){const _0x3e18bd=_0xd692a4;_0x5b64b3?(this[_0x3e18bd(0x17c)]&&this[_0x3e18bd(0x17c)][_0x3e18bd(0x1cf)](),this[_0x3e18bd(0x29c)]&&this[_0x3e18bd(0x29c)][_0x3e18bd(0x342)]()):(this['_anchorDot']&&this[_0x3e18bd(0x17c)][_0x3e18bd(0x342)](),this[_0x3e18bd(0x29c)]&&this[_0x3e18bd(0x29c)][_0x3e18bd(0x1cf)]());}[_0xd692a4(0x1ca)](){const _0xaec6bd=_0xd692a4;for(const _0xd4bd30 of this['_shapes'])_0xd4bd30[_0xaec6bd(0x1ca)]();this[_0xaec6bd(0x29c)]&&this[_0xaec6bd(0x29c)]['dispose'](),this['_anchorDot']&&this[_0xaec6bd(0x17c)][_0xaec6bd(0x1ca)](),this['_anchor']&&this[_0xaec6bd(0x2b5)]['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0xd692a4(0x1dc)](){const _0x1ca41c=_0xd692a4;var _0x1d518e;const {_docSkeleton:_0x35c4f9,_document:_0x161293}=this,{color:_0x33e35d,name:_0xab12fa,ranges:_0x32e6a3}=this[_0x1ca41c(0x22d)],_0x197c0b=_0x161293['getOffsetConfig'](),{docsLeft:_0x5293d0,docsTop:_0x4bb7d0}=_0x197c0b,_0x3f9002=new _0x592c9e[(_0x1ca41c(0x180))](_0x197c0b,_0x35c4f9);for(const {startOffset:_0x478531,endOffset:_0x4d0415,rangeType:_0x57d95f,segmentId:_0x48bea1,segmentPage:_0x592ed8,collapsed:_0x582378,isActive:_0x1b424c}of _0x32e6a3){const _0x573407=_0x35c4f9[_0x1ca41c(0xfd)](_0x478531,!0x0,_0x48bea1,_0x592ed8);let _0x404a25=_0x35c4f9['findNodePositionByCharIndex'](_0x4d0415,!0x0,_0x48bea1,_0x592ed8);if(_0x404a25==null&&(_0x404a25=_0x35c4f9[_0x1ca41c(0xfd)](_0x4d0415-0x1,!0x1,_0x48bea1,_0x592ed8)),_0x1b424c){const {contentBoxPointGroup:_0x516b60}=_0x3f9002['getRangePointData'](_0x404a25,_0x404a25);if(_0x516b60[_0x1ca41c(0x32c)]===0x0)continue;this[_0x1ca41c(0x327)](_0x33e35d,_0x516b60,_0x5293d0,_0x4bb7d0,_0xab12fa),this[_0x1ca41c(0x216)]=this[_0x1ca41c(0xef)]();}if(_0x573407&&_0x404a25){if(_0x57d95f===_0x4b0795[_0x1ca41c(0x300)]['RECT']){const _0x15b1b1=new _0x592c9e[(_0x1ca41c(0x233))](_0x197c0b,_0x35c4f9),{pointGroup:_0x16a35e}=(_0x1d518e=_0x15b1b1[_0x1ca41c(0xdc)](_0x573407,_0x404a25))!=null?_0x1d518e:{};if(_0x16a35e==null||_0x16a35e[_0x1ca41c(0x32c)]===0x0)continue;this[_0x1ca41c(0x15e)](_0x33e35d,_0x16a35e,_0x5293d0,_0x4bb7d0);}else{if(!_0x582378){const {borderBoxPointGroup:_0x267e75}=_0x3f9002[_0x1ca41c(0xdc)](_0x573407,_0x404a25);if(_0x267e75['length']===0x0)continue;this[_0x1ca41c(0x245)](_0x33e35d,_0x267e75,_0x5293d0,_0x4bb7d0);}}}}}[_0xd692a4(0x327)](_0x59a4e3,_0x2a392b,_0x292197,_0x21c768,_0x22b25d){const _0xb9574=_0xd692a4,_0x225200=this['_getAnchorBounding'](_0x2a392b),{left:_0x4ad58c,top:_0x27d96f,height:_0x18454d}=_0x225200,_0x10ee79=this[_0xb9574(0x25a)](),_0xa5a2ea=_0x4cc5ee/_0x10ee79,_0xa5e7c8=new _0x56eea1[(_0xb9574(0x26f))](_0x25fa9b+_0x4b0795[_0xb9574(0x1c9)](_0x5a38d7),{'left':_0x4ad58c+_0x292197-_0xa5a2ea,'top':_0x27d96f+_0x21c768,'height':_0x18454d,'width':_0x45b544,'fill':_0x59a4e3||_0x56eea1[_0xb9574(0x2f7)](_0x4b0795['COLORS']['black'],0x0),'strokeWidth':_0xa5a2ea,'stroke':_0x542da6,'evented':!0x0});this[_0xb9574(0x2b5)]=_0xa5e7c8,this[_0xb9574(0x1b4)]['addObject'](_0xa5e7c8,_0x592c9e[_0xb9574(0x1e2)]);const _0x155c2f=new _0x56eea1[(_0xb9574(0x26f))](_0x25fa9b+_0x4b0795[_0xb9574(0x1c9)](_0x5a38d7),{'left':_0x4ad58c+_0x292197-_0xa5a2ea,'top':_0x27d96f+_0x21c768-_0x81491b/0x2,'height':_0x81491b,'width':_0x81491b,'fill':_0x59a4e3||_0x56eea1[_0xb9574(0x2f7)](_0x4b0795[_0xb9574(0x190)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x59a4e3||_0x56eea1[_0xb9574(0x2f7)](_0x4b0795['COLORS'][_0xb9574(0x2c1)],0x0),'evented':!0x1});this['_anchorDot']=_0x155c2f,this[_0xb9574(0x1b4)][_0xb9574(0x187)](_0x155c2f,_0x592c9e[_0xb9574(0x1e2)]);const _0x20a23a=new _0x1e266e(_0x25fa9b+_0x4b0795['generateRandomId'](_0x5a38d7),{'left':_0x4ad58c+_0x292197-_0xa5a2ea,'top':_0x27d96f+_0x21c768-_0xe8819b,'text':_0x22b25d,'color':_0x59a4e3});this[_0xb9574(0x29c)]=_0x20a23a,this['_scene']['addObject'](_0x20a23a,_0x592c9e[_0xb9574(0x1e2)]),this['_hover']=!0x1;}[_0xd692a4(0xef)](){const _0x38ab59=_0xd692a4,_0x542188=this[_0x38ab59(0x2b5)][_0x38ab59(0x208)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x51d168=this[_0x38ab59(0x2b5)][_0x38ab59(0x105)][_0x38ab59(0x206)](()=>{const _0x49cf86=_0x38ab59;this[_0x49cf86(0x31c)]&&clearTimeout(this[_0x49cf86(0x31c)]),this[_0x49cf86(0x31c)]=setTimeout(()=>{const _0x22a2c6=_0x49cf86;this[_0x22a2c6(0x2fd)]=!0x1;},0x7d0);});return()=>{const _0x524d44=_0x38ab59;_0x542188['unsubscribe'](),_0x51d168[_0x524d44(0x211)]();};}[_0xd692a4(0x245)](_0x3379e2,_0x39f5e2,_0x16c4e3,_0x211e9b){const _0x506859=_0xd692a4,_0x5c491a=new _0x4b0795[(_0x506859(0x110))](_0x3379e2)['setAlpha'](0.2)[_0x506859(0x1d7)](),_0x24c87f=new _0x56eea1[(_0x506859(0x2e1))](_0x12a089+_0x4b0795['generateRandomId'](_0x5a38d7),{'pointsGroup':_0x39f5e2,'fill':_0x5c491a||_0x56eea1[_0x506859(0x2f7)](_0x4b0795['COLORS']['black'],0.2),'left':_0x16c4e3,'top':_0x211e9b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x506859(0x328)](_0x24c87f),this[_0x506859(0x1b4)]['addObject'](_0x24c87f,_0x592c9e[_0x506859(0x1e2)]);}[_0xd692a4(0x15e)](_0x5831bf,_0x5d1209,_0x1a985f,_0x2fb8d6){const _0x5bb078=_0xd692a4,_0x53fde7=new _0x4b0795[(_0x5bb078(0x110))](_0x5831bf)['setAlpha'](0.2)[_0x5bb078(0x1d7)](),_0x5c2587=new _0x56eea1[(_0x5bb078(0x2e1))](_0x489a26+_0x4b0795[_0x5bb078(0x1c9)](_0x5a38d7),{'pointsGroup':_0x5d1209,'fill':_0x53fde7||_0x56eea1[_0x5bb078(0x2f7)](_0x4b0795[_0x5bb078(0x190)][_0x5bb078(0x2c1)],0.2),'left':_0x1a985f,'top':_0x2fb8d6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5bb078(0x328)](_0x5c2587),this['_scene'][_0x5bb078(0x187)](_0x5c2587,_0x592c9e[_0x5bb078(0x1e2)]);}['_getAnchorBounding'](_0x3730c1){const _0x5da17d=_0x3730c1[0x0],_0x2f3899=_0x5da17d[0x0],_0x4953fb=_0x5da17d[0x2],{x:_0x3804cb,y:_0x2cc149}=_0x2f3899,{x:_0x1b75cf,y:_0x4cc151}=_0x4953fb;return{'left':_0x3804cb,'top':_0x2cc149,'width':_0x1b75cf-_0x3804cb,'height':_0x4cc151-_0x2cc149};}[_0xd692a4(0x25a)](){const _0x9b3b41=_0xd692a4,{scaleX:_0x3221a3,scaleY:_0x4ac014}=this[_0x9b3b41(0x1b4)][_0x9b3b41(0x27d)]();return Math[_0x9b3b41(0x145)](_0x3221a3,_0x4ac014);}}var _0x57c291=Object[_0xd692a4(0x158)],_0x33f830=(_0x51e9c2,_0x2ffdbc,_0x568da6,_0x235646)=>{for(var _0x484cfc=_0x235646>0x1?void 0x0:_0x235646?_0x57c291(_0x2ffdbc,_0x568da6):_0x2ffdbc,_0x3d480c=_0x51e9c2['length']-0x1,_0x33065b;_0x3d480c>=0x0;_0x3d480c--)(_0x33065b=_0x51e9c2[_0x3d480c])&&(_0x484cfc=_0x33065b(_0x484cfc)||_0x484cfc);return _0x484cfc;},_0x12e7dd=(_0x344a25,_0x5047ff)=>(_0x8a427b,_0x2a4d40)=>_0x5047ff(_0x8a427b,_0x2a4d40,_0x344a25);let _0x183e62=class extends _0x4b0795['RxDisposable']{constructor(_0x4f2ac1,_0x36d9ac,_0x4f519d,_0x54af02,_0x429109){const _0x3e8d41=_0xd692a4;super(),_0x593a34(this,'_cursorShapes',[]),_0x593a34(this,_0x3e8d41(0x271),[]),(this[_0x3e8d41(0x2e5)]=_0x4f2ac1,this[_0x3e8d41(0x357)]=_0x36d9ac,this[_0x3e8d41(0x258)]=_0x4f519d,this[_0x3e8d41(0x2c8)]=_0x54af02,this['_themeService']=_0x429109,this['_init']());}[_0xd692a4(0x1a0)](){const _0x2809bf=_0xd692a4,_0x26cc1a=this[_0x2809bf(0x2e5)][_0x2809bf(0x366)],_0x4bf13e=this[_0x2809bf(0x357)];this[_0x2809bf(0x278)](_0x116537['combineLatest']([this[_0x2809bf(0x258)][_0x2809bf(0x1d0)](_0x26cc1a),this['_themeService'][_0x2809bf(0x114)]])[_0x2809bf(0x2ca)](_0x44a4f1[_0x2809bf(0x252)](([_0xdc92e0,_0x52a8e2])=>({'skeleton':_0x4bf13e[_0x2809bf(0x2bd)](),'cursors':[..._0xdc92e0[_0x2809bf(0x263)]()][_0x2809bf(0x1ed)](_0x2651a5=>({..._0x2651a5,'color':this[_0x2809bf(0x2d7)][_0x2809bf(0x241)](_0x2651a5['color'])}))})))[_0x2809bf(0x230)](_0x526d57=>{const _0x85ea5c=_0x2809bf;if(this[_0x85ea5c(0x11e)](),_0x526d57){const {skeleton:_0x61e668,cursors:_0x348803}=_0x526d57;this[_0x85ea5c(0x24f)](_0x61e668,_0x348803);}})),this[_0x2809bf(0x16d)](),this[_0x2809bf(0x26a)]();}[_0xd692a4(0x24f)](_0x2c8e10,_0x4352e8){const _0x4283f7=_0xd692a4,{scene:_0x2a49e6,mainComponent:_0x341eb7}=this[_0x4283f7(0x2e5)],_0x101117=_0x4352e8['map'](_0x254b96=>new _0x4ed095(_0x254b96,_0x2a49e6,_0x2c8e10,_0x341eb7));this['_cursorShapes']=_0x101117,this[_0x4283f7(0x271)]=_0x4352e8;}['_refreshCollabCursors'](){const _0x5022a2=_0xd692a4;this[_0x5022a2(0x11e)]();const {scene:_0x3693d0,mainComponent:_0x268383}=this['_context'],_0x2a0046=this[_0x5022a2(0x357)][_0x5022a2(0x2bd)](),_0x592b09=this[_0x5022a2(0x271)][_0x5022a2(0x252)](_0x44e325=>new _0x4ed095(_0x44e325,_0x3693d0,_0x2a0046,_0x268383));this[_0x5022a2(0x176)]=_0x592b09;}[_0xd692a4(0x11e)](){const _0x52f040=_0xd692a4;this[_0x52f040(0x176)]['forEach'](_0x59b799=>_0x59b799['dispose']()),this['_cursorShapes']=[];}[_0xd692a4(0x26a)](){const _0x106f9b=_0xd692a4,_0x4e12fb=[_0x592c9e['SetDocZoomRatioOperation']['id']];this[_0x106f9b(0x278)](this[_0x106f9b(0x2c8)]['onCommandExecuted'](_0x418037=>{const _0x37b223=_0x106f9b;_0x4e12fb[_0x37b223(0x288)](_0x418037['id'])&&_0x418037['params'][_0x37b223(0x366)]===this[_0x37b223(0x2e5)][_0x37b223(0x366)]&&this[_0x37b223(0x2c5)]();}));}['_initResize'](){const _0x4e6164=_0xd692a4;this[_0x4e6164(0x278)](_0x4b0795[_0x4e6164(0x23d)](this[_0x4e6164(0x2e5)][_0x4e6164(0x2ef)][_0x4e6164(0x236)])[_0x4e6164(0x2ca)](_0x44a4f1[_0x4e6164(0x154)](_0x1adc04=>_0x1adc04[_0x4e6164(0x262)]===_0x56eea1[_0x4e6164(0x301)][_0x4e6164(0x323)]),_0x44a4f1['throttleTime'](0x10))[_0x4e6164(0x230)](()=>{const _0x259474=_0x4e6164;this[_0x259474(0x2c5)]();}));}};_0x183e62=_0x33f830([_0x12e7dd(0x1,_0x4b0795[_0xd692a4(0x30b)](_0x37373d[_0xd692a4(0x10a)])),_0x12e7dd(0x2,_0x4b0795['Inject'](_0x48ad4d)),_0x12e7dd(0x3,_0x4b0795[_0xd692a4(0x2bf)]),_0x12e7dd(0x4,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x204)]))],_0x183e62);const _0x272f9e=0x1,_0x1db5a4=1.5;class _0x49f936 extends _0x56eea1[_0xd692a4(0x2de)]{constructor(_0x992a32,_0x3fe2c4){const _0x4ce451=_0xd692a4;super(_0x992a32,_0x3fe2c4),_0x593a34(this,_0x4ce451(0x1e0)),_0x593a34(this,_0x4ce451(0x16c),!0x1),_0x593a34(this,_0x4ce451(0x1de)),_0x593a34(this,'_name',''),_0x593a34(this,_0x4ce451(0x24e),'top'),_0x593a34(this,_0x4ce451(0x142)),(_0x3fe2c4&&this[_0x4ce451(0x1a8)](_0x3fe2c4),this[_0x4ce451(0x208)][_0x4ce451(0x206)](()=>this[_0x4ce451(0x1a8)]({'hovered':!0x0})),this[_0x4ce451(0x105)][_0x4ce451(0x206)](()=>this[_0x4ce451(0x1a8)]({'hovered':!0x1})));}[_0xd692a4(0x1a8)](_0x17b8d4){const _0x376061=_0xd692a4;var _0x11c9b9,_0x4b249c,_0x590f57,_0x282c60,_0x50233f,_0x1d9541;this[_0x376061(0x1e0)]=(_0x11c9b9=_0x17b8d4[_0x376061(0x356)])!=null?_0x11c9b9:this[_0x376061(0x1e0)],this['_hovered']=(_0x4b249c=_0x17b8d4['hovered'])!=null?_0x4b249c:this['_hovered'],this['_range']=(_0x590f57=_0x17b8d4[_0x376061(0xfc)])!=null?_0x590f57:this[_0x376061(0x1de)],this[_0x376061(0x25e)]=(_0x282c60=_0x17b8d4[_0x376061(0x302)])!=null?_0x282c60:this['_name'],this[_0x376061(0x24e)]=(_0x50233f=_0x17b8d4[_0x376061(0x134)])!=null?_0x50233f:this['_labelPosition'],this['_backgroundColor']=(_0x1d9541=_0x17b8d4[_0x376061(0xe2)])!=null?_0x1d9541:this[_0x376061(0x142)],this[_0x376061(0x15f)]({'width':_0x17b8d4[_0x376061(0x284)],'height':_0x17b8d4[_0x376061(0x132)]});}[_0xd692a4(0x11c)](_0xda9a18){const _0x559065=_0xd692a4,{row:_0x4c0578,column:_0x42a6a8}=_0xda9a18;if(_0x4c0578>=this['_range']['startRow']&&_0x4c0578<=this[_0x559065(0x1de)][_0x559065(0x291)]&&_0x42a6a8>=this[_0x559065(0x1de)]['startColumn']&&_0x42a6a8<=this['_range'][_0x559065(0xe5)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xd692a4(0x195)](_0x26af1d){return!0x1;}['_draw'](_0xf43dfc){const _0x1b40dd=_0xd692a4;_0x56eea1[_0x1b40dd(0x26f)][_0x1b40dd(0x111)](_0xf43dfc,{'width':this[_0x1b40dd(0x284)],'height':this[_0x1b40dd(0x132)],'strokeWidth':_0x1db5a4,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1b40dd(0x16c)]&&(_0xf43dfc[_0x1b40dd(0x305)](),_0xf43dfc[_0x1b40dd(0x131)](0x1,0x0,0x0,0x1,this[_0x1b40dd(0x284)],this[_0x1b40dd(0x24e)]===_0x1b40dd(0x12b)?0x0:-_0xe8819b),_0x1e266e['drawWith'](_0xf43dfc,{'text':this[_0x1b40dd(0x25e)],'color':this[_0x1b40dd(0x1e0)]}),_0xf43dfc[_0x1b40dd(0x136)]());}}var _0x2b35a0=Object['getOwnPropertyDescriptor'],_0x2bd24f=(_0x4e3c53,_0x4f5245,_0x55a681,_0x262d9f)=>{for(var _0x3d09dd=_0x262d9f>0x1?void 0x0:_0x262d9f?_0x2b35a0(_0x4f5245,_0x55a681):_0x4f5245,_0x2461cd=_0x4e3c53['length']-0x1,_0x5e55e7;_0x2461cd>=0x0;_0x2461cd--)(_0x5e55e7=_0x4e3c53[_0x2461cd])&&(_0x3d09dd=_0x5e55e7(_0x3d09dd)||_0x3d09dd);return _0x3d09dd;},_0x36eba9=(_0x3ac8bd,_0x120385)=>(_0x473c84,_0x385430)=>_0x120385(_0x473c84,_0x385430,_0x3ac8bd);const _0x495240=0x1389;let _0x2a1e4e=class extends _0x4b0795[_0xd692a4(0x259)]{constructor(_0x12f27f,_0x4f6f3c,_0x4a6e56,_0x2e1689){const _0x4381b6=_0xd692a4;super(),_0x593a34(this,_0x4381b6(0x271),new Set()),_0x593a34(this,_0x4381b6(0x1b6),null),(this['_context']=_0x12f27f,this[_0x4381b6(0x280)]=_0x4f6f3c,this[_0x4381b6(0x258)]=_0x4a6e56,this[_0x4381b6(0x2d7)]=_0x2e1689,this[_0x4381b6(0x1a0)]());}[_0xd692a4(0x1a0)](){const _0x4116f4=_0xd692a4;this[_0x4116f4(0x280)]['currentSkeleton$'][_0x4116f4(0x2ca)](_0x44a4f1['takeUntil'](this['dispose$']),_0x44a4f1[_0x4116f4(0x365)](_0x120c81=>{const _0x479b4a=_0x4116f4;if(_0x120c81){const _0x2473a6=_0x120c81[_0x479b4a(0x1d2)];return _0x116537[_0x479b4a(0x18a)](this['_collabCursorController']['getCollabCursors$'](this[_0x479b4a(0x2e5)][_0x479b4a(0x366)]),this[_0x479b4a(0x2d7)][_0x479b4a(0x114)])[_0x479b4a(0x2ca)](_0x44a4f1[_0x479b4a(0x252)](([_0x3540a5,_0x1aa481])=>{const _0x5749cf=new Map();return _0x3540a5['forEach']((_0x5aee79,_0x31fb6a)=>{const _0x24bdd6=_0xb400;if(_0x5aee79[_0x24bdd6(0x117)]===_0x2473a6){const _0x334cb5={..._0x5aee79};_0x334cb5['color']=this[_0x24bdd6(0x2d7)][_0x24bdd6(0x241)](_0x5aee79['color']),_0x5749cf[_0x24bdd6(0x1da)](_0x31fb6a,_0x334cb5);}}),{'skeleton':_0x120c81,'cursors':_0x5749cf};}));}return _0x116537['of']({'skeleton':null,'cursors':new Map()});}))[_0x4116f4(0x230)](({skeleton:_0x3e9d8b,cursors:_0x36dfad})=>{const _0x4f95ae=_0x4116f4;this[_0x4f95ae(0x11e)](),_0x3e9d8b&&this['_updateCollabCursors'](_0x3e9d8b,_0x36dfad);}),this[_0x4116f4(0x280)][_0x4116f4(0xdb)][_0x4116f4(0x230)](_0x333983=>{const _0x5c31cb=_0x4116f4;if(_0x333983==null)return;const {skeleton:_0x34a27c}=_0x333983,{scene:_0x315141}=this['_context'];_0x315141[_0x5c31cb(0x106)]['subscribeEvent'](_0x4b0795['debounce'](_0x3b68ed=>{const _0x1e5ceb=_0x5c31cb;var _0x3823bd,_0x68c8d6;const {offsetX:_0x584a86,offsetY:_0x96ed20}=_0x3b68ed,{x:_0x3f5755,y:_0x1a4435}=_0x315141[_0x1e5ceb(0x341)](_0x56eea1[_0x1e5ceb(0x2d6)][_0x1e5ceb(0xd9)]([_0x584a86,_0x96ed20])),{scaleX:_0x21f9b3,scaleY:_0x1a5fc7}=_0x315141[_0x1e5ceb(0x27d)](),_0x4f6ee3=_0x315141[_0x1e5ceb(0x36b)](_0x56eea1[_0x1e5ceb(0x33b)]['VIEW_MAIN']),_0x49f05c=_0x315141[_0x1e5ceb(0x23b)](_0x56eea1['Vector2'][_0x1e5ceb(0xd9)]([_0x3f5755,_0x1a4435]),_0x4f6ee3),_0x5041cb=_0x34a27c[_0x1e5ceb(0x1d3)](_0x584a86,_0x96ed20,_0x21f9b3,_0x1a5fc7,_0x49f05c);((_0x3823bd=this['_lastPointer'])==null?void 0x0:_0x3823bd[_0x1e5ceb(0x12c)])===_0x5041cb[_0x1e5ceb(0x12c)]&&((_0x68c8d6=this['_lastPointer'])==null?void 0x0:_0x68c8d6['row'])===_0x5041cb[_0x1e5ceb(0x237)]||this['_cursors'][_0x1e5ceb(0x345)](_0x1b9e02=>{_0x1b9e02['onMouseMove'](_0x5041cb);});},0x64));});}[_0xd692a4(0x24f)](_0x2bb093,_0x47c60c){const _0xf148e7=_0xd692a4;var _0x4f0e23;const _0x45ed7b=(_0x4f0e23=this[_0xf148e7(0x280)][_0xf148e7(0x10c)]())==null?void 0x0:_0x4f0e23['skeleton'];if(!_0x45ed7b)return;const _0x560323=this[_0xf148e7(0x321)]();if(!_0x560323)return;this[_0xf148e7(0x271)][_0xf148e7(0x345)](_0x537537=>{const _0x44bf24=_0xf148e7;_0x537537[_0x44bf24(0x265)]();});const {scene:_0x4c4d63}=_0x560323,_0x56f28c=_0x4ed795(Array[_0xf148e7(0x198)](_0x47c60c['values']()))['map'](_0x379002=>{const _0x15f4ce=_0xf148e7,{color:_0xd14e4,range:_0x29b02a,name:_0x5c097d,selection:_0x2dd462,sheetID:_0x1d7c91}=_0x379002,{startColumn:_0xa60297,startRow:_0x3f105e,endColumn:_0x5138e5,endRow:_0x40ed09}=_0x29b02a,_0x14e424=_0x485b3a[_0x15f4ce(0x2ff)](_0x3f105e,_0xa60297,_0x4c4d63,_0x45ed7b),_0x38660a=_0x485b3a[_0x15f4ce(0x2ff)](_0x40ed09,_0x5138e5,_0x4c4d63,_0x45ed7b),{columnHeaderHeightAndMarginTop:_0x4a7080}=_0x45ed7b,{startX:_0xb6cc41,startY:_0x936f50}=_0x14e424,{endX:_0x38c610,endY:_0x4d3586}=_0x38660a,_0x4d1752=_0x38c610-_0xb6cc41,_0x17052c=_0x4d3586-_0x936f50,_0x27f112={'labelPosition':_0x936f50-_0x4a7080>=_0xe8819b?_0x15f4ce(0x1f0):_0x15f4ce(0x12b),'sheetID':_0x1d7c91,'range':_0x29b02a,'color':_0xd14e4,'name':_0x5c097d,'selection':_0x2dd462,'left':_0xb6cc41,'top':_0x936f50,'width':_0x4d1752,'height':_0x17052c,'evented':!0x1,'zIndex':_0x495240};return new _0x49f936(_0x5c097d,_0x27f112);});_0x4c4d63['addObjects'](_0x56f28c,_0x272f9e),this[_0xf148e7(0x271)]=new Set(_0x56f28c);}['_removeCollabCursors'](){const _0xf6468b=_0xd692a4;var _0x583d8e;(_0x583d8e=this['_cursors'])==null||_0x583d8e[_0xf6468b(0x345)](_0x601945=>_0x601945[_0xf6468b(0x1ca)]());}[_0xd692a4(0x321)](){const _0x2e5baf=_0xd692a4;return _0x485b3a[_0x2e5baf(0x2c9)](this[_0x2e5baf(0x2e5)][_0x2e5baf(0x2a1)],this[_0x2e5baf(0x2e5)]);}};_0x2a1e4e=_0x2bd24f([_0x36eba9(0x1,_0x4b0795[_0xd692a4(0x30b)](_0x485b3a[_0xd692a4(0x2da)])),_0x36eba9(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x48ad4d)),_0x36eba9(0x3,_0x4b0795['Inject'](_0x4b0795['ThemeService']))],_0x2a1e4e);function _0x4ed795(_0x132d89){const _0x412e71=_0xd692a4,_0x442718=new Map();return _0x132d89['forEach'](_0x2648bb=>{const _0x4888e4=_0xb400;if(_0x442718[_0x4888e4(0x141)](_0x2648bb[_0x4888e4(0x130)])){const _0x511319=_0x442718[_0x4888e4(0x166)](_0x2648bb['selection']);_0x511319['name']+=',\x20'+_0x2648bb[_0x4888e4(0x302)];}else _0x442718[_0x4888e4(0x1da)](_0x2648bb[_0x4888e4(0x130)],_0x2648bb);}),Array[_0x412e71(0x198)](_0x442718[_0x412e71(0x263)]());}var _0x286d81=Object['getOwnPropertyDescriptor'],_0x3f8545=(_0x30ed2b,_0x1a3e58,_0xeaf613,_0xf61b45)=>{const _0x18e7d2=_0xd692a4;for(var _0x22d7c4=_0xf61b45>0x1?void 0x0:_0xf61b45?_0x286d81(_0x1a3e58,_0xeaf613):_0x1a3e58,_0x3e14f6=_0x30ed2b[_0x18e7d2(0x32c)]-0x1,_0x294092;_0x3e14f6>=0x0;_0x3e14f6--)(_0x294092=_0x30ed2b[_0x3e14f6])&&(_0x22d7c4=_0x294092(_0x22d7c4)||_0x22d7c4);return _0x22d7c4;},_0x232b94=(_0x2b2fa0,_0x252fe9)=>(_0x5b5071,_0x514827)=>_0x252fe9(_0x5b5071,_0x514827,_0x2b2fa0);let _0x4bc1c5=class extends _0x4b0795[_0xd692a4(0x243)]{constructor(_0x3c22fd,_0x4301e8,_0x59e4dd,_0x45ea12,_0x1be7f1,_0x3f978c){const _0x4454fe=_0xd692a4;super(),this['_beforeCloseService']=_0x3c22fd,this['_localCacheService']=_0x4301e8,this['_collaborationUIEventService']=_0x59e4dd,this[_0x4454fe(0xca)]=_0x45ea12,this[_0x4454fe(0x148)]=_0x1be7f1,this['_localeService']=_0x3f978c,this[_0x4454fe(0x21c)](),this[_0x4454fe(0x118)]();}[_0xd692a4(0x21c)](){const _0x2d10cc=_0xd692a4;this[_0x2d10cc(0x278)](this[_0x2d10cc(0x23f)][_0x2d10cc(0x1be)](()=>{const _0x151f71=_0x2d10cc;if(this[_0x151f71(0x124)]['saveTaskMap'][_0x151f71(0x32a)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0xd692a4(0x118)](){const _0x10c71f=_0xd692a4;this[_0x10c71f(0x278)](this['_collaborationUIEventService'][_0x10c71f(0x11a)]['subscribe'](_0x29818a=>{const _0x444b4a=_0x10c71f;_0x29818a['id']===_0x48da18[_0x444b4a(0x153)][_0x444b4a(0x102)]&&this['_messageService'][_0x444b4a(0x342)]({'type':_0x19c5e8[_0x444b4a(0x156)][_0x444b4a(0x13d)],'content':this[_0x444b4a(0x16b)]['t'](_0x444b4a(0x304))}),_0x29818a['id']===_0x48da18[_0x444b4a(0x153)][_0x444b4a(0x178)]&&this[_0x444b4a(0xca)][_0x444b4a(0x342)]({'type':_0x19c5e8[_0x444b4a(0x156)][_0x444b4a(0x13d)],'content':this[_0x444b4a(0x16b)]['t'](_0x444b4a(0xfa))}),_0x29818a['id']===_0x48da18[_0x444b4a(0x153)][_0x444b4a(0x137)]&&this['_notificationService'][_0x444b4a(0x342)]({'title':this[_0x444b4a(0x16b)]['t'](_0x444b4a(0x107)),'content':this[_0x444b4a(0x16b)]['t'](_0x444b4a(0x2ec)),'type':'error','duration':0x0}),_0x29818a['id']===_0x48da18['CollaborationUIEventId'][_0x444b4a(0x20a)]&&this[_0x444b4a(0xca)][_0x444b4a(0x342)]({'type':_0x19c5e8[_0x444b4a(0x156)]['Error'],'content':this['_localeService']['t'](_0x444b4a(0xfa))+'('+_0x29818a['data']+')'}),_0x29818a['id']===_0x48da18[_0x444b4a(0x153)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x444b4a(0x342)]({'type':_0x19c5e8[_0x444b4a(0x156)]['Warning'],'content':this[_0x444b4a(0x16b)]['t'](_0x29818a[_0x444b4a(0x349)]||'')}),_0x29818a['id']===_0x48da18[_0x444b4a(0x153)][_0x444b4a(0x33f)]&&this[_0x444b4a(0xca)][_0x444b4a(0x342)]({'type':_0x19c5e8[_0x444b4a(0x156)][_0x444b4a(0x13d)],'content':this['_localeService']['t']('session.will-retry')}),_0x29818a['id']===_0x48da18['CollaborationUIEventId'][_0x444b4a(0xe6)]&&this[_0x444b4a(0xca)]['show']({'type':_0x19c5e8[_0x444b4a(0x156)]['Error'],'content':this[_0x444b4a(0x16b)]['t']('session.connection-failed')}),_0x29818a['id']===_0x48da18[_0x444b4a(0x153)][_0x444b4a(0x2aa)]&&this['_messageService'][_0x444b4a(0x342)]({'type':_0x19c5e8['MessageType'][_0x444b4a(0x242)],'content':this[_0x444b4a(0x16b)]['t'](_0x444b4a(0x2f9))});}));}};_0x4bc1c5=_0x3f8545([_0x232b94(0x0,_0x1f01e3[_0xd692a4(0x2ea)]),_0x232b94(0x1,_0x48da18[_0xd692a4(0x32f)]),_0x232b94(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x48da18[_0xd692a4(0x1d4)])),_0x232b94(0x3,_0x1f01e3[_0xd692a4(0x33a)]),_0x232b94(0x4,_0x1f01e3[_0xd692a4(0x138)]),_0x232b94(0x5,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x347)]))],_0x4bc1c5);const _0x3b5ff8=_0xd692a4(0x360),_0x4b856b={};var _0x38987c=Object[_0xd692a4(0x158)],_0x245e3b=(_0x5f001a,_0x181bca,_0x2a531c,_0x2bbd7b)=>{const _0x1bca46=_0xd692a4;for(var _0x24ec56=_0x2bbd7b>0x1?void 0x0:_0x2bbd7b?_0x38987c(_0x181bca,_0x2a531c):_0x181bca,_0x4cce9a=_0x5f001a[_0x1bca46(0x32c)]-0x1,_0x3f6f62;_0x4cce9a>=0x0;_0x4cce9a--)(_0x3f6f62=_0x5f001a[_0x4cce9a])&&(_0x24ec56=_0x3f6f62(_0x24ec56)||_0x24ec56);return _0x24ec56;},_0x52ef6b=(_0x317665,_0x63906e)=>(_0x5688b8,_0x426fbe)=>_0x63906e(_0x5688b8,_0x426fbe,_0x317665);let _0x31d48f=class{constructor(_0x6abdcc,_0x3df797){const _0x28901c=_0xd692a4;this[_0x28901c(0x32e)]=_0x6abdcc,this['_renderManagerService']=_0x3df797;}[_0xd692a4(0x2a9)](_0x92a14d){const _0x2a5070=_0xd692a4;this['_transformUndoRedoStack'](_0x92a14d),this[_0x2a5070(0x21f)](_0x92a14d);}['transformRemoteChangeset'](_0x5c0e12){const _0x492fdf=_0xd692a4,{unitID:_0x5b520e}=_0x5c0e12,_0x364cec=this['_renderManagerService']['getRenderById'](_0x5b520e)['with'](_0x592c9e[_0x492fdf(0x11d)]),{redoCache:_0xa5c35e}=_0x364cec[_0x492fdf(0x179)]();if(_0xa5c35e[_0x492fdf(0x32c)]===0x0)return _0x5c0e12;let _0x4c7717=_0x4b0795['Tools'][_0x492fdf(0x2f0)](_0x5c0e12[_0x492fdf(0x2e6)][0x0]);for(let _0x28c11d=0x0;_0x28c11d<_0xa5c35e[_0x492fdf(0x32c)];_0x28c11d++){const _0x59343d={'id':_0x492fdf(0xde),'params':{..._0xa5c35e[_0x28c11d]}},_0x1137e3=this[_0x492fdf(0x32e)]['transformMutation'](_0x4c7717,_0x59343d,!0x1);if(_0x14a315[_0x492fdf(0x266)](_0x1137e3))throw _0x1137e3[_0x492fdf(0x13c)];_0x4c7717=_0x1137e3[_0x492fdf(0x12f)];}return{..._0x4b0795[_0x492fdf(0x146)][_0x492fdf(0x2f0)](_0x5c0e12),'mutations':[_0x4c7717]};}[_0xd692a4(0x196)](_0x48ff33){const _0x4beb82=_0xd692a4,{unitID:_0x19e3c0}=_0x48ff33,_0x5e3401=this['_renderManagerService'][_0x4beb82(0xea)](_0x19e3c0)[_0x4beb82(0x293)](_0x592c9e[_0x4beb82(0x11d)]),{undoCache:_0x59ba4e,redoCache:_0x454d02}=_0x5e3401[_0x4beb82(0x179)]();if(_0x59ba4e[_0x4beb82(0x32c)]===0x0||_0x454d02[_0x4beb82(0x32c)]===0x0)return;const _0x1ddbbb=[],_0xe6de2a=[];let _0x33aaa4=_0x4b0795['Tools'][_0x4beb82(0x2f0)](_0x48ff33[_0x4beb82(0x2e6)][0x0]),_0x204836=_0x4b0795[_0x4beb82(0x146)][_0x4beb82(0x2f0)](_0x48ff33[_0x4beb82(0x2e6)][0x0]);for(let _0x1c7ae8=_0x59ba4e['length']-0x1;_0x1c7ae8>=0x0;_0x1c7ae8--){const _0x4d7d90={'id':_0x4beb82(0xde),'params':{..._0x59ba4e[_0x1c7ae8]}},_0x277610={'id':_0x4beb82(0xde),'params':{..._0x454d02[_0x1c7ae8]}},_0x3a5562=this[_0x4beb82(0x32e)][_0x4beb82(0x183)](_0x33aaa4,_0x4d7d90,!0x1),_0x303833=this[_0x4beb82(0x32e)][_0x4beb82(0x183)](_0x204836,_0x277610,!0x1);if(_0x14a315[_0x4beb82(0x266)](_0x3a5562))throw _0x3a5562['error'];if(_0x14a315[_0x4beb82(0x266)](_0x303833))throw _0x303833[_0x4beb82(0x13c)];_0x1ddbbb[_0x4beb82(0x281)](_0x3a5562[_0x4beb82(0x2a6)][_0x4beb82(0x354)]),_0xe6de2a[_0x4beb82(0x281)](_0x303833['m2Prime'][_0x4beb82(0x354)]),_0x33aaa4=_0x3a5562[_0x4beb82(0x12f)],_0x204836=_0x303833[_0x4beb82(0x12f)];}_0x5e3401[_0x4beb82(0x320)]({'undoCache':_0x1ddbbb,'redoCache':_0xe6de2a});}[_0xd692a4(0x21f)](_0xa3af9b){const _0x124229=_0xd692a4,{unitID:_0x30a560}=_0xa3af9b,_0x2e5cbc=this['_renderManagerService'][_0x124229(0xea)](_0x30a560)[_0x124229(0x293)](_0x592c9e[_0x124229(0x11d)]),_0x14b3a3=_0x2e5cbc[_0x124229(0x2b4)]();if(_0x14b3a3==null)return;const _0x3600f4=[{'id':_0x124229(0xde),'params':{'unitId':_0xa3af9b[_0x124229(0x290)],'actions':null,'textRanges':[_0x14b3a3]}}],_0x2a8112=this[_0x124229(0x32e)]['transformMutationsWithChangeset'](_0xa3af9b,_0x3600f4);if(!_0x14a315[_0x124229(0xcd)](_0x2a8112))throw _0x2a8112[_0x124229(0x13c)];const _0x583086=_0x2a8112[_0x124229(0x2a6)][0x0][_0x124229(0x354)][_0x124229(0x2ac)];Array[_0x124229(0x23c)](_0x583086)&&_0x583086[_0x124229(0x32c)]&&_0x2e5cbc[_0x124229(0x182)](_0x583086[0x0]);}};_0x31d48f=_0x245e3b([_0x52ef6b(0x0,_0x14a315[_0xd692a4(0x35a)]),_0x52ef6b(0x1,_0x56eea1[_0xd692a4(0x2f4)])],_0x31d48f);var _0x409848=Object[_0xd692a4(0x158)],_0x49f914=(_0x1a961f,_0x20bedc,_0x182f8d,_0x482c6a)=>{const _0x3df579=_0xd692a4;for(var _0xb7ceea=_0x482c6a>0x1?void 0x0:_0x482c6a?_0x409848(_0x20bedc,_0x182f8d):_0x20bedc,_0x3edeb9=_0x1a961f[_0x3df579(0x32c)]-0x1,_0x30929d;_0x3edeb9>=0x0;_0x3edeb9--)(_0x30929d=_0x1a961f[_0x3edeb9])&&(_0xb7ceea=_0x30929d(_0xb7ceea)||_0xb7ceea);return _0xb7ceea;},_0x388a2f=(_0x30e7e1,_0x4ae4b9)=>(_0x32dc09,_0xe7fb50)=>_0x4ae4b9(_0x32dc09,_0xe7fb50,_0x30e7e1);let _0x2945ac=class{constructor(_0x1db970,_0x41e5dc,_0x2afcee){const _0x284a83=_0xd692a4;this[_0x284a83(0x160)]=_0x1db970,this[_0x284a83(0x32e)]=_0x41e5dc,this[_0x284a83(0x2c3)]=_0x2afcee;}[_0xd692a4(0x1a9)](_0x289d6a){const _0x2c0932=_0xd692a4;this[_0x2c0932(0xce)](_0x289d6a);}[_0xd692a4(0x150)](_0x263cfc){const _0x215cf0=_0xd692a4,{unitID:_0x3d3fa6}=_0x263cfc,{collaboration:_0x24063a}=this[_0x215cf0(0x2c3)][_0x215cf0(0x246)](_0x3d3fa6);if(_0x24063a['length']===0x0)return _0x263cfc;let _0x414922=_0x4b0795[_0x215cf0(0x146)][_0x215cf0(0x2f0)](_0x263cfc[_0x215cf0(0x2e6)][0x0]);for(let _0x198d49=0x0;_0x198d49<_0x24063a[_0x215cf0(0x32c)];_0x198d49++){const _0x135d2a={'id':_0x215cf0(0xde),'params':{'unitId':_0x24063a[_0x198d49][_0x215cf0(0x366)],..._0x24063a[_0x198d49][_0x215cf0(0x212)]}},_0x251a6b=this[_0x215cf0(0x32e)][_0x215cf0(0x183)](_0x414922,_0x135d2a,!0x1);if(_0x14a315[_0x215cf0(0x266)](_0x251a6b))throw _0x251a6b[_0x215cf0(0x13c)];_0x414922=_0x251a6b['m1Prime'];}return{..._0x4b0795[_0x215cf0(0x146)][_0x215cf0(0x2f0)](_0x263cfc),'mutations':[_0x414922]};}[_0xd692a4(0xce)](_0x1b9a8f){const _0x440d98=_0xd692a4,{unitID:_0x1f50bb}=_0x1b9a8f,{history:_0x569bbc,collaboration:_0x3eb0be}=this[_0x440d98(0x2c3)][_0x440d98(0x246)](_0x1f50bb);if(_0x569bbc[_0x440d98(0x32c)]===0x0&&_0x3eb0be[_0x440d98(0x32c)]===0x0)return;const _0x25fe3a=[],_0x2e034f=[];let _0x42e3ea=_0x4b0795['Tools'][_0x440d98(0x2f0)](_0x1b9a8f['mutations'][0x0]),_0x38a85a=_0x4b0795[_0x440d98(0x146)]['deepClone'](_0x1b9a8f['mutations'][0x0]);for(let _0x17e342=_0x569bbc[_0x440d98(0x32c)]-0x1;_0x17e342>=0x0;_0x17e342--){const _0x225d3c={'id':_0x440d98(0xde),'params':{'unitId':_0x569bbc[_0x17e342][_0x440d98(0x366)],..._0x569bbc[_0x17e342]['undoState']}},_0x32028e={'id':_0x440d98(0xde),'params':{'unitId':_0x569bbc[_0x17e342][_0x440d98(0x366)],..._0x569bbc[_0x17e342][_0x440d98(0x212)]}},_0x3d7771=this[_0x440d98(0x32e)]['transformMutation'](_0x42e3ea,_0x225d3c,!0x1),_0x22ad8c=this[_0x440d98(0x32e)][_0x440d98(0x183)](_0x38a85a,_0x32028e,!0x1);if(_0x14a315[_0x440d98(0x266)](_0x3d7771))throw _0x3d7771[_0x440d98(0x13c)];if(_0x14a315[_0x440d98(0x266)](_0x22ad8c))throw _0x22ad8c[_0x440d98(0x13c)];_0x25fe3a[_0x440d98(0x281)]({..._0x569bbc[_0x17e342],'undoState':_0x3d7771[_0x440d98(0x2a6)][_0x440d98(0x354)],'redoState':_0x22ad8c[_0x440d98(0x2a6)]['params']}),_0x42e3ea=_0x3d7771[_0x440d98(0x12f)],_0x38a85a=_0x22ad8c[_0x440d98(0x12f)];}_0x42e3ea=_0x4b0795['Tools'][_0x440d98(0x2f0)](_0x1b9a8f[_0x440d98(0x2e6)][0x0]),_0x38a85a=_0x4b0795[_0x440d98(0x146)]['deepClone'](_0x1b9a8f[_0x440d98(0x2e6)][0x0]);for(let _0x166f3e=_0x3eb0be[_0x440d98(0x32c)]-0x1;_0x166f3e>=0x0;_0x166f3e--){const _0x3efc1e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3eb0be[_0x166f3e][_0x440d98(0x366)],..._0x3eb0be[_0x166f3e]['undoState']}},_0xee77b8={'id':_0x440d98(0xde),'params':{'unitId':_0x3eb0be[_0x166f3e]['unitId'],..._0x3eb0be[_0x166f3e][_0x440d98(0x212)]}},_0x3e619a=this['_transformService'][_0x440d98(0x183)](_0x42e3ea,_0x3efc1e,!0x1),_0x2e88f7=this[_0x440d98(0x32e)]['transformMutation'](_0x38a85a,_0xee77b8,!0x1);if(_0x14a315['isTransformMutationFailure'](_0x3e619a))throw _0x3e619a[_0x440d98(0x13c)];if(_0x14a315[_0x440d98(0x266)](_0x2e88f7))throw _0x2e88f7[_0x440d98(0x13c)];_0x2e034f[_0x440d98(0x281)]({..._0x3eb0be[_0x166f3e],'undoState':_0x3e619a[_0x440d98(0x2a6)]['params'],'redoState':_0x2e88f7[_0x440d98(0x2a6)][_0x440d98(0x354)]}),_0x42e3ea=_0x3e619a[_0x440d98(0x12f)],_0x38a85a=_0x2e88f7[_0x440d98(0x12f)];}this['_docStateChangeManagerService'][_0x440d98(0x18c)](_0x1f50bb,{'history':_0x25fe3a,'collaboration':_0x2e034f});}};_0x2945ac=_0x49f914([_0x388a2f(0x0,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x274)])),_0x388a2f(0x1,_0x14a315[_0xd692a4(0x35a)]),_0x388a2f(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x592c9e[_0xd692a4(0x337)]))],_0x2945ac);var _0x52f0ff=Object[_0xd692a4(0x158)],_0x11d309=(_0x18f4e3,_0x46f0ea,_0x40eab0,_0x45afc1)=>{const _0x28b2a3=_0xd692a4;for(var _0x246619=_0x45afc1>0x1?void 0x0:_0x45afc1?_0x52f0ff(_0x46f0ea,_0x40eab0):_0x46f0ea,_0x1fc1bb=_0x18f4e3[_0x28b2a3(0x32c)]-0x1,_0x2dd5f7;_0x1fc1bb>=0x0;_0x1fc1bb--)(_0x2dd5f7=_0x18f4e3[_0x1fc1bb])&&(_0x246619=_0x2dd5f7(_0x246619)||_0x246619);return _0x246619;},_0x146482=(_0x614e79,_0x531d25)=>(_0x146b79,_0x25db06)=>_0x531d25(_0x146b79,_0x25db06,_0x614e79);let _0xb54c39=class{constructor(_0x1649a9,_0x34a36d){const _0x739b18=_0xd692a4;this[_0x739b18(0x160)]=_0x1649a9,this[_0x739b18(0x32e)]=_0x34a36d;}[_0xd692a4(0x1bb)](_0x24b737){const _0x2139ec=_0xd692a4;var _0x12dc40;const _0x8bf225=this[_0x2139ec(0x160)][_0x2139ec(0x166)](_0x37373d[_0x2139ec(0x30a)]),_0xc35174=(_0x12dc40=_0x8bf225['getDocRanges']())!=null?_0x12dc40:[];if(_0xc35174[_0x2139ec(0x32c)]===0x0)return;const _0x48be08=_0x24b737[_0x2139ec(0x290)],_0x3dec31=[{'id':_0x2139ec(0xde),'params':{'unitId':_0x48be08,'actions':null,'textRanges':_0xc35174}}],_0x23de54=this['_transformService'][_0x2139ec(0x193)](_0x24b737,_0x3dec31);if(!_0x14a315[_0x2139ec(0xcd)](_0x23de54))throw _0x23de54[_0x2139ec(0x13c)];const _0x698a41=_0x23de54[_0x2139ec(0x2a6)][0x0][_0x2139ec(0x354)][_0x2139ec(0x2ac)];Array[_0x2139ec(0x23c)](_0x698a41)&&_0x698a41[_0x2139ec(0x32c)]&&_0x8bf225[_0x2139ec(0x1b9)](_0x698a41,{'unitId':_0x48be08,'subUnitId':_0x48be08},!0x1);}};_0xb54c39=_0x11d309([_0x146482(0x0,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795['Injector'])),_0x146482(0x1,_0x14a315['ITransformService'])],_0xb54c39);var _0x1ef498=Object[_0xd692a4(0x158)],_0x4930a1=(_0x185d13,_0x346ebc,_0x32f159,_0x58904f)=>{const _0x198370=_0xd692a4;for(var _0x6f50d5=_0x58904f>0x1?void 0x0:_0x58904f?_0x1ef498(_0x346ebc,_0x32f159):_0x346ebc,_0x385d5f=_0x185d13[_0x198370(0x32c)]-0x1,_0x592e9f;_0x385d5f>=0x0;_0x385d5f--)(_0x592e9f=_0x185d13[_0x385d5f])&&(_0x6f50d5=_0x592e9f(_0x6f50d5)||_0x6f50d5);return _0x6f50d5;},_0x2929c4=(_0x3de94c,_0x7575c5)=>(_0x76919,_0x558b2b)=>_0x7575c5(_0x76919,_0x558b2b,_0x3de94c);let _0x4a72c1=class extends _0x4b0795[_0xd692a4(0x243)]{constructor(_0x3316a5,_0x176656,_0x3a2e40,_0x65ad64,_0x1e2010,_0x525e9a,_0x5bcfaa,_0x343b49){const _0x8c9064=_0xd692a4;super(),_0x593a34(this,'_status$',new _0x116537[(_0x8c9064(0x30c))](_0x48da18['CollaborationStatus'][_0x8c9064(0x184)])),(this[_0x8c9064(0x2c3)]=_0x3316a5,this[_0x8c9064(0x1e3)]=_0x176656,this[_0x8c9064(0x100)]=_0x3a2e40,this[_0x8c9064(0x1a7)]=_0x65ad64,this['_docTransformSelectionsService']=_0x1e2010,this[_0x8c9064(0x104)]=_0x525e9a,this[_0x8c9064(0xca)]=_0x5bcfaa,this[_0x8c9064(0x16b)]=_0x343b49,this[_0x8c9064(0x2ce)]());}[_0xd692a4(0x2ce)](){const _0x176f5c=_0xd692a4;this[_0x176f5c(0x278)](this[_0x176f5c(0x1e3)][_0x176f5c(0x27c)]['subscribe'](_0x10ea9f=>{const _0x483308=_0x176f5c,_0x5bee7e=this[_0x483308(0x2c3)][_0x483308(0x1a6)][_0x483308(0x230)](_0x526615=>{const _0x4e725a=_0x483308;if(_0x526615==null)return;const {unitId:_0x4d8ee5,redoState:_0x356aec,commandId:_0x5b557d}=_0x526615;if(_0x4d8ee5!==_0x10ea9f[_0x4e725a(0x290)])return;const _0x5870e9={'id':_0x5b557d,'type':_0x4b0795[_0x4e725a(0x2a5)]['MUTATION'],'params':{'unitId':_0x4d8ee5,'actions':_0x356aec['actions'],'textRanges':null}};_0x10ea9f['onLocalMutation'](_0x5870e9);});if(_0x10ea9f[_0x483308(0x278)](_0x5bee7e),_0x10ea9f instanceof _0x48da18[_0x483308(0x225)]){const _0x9f02e={'onTransformIME':_0xf26d50=>this[_0x483308(0x100)]['transformIMECache'](_0xf26d50),'onTransformState':_0x21c0b5=>this[_0x483308(0x1a7)][_0x483308(0x1a9)](_0x21c0b5),'onTransformSelections':_0x399cbc=>this[_0x483308(0x23e)][_0x483308(0x1bb)](_0x399cbc),'onSyncEditingCollabCursor':_0x315d53=>this[_0x483308(0x104)][_0x483308(0x191)](_0x315d53),'onTransformRemoteChangesetByIMECache':_0x4e9c9a=>this['_docTransformIMECacheService'][_0x483308(0x150)](_0x4e9c9a),'onTransformRemoteChangesetByStateCache':_0x5bdcf9=>this['_docTransformStateCacheService'][_0x483308(0x150)](_0x5bdcf9)};_0x10ea9f['addHandlerCallback'](_0x9f02e);}}));}};_0x4a72c1=_0x4930a1([_0x2929c4(0x0,_0x4b0795[_0xd692a4(0x30b)](_0x592c9e[_0xd692a4(0x337)])),_0x2929c4(0x1,_0x4b0795[_0xd692a4(0x30b)](_0x48da18['CollaborationController'])),_0x2929c4(0x2,_0x4b0795['Inject'](_0x31d48f)),_0x2929c4(0x3,_0x4b0795[_0xd692a4(0x30b)](_0x2945ac)),_0x2929c4(0x4,_0x4b0795[_0xd692a4(0x30b)](_0xb54c39)),_0x2929c4(0x5,_0x4b0795[_0xd692a4(0x30b)](_0x2a6d0)),_0x2929c4(0x6,_0x1f01e3[_0xd692a4(0x33a)]),_0x2929c4(0x7,_0x4b0795['Inject'](_0x4b0795[_0xd692a4(0x347)]))],_0x4a72c1);var _0x1a9245=Object[_0xd692a4(0x158)],_0x5676a2=(_0x4eba03,_0x471201,_0x13b586,_0x4e0838)=>{for(var _0x5be945=_0x4e0838>0x1?void 0x0:_0x4e0838?_0x1a9245(_0x471201,_0x13b586):_0x471201,_0x1b04c8=_0x4eba03['length']-0x1,_0x16f718;_0x1b04c8>=0x0;_0x1b04c8--)(_0x16f718=_0x4eba03[_0x1b04c8])&&(_0x5be945=_0x16f718(_0x5be945)||_0x5be945);return _0x5be945;},_0x7ace34=(_0xc3ccf9,_0x3020bf)=>(_0x2a858a,_0x48babb)=>_0x3020bf(_0x2a858a,_0x48babb,_0xc3ccf9);let _0x42c1d0=class extends _0x4b0795['Disposable']{constructor(_0x5ef9f1,_0x205900,_0x49761e){const _0x3cfc0e=_0xd692a4;super(),_0x593a34(this,_0x3cfc0e(0x116),new Map()),_0x593a34(this,_0x3cfc0e(0x1b8),new Map()),_0x593a34(this,_0x3cfc0e(0x2d3),!0x1),(this[_0x3cfc0e(0x264)]=_0x5ef9f1,this[_0x3cfc0e(0x30d)]=_0x205900,this['_revisionService']=_0x49761e);}[_0xd692a4(0x22e)](){const _0x17841b=_0xd692a4;this[_0x17841b(0x2d3)]=!0x0;}[_0xd692a4(0x12e)](){const _0x257c4c=_0xd692a4;this[_0x257c4c(0x2d3)]=!0x1;}get['saveTaskMap'](){const _0x3cf71c=_0xd692a4;return this[_0x3cf71c(0x1b8)];}['dispose'](){const _0x5bb276=_0xd692a4;this[_0x5bb276(0x168)]()['then'](()=>super[_0x5bb276(0x1ca)]());}async[_0xd692a4(0x340)](_0x4af522){const _0x3589a9=_0xd692a4;return this[_0x3589a9(0x2d3)]?null:this['_localStorageService'][_0x3589a9(0x1bd)](_0x48da18['getLocalCacheKey'](_0x4af522));}async[_0xd692a4(0xff)](_0x5302d5,_0x408fe7){const _0x29dd51=_0xd692a4;return!!this['_localStorageService'][_0x29dd51(0x140)](_0x5302d5,_0x408fe7);}[_0xd692a4(0x2b6)](_0x576c72,_0x2aa532,_0x2d3843,_0x543565){const _0x36f382=_0xd692a4,_0x5bdc95=this[_0x36f382(0x339)][_0x36f382(0x177)](_0x576c72);this[_0x36f382(0x116)][_0x36f382(0x1da)](_0x576c72,{'unitID':_0x576c72,'type':_0x2aa532,'awaitingChangeset':_0x2d3843,'mutations':_0x543565,'rev':_0x5bdc95}),this['_saveTaskMap'][_0x36f382(0x141)](_0x576c72)||this[_0x36f382(0x13f)](_0x576c72);}[_0xd692a4(0x13f)](_0x328067){const _0x24b82e=_0xd692a4,_0x227a6a=this['_getSaveTimeout']();_0x227a6a===0x0?this['_saveCache'](_0x328067):this[_0x24b82e(0x1b8)]['set'](_0x328067,setTimeout(()=>this[_0x24b82e(0x313)](_0x328067),_0x227a6a));}[_0xd692a4(0x255)](){const _0x361488=_0xd692a4;var _0x3e9984;return(_0x3e9984=this[_0x361488(0x264)][_0x361488(0x220)](_0x48da18[_0x361488(0xec)]))!=null?_0x3e9984:_0x48da18[_0x361488(0xeb)];}['_saveCache'](_0x236508){const _0x403037=_0xd692a4,_0xcd2de9=this[_0x403037(0x1b8)][_0x403037(0x166)](_0x236508);return _0xcd2de9!==void 0x0&&window[_0x403037(0x21d)](_0xcd2de9),this['_localStorageService'][_0x403037(0x140)](_0x48da18[_0x403037(0xf8)](_0x236508),this[_0x403037(0x116)][_0x403037(0x166)](_0x236508))['then'](()=>this[_0x403037(0x1b8)]['delete'](_0x236508));}async[_0xd692a4(0x168)](){const _0x33b3ee=_0xd692a4,_0x28bc20=[];this[_0x33b3ee(0x1b8)][_0x33b3ee(0x345)]((_0x22b828,_0x2ebfdf)=>{const _0x56efc3=_0x33b3ee;window['clearTimeout'](_0x22b828),_0x28bc20['push'](this[_0x56efc3(0x313)](_0x2ebfdf)[_0x56efc3(0x1e9)](()=>{const _0x314086=_0x56efc3;this['_saveTaskMap'][_0x314086(0x324)](_0x2ebfdf);}));}),await Promise[_0x33b3ee(0x32b)](_0x28bc20);}};_0x42c1d0=_0x5676a2([_0x7ace34(0x0,_0x4b0795[_0xd692a4(0x26b)]),_0x7ace34(0x1,_0x4b0795[_0xd692a4(0x129)]),_0x7ace34(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x14a315[_0xd692a4(0x200)]))],_0x42c1d0);class _0x2160a6 extends _0x4b0795[_0xd692a4(0x259)]{constructor(){const _0x5bcfb4=_0xd692a4;super(),_0x593a34(this,'urlChange$'),this[_0x5bcfb4(0x2bc)]=_0x116537['fromEvent'](window,_0x5bcfb4(0x22b))[_0x5bcfb4(0x2ca)](_0x116537[_0x5bcfb4(0x30e)](this[_0x5bcfb4(0x34d)]),_0x116537[_0x5bcfb4(0xda)](0x1),_0x116537[_0x5bcfb4(0x121)](void 0x0));}[_0xd692a4(0x188)](_0x9bc6b,_0x569e03,_0x341d84=!0x1){const _0x278488=_0xd692a4,_0x2a473b=new URL(window['location'][_0x278488(0x311)]);_0x2a473b[_0x278488(0x32d)][_0x278488(0x1da)](_0x9bc6b,_0x569e03),_0x341d84?window[_0x278488(0x315)][_0x278488(0x368)]('','',_0x2a473b[_0x278488(0x24d)]()):window[_0x278488(0x315)][_0x278488(0x2fb)]('','',_0x2a473b[_0x278488(0x24d)]());}['removeParam'](_0x5a01ad,_0x2cfffc=!0x1){const _0x5b21cf=_0xd692a4,_0x346524=new URL(window['location']['href']);_0x346524['searchParams'][_0x5b21cf(0x324)](_0x5a01ad),_0x2cfffc?window[_0x5b21cf(0x315)]['replaceState']('','',_0x346524[_0x5b21cf(0x24d)]()):window[_0x5b21cf(0x315)][_0x5b21cf(0x2fb)]('','',_0x346524[_0x5b21cf(0x24d)]());}[_0xd692a4(0x2a0)](_0x4c88bd){const _0x2b0f7d=_0xd692a4;var _0x30dc3f;return(_0x30dc3f=new URL(window[_0x2b0f7d(0x310)][_0x2b0f7d(0x311)])[_0x2b0f7d(0x32d)][_0x2b0f7d(0x166)](_0x4c88bd))!=null?_0x30dc3f:void 0x0;}}var _0x4b9b4e=Object[_0xd692a4(0x19a)],_0x55e585=Object[_0xd692a4(0x158)],_0x3e3c0f=(_0x594529,_0x3aaabb,_0x47455d)=>_0x3aaabb in _0x594529?_0x4b9b4e(_0x594529,_0x3aaabb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47455d}):_0x594529[_0x3aaabb]=_0x47455d,_0x599bf0=(_0x24a82c,_0x19d985,_0x38834c,_0x75a142)=>{const _0x2fe7e9=_0xd692a4;for(var _0x2203f1=_0x75a142>0x1?void 0x0:_0x75a142?_0x55e585(_0x19d985,_0x38834c):_0x19d985,_0x5114ec=_0x24a82c[_0x2fe7e9(0x32c)]-0x1,_0x565ab4;_0x5114ec>=0x0;_0x5114ec--)(_0x565ab4=_0x24a82c[_0x5114ec])&&(_0x2203f1=_0x565ab4(_0x2203f1)||_0x2203f1);return _0x2203f1;},_0x405069=(_0x31cd71,_0x5afa31)=>(_0x2a75a4,_0x5dfb8b)=>_0x5afa31(_0x2a75a4,_0x5dfb8b,_0x31cd71),_0x3c8ccb=(_0x4ee182,_0x46f06b,_0x55925d)=>_0x3e3c0f(_0x4ee182,_0x46f06b+'',_0x55925d);const _0x2b5b66=_0xd692a4(0x33c);_0x535fbe[_0xd692a4(0x27a)]=class extends _0x4b0795[_0xd692a4(0x2b0)]{constructor(_0x1030a8=_0x4b856b,_0x4a8fc5,_0x238834,_0x2fb15a){const _0x2532d1=_0xd692a4;super(),this[_0x2532d1(0x194)]=_0x1030a8,this[_0x2532d1(0x29e)]=_0x4a8fc5,this[_0x2532d1(0x160)]=_0x238834,this[_0x2532d1(0x264)]=_0x2fb15a;const {..._0x3d32b7}=_0x4b0795[_0x2532d1(0x14c)]({},_0x4b856b,this[_0x2532d1(0x194)]);this['_configService']['setConfig'](_0x3b5ff8,_0x3d32b7);}[_0xd692a4(0x19b)](){const _0x1a98b1=_0xd692a4;this[_0x1a98b1(0x2be)](),this['_initDependencies']();}[_0xd692a4(0xe4)](){const _0x32a840=_0xd692a4;this[_0x32a840(0x359)]();}[_0xd692a4(0x2be)](){const _0x33f00e=_0xd692a4;var _0x403ccd;const _0x116062=[[_0x54f0e6],[_0xb54c39],[_0x31d48f],[_0x2945ac],[_0x2a6d0],[_0x48fdcd,{'useClass':_0x2160a6}],[_0x2271a4[_0x33f00e(0x36a)],{'useClass':_0x2271a4[_0x33f00e(0x213)]}],[_0x48da18['ILocalCacheService'],{'useClass':_0x42c1d0}],[_0x535fbe[_0x33f00e(0x268)]],[_0x4a72c1],[_0x4bc1c5],[_0x48ad4d],[_0x34f297],[_0x535fbe[_0x33f00e(0x133)]]];_0x4b0795['registerDependencies'](this[_0x33f00e(0x160)],_0x4b0795[_0x33f00e(0x2e3)](_0x116062,(_0x403ccd=this[_0x33f00e(0x194)])==null?void 0x0:_0x403ccd['override']));}[_0xd692a4(0x359)](){const _0x1626b3=_0xd692a4;this[_0x1626b3(0x278)](this[_0x1626b3(0x29e)][_0x1626b3(0x2f8)](_0x4b0795[_0x1626b3(0xfb)]['UNIVER_DOC'],[_0x183e62])),this[_0x1626b3(0x278)](this[_0x1626b3(0x29e)][_0x1626b3(0x2f8)](_0x4b0795['UniverInstanceType']['UNIVER_SHEET'],[_0x2a1e4e]));}['_initDependencies'](){const _0x343b8b=_0xd692a4;_0x4b0795[_0x343b8b(0x2f3)](this[_0x343b8b(0x160)],[[_0x48ad4d],[_0x535fbe[_0x343b8b(0x268)]],[_0x4a72c1],[_0x4bc1c5],[_0x535fbe[_0x343b8b(0x133)]]]);}},_0x3c8ccb(_0x535fbe[_0xd692a4(0x27a)],'pluginName',_0x2b5b66),_0x535fbe[_0xd692a4(0x27a)]=_0x599bf0([_0x4b0795[_0xd692a4(0x2e2)](_0x48da18['UniverCollaborationClientPlugin']),_0x405069(0x1,_0x56eea1[_0xd692a4(0x2f4)]),_0x405069(0x2,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x274)])),_0x405069(0x3,_0x4b0795[_0xd692a4(0x26b)])],_0x535fbe[_0xd692a4(0x27a)]);var _0x17c85f=Object['getOwnPropertyDescriptor'],_0x1dd36a=(_0x689258,_0x1a7315,_0x3510cc,_0x8d3cc7)=>{const _0x417769=_0xd692a4;for(var _0x3e47d2=_0x8d3cc7>0x1?void 0x0:_0x8d3cc7?_0x17c85f(_0x1a7315,_0x3510cc):_0x1a7315,_0x1733fb=_0x689258[_0x417769(0x32c)]-0x1,_0x10be7c;_0x1733fb>=0x0;_0x1733fb--)(_0x10be7c=_0x689258[_0x1733fb])&&(_0x3e47d2=_0x10be7c(_0x3e47d2)||_0x3e47d2);return _0x3e47d2;},_0x5c2586=(_0x24c167,_0x4a55b0)=>(_0x1ef5dd,_0x5532f1)=>_0x4a55b0(_0x1ef5dd,_0x5532f1,_0x24c167);_0x535fbe[_0xd692a4(0x346)]=class extends _0x48da18[_0xd692a4(0x1fe)]{constructor(_0x1cfb1b,_0x267ba3,_0x3c8418,_0x486d5a,_0x36acd5){super(_0x1cfb1b,_0x267ba3,_0x3c8418,_0x486d5a,_0x36acd5);}async[_0xd692a4(0xe7)](_0x4b89e7){const _0x3d17de=_0xd692a4,_0xe485d4=await this[_0x3d17de(0x199)](),_0x703189=this[_0x3d17de(0x30f)](_0x4b89e7,_0xe485d4);return this[_0x3d17de(0x1f4)](_0x703189);}[_0xd692a4(0x30f)](_0x449632,_0x363bb5){const _0x50a1fa=_0xd692a4,_0x2e8d8b=typeof window>'u'?new URL(_0x449632):new URL(_0x449632,window[_0x50a1fa(0x310)][_0x50a1fa(0x157)]);_0x2e8d8b[_0x50a1fa(0x32d)]['set'](_0x50a1fa(0x1c5),_0x363bb5);const _0x141ba8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50a1fa(0x310)][_0x50a1fa(0xe8)]);return _0x141ba8['get']('runId')&&_0x2e8d8b['searchParams'][_0x50a1fa(0x1da)]('runId',_0x141ba8['get']('runId')),_0x2e8d8b[_0x50a1fa(0x24d)]();}async[_0xd692a4(0x199)](){const _0x39ac22=_0xd692a4;var _0x5b7b92,_0x281e80,_0x5805cd;const _0x4d8a38=this[_0x39ac22(0x264)][_0x39ac22(0x220)](_0x48da18['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0xc2270c=(_0x5b7b92=_0x4d8a38==null?void 0x0:_0x4d8a38['wsSessionTicketUrl'])!=null?_0x5b7b92:_0x48da18[_0x39ac22(0x14a)];return(_0x5805cd=(_0x281e80=(await this[_0x39ac22(0x348)]['get'](_0xc2270c,{'headers':{'Content-Type':_0x39ac22(0xd3)}}))[_0x39ac22(0x189)])==null?void 0x0:_0x281e80[_0x39ac22(0x322)])!=null?_0x5805cd:'';}},_0x535fbe['BrowserCollaborationSocketService']=_0x1dd36a([_0x5c2586(0x0,_0x4b0795[_0xd692a4(0x30b)](_0x4b0795[_0xd692a4(0x274)])),_0x5c2586(0x1,_0x4b0795['Inject'](_0x2271a4[_0xd692a4(0x2b2)])),_0x5c2586(0x2,_0x4b0795[_0xd692a4(0x26b)]),_0x5c2586(0x3,_0x4b0795[_0xd692a4(0x2c7)]),_0x5c2586(0x4,_0x14a315['ISnapshotServerService'])],_0x535fbe['BrowserCollaborationSocketService']);var _0x5184ad=(_0x262d7f=>(_0x262d7f[_0x262d7f[_0xd692a4(0x1df)]=0x0]=_0xd692a4(0x1df),_0x262d7f[_0x262d7f['OK']=0x1]='OK',_0x262d7f[_0x262d7f[_0xd692a4(0x2d8)]=0x2]=_0xd692a4(0x2d8),_0x262d7f[_0x262d7f[_0xd692a4(0x137)]=0x3]=_0xd692a4(0x137),_0x262d7f[_0x262d7f[_0xd692a4(0xd1)]=0x4]=_0xd692a4(0xd1),_0x262d7f[_0x262d7f[_0xd692a4(0x364)]=0x5]='UNAUTHENTICATED',_0x262d7f[_0x262d7f[_0xd692a4(0x292)]=0x6]=_0xd692a4(0x292),_0x262d7f[_0x262d7f[_0xd692a4(0xee)]=0x7]='INVALID_ARGUMENT',_0x262d7f[_0x262d7f[_0xd692a4(0x2b3)]=0x8]=_0xd692a4(0x2b3),_0x262d7f[_0x262d7f[_0xd692a4(0x2bb)]=0x9]=_0xd692a4(0x2bb),_0x262d7f[_0x262d7f[_0xd692a4(0x1dd)]=0xa]=_0xd692a4(0x1dd),_0x262d7f[_0x262d7f[_0xd692a4(0x269)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x262d7f[_0x262d7f[_0xd692a4(0x1b3)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x262d7f[_0x262d7f['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0xd692a4(0x314),_0x262d7f[_0x262d7f['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x262d7f[_0x262d7f[_0xd692a4(0x1f1)]=0x1389]=_0xd692a4(0x1f1),_0x262d7f[_0x262d7f['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xd692a4(0x20d),_0x262d7f[_0x262d7f[_0xd692a4(0x275)]=0x1772]=_0xd692a4(0x275),_0x262d7f[_0x262d7f[_0xd692a4(0x23a)]=0x1773]=_0xd692a4(0x23a),_0x262d7f[_0x262d7f[_0xd692a4(0x19d)]=0x1b59]='APPLY_REJECT',_0x262d7f[_0x262d7f[_0xd692a4(0x248)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x262d7f[_0x262d7f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xd692a4(0x1ba),_0x262d7f[_0x262d7f[_0xd692a4(0x253)]=0x1b5c]=_0xd692a4(0x253),_0x262d7f[_0x262d7f[_0xd692a4(0x2cc)]=0x1b5d]=_0xd692a4(0x2cc),_0x262d7f[_0x262d7f['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xd692a4(0x333),_0x262d7f[_0x262d7f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xd692a4(0x2b1),_0x262d7f[_0x262d7f[_0xd692a4(0xcf)]=0x232a]=_0xd692a4(0xcf),_0x262d7f[_0x262d7f[_0xd692a4(0x2eb)]=0x232b]=_0xd692a4(0x2eb),_0x262d7f[_0x262d7f[_0xd692a4(0x2c6)]=0x232c]=_0xd692a4(0x2c6),_0x262d7f[_0x262d7f[_0xd692a4(0x1e5)]=0x232d]=_0xd692a4(0x1e5),_0x262d7f[_0x262d7f[_0xd692a4(0x28e)]=0x2711]=_0xd692a4(0x28e),_0x262d7f[_0x262d7f[_0xd692a4(0x312)]=0x2712]=_0xd692a4(0x312),_0x262d7f[_0x262d7f[_0xd692a4(0x28a)]=0x2713]=_0xd692a4(0x28a),_0x262d7f[_0x262d7f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x262d7f[_0x262d7f[_0xd692a4(0x35b)]=0x271a]=_0xd692a4(0x35b),_0x262d7f[_0x262d7f[_0xd692a4(0x123)]=0x271b]=_0xd692a4(0x123),_0x262d7f[_0x262d7f[_0xd692a4(0x279)]=0x271c]=_0xd692a4(0x279),_0x262d7f[_0x262d7f[_0xd692a4(0x2e4)]=0x271d]=_0xd692a4(0x2e4),_0x262d7f[_0x262d7f[_0xd692a4(0x1d1)]=0x271e]=_0xd692a4(0x1d1),_0x262d7f[_0x262d7f[_0xd692a4(0x353)]=0x271f]=_0xd692a4(0x353),_0x262d7f[_0x262d7f[_0xd692a4(0x29f)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x262d7f[_0x262d7f[_0xd692a4(0xd2)]=0x2af9]=_0xd692a4(0xd2),_0x262d7f[_0x262d7f[_0xd692a4(0x1e4)]=0x2ee1]=_0xd692a4(0x1e4),_0x262d7f[_0x262d7f[_0xd692a4(0xd6)]=0x2ee2]=_0xd692a4(0xd6),_0x262d7f[_0x262d7f['INVITE_CODE_REQUIRED']=0x2ee3]=_0xd692a4(0x1d5),_0x262d7f[_0x262d7f['USER_NOT_INVITED_CODE']=0x2ee4]=_0xd692a4(0x17d),_0x262d7f[_0x262d7f[_0xd692a4(0x2c2)]=0x2ee5]=_0xd692a4(0x2c2),_0x262d7f[_0x262d7f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xd692a4(0x2d5),_0x262d7f[_0x262d7f[_0xd692a4(0xf4)]=0x32ca]=_0xd692a4(0xf4),_0x262d7f[_0x262d7f[_0xd692a4(0x1c2)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x262d7f[_0x262d7f[_0xd692a4(0x2e0)]=-0x1]='UNRECOGNIZED',_0x262d7f))(_0x5184ad||{}),_0x6bd3eb=Object[_0xd692a4(0x158)],_0x5de056=(_0x5d2a5a,_0x5cf784,_0x5d0157,_0x51a27e)=>{const _0x2132d9=_0xd692a4;for(var _0x19c484=_0x51a27e>0x1?void 0x0:_0x51a27e?_0x6bd3eb(_0x5cf784,_0x5d0157):_0x5cf784,_0x1e2680=_0x5d2a5a[_0x2132d9(0x32c)]-0x1,_0x2f54a4;_0x1e2680>=0x0;_0x1e2680--)(_0x2f54a4=_0x5d2a5a[_0x1e2680])&&(_0x19c484=_0x2f54a4(_0x19c484)||_0x19c484);return _0x19c484;},_0x883735=(_0x2220af,_0x1b2690)=>(_0x5b15e8,_0x59dc4d)=>_0x1b2690(_0x5b15e8,_0x59dc4d,_0x2220af);_0x535fbe[_0xd692a4(0x14d)]=class extends _0x4b0795[_0xd692a4(0x243)]{constructor(_0xf5583c,_0x33dd04,_0x49dead){const _0x2ba87e=_0xd692a4;super(),this['_instanceService']=_0xf5583c,this[_0x2ba87e(0x348)]=_0x33dd04,this[_0x2ba87e(0x264)]=_0x49dead;}async[_0xd692a4(0x1ce)](_0x39de35,_0x2b91f3,_0x5f0e69,..._0x444ee9){const _0x1a6ac4=_0xd692a4;var _0x203758,_0x54079a,_0x58b831,_0x5bcd3b;const _0x5851b5=this[_0x1a6ac4(0x101)][_0x1a6ac4(0x1a3)]();if(!_0x5851b5)throw new Error(_0x1a6ac4(0x35c));const _0x2a69d2=((_0x203758=this[_0x1a6ac4(0x264)]['getConfig'](_0x48da18[_0x1a6ac4(0x294)]))!=null?_0x203758:_0x48da18[_0x1a6ac4(0x10b)])+'/'+_0x39de35+'/run/'+_0x2b91f3,_0x48fc89=new URL(window[_0x1a6ac4(0x310)][_0x1a6ac4(0x311)]),_0x2d9b4d={'scriptId':_0x39de35,'runId':(_0x54079a=_0x48fc89['searchParams'][_0x1a6ac4(0x166)]('runId'))!=null?_0x54079a:'','function':_0x2b91f3,'unitId':_0x5851b5[_0x1a6ac4(0x270)](),'argsOfFunction':JSON['stringify'](_0x444ee9),'invokeId':(_0x58b831=_0x5f0e69['invokeId'])!=null?_0x58b831:'','executionId':(_0x5bcd3b=_0x5f0e69['executionId'])!=null?_0x5bcd3b:''};try{const _0x46ab89=await this[_0x1a6ac4(0x348)][_0x1a6ac4(0x11b)](_0x2a69d2,{'body':_0x2d9b4d});return _0x46ab89[_0x1a6ac4(0x189)][_0x1a6ac4(0x13c)]&&_0x46ab89[_0x1a6ac4(0x189)][_0x1a6ac4(0x13c)][_0x1a6ac4(0x257)]!==_0x5184ad['OK']?'Failed':_0x46ab89[_0x1a6ac4(0x189)][_0x1a6ac4(0x25f)];}catch{return _0x1a6ac4(0x306);}}},_0x535fbe[_0xd692a4(0x14d)]=_0x5de056([_0x883735(0x0,_0x4b0795[_0xd692a4(0x247)]),_0x883735(0x1,_0x4b0795['Inject'](_0x2271a4['HTTPService'])),_0x883735(0x2,_0x4b0795[_0xd692a4(0x26b)])],_0x535fbe[_0xd692a4(0x14d)]);const _0x519026=0x7530,_0x2903a7='ACTIVE_UNIT_EVENT_CHANNEL';class _0x41a0b8 extends _0x4b0795[_0xd692a4(0x243)]{constructor(){const _0x1f4bd2=_0xd692a4;super(),_0x593a34(this,_0x1f4bd2(0xe0),_0x4b0795['generateRandomId']()),_0x593a34(this,_0x1f4bd2(0x172),new Set()),_0x593a34(this,_0x1f4bd2(0x351),new Map()),_0x593a34(this,'_heartbeatTimer',null),_0x593a34(this,_0x1f4bd2(0x1cd),new Map()),_0x593a34(this,_0x1f4bd2(0x1c7),new Map()),this[_0x1f4bd2(0x1a0)]();}[_0xd692a4(0x1ca)](){const _0x34b626=_0xd692a4;super[_0x34b626(0x1ca)](),this[_0x34b626(0x1cd)][_0x34b626(0x345)]((_0x506bd1,_0x3bf958)=>this[_0x34b626(0x1af)](_0x3bf958)),this['_heartbeatTimer']&&window[_0x34b626(0x25c)](this[_0x34b626(0x329)]);}['getUnitStatus$'](_0x2a13cb){const _0x5f0cc9=_0xd692a4;return this[_0x5f0cc9(0x2ad)](_0x2a13cb)[_0x5f0cc9(0x2ca)](_0x116537[_0x5f0cc9(0x282)]());}[_0xd692a4(0x34e)](_0x19298f){const _0x4ebe6d=_0xd692a4;this[_0x4ebe6d(0x172)][_0x4ebe6d(0x32a)]===0x0&&this[_0x4ebe6d(0x338)](),this['_selfUnitIDs']['add'](_0x19298f),this[_0x4ebe6d(0x119)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x19298f],'isForwarded':!0x1});}[_0xd692a4(0x1f6)](_0x526182){const _0x5f4807=_0xd692a4;this[_0x5f4807(0x172)][_0x5f4807(0x324)](_0x526182),this['_selfUnitIDs']['size']===0x0&&this[_0x5f4807(0x329)]&&window[_0x5f4807(0x25c)](this['_heartbeatTimer']);}[_0xd692a4(0x1a0)](){const _0x2b95fa=_0xd692a4;this[_0x2b95fa(0x278)](_0x4b0795[_0x2b95fa(0x2ba)](_0x116537['fromEvent'](window,_0x2b95fa(0x15d))[_0x2b95fa(0x230)](_0x265d2f=>{const _0x3db0e0=_0x2b95fa;if(_0x265d2f[_0x3db0e0(0x1db)]!==_0x2903a7||!_0x265d2f[_0x3db0e0(0x16e)])return;const _0x586cd0=JSON[_0x3db0e0(0x13e)](_0x265d2f[_0x3db0e0(0x16e)]);this[_0x3db0e0(0xdf)](_0x586cd0);}))),window[_0x2b95fa(0x29b)](_0x2b95fa(0x1f3),()=>this['_send']({'type':0x1,'memberID':this[_0x2b95fa(0xe0)],'unitIDs':Array[_0x2b95fa(0x198)](this[_0x2b95fa(0x172)])}));}[_0xd692a4(0xdf)](_0x1988da){const _0x35520a=_0xd692a4;switch(_0x1988da['type']){case 0x0:this[_0x35520a(0x192)](_0x1988da);break;case 0x1:this[_0x35520a(0x33e)](_0x1988da);break;case 0x2:this['_handleHeartbeatEvent'](_0x1988da);break;}}['_handleJoinEvent'](_0xa0f8b6){const _0x2365f2=_0xd692a4,{unitIDs:_0x21c919,memberID:_0x41df06,isForwarded:_0x30ef05}=_0xa0f8b6;_0x21c919['forEach'](_0x1ce962=>{const _0x579ed6=_0xb400;if(!_0x30ef05&&this['_unitOnClients']['has'](_0x1ce962)&&this['_ensureSubject'](_0x1ce962)['next'](_0x48da18[_0x579ed6(0x203)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x579ed6(0x141)](_0x1ce962)||!this[_0x579ed6(0x351)][_0x579ed6(0x166)](_0x1ce962)[_0x579ed6(0x141)](_0x41df06)){const _0x2f07d6=this[_0x579ed6(0x351)][_0x579ed6(0x166)](_0x1ce962)||new Set();_0x2f07d6['add'](_0x41df06),this[_0x579ed6(0x351)][_0x579ed6(0x1da)](_0x1ce962,_0x2f07d6),this[_0x579ed6(0xcb)](_0x41df06);}}),_0x30ef05||this['_send']({'type':0x0,'memberID':this[_0x2365f2(0xe0)],'unitIDs':[...this[_0x2365f2(0x172)]],'isForwarded':!0x0});}[_0xd692a4(0xcb)](_0x4a0eb1){const _0x5f2f23=_0xd692a4;this[_0x5f2f23(0x1af)](_0x4a0eb1);const _0x51920f=window[_0x5f2f23(0x186)](()=>{const _0x26a980=_0x5f2f23;this['_unitOnClients'][_0x26a980(0x345)](_0x41a6d5=>{const _0x4f5067=_0x26a980;_0x41a6d5[_0x4f5067(0x324)](_0x4a0eb1);});},_0x519026*0x2);this[_0x5f2f23(0x1cd)][_0x5f2f23(0x1da)](_0x4a0eb1,_0x51920f);}[_0xd692a4(0x1af)](_0x5c0d0a){const _0x14fcc4=_0xd692a4;if(this[_0x14fcc4(0x1cd)][_0x14fcc4(0x141)](_0x5c0d0a)){const _0x306d5f=this['_clearOtherTimers'][_0x14fcc4(0x166)](_0x5c0d0a);_0x306d5f&&window[_0x14fcc4(0x21d)](_0x306d5f),this[_0x14fcc4(0x1cd)][_0x14fcc4(0x1da)](_0x5c0d0a,null);}}['_handleLeaveEvent'](_0x10a8d1){const _0x1346ba=_0xd692a4,{memberID:_0x3a9043,unitIDs:_0x516e90}=_0x10a8d1;_0x516e90[_0x1346ba(0x345)](_0x121379=>{const _0x7ec639=_0x1346ba;var _0x5c21f1;const _0x15444e=this[_0x7ec639(0x351)]['get'](_0x121379);_0x15444e&&(_0x15444e[_0x7ec639(0x324)](_0x3a9043),(_0x5c21f1=this[_0x7ec639(0x2ad)](_0x121379))==null||_0x5c21f1[_0x7ec639(0x214)](_0x15444e[_0x7ec639(0x32a)]===0x0?_0x48da18['UnitStatus'][_0x7ec639(0x318)]:_0x48da18[_0x7ec639(0x203)][_0x7ec639(0x1a1)]));}),this[_0x1346ba(0x1af)](_0x3a9043);}[_0xd692a4(0x289)](_0x3352d6){const _0x48e352=_0xd692a4;this[_0x48e352(0xcb)](_0x3352d6[_0x48e352(0x369)]);}[_0xd692a4(0x119)](_0x4bb1ce){const _0x1e59e1=_0xd692a4;localStorage[_0x1e59e1(0x140)](_0x2903a7,JSON['stringify'](_0x4bb1ce));}[_0xd692a4(0x338)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x139b2a=_0xb400;this[_0x139b2a(0x119)]({'type':0x2,'memberID':this[_0x139b2a(0xe0)]});},_0x519026);}['_ensureSubject'](_0x2df35e){const _0x3e71d2=_0xd692a4;return this[_0x3e71d2(0x1c7)][_0x3e71d2(0x141)](_0x2df35e)||this['_unitStatus'][_0x3e71d2(0x1da)](_0x2df35e,new _0x116537[(_0x3e71d2(0x30c))](_0x48da18['UnitStatus'][_0x3e71d2(0x318)])),this[_0x3e71d2(0x1c7)][_0x3e71d2(0x166)](_0x2df35e);}}_0x535fbe[_0xd692a4(0x1c6)]=_0x48fdcd,_0x535fbe[_0xd692a4(0x228)]=_0x49f936,_0x535fbe[_0xd692a4(0x221)]=_0x41a0b8,_0x535fbe['WebURLService']=_0x2160a6,Object[_0xd692a4(0x19a)](_0x535fbe,Symbol[_0xd692a4(0x1fb)],{'value':_0xd692a4(0x26c)});}));function _0x4cb6(){const _0x50eadf=['session.collaboration-timeout','hasOwnProperty','pushState','@univerjs/docs','_hover','_syncEditingCollabCursorService','getCoordByCell','DOC_RANGE_TYPE','TRANSFORM_CHANGE_OBSERVABLE_TYPE','name','UniverDocs','collaboration.single-unit.warning','save','Failed','moveTo','_colorIndex','collabStatus.notCollab','DocSelectionManagerService','Inject','BehaviorSubject','_localStorageService','takeUntil','_createSocketURL','location','href','YUUMI_URL_COL_OUT_OF_RANGE','_saveCache','EMAIL_VERIFY_CODE_MISMATCH','history','tag','_updateSubUnitFromURLParams','NO_OTHER_CLIENTS_EDITING','@univerjs/engine-formula','assign','startsWith','_hideTimer','indexOf','mask','UPDATE_CURSOR','setUndoRedoMutationParamsCache','_getSheetObject','ticket','resize','delete','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabCursorState$','_drawAnchor','push','_heartbeatTimer','size','all','length','searchParams','_transformService','ILocalCacheService','url(#$1','createElement','UniverDrawing','CONNECTOR_DATA_TOO_LARGE','259192JvaLXt','UniverEngineRender','use','DocStateChangeManagerService','_scheduleHeartbeat','_revisionService','IMessageService','SHEET_VIEWPORT_KEY','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getMergeData','_handleLeaveEvent','SOCKET_FAILED_RETRY','loadOfflineData','getRelativeToViewportCoord','show','8WiWtxe','620XroBbs','forEach','BrowserCollaborationSocketService','LocaleService','_httpService','data','_startDocCollabCursor','whenReady','icon','dispose$','editingUnit','_draw','_onCursorUpdate','_unitOnClients','onCommandExecuted','YUUMI_AI_RUN_FAILED','params','closePath','color','_docSkeletonManagerService','_roomMembers$','_registerRenderDependencies','ITransformService','YUUMI_NO_CUBOID_FOR_QUESTION','[RemoteUniscriptService]:\x20no\x20focused\x20unit','handleInsertCol','_entities','UniverRpc','collaboration-client-ui.config','collab-text-range-','UniverProCollaborationClient','colorChannel1','UNAUTHENTICATED','switchMap','unitId','isActive','replaceState','memberID','ISocketService','getViewport','_urlService','_messageService','_scheduleClearOtherTimer','div','isTransformMutationsWithChangesetSuccess','_transformHistoryAndStateStack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.fetchMiss','NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','application/json','collab-rect-range-','http://www.w3.org/2000/svg','INVALID_INVITE_CODE','_memberService','collabStatus.syncing','FromArray','shareReplay','currentSkeleton$','getRangePointData','FETCH_MISS','doc.mutation.rich-text-editing','_handleEvent','_id','lineTo','backgroundColor','IRemoteInstanceService','onRendered','endColumn','SOCKET_FAILED','createSocket','search','handleMoveRange','getRenderById','LOCAL_CACHE_INTERVAL','LOCAL_CACHE_INTERVAL_KEY','univer-mr-2\x20univer-flex\x20univer-text-xl','INVALID_ARGUMENT','_handleHover','defs','handleInsertRow','collabStatus.synced','UniverUi','MOBILE_HAS_BEEN_BOUND','_onRefRangeChange','yellow.400','url(#on-line-icon_clip0_910_349)','getLocalCacheKey','@univerjs-pro/collaboration','collaboration.closeRoom','UniverInstanceType','range','findNodePositionByCharIndex','Unknown\x20user','saveOfflineData','_docTransformIMECacheService','_instanceService','OTHER_CLIENT_EDITING','url(#off-line-icon_clip0_910_343)','_docSyncEditingCollabCursorService','onPointerLeave$','onPointerMove$','permission.title','find','ranges','DocSkeletonManagerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCurrent','source','blue.400','@univerjs/sheets','ColorKit','drawWith','SetWorksheetActivateCommand','UniverDesign','currentTheme$','roomMembers$','_cachedData','sheetID','_initEvent','_send','event$','post','onMouseMove','DocIMEInputManagerService','_removeCollabCursors','UniverProCollaborationClientUi','runRefRangeMutations','mapTo','rxjs','YUUMI_ASYNCIO_CANCELLED','_localCacheService','1767215idSUJZ','UniverCore','@univerjs/engine-render','handleIRemoveRow','ILocalStorageService','InsertRangeMoveDownCommandId','bottom','column','0\x200\x2016\x2016','enableLocalCache','m1Prime','selection','transform','height','CollaborationDataLoaderController','labelPosition','handleInsertRangeMoveRight','restore','PERMISSION_DENIED','INotificationService','substring','none','handleInsertRangeMoveDown','error','Warning','parse','_scheduleSaving','setItem','has','_backgroundColor','assignAColorForMemberID','UniverEngineFormula','max','Tools','SessionStatus','_notificationService','[CollaborationDataLoaderController]','DEFAULT_WS_SESSION_TICKET_URL','React','merge','RemoteUniscriptService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','path','transformRemoteChangeset','apply','...','CollaborationUIEventId','filter','UNIVER_DOC','MessageType','origin','getOwnPropertyDescriptor','getSheetBySheetId','_refRangeService','object','UniverSheets','storage','_drawRectRange','transformByState','_injector','fill','fillText','@univerjs/docs-ui','getMemberID','_initStatusListener','get','UNIVER_SHEET','exhaustSavingTask','226589spyTRl','subUnitId','_localeService','_hovered','_initResize','newValue','_logService','14DoMxhy','init','_selfUnitIDs','on-line-icon_clip0_910_349','text','activeSheet$','_cursorShapes','getCurrentRevOfUnit','CLOSE_ROOM','getUndoRedoMutationParamsCache','RefRangeService','function','_anchorDot','USER_NOT_INVITED_CODE','_univerInstanceService','uni.network.url-service','NodePositionConvertToCursor','round','setActiveRange','transformMutation','NOT_COLLAB','className','setTimeout','addObject','setParam','body','combineLatest','Tooltip','setStateCache','_shapes','SetTextSelectionsOperation','red.300','COLORS','syncEditingCollabCursor','_handleJoinEvent','transformMutationsWithChangeset','_config','triggerDblclick','_transformUndoRedoStack','getUniverSheetInstance','from','_getSessionTicket','defineProperty','onStarting','font','APPLY_REJECT','RemoveRowCommandId','currentColor','_init','OTHER_CLIENTS_EDITING','xlink:href','getFocusedUnit','ONLINE','DisposableCollection','docStateChange$','_docTransformStateCacheService','setShapeProps','transformStateCache','CollaborationSessionService','Optional','getTypeOfUnitAdded$','1946SaCRYK','_updateLocalCursor','_removeClearOtherTimer','_online','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','complete','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_scene','string','_lastPointer','white','_saveTaskMap','replaceDocRanges','APPLY_REVISION_CONFILICT','transformSelections','serializeRangeWithSheet','getItem','registerBeforeClose','executeCommand','_cursorInfo$','prototype','EMAIL_HAS_BEEN_BOUND','@univerjs/rpc','collabStatus.offline','sessionTicket','IURLService','_unitStatus','forwardRef','generateRandomId','dispose','25144RIrRrF','defIds','_clearOtherTimers','runOnServer','hide','getCollabCursors$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','sheetId','getCellPositionByOffset','CollaborationUIEventService','INVITE_CODE_REQUIRED','Workbook','toRgbString','call','reconnect','set','key','_render','LOGIN_FAILED','_range','UNDEFINED','_color','current','TEXT_RANGE_LAYER_INDEX','_collaborationController','INVITE_CODE_HAS_BEEN_UES','LICENSE_DISTRO_REJECTED','getDocRanges','6puVflP','react/jsx-runtime','then','@univerjs/design','IImageIoService','off-line-icon_clip0_910_343','flatMap','0\x200\x2017\x2016','extend','top','CHANGESET_REVISION_CONFILICT','createIdentifier','unload','_doCreateSocket','CollaborationStatus','disposeUnit','saveImage','children','HEADER_MENU','subunit','toStringTag','InsertRowCommandId','imageSourceType','CollaborationSocketService','arc','RevisionService','_status$','fillStyle','UnitStatus','ThemeService','focused$','subscribeEvent','roomMembers','onPointerEnter$','_setupSubUnitSync','CONFLICT','_updateURLWithCurrentState','UniverDocsUi','SNAPSHOT_INVALID_SNAPSHOT','split','1452852JzcsWj','DeleteRangeMoveUpCommandId','unsubscribe','redoState','WebSocketService','next','_session','_eventUnsubscribe','1em','replace','_collabSessionService','getActiveSheet','useObservable','_setupBeforeClosingHandler','clearTimeout','IDocClipboardService','_transformPreviousActiveRange','getConfig','WebBrowserSingleActiveUnitService','_startSheetCollabCursor','rgba(255,\x20255,\x20255,\x200.01)','_collabCursorState$','DocCollaborationEntity','UniverNetwork','getCollabEntity$','SheetCollabCursorShape','CollaborationEvent','_colorAssignService','popstate','concat','_cursor','disableLocalCache','random','subscribe','getValue','getSheetId','NodePositionConvertToRectRange','EffectRefRangId','registerRefRange','onTransformChange$','row','debounceTime','getCurrentUnitForType','ENSURE_SNAPSHOT_EXECUTION','getVpScrollXYInfoByPosToVp','isArray','fromEventSubject','_docTransformSelectionsService','_beforeCloseService','jsx','getColorFromTheme','Error','Disposable','entries','_drawTextRange','getStateCache','IUniverInstanceService','APPLY_NON_SEQUENTIAL_REVISION','_assignedColors','MemberService','SheetsSelectionsService','#FFF','toString','_labelPosition','_updateCollabCursors','getTypeOfUnitDisposed$','symbol','map','APPLY_PERMISSION_DENIED','31552209MnCrwN','_getSaveTimeout','_initStatusComponent','code','_collabCursorController','RxDisposable','_getScale','beginPath','clearInterval','jsxs','_name','result','debounce','addClipboardHook','type','values','_configService','makeDirty','isTransformMutationFailure','_docSkeleton','DesktopCollaborationStatusDisplayController','MOBILE_VERIFY_CODE_MISMATCH','_initCommandExecutedListener','IConfigService','Module','OffLineIcon','_document','Rect','getUnitId','_cursors','cursorInfo$','@univerjs-pro/collaboration-client','Injector','SNAPSHOT_HAS_BEEN_REMOVED','useCallback','OnLineIcon','disposeWithMe','YUUMI_TABLE_NOT_FOUND_IN_UNIT','UniverCollaborationClientUIPlugin','12Klexnb','entityInit$','getAncestorScale','jiqing.500','displayName','_sheetSkeletonManagerService','unshift','distinctUntilChanged','getUnhiddenWorksheets','width','_toggleOffline','@univerjs/ui','BuiltInUIPart','includes','_handleHeartbeatEvent','YUUMI_RATE_OVER_LIMIT','_docClipboardService','@univerjs/network','IUIPartsService','YUUMI_UNABLE_LOAD_URL','getMember','unitID','endRow','ALREADY_EXISTS','with','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','isEditing','debug','@univerjs/drawing','min','RemoveColCommandId','_onCursorDelete','addEventListener','_textBubble','add','_renderManagerService','YUUMI_CONNECTOR_URL_NOT_FOUND','getParam','unit','_toggleOnline','deserializeRangeWithSheet','collab-client.tooltip.reconnect','CommandType','m2Prime','idSuffix','univer-flex\x20univer-items-center','transformIMECache','SUBMIT_CHANGESET_TIMEOUT','useRef','textRanges','_ensureSubject','measureText','M0\x200H16V16H0z','Plugin','LICENSE_MAX_UNITS_EXCEEDED','HTTPService','TOO_MANY_REQUESTS','getActiveRange','_anchor','updateOfflineData','evenodd','eventID','green.600','toDisposable','COMPLETION_FINISHED','urlChange$','getSkeleton','_registerDependencies','ICommandService','some','black','INVITE_CODE_ALREADY_BOUND','_docStateChangeManagerService','USERS_LEAVE','_refreshCollabCursors','LICENSE_EXPORT_SIZE_EXCEEDED','ILogService','_commandService','getSheetObject','pipe','requireSession','APPLY_DUPLICATED','connectInjector','_initEntityListener','collabStatus.conflict','SYNCED','send','OFFLINE','_disabled','cursorInfo','WECHAT_HAS_BEEN_BOUND','Vector2','_themeService','INTERNAL_ERROR','TEXT','SheetSkeletonManagerService','attrs','svg','asObservable','Shape','translate(.97)','UNRECOGNIZED','RegularPolygon','DependentOn','mergeOverrideWithDependencies','YUUMI_ALL_TABLES_IS_INVALID','_context','mutations','useDependency','registerComponent','SetSelectionsOperation','IBeforeCloseService','LICENSE_IMPORT_SIZE_EXCEEDED','permission.content','13665942aZhjcd','AWAITING_WITH_PENDING','engine','deepClone','_dataLoaderService','off-line-icon','touchDependencies','IRenderManagerService','_entityInit$','clipPath','getColor','registerRenderModule'];_0x4cb6=function(){return _0x50eadf;};return _0x4cb6();}
1
+ function _0x5a3b(){const _0x4788fc=['SOCKET_FAILED_RETRY','string','row','getSkeleton','rxjs/operators','WECHAT_HAS_BEEN_BOUND','_ensureSubject','mutations','366iZVwwW','bottom','font','INTERNAL_ERROR','engine','_refreshCollabCursors','getCurrentUnitForType','_backgroundColor','getCollabCursors$','CONNECTOR_DATA_TOO_LARGE','getColorFromTheme','@univerjs/rpc','ColorKit','top','_scheduleClearOtherTimer','_configService','jiqing.500','DeleteRangeMoveLeftCommandId','endColumn','getUnitStatus$','combineLatest','ISocketService','InsertRowCommandId','1yEptxv','RECT','MOBILE_HAS_BEEN_BOUND','actions','registerRefRange','LICENSE_MAX_UNITS_EXCEEDED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','defineProperty','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_collabSessionService','green.600','transformSelections','onCommandExecuted','SetWorksheetActivateCommand','startRow','init','getUnhiddenWorksheets','[CollaborationDataLoaderController]','INVITE_CODE_REQUIRED','className','_hover','univer-mr-2\x20univer-flex\x20univer-text-xl','collaboration-client-ui.config','_online','/run/','_memberService','setInterval','IBeforeCloseService','CollaborationDataLoaderController','YUUMI_ASYNCIO_CANCELLED','JOIN_ROOM_FAILED','code','UniverProCollaboration','_univerInstanceService','pushState','then','CollaborationController','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','m1Prime','getConfig','invokeId','RevisionService','useRef','LICENSE_EXPORT_SIZE_EXCEEDED','replace','USER_NOT_INVITED_CODE','key','includes','_initDependencies','_getSaveTimeout','currentSkeleton$','_name','indexOf','OTHER_CLIENTS_EDITING','loadOfflineData','currentTheme$','body','complete','registerBeforeClose','UPDATE_CURSOR','UniverIcon','_context','transformMutationsWithChangeset','_revisionService','unitId','UniverDocs','INVALID_ARGUMENT','_cursors','setShapeProps','_clearOtherTimers','_scene','setStateCache','_status$','push','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SheetsSelectionsService','from','addObject','jsxs','_saveTaskMap','_docTransformIMECacheService','div','onPointerMove$','@univerjs/network','_lastPointer','params','_textBubble','Unknown\x20user','_removeCollabCursors','displayName','SetSelectionsOperation','ICommandService','OnLineIcon','debug','startsWith','_colorIndex','rxjs','TEXT','getOwnPropertySymbols','_docSkeletonManagerService','IUniverInstanceService','cursorInfo$','transformMutation','_onCursorUpdate','_saveCache','APPLY_NON_SEQUENTIAL_REVISION','UNAUTHENTICATED','SYNCED','LICENSE_IMPORT_SIZE_EXCEEDED','_getScale','Rectangle','Tools','flatMap','WebURLService','enableLocalCache','tag','_roomMembers$','entityInit$','pluginName','runRefRangeMutations','jsx','unsubscribe','switchMap','_uiPartsService','_urlService','text','dispose','RemoteUniscriptService','onRendered','UniverDesign','fillText','takeUntil','RegularPolygon','getItem','touchDependencies','getActiveRange','_render','getCoordByCell','LocaleService','WebBrowserSingleActiveUnitService','getCurrentSelections','source','_entityInit$','length','findNodePositionByCharIndex','UniverUi','Error','isArray','CollaborationSessionService','CHANGESET_REVISION_CONFILICT','_transformService','getDocRanges','forwardRef','_startSheetCollabCursor','type','with','YUUMI_SUBSCRIPTION_NOT_FOUND','SetTextSelectionsOperation','InsertRangeMoveRightCommandId','popstate','currentColor','operators','SheetSkeletonManagerService','removeParam','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getValue','_draw','session.will-retry','UniverDocsUi','_docStateChangeManagerService','fromEventSubject','createIdentifier','_anchor','get','_setupSubUnitSync','handleInsertRangeMoveRight','_eventUnsubscribe','session.collaboration-timeout','permission.title','APPLY_DUPLICATED','call','registerDependencies','location','setActiveRange','getRenderById','collab-text-anchor-','getOwnPropertyDescriptor','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','asObservable','NOT_FOUND','UniverProCollaborationClientUi','React','storage','_cursorInfo$','SheetCollabCursorShape','Injector','@univerjs/engine-render','_docTransformSelectionsService','saveImage','useCallback','cursorInfo','OFFLINE','UnitStatus','DocSelectionManagerService','USERS_LEAVE','_initResize','ONLINE','delete','_id','createInstance','_initStatusListener','amd','roomMembers','_drawAnchor','_collabCursorState$','Subject','handleIRemoveCol','_session','collaboration-client.offline-data-not-saved','hasOwnProperty','_refRangeService','react','getAncestorScale','sheetID','CollaborationUIEventId','CLOSE_ROOM','UNIVER_DOC','_collaborationController','range','_initEntityListener','unload','_getAnchorBounding','deserializeRangeWithSheet','getParam','undoState','subunit','getRangePointData','arc','UniverEngineFormula','registerRenderModule','@univerjs/drawing','_handleLeaveEvent','prototype','SetDocZoomRatioOperation','skeleton','setItem','@univerjs-pro/collaboration-client','@univerjs/docs','DocIMEInputManagerService','_scheduleSaving','apply','replaceDocRanges','UNIVER_SHEET','saveOfflineData','_transformHistoryAndStateStack','M0\x200H16V16H0z','_handleJoinEvent','useDependency','_onCursorDelete','measureText','ITransformService','parse','doc.mutation.rich-text-editing','_labelPosition','_httpService','_shapes','UniverCollaborationClientUIPlugin','InsertColCommandId','isTransformMutationsWithChangesetSuccess','white','react/jsx-runtime','Vector2','AWAITING_WITH_PENDING','memberID','getSheetBySheetId','UniverSheetsUi','INVITE_CODE_ALREADY_BOUND','entries','_initEvent','defIds','getTypeOfUnitAdded$','has','getSheetObject','isTransformMutationFailure','getStateCache','CONFLICT','Plugin','getSheetId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformStateCache','_registerDependencies','split','column','values','ENSURE_SNAPSHOT_EXECUTION','_hideTimer','MOBILE_VERIFY_CODE_MISMATCH','wsSessionTicketUrl','SNAPSHOT_HAS_BEEN_REMOVED','on-line-icon_clip0_910_349','OTHER_CLIENT_EDITING','attrs','#FFF','_startDocCollabCursor','reconnect','_range','ILocalStorageService','_toggleOnline','0\x200\x2017\x2016','triggerDblclick','_sheetSkeletonManagerService','IURLService','whenReady','_heartbeatTimer','propertyIsEnumerable','VIEW_MAIN','color','assignAColorForMemberID','0\x200\x2016\x2016','red.300','_drawRectRange','toDisposable','_init','current','UniverInstanceType','YUUMI_URL_COL_OUT_OF_RANGE','ACTIVE_UNIT_EVENT_CHANNEL','_injector','_updateSubUnitFromURLParams','uni.network.url-service','exports','newValue','11208414KjABcr','forEach','isActive','post','off-line-icon','debounceTime','restore','_createSocketURL','generateRandomId','symbol','@univerjs/engine-formula','TOO_MANY_REQUESTS','collabStatus.offline','ranges','177504xGftbZ','urlChange$','setAlpha','deepClone','origin','_cursor','3HFYGCk','YUUMI_CONNECTOR_URL_NOT_FOUND','black','NOT_COLLAB','setUndoRedoMutationParamsCache','getMember','ALREADY_EXISTS','CommandType','DesktopCollaborationStatusDisplayController','PENDING','none','SOCKET_FAILED','error','next','AWAITING','@univerjs/sheets-ui','serializeRangeWithSheet','clearInterval','ThemeService','APPLY_REJECT','defs','labelPosition','fill','IMessageService','off-line-icon_clip0_910_343','_removeClearOtherTimer','handleInsertRow','_commandService','children','HEADER_MENU','add','save','_toggleOffline','purple.300','EMAIL_HAS_BEEN_BOUND','filter','MemberService','1538744OQwofe','IConfigService','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','event$','set','_handleEvent','map','concat','eventID','getFocusedUnit','evenodd','_scheduleHeartbeat','max','DataLoaderService','collaboration.closeRoom','collabStatus.notCollab','yellow.400','_entities','DEFAULT_WS_SESSION_TICKET_URL','_selfUnitIDs','toStringTag','editingUnit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_dataLoaderService','docStateChange$','_docClipboardService','_localCacheService','drawWith','debounce','_transformPreviousActiveRange','_disabled','send','closePath','CollaborationUIEventService','toString','sessionTicket','COLORS','Disposable','clipPath','colorChannel1','INVITE_CODE_HAS_BEEN_UES','random','collabStatus.synced','stringify','COMPLETION_FINISHED','_colorAssignService','_updateCollabCursors','RichTextEditingMutation','unitID','_hovered','_send','DOC_RANGE_TYPE','Module','_anchorDot','sessionStatus$','ILocalCacheService','6394156pxsLeB','_instanceService','roomMembers$','Shape','getCurrent','_onRefRangeChange','subscribeEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','mask','min','replaceState','disposeWithMe','extend','LOCAL_CACHE_INTERVAL_KEY','TEXT_RANGE_LAYER_INDEX','_updateLocalCursor','DocStateChangeManagerService','SUBMIT_CHANGESET_TIMEOUT','runId','fillRule','_getMergeRange','_localeService','activeSheet$','runOnServer','onTransformChange$','svg','disableLocalCache','status$','YUUMI_AI_RUN_FAILED','LOGIN_FAILED','getOffsetConfig','_themeService','Inject','_doCreateSocket','getCellPositionByOffset','EffectRefRangId','addEventListener','setParam','EMAIL_VERIFY_CODE_MISMATCH','getMemberID','_updateURLWithCurrentState','executeCommand','onStarting','addHandlerCallback','href','createElement','@univerjs/sheets','_messageService','collabCursorState$','toRgbString','@univerjs/core','OffLineIcon','transformRemoteChangeset','mergeOverrideWithDependencies','YUUMI_UNABLE_LOAD_URL','collab-client.tooltip.reconnect','getUnitId','executionId','imageSourceType','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','result','IRenderManagerService','lineTo','m2Prime','PERMISSION_DENIED','_cachedData','onMouseMove','_assignedColors','NodePositionConvertToRectRange','onLocalMutation','saveTaskMap','moveTo','_logService','getUniverSheetInstance','path','FromArray','Rect','idSuffix','collabStatus.conflict','getTypeOfUnitDisposed$','_document','some','getColor','DocCollaborationEntity','name','icon','Warning','UNRECOGNIZED','_drawTextRange','_config','UniverProCollaborationClient','CollaborationEvent','xlink:href','DependentOn','requireSession','blue.400','_syncEditingCollabCursorService','1em','fromEvent','IImageIoService','trim','session.connection-failed','url(#off-line-icon_clip0_910_343)','APPLY_PERMISSION_DENIED','getViewport','MUTATION','RxDisposable','on-line-icon','_collabCursorController','collabStatus.syncing','_handleHeartbeatEvent','round','setTimeout','syncEditingCollabCursor','show','Failed','throttleTime','_unitOnClients','univer-flex\x20univer-items-center','BrowserCollaborationSocketService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','http://www.w3.org/2000/svg','56020gsGxcE','fillStyle','_docSyncEditingCollabCursorService','isEditing','sheetId','function','searchParams','UniverDrawing','YUUMI_NO_CUBOID_FOR_QUESTION','getRelativeToViewportCoord','_docSkeleton','UniverEngineRender','registerComponent','MoveRangeCommandId','unshift','dispose$','backgroundColor','MessageType','_imageIoService','useObservable','createSocket','UNDEFINED','getLocalCacheKey','width','startColumn','exhaustSavingTask','CollaborationStatus','NO_OTHER_CLIENTS_EDITING','disposeUnit','setConfig','collabStatus.fetchMiss','mapTo','_initStatusComponent','BehaviorSubject','data','@univerjs-pro/collaboration','handleInsertRangeMoveDown','_registerRenderDependencies','ILogService','UniverSheets','_getSheetObject','subUnitId','InsertRangeMoveDownCommandId','SessionStatus','distinctUntilChanged','_transformUndoRedoStack','_initCommandExecutedListener','_cursorShapes','_unitStatus','Tooltip','4528152JErtpG','onPointerLeave$','_renderManagerService','_color','merge','clearTimeout','subscribe','WebSocketService','history','substring','INVALID_INVITE_CODE','Workbook','size','transformIMECache','_getSessionTicket','assign','11622490dhVOjB','_localStorageService','pipe','SNAPSHOT_INVALID_SNAPSHOT','APPLY_REVISION_CONFILICT','_handleHover'];_0x5a3b=function(){return _0x4788fc;};return _0x5a3b();}function _0x4ec8(_0x1ce1f5,_0x570b54){const _0x5a3b9b=_0x5a3b();return _0x4ec8=function(_0x4ec82d,_0x45eca7){_0x4ec82d=_0x4ec82d-0x126;let _0x16d846=_0x5a3b9b[_0x4ec82d];return _0x16d846;},_0x4ec8(_0x1ce1f5,_0x570b54);}(function(_0x7da38a,_0x23fbee){const _0xf313f4=_0x4ec8,_0x59ae6a=_0x7da38a();while(!![]){try{const _0x365b9c=-parseInt(_0xf313f4(0x37a))/0x1*(-parseInt(_0xf313f4(0x261))/0x2)+parseInt(_0xf313f4(0x23c))/0x3*(-parseInt(_0xf313f4(0x299))/0x4)+-parseInt(_0xf313f4(0x313))/0x5*(-parseInt(_0xf313f4(0x363))/0x6)+parseInt(_0xf313f4(0x228))/0x7+parseInt(_0xf313f4(0x236))/0x8+parseInt(_0xf313f4(0x345))/0x9+-parseInt(_0xf313f4(0x355))/0xa;if(_0x365b9c===_0x23fbee)break;else _0x59ae6a['push'](_0x59ae6a['shift']());}catch(_0x21b0fe){_0x59ae6a['push'](_0x59ae6a['shift']());}}}(_0x5a3b,0xc7d72),function(_0x21b542,_0x4467c8){const _0x56b8a3=_0x4ec8;typeof exports=='object'&&typeof module<'u'?_0x4467c8(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==_0x56b8a3(0x318)&&define[_0x56b8a3(0x1af)]?define([_0x56b8a3(0x226),_0x56b8a3(0x1ea),_0x56b8a3(0x1d2),_0x56b8a3(0x2cb),'@univerjs/ui',_0x56b8a3(0x13c),'@univerjs/design',_0x56b8a3(0x1b9),_0x56b8a3(0x36e),_0x56b8a3(0x2c7),_0x56b8a3(0x1a0),_0x56b8a3(0x12f),'@univerjs/docs-ui',_0x56b8a3(0x1cc),_0x56b8a3(0x336),_0x56b8a3(0x1d3),_0x56b8a3(0x232),_0x56b8a3(0x35f),_0x56b8a3(0x24b)],_0x4467c8):(_0x21b542=typeof globalThis<'u'?globalThis:_0x21b542||self,_0x4467c8(_0x21b542[_0x56b8a3(0x19a)]={},_0x21b542[_0x56b8a3(0x19b)],_0x21b542[_0x56b8a3(0x2f3)],_0x21b542['UniverCore'],_0x21b542[_0x56b8a3(0x16d)],_0x21b542['rxjs'],_0x21b542[_0x56b8a3(0x15d)],_0x21b542[_0x56b8a3(0x19b)],_0x21b542['UniverRpc'],_0x21b542[_0x56b8a3(0x33a)],_0x21b542[_0x56b8a3(0x31e)],_0x21b542['UniverNetwork'],_0x21b542[_0x56b8a3(0x184)],_0x21b542[_0x56b8a3(0x31a)],_0x21b542[_0x56b8a3(0x39a)],_0x21b542[_0x56b8a3(0x3bb)],_0x21b542[_0x56b8a3(0x1ca)],_0x21b542[_0x56b8a3(0x13c)][_0x56b8a3(0x17d)],_0x21b542[_0x56b8a3(0x1ef)]));}(this,function(_0x990236,_0x5e29a8,_0x36b1ab,_0x4976c9,_0x39d563,_0x1af8d0,_0xe10add,_0x5ae42a,_0x47cf56,_0x4fd33e,_0x5ed3cd,_0x2a9b18,_0x4f5309,_0x12f919,_0x280b1c,_0x407a59,_0x5b23dd,_0x210849,_0x234c3f){'use strict';const _0x2ba232=_0x4ec8;var _0x4af1da=Object[_0x2ba232(0x381)],_0x5028ce=(_0x2cb995,_0x39dc1f,_0x56530c)=>_0x39dc1f in _0x2cb995?_0x4af1da(_0x2cb995,_0x39dc1f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56530c}):_0x2cb995[_0x39dc1f]=_0x56530c,_0x2a0527=(_0x3d45df,_0x580f32,_0x4df175)=>_0x5028ce(_0x3d45df,typeof _0x580f32!=_0x2ba232(0x231)?_0x580f32+'':_0x580f32,_0x4df175),_0x40be78=function(){const _0x220181=_0x2ba232;return _0x40be78=Object[_0x220181(0x354)]||function(_0x370920){const _0x5a2b6e=_0x220181;for(var _0x4da992,_0x3f10e0=0x1,_0x384b25=arguments[_0x5a2b6e(0x16b)];_0x3f10e0<_0x384b25;_0x3f10e0++){_0x4da992=arguments[_0x3f10e0];for(var _0x458c3d in _0x4da992)Object['prototype'][_0x5a2b6e(0x1b7)][_0x5a2b6e(0x190)](_0x4da992,_0x458c3d)&&(_0x370920[_0x458c3d]=_0x4da992[_0x458c3d]);}return _0x370920;},_0x40be78[_0x220181(0x1d6)](this,arguments);},_0x1155a6=function(_0x1d479a,_0x17d608){const _0x56feec=_0x2ba232;var _0x5409cd={};for(var _0x20ad74 in _0x1d479a)Object[_0x56feec(0x1ce)][_0x56feec(0x1b7)][_0x56feec(0x190)](_0x1d479a,_0x20ad74)&&_0x17d608['indexOf'](_0x20ad74)<0x0&&(_0x5409cd[_0x20ad74]=_0x1d479a[_0x20ad74]);if(_0x1d479a!=null&&typeof Object[_0x56feec(0x13e)]==_0x56feec(0x318)){for(var _0x96d0ca=0x0,_0x20ad74=Object['getOwnPropertySymbols'](_0x1d479a);_0x96d0ca<_0x20ad74[_0x56feec(0x16b)];_0x96d0ca++)_0x17d608[_0x56feec(0x3ae)](_0x20ad74[_0x96d0ca])<0x0&&Object[_0x56feec(0x1ce)][_0x56feec(0x216)][_0x56feec(0x190)](_0x1d479a,_0x20ad74[_0x96d0ca])&&(_0x5409cd[_0x20ad74[_0x96d0ca]]=_0x1d479a[_0x20ad74[_0x96d0ca]]);}return _0x5409cd;},_0x28d145=_0x5ae42a[_0x2ba232(0x174)](function(_0x4406d8,_0x394f2a){const _0xcbe2c8=_0x2ba232;var _0x52666f=_0x4406d8[_0xcbe2c8(0x2ee)],_0x2e3569=_0x4406d8['id'],_0x183386=_0x4406d8['className'],_0x5034b4=_0x4406d8[_0xcbe2c8(0x2a5)],_0x1be349=_0x1155a6(_0x4406d8,[_0xcbe2c8(0x2ee),'id',_0xcbe2c8(0x38d),_0xcbe2c8(0x2a5)]),_0x12a5ce='univerjs-icon\x20univerjs-icon-'[_0xcbe2c8(0x268)](_0x2e3569,'\x20')[_0xcbe2c8(0x268)](_0x183386||'')[_0xcbe2c8(0x2fd)](),_0x3c2497=_0x5ae42a[_0xcbe2c8(0x3a4)]('_'[_0xcbe2c8(0x268)](_0x205462()));return _0x2d0610(_0x52666f,''['concat'](_0x2e3569),{'defIds':_0x52666f[_0xcbe2c8(0x1f3)],'idSuffix':_0x3c2497[_0xcbe2c8(0x21f)]},_0x40be78({'ref':_0x394f2a,'className':_0x12a5ce},_0x1be349),_0x5034b4);});function _0x2d0610(_0x4fa59d,_0x4c11a2,_0x4ab9fd,_0x2e6dc3,_0x2d31ab){const _0x3e3872=_0x2ba232;return _0x5ae42a['createElement'](_0x4fa59d['tag'],_0x40be78(_0x40be78({'key':_0x4c11a2},_0x2cb412(_0x4fa59d,_0x4ab9fd,_0x2d31ab)),_0x2e6dc3),(_0x5c9ad5(_0x4fa59d,_0x4ab9fd)[_0x3e3872(0x258)]||[])[_0x3e3872(0x267)](function(_0x51aa57,_0x206293){const _0xec9f13=_0x3e3872;return _0x2d0610(_0x51aa57,''['concat'](_0x4c11a2,'-')[_0xec9f13(0x268)](_0x4fa59d[_0xec9f13(0x14f)],'-')['concat'](_0x206293),_0x4ab9fd,void 0x0,_0x2d31ab);}));}function _0x2cb412(_0x1f4e83,_0x303d22,_0x10121a){const _0x167c48=_0x2ba232;var _0x274bbe=_0x40be78({},_0x1f4e83[_0x167c48(0x209)]);_0x10121a!=null&&_0x10121a[_0x167c48(0x288)]&&_0x274bbe[_0x167c48(0x252)]===_0x167c48(0x288)&&(_0x274bbe[_0x167c48(0x252)]=_0x10121a[_0x167c48(0x288)]),_0x1f4e83[_0x167c48(0x14f)]===_0x167c48(0x2a1)&&_0x274bbe['id']&&(_0x274bbe['id']=_0x274bbe['id']+_0x303d22[_0x167c48(0x2e6)]),Object['entries'](_0x274bbe)[_0x167c48(0x229)](function(_0x16cb23){const _0x2d8ff4=_0x167c48;var _0x497891=_0x16cb23[0x0],_0x2edac8=_0x16cb23[0x1];_0x497891===_0x2d8ff4(0x2a1)&&typeof _0x2edac8==_0x2d8ff4(0x35c)&&(_0x274bbe[_0x497891]=_0x2edac8[_0x2d8ff4(0x3a6)](/url\(#(.*)\)/,'url(#$1'[_0x2d8ff4(0x268)](_0x303d22[_0x2d8ff4(0x2e6)],')')));});var _0x82f132=_0x303d22[_0x167c48(0x1f3)];return!_0x82f132||_0x82f132['length']===0x0||(_0x1f4e83[_0x167c48(0x14f)]==='use'&&_0x274bbe['xlink:href']&&(_0x274bbe[_0x167c48(0x2f5)]=_0x274bbe[_0x167c48(0x2f5)]+_0x303d22[_0x167c48(0x2e6)]),Object[_0x167c48(0x1f1)](_0x274bbe)[_0x167c48(0x229)](function(_0x3d8a0e){const _0x46af28=_0x167c48;var _0x4c1913=_0x3d8a0e[0x0],_0xab4c4e=_0x3d8a0e[0x1];typeof _0xab4c4e=='string'&&(_0x274bbe[_0x4c1913]=_0xab4c4e[_0x46af28(0x3a6)](/url\(#(.*)\)/,'url(#$1'[_0x46af28(0x268)](_0x303d22[_0x46af28(0x2e6)],')')));})),_0x274bbe;}function _0x5c9ad5(_0x48ff8f,_0x53a291){const _0x1a18c6=_0x2ba232;var _0x23857c,_0x2b71af=_0x53a291[_0x1a18c6(0x1f3)];return!_0x2b71af||_0x2b71af['length']===0x0?_0x48ff8f:_0x48ff8f['tag']===_0x1a18c6(0x250)&&(!((_0x23857c=_0x48ff8f['children'])===null||_0x23857c===void 0x0)&&_0x23857c['length'])?_0x40be78(_0x40be78({},_0x48ff8f),{'children':_0x48ff8f[_0x1a18c6(0x258)][_0x1a18c6(0x267)](function(_0x11425e){const _0x23e818=_0x1a18c6;return typeof _0x11425e[_0x23e818(0x209)]['id']=='string'&&_0x2b71af&&_0x2b71af['includes'](_0x11425e[_0x23e818(0x209)]['id'])?_0x40be78(_0x40be78({},_0x11425e),{'attrs':_0x40be78(_0x40be78({},_0x11425e[_0x23e818(0x209)]),{'id':_0x11425e['attrs']['id']+_0x53a291['idSuffix']})}):_0x11425e;})}):_0x48ff8f;}function _0x205462(){const _0x737d42=_0x2ba232;return Math[_0x737d42(0x28a)]()[_0x737d42(0x283)](0x24)[_0x737d42(0x34e)](0x2,0x8);}_0x28d145[_0x2ba232(0x135)]=_0x2ba232(0x3b6);var _0x585c84={'tag':_0x2ba232(0x2b2),'attrs':{'xmlns':_0x2ba232(0x312),'fill':_0x2ba232(0x246),'viewBox':_0x2ba232(0x21a),'width':_0x2ba232(0x2fa),'height':_0x2ba232(0x2fa)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ba232(0x2ff)},'children':[{'tag':_0x2ba232(0x2e3),'attrs':{'stroke':'currentColor','d':_0x2ba232(0x263),'strokeLinecap':_0x2ba232(0x308),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2ba232(0x250),'attrs':{},'children':[{'tag':_0x2ba232(0x287),'attrs':{'id':_0x2ba232(0x254)},'children':[{'tag':_0x2ba232(0x2e3),'attrs':{'fill':_0x2ba232(0x1e9),'d':_0x2ba232(0x1db)}}]}]}],'defIds':[_0x2ba232(0x254)]},_0x5d7a21=_0x5ae42a[_0x2ba232(0x174)](function(_0xbb4cfb,_0x14ca43){const _0x48cf26=_0x2ba232;return _0x5ae42a[_0x48cf26(0x2c6)](_0x28d145,Object[_0x48cf26(0x354)]({},_0xbb4cfb,{'id':_0x48cf26(0x22c),'ref':_0x14ca43,'icon':_0x585c84}));});_0x5d7a21[_0x2ba232(0x135)]=_0x2ba232(0x2cc);var _0x4fbceb={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2ba232(0x246),'viewBox':_0x2ba232(0x210),'width':_0x2ba232(0x2fa),'height':_0x2ba232(0x2fa)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2ba232(0x2e3),'attrs':{'stroke':_0x2ba232(0x17c),'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':_0x2ba232(0x308),'strokeLinejoin':_0x2ba232(0x308),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2ba232(0x287),'attrs':{'id':_0x2ba232(0x207)},'children':[{'tag':_0x2ba232(0x2e3),'attrs':{'fill':_0x2ba232(0x1e9),'d':_0x2ba232(0x1db),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2ba232(0x207)]},_0x41db16=_0x5ae42a['forwardRef'](function(_0x4da6c9,_0x43b05d){const _0x54d274=_0x2ba232;return _0x5ae42a[_0x54d274(0x2c6)](_0x28d145,Object[_0x54d274(0x354)]({},_0x4da6c9,{'id':_0x54d274(0x304),'ref':_0x43b05d,'icon':_0x4fbceb}));});_0x41db16[_0x2ba232(0x135)]=_0x2ba232(0x138);function _0x495430(_0x2092d2){const _0xd80a5b=_0x2ba232;switch(_0x2092d2){case _0x36b1ab[_0xd80a5b(0x32d)]['OFFLINE']:return _0xd80a5b(0x234);case _0x36b1ab[_0xd80a5b(0x32d)][_0xd80a5b(0x1f9)]:return _0xd80a5b(0x2e7);case _0x36b1ab[_0xd80a5b(0x32d)]['FETCH_MISS']:return _0xd80a5b(0x331);case _0x36b1ab[_0xd80a5b(0x32d)]['NOT_COLLAB']:return _0xd80a5b(0x270);case _0x36b1ab[_0xd80a5b(0x32d)][_0xd80a5b(0x24a)]:case _0x36b1ab[_0xd80a5b(0x32d)][_0xd80a5b(0x1ec)]:return _0xd80a5b(0x306);case _0x36b1ab[_0xd80a5b(0x32d)][_0xd80a5b(0x147)]:case _0x36b1ab[_0xd80a5b(0x32d)][_0xd80a5b(0x245)]:return _0xd80a5b(0x28b);}}function _0x3f31f8(_0x1669de){const _0x296f7a=_0x2ba232,{status$:_0x270aee}=_0x1669de,_0x27c7bd=_0x39d563[_0x296f7a(0x326)](_0x270aee,_0x36b1ab[_0x296f7a(0x32d)][_0x296f7a(0x23f)]),_0x107277=_0x39d563['useDependency'](_0x4976c9[_0x296f7a(0x166)]),_0x2ac447=_0x39d563[_0x296f7a(0x1dd)](_0x36b1ab[_0x296f7a(0x170)]),_0x3ce8d2=_0x27c7bd!==_0x36b1ab['CollaborationStatus'][_0x296f7a(0x1a5)],_0x297aaa=_0x107277['t'](_0x495430(_0x27c7bd)),_0x53377f=_0x3ce8d2?_0x5e29a8[_0x296f7a(0x154)](_0x41db16,{}):_0x5e29a8[_0x296f7a(0x154)](_0x5d7a21,{}),_0x54913b=_0x5ae42a[_0x296f7a(0x1a3)](()=>{const _0x531487=_0x296f7a;_0x3ce8d2||_0x2ac447[_0x531487(0x20c)]();},[_0x3ce8d2,_0x2ac447]);function _0x16b34e(){const _0xd8d7d1=_0x296f7a;return _0x5e29a8[_0xd8d7d1(0x12a)]('div',{'className':_0xd8d7d1(0x30f),'onClick':_0x54913b,'children':[_0x5e29a8[_0xd8d7d1(0x154)](_0xd8d7d1(0x12d),{'className':_0xe10add['clsx'](_0xd8d7d1(0x38f),{'univer-text-green-500':_0x3ce8d2,'univer-text-red-500':!_0x3ce8d2}),'children':_0x53377f}),_0x5e29a8['jsx'](_0xd8d7d1(0x12d),{'className':_0xd8d7d1(0x39f),'children':_0x297aaa})]});}return _0x3ce8d2?_0x16b34e():_0x5e29a8[_0x296f7a(0x154)](_0xe10add[_0x296f7a(0x344)],{'title':_0x107277['t'](_0x296f7a(0x2d0)),'children':_0x16b34e()});}var _0x2d45a6=Object[_0x2ba232(0x196)],_0x384e81=(_0x120b57,_0x424091,_0x4ffe7b,_0x366b1c)=>{const _0x189b0b=_0x2ba232;for(var _0x3bda63=_0x366b1c>0x1?void 0x0:_0x366b1c?_0x2d45a6(_0x424091,_0x4ffe7b):_0x424091,_0xdafb2b=_0x120b57[_0x189b0b(0x16b)]-0x1,_0x4b1b83;_0xdafb2b>=0x0;_0xdafb2b--)(_0x4b1b83=_0x120b57[_0xdafb2b])&&(_0x3bda63=_0x4b1b83(_0x3bda63)||_0x3bda63);return _0x3bda63;},_0x1e1f12=(_0x2380c2,_0x4d8109)=>(_0x56112f,_0x597c11)=>_0x4d8109(_0x56112f,_0x597c11,_0x2380c2);_0x990236[_0x2ba232(0x244)]=class extends _0x4976c9[_0x2ba232(0x286)]{constructor(_0x46f33d,_0x4d627e,_0x574842,_0x20483e){const _0x59c6ed=_0x2ba232;super(),_0x2a0527(this,_0x59c6ed(0x3c2),new _0x1af8d0['BehaviorSubject'](_0x36b1ab[_0x59c6ed(0x32d)][_0x59c6ed(0x23f)])),(this['_univerInstanceService']=_0x46f33d,this['_injector']=_0x4d627e,this[_0x59c6ed(0x1bf)]=_0x574842,this[_0x59c6ed(0x157)]=_0x20483e,this[_0x59c6ed(0x333)](),this[_0x59c6ed(0x1ae)]());}[_0x2ba232(0x1ae)](){const _0x496754=_0x2ba232;this['disposeWithMe'](this[_0x496754(0x39b)]['focused$'][_0x496754(0x357)](_0x1af8d0[_0x496754(0x156)](()=>{const _0xd2c5c=_0x496754,_0x2e0f50=this[_0xd2c5c(0x39b)][_0xd2c5c(0x26a)]();return _0x2e0f50?this[_0xd2c5c(0x1bf)]['getCollabEntity$'](_0x2e0f50[_0xd2c5c(0x2d1)]()):_0x1af8d0['of'](null);}),_0x1af8d0[_0x496754(0x156)](_0x205140=>_0x205140?_0x205140[_0x496754(0x2b4)]:_0x1af8d0['of'](_0x36b1ab[_0x496754(0x32d)][_0x496754(0x23f)])))[_0x496754(0x34b)](_0x541b1b=>{const _0x4f8bdb=_0x496754;this[_0x4f8bdb(0x3c2)][_0x4f8bdb(0x249)](_0x541b1b);}));}[_0x2ba232(0x333)](){const _0x565800=_0x2ba232;this[_0x565800(0x2a4)](this['_uiPartsService'][_0x565800(0x31f)](_0x39d563['BuiltInUIPart'][_0x565800(0x259)],()=>_0x39d563['connectInjector'](_0x24a513({'status$':this[_0x565800(0x3c2)]['asObservable']()}),this['_injector'])));}},_0x990236[_0x2ba232(0x244)]=_0x384e81([_0x1e1f12(0x0,_0x4976c9['IUniverInstanceService']),_0x1e1f12(0x1,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9['Injector'])),_0x1e1f12(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x36b1ab[_0x2ba232(0x39e)])),_0x1e1f12(0x3,_0x39d563['IUIPartsService'])],_0x990236['DesktopCollaborationStatusDisplayController']);function _0x24a513(_0x380788){const {status$:_0x4599b2}=_0x380788;return function(){const _0x5446b1=_0x4ec8;return _0x5e29a8[_0x5446b1(0x154)](_0x3f31f8,{'status$':_0x4599b2});};}const _0x47c2f3=_0x4976c9[_0x2ba232(0x187)](_0x2ba232(0x225));var _0x3b9f1d=Object['getOwnPropertyDescriptor'],_0x4ffdfb=(_0x4c153d,_0x21ce82,_0xfcb46e,_0x52b425)=>{const _0x126303=_0x2ba232;for(var _0x226449=_0x52b425>0x1?void 0x0:_0x52b425?_0x3b9f1d(_0x21ce82,_0xfcb46e):_0x21ce82,_0x13bf60=_0x4c153d[_0x126303(0x16b)]-0x1,_0x8094b8;_0x13bf60>=0x0;_0x13bf60--)(_0x8094b8=_0x4c153d[_0x13bf60])&&(_0x226449=_0x8094b8(_0x226449)||_0x226449);return _0x226449;},_0x1bf0bb=(_0x10cc2e,_0x335584)=>(_0x378e64,_0x30a89d)=>_0x335584(_0x378e64,_0x30a89d,_0x10cc2e);_0x990236[_0x2ba232(0x396)]=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x2826ec,_0x4cc2cb,_0x118f03,_0x36b21f,_0x107df3){const _0x374ec5=_0x2ba232;super(),this[_0x374ec5(0x158)]=_0x2826ec,this[_0x374ec5(0x2e1)]=_0x4cc2cb,this[_0x374ec5(0x257)]=_0x118f03,this[_0x374ec5(0x278)]=_0x36b21f,_0x107df3?_0x107df3==null||_0x107df3[_0x374ec5(0x214)]()[_0x374ec5(0x39d)](()=>this[_0x374ec5(0x21e)]()):(this[_0x374ec5(0x2e1)][_0x374ec5(0x139)](_0x374ec5(0x38b),_0x374ec5(0x380)),this[_0x374ec5(0x21e)]());}async['_init'](){const _0x1e0ebf=_0x2ba232,_0x204bb3=this['_urlService'][_0x1e0ebf(0x1c5)]('unit'),_0x69af94=this[_0x1e0ebf(0x158)][_0x1e0ebf(0x1c5)](_0x1e0ebf(0x176)),_0x5f5204=this[_0x1e0ebf(0x158)][_0x1e0ebf(0x1c5)]('subunit');if(!_0x204bb3||!_0x69af94){this[_0x1e0ebf(0x2e1)][_0x1e0ebf(0x139)](_0x1e0ebf(0x38b),_0x1e0ebf(0x2a0));return;}const _0x238aeb=await this[_0x1e0ebf(0x278)]['loadUnit'](_0x204bb3,Number(_0x69af94),_0x5f5204);_0x238aeb&&_0x238aeb instanceof _0x4976c9[_0x1e0ebf(0x350)]&&this[_0x1e0ebf(0x18a)](_0x238aeb);}async['_setupSubUnitSync'](_0x599e73){const _0x242e85=_0x2ba232;await this[_0x242e85(0x224)](_0x599e73),_0x599e73[_0x242e85(0x2af)][_0x242e85(0x357)](_0x1af8d0[_0x242e85(0x15f)](this['dispose$']))[_0x242e85(0x34b)](_0x3ec416=>{const _0x1f3d70=_0x242e85;_0x3ec416&&this[_0x1f3d70(0x2c1)](_0x3ec416);}),this[_0x242e85(0x158)][_0x242e85(0x237)][_0x242e85(0x357)](_0x1af8d0[_0x242e85(0x15f)](this[_0x242e85(0x322)]))['subscribe'](()=>this[_0x242e85(0x224)](_0x599e73));}['_updateURLWithCurrentState'](_0x5b6947,_0x323f62=!0x1){const _0x1562cd=_0x2ba232,_0x3ebbec=this[_0x1562cd(0x158)]['getParam'](_0x1562cd(0x1c7));_0x5b6947[_0x1562cd(0x1fb)]()!==_0x3ebbec&&this[_0x1562cd(0x158)][_0x1562cd(0x2be)](_0x1562cd(0x1c7),_0x5b6947[_0x1562cd(0x1fb)](),_0x323f62);}async[_0x2ba232(0x224)](_0x58b327){const _0x561e09=_0x2ba232;var _0x503281;const _0x231aa9=this[_0x561e09(0x158)][_0x561e09(0x1c5)](_0x561e09(0x1c7));if(!_0x231aa9||!_0x58b327['getSheetBySheetId'](_0x231aa9)){const _0x32cad5=_0x58b327[_0x561e09(0x38a)]()[0x0],_0x42d86e=_0x58b327[_0x561e09(0x1ee)](_0x32cad5);if(!_0x42d86e)return;this[_0x561e09(0x2c1)](_0x42d86e,!0x0),await this[_0x561e09(0x257)][_0x561e09(0x2c2)](_0x4fd33e['SetWorksheetActivateCommand']['id'],{'unitId':_0x58b327['getUnitId'](),'subUnitId':_0x32cad5});return;}((_0x503281=_0x58b327['getActiveSheet']())==null?void 0x0:_0x503281[_0x561e09(0x1fb)]())!==_0x231aa9&&await this[_0x561e09(0x257)][_0x561e09(0x2c2)](_0x4fd33e[_0x561e09(0x387)]['id'],{'unitId':_0x58b327['getUnitId'](),'subUnitId':_0x231aa9});}},_0x990236[_0x2ba232(0x396)]=_0x4ffdfb([_0x1bf0bb(0x0,_0x47c2f3),_0x1bf0bb(0x1,_0x4976c9[_0x2ba232(0x339)]),_0x1bf0bb(0x2,_0x4976c9[_0x2ba232(0x137)]),_0x1bf0bb(0x3,_0x4976c9['Inject'](_0x36b1ab[_0x2ba232(0x26e)])),_0x1bf0bb(0x4,_0x4976c9['Optional'](_0x47cf56['IRemoteInstanceService']))],_0x990236['CollaborationDataLoaderController']);var _0x4b17d1=Object['getOwnPropertyDescriptor'],_0xdbedc=(_0x479bd7,_0x11cca6,_0x22aee8,_0x889d90)=>{const _0x20519a=_0x2ba232;for(var _0x4ffc7c=_0x889d90>0x1?void 0x0:_0x889d90?_0x4b17d1(_0x11cca6,_0x22aee8):_0x11cca6,_0x2d694d=_0x479bd7[_0x20519a(0x16b)]-0x1,_0x4affc7;_0x2d694d>=0x0;_0x2d694d--)(_0x4affc7=_0x479bd7[_0x2d694d])&&(_0x4ffc7c=_0x4affc7(_0x4ffc7c)||_0x4ffc7c);return _0x4ffc7c;},_0x2620fe=(_0x25ef8b,_0x3611b3)=>(_0x5c4edb,_0x33a96c)=>_0x3611b3(_0x5c4edb,_0x33a96c,_0x25ef8b);let _0x4ca2b5=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x3ab552,_0x2486a9){const _0x46f5b0=_0x2ba232;super(),this[_0x46f5b0(0x27a)]=_0x3ab552,this['_imageIoService']=_0x2486a9,this['_init']();}['_init'](){const _0x2fa569=_0x2ba232,_0x17294f=this;this['disposeWithMe'](this[_0x2fa569(0x27a)]['addClipboardHook']({'onBeforePasteImage':async _0x571faa=>{const _0xe9c75e=_0x2fa569,_0x1c5612=await _0x17294f[_0xe9c75e(0x325)][_0xe9c75e(0x1a2)](_0x571faa);return _0x1c5612?{'source':_0x1c5612[_0xe9c75e(0x169)],'imageSourceType':_0x1c5612[_0xe9c75e(0x2d3)]}:null;}}));}};_0x4ca2b5=_0xdbedc([_0x2620fe(0x0,_0x4f5309['IDocClipboardService']),_0x2620fe(0x1,_0x12f919[_0x2ba232(0x2fc)])],_0x4ca2b5);const _0x14c4ad=[_0x2ba232(0x25d),_0x2ba232(0x373),_0x2ba232(0x384),_0x2ba232(0x21b),_0x2ba232(0x2f8),_0x2ba232(0x271)];class _0x2d77a3 extends _0x4976c9[_0x2ba232(0x286)]{constructor(){const _0x6f26fb=_0x2ba232;super(...arguments),_0x2a0527(this,_0x6f26fb(0x2dc),new Map()),_0x2a0527(this,_0x6f26fb(0x13b),0x0);}['assignAColorForMemberID'](_0x3bb7db){const _0x187bac=_0x2ba232;if(this[_0x187bac(0x2dc)][_0x187bac(0x1f5)](_0x3bb7db))return this[_0x187bac(0x2dc)][_0x187bac(0x189)](_0x3bb7db);const _0xb97d1=_0x14c4ad[this[_0x187bac(0x13b)]];return this[_0x187bac(0x13b)]=(this[_0x187bac(0x13b)]+0x1)%_0x14c4ad[_0x187bac(0x16b)],this[_0x187bac(0x2dc)]['set'](_0x3bb7db,_0xb97d1),_0xb97d1;}}function _0x1ac134(_0x2254f9){const _0x3611fb=_0x2ba232;let _0x39b439='';for(const _0x2379ce of _0x2254f9){const {startOffset:_0x79409d,endOffset:_0x1d18bd,isActive:_0x29b64a,rangeType:_0xc905a3,segmentId:_0x548c2c,segmentPage:_0x5c73ef}=_0x2379ce;_0x39b439[_0x3611fb(0x16b)]&&(_0x39b439+=','),_0x39b439+=_0x79409d+':'+_0x1d18bd+':'+(_0x29b64a?'1':'0')+':'+_0xc905a3+':'+_0x548c2c+':'+_0x5c73ef;}return _0x39b439;}function _0x4b40e1(_0x4ea06f){const _0x5d598a=_0x2ba232,_0x16a140=_0x4ea06f[_0x5d598a(0x1ff)](','),_0x16c002=[];for(const _0x1bd7eb of _0x16a140){const [_0x31521a,_0x1c46a3,_0x455215,_0x38a150,_0x23dab9,_0x4b4d2f]=_0x1bd7eb['split'](':');_0x16c002[_0x5d598a(0x3c3)]({'startOffset':Number(_0x31521a),'endOffset':Number(_0x1c46a3),'collapsed':_0x31521a===_0x1c46a3,'isActive':_0x455215==='1','rangeType':_0x38a150===_0x4976c9[_0x5d598a(0x294)]['TEXT']?_0x4976c9[_0x5d598a(0x294)][_0x5d598a(0x13d)]:_0x4976c9[_0x5d598a(0x294)][_0x5d598a(0x37b)],'segmentId':typeof _0x23dab9==_0x5d598a(0x35c)?String(_0x23dab9):'','segmentPage':Number(_0x4b4d2f!=null?_0x4b4d2f:-0x1)});}return _0x16c002[_0x5d598a(0x2ea)](_0x370531=>_0x370531[_0x5d598a(0x22a)])||(_0x16c002[0x0][_0x5d598a(0x22a)]=!0x0),_0x16c002;}class _0x1eca04 extends _0x4976c9[_0x2ba232(0x303)]{constructor(){const _0x5ed2ca=_0x2ba232;super(...arguments),_0x2a0527(this,_0x5ed2ca(0x1b2),new _0x1af8d0['BehaviorSubject'](null)),_0x2a0527(this,_0x5ed2ca(0x2c9),this[_0x5ed2ca(0x1b2)][_0x5ed2ca(0x198)]());}[_0x2ba232(0x30a)](_0x687791){const _0x1b4637=_0x2ba232,{unitID:_0x11a3b1,memberID:_0x12275c,textRanges:_0xdf76e0}=_0x687791,_0x2cd83b=_0x1ac134(_0xdf76e0);if(_0x2cd83b==='')return;const _0x22ef14={'unitID':_0x11a3b1,'memberID':_0x12275c,'selection':_0x2cd83b};this[_0x1b4637(0x1b2)]['next'](_0x22ef14);}}var _0x278c3a=Object[_0x2ba232(0x196)],_0x11ca20=(_0x2d3ffa,_0x3800fc,_0x4b5cee,_0x5babf0)=>{const _0x5d380c=_0x2ba232;for(var _0x47b09f=_0x5babf0>0x1?void 0x0:_0x5babf0?_0x278c3a(_0x3800fc,_0x4b5cee):_0x3800fc,_0x5cd362=_0x2d3ffa[_0x5d380c(0x16b)]-0x1,_0x1b2f76;_0x5cd362>=0x0;_0x5cd362--)(_0x1b2f76=_0x2d3ffa[_0x5cd362])&&(_0x47b09f=_0x1b2f76(_0x47b09f)||_0x47b09f);return _0x47b09f;},_0x2201d3=(_0xaee3a,_0xa3d591)=>(_0x310f74,_0x42e5cf)=>_0xa3d591(_0x310f74,_0x42e5cf,_0xaee3a);const _0x3ad55a=0x12c,_0x3c2a68=0x64;let _0xa202dc=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x121e23,_0x1b4036,_0x235d97,_0x46c328,_0x299282,_0x247226,_0x2f80a3,_0x392aed,_0xfa1428){const _0x3bcca2=_0x2ba232;super(),_0x2a0527(this,'_online',!0x1),_0x2a0527(this,_0x3bcca2(0x21e),!0x1),_0x2a0527(this,_0x3bcca2(0x19d),new _0x1af8d0[(_0x3bcca2(0x334))](new Map())),_0x2a0527(this,_0x3bcca2(0x141),this['_cursorInfo$'][_0x3bcca2(0x198)]()),_0x2a0527(this,_0x3bcca2(0x150),new _0x1af8d0['BehaviorSubject']([])),_0x2a0527(this,_0x3bcca2(0x29b),this[_0x3bcca2(0x150)][_0x3bcca2(0x357)](_0x1af8d0['debounceTime'](_0x3ad55a))),_0x2a0527(this,'_updateLocalCursor',_0x4976c9[_0x3bcca2(0x27d)](_0x2401ba=>{const _0x31d408=_0x3bcca2,_0x2579fd={'eventID':_0x280b1c['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x31d408(0x291)],'memberID':this[_0x31d408(0x1b5)][_0x31d408(0x2c0)](),'selection':_0x1ac134(_0x2401ba)}};this['_session'][_0x31d408(0x280)](_0x2579fd,this['unitID']);},_0x3c2a68)),(this[_0x3bcca2(0x291)]=_0x121e23,this[_0x3bcca2(0x1b5)]=_0x1b4036,this[_0x3bcca2(0x223)]=_0x235d97,this['_colorAssignService']=_0x46c328,this[_0x3bcca2(0x393)]=_0x299282,this[_0x3bcca2(0x2f9)]=_0x247226,this[_0x3bcca2(0x172)]=_0x2f80a3,this[_0x3bcca2(0x39b)]=_0x392aed,this[_0x3bcca2(0x257)]=_0xfa1428);}get[_0x2ba232(0x1a4)](){const _0x47e411=_0x2ba232;return this[_0x47e411(0x19d)]['getValue']();}get[_0x2ba232(0x1b0)](){const _0x2bc758=_0x2ba232;return this[_0x2bc758(0x150)][_0x2bc758(0x181)]();}['dispose'](){const _0x5b5eb8=_0x2ba232;super['dispose'](),this[_0x5b5eb8(0x19d)]['next'](new Map()),this['_cursorInfo$'][_0x5b5eb8(0x3b3)](),this[_0x5b5eb8(0x150)][_0x5b5eb8(0x249)]([]),this[_0x5b5eb8(0x150)][_0x5b5eb8(0x3b3)]();}[_0x2ba232(0x389)](){const _0x33da24=_0x2ba232;this[_0x33da24(0x21e)]||(this[_0x33da24(0x21e)]=!0x0,this[_0x33da24(0x1b5)][_0x33da24(0x297)][_0x33da24(0x357)](_0x1af8d0[_0x33da24(0x15f)](this[_0x33da24(0x322)]))[_0x33da24(0x34b)](_0x3584e5=>{const _0x260ba1=_0x33da24;_0x3584e5===_0x36b1ab['SessionStatus'][_0x260ba1(0x1aa)]?this[_0x260ba1(0x20f)]():this[_0x260ba1(0x25c)]();}),this['_session'][_0x33da24(0x264)][_0x33da24(0x357)](_0x1af8d0[_0x33da24(0x15f)](this[_0x33da24(0x322)]))[_0x33da24(0x34b)](_0x4defbd=>{const _0x519a13=_0x33da24,_0x48e8e1=_0x4defbd[_0x519a13(0x269)];_0x48e8e1===_0x280b1c[_0x519a13(0x2f4)]['UPDATE_CURSOR']&&this[_0x519a13(0x143)](_0x4defbd),_0x48e8e1===_0x280b1c[_0x519a13(0x2f4)][_0x519a13(0x1a8)]&&this[_0x519a13(0x1de)](_0x4defbd);}),this[_0x33da24(0x2a4)](this[_0x33da24(0x257)][_0x33da24(0x386)](_0x2b8dc9=>{const _0x3df0bf=_0x33da24,_0x17a962=_0x2b8dc9['params'];_0x17a962!=null&&this[_0x3df0bf(0x391)]&&_0x2b8dc9['id']===_0x407a59[_0x3df0bf(0x179)]['id']&&_0x17a962[_0x3df0bf(0x3ba)]===this[_0x3df0bf(0x291)]&&_0x17a962[_0x3df0bf(0x316)]===!0x1&&_0x17a962[_0x3df0bf(0x235)][_0x3df0bf(0x16b)]>0x0&&this[_0x3df0bf(0x2a8)](_0x17a962['ranges']);})),this['_syncEditingCollabCursorService'][_0x33da24(0x2c9)][_0x33da24(0x357)](_0x1af8d0[_0x33da24(0x15f)](this[_0x33da24(0x322)]))[_0x33da24(0x34b)](_0x4d3193=>{const _0x401550=_0x33da24;if((_0x4d3193==null?void 0x0:_0x4d3193[_0x401550(0x291)])!==this['unitID'])return;const _0xff0b22={'eventID':_0x280b1c[_0x401550(0x2f4)][_0x401550(0x3b5)],'data':_0x4d3193};this[_0x401550(0x143)](_0xff0b22);}),this[_0x33da24(0x2a4)](this['_commandService'][_0x33da24(0x386)](_0x51b299=>{const _0x5ca6e1=_0x33da24;if(_0x51b299['params']==null)return;const _0x29fd1d=_0x51b299[_0x5ca6e1(0x131)];if(_0x51b299['id']!==_0x407a59[_0x5ca6e1(0x290)]['id']||_0x29fd1d[_0x5ca6e1(0x3ba)]!==this[_0x5ca6e1(0x291)])return;const _0x3094d1={'id':'doc.mutation.rich-text-editing','params':_0x29fd1d},_0x517785=this[_0x5ca6e1(0x1a4)];for(const [_0x2a28a9,_0x37e9cc]of _0x517785){const _0x5276b8={'id':_0x5ca6e1(0x1e2),'params':{'unitId':this[_0x5ca6e1(0x291)],'actions':null,'textRanges':_0x37e9cc['ranges']}},_0x271b4b=this['_transformService'][_0x5ca6e1(0x142)](_0x3094d1,_0x5276b8,!0x1);if(_0x280b1c['isTransformMutationFailure'](_0x271b4b))throw _0x271b4b[_0x5ca6e1(0x248)];_0x517785['set'](_0x2a28a9,{..._0x37e9cc,'ranges':_0x271b4b['m2Prime'][_0x5ca6e1(0x131)]['textRanges']});}queueMicrotask(()=>{const _0x2fd15d=_0x5ca6e1;this[_0x2fd15d(0x19d)][_0x2fd15d(0x249)](_0x517785);});})));}[_0x2ba232(0x143)](_0x5687bb){const _0x4ec635=_0x2ba232;var _0xf89a4b,_0x2fc13b;const {memberID:_0x3685a2,selection:_0x4858f5}=_0x5687bb[_0x4ec635(0x335)],_0x18999c=_0x4b40e1(_0x4858f5),_0x4868cd=(_0x2fc13b=(_0xf89a4b=this[_0x4ec635(0x393)][_0x4ec635(0x241)](this[_0x4ec635(0x291)],_0x3685a2))==null?void 0x0:_0xf89a4b['name'])!=null?_0x2fc13b:'Unknown\x20user',_0x37bcf7={'color':this['_colorAssignService'][_0x4ec635(0x219)](_0x3685a2),'name':_0x4868cd,'ranges':_0x18999c},_0x456c08=this[_0x4ec635(0x1a4)];_0x456c08[_0x4ec635(0x265)](_0x3685a2,_0x37bcf7),this[_0x4ec635(0x19d)][_0x4ec635(0x249)](_0x456c08);}[_0x2ba232(0x1de)](_0x3dce09){const _0x1517a5=_0x2ba232,{memberID:_0x3f71d0}=_0x3dce09[_0x1517a5(0x335)],_0x4be584=this[_0x1517a5(0x1a4)];_0x4be584[_0x1517a5(0x1ab)](_0x3f71d0),this[_0x1517a5(0x19d)][_0x1517a5(0x249)](_0x4be584);}[_0x2ba232(0x20f)](){const _0x598dcd=_0x2ba232;var _0x4f9b75;if(this[_0x598dcd(0x391)]=!0x0,((_0x4f9b75=this[_0x598dcd(0x39b)][_0x598dcd(0x26a)]())==null?void 0x0:_0x4f9b75[_0x598dcd(0x2d1)]())!==this['unitID'])return;const _0x302071=this[_0x598dcd(0x223)][_0x598dcd(0x189)](_0x407a59['DocSelectionManagerService'])[_0x598dcd(0x173)]();Array[_0x598dcd(0x16f)](_0x302071)&&_0x302071[_0x598dcd(0x16b)]>0x0&&this[_0x598dcd(0x2a8)](_0x302071);}['_toggleOffline'](){this['_online']=!0x1;}};_0xa202dc=_0x11ca20([_0x2201d3(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9[_0x2ba232(0x19f)])),_0x2201d3(0x3,_0x4976c9['Inject'](_0x2d77a3)),_0x2201d3(0x4,_0x4976c9[_0x2ba232(0x2b9)](_0x36b1ab[_0x2ba232(0x260)])),_0x2201d3(0x5,_0x4976c9['Inject'](_0x1eca04)),_0x2201d3(0x6,_0x280b1c['ITransformService']),_0x2201d3(0x7,_0x4976c9[_0x2ba232(0x140)]),_0x2201d3(0x8,_0x4976c9[_0x2ba232(0x137)])],_0xa202dc);var _0x321680=Object[_0x2ba232(0x196)],_0x192a75=(_0xfe154,_0x29ffce,_0x4ee6e7,_0x329c69)=>{const _0x27aebe=_0x2ba232;for(var _0x5f5b59=_0x329c69>0x1?void 0x0:_0x329c69?_0x321680(_0x29ffce,_0x4ee6e7):_0x29ffce,_0x5e142a=_0xfe154[_0x27aebe(0x16b)]-0x1,_0x700bdf;_0x5e142a>=0x0;_0x5e142a--)(_0x700bdf=_0xfe154[_0x5e142a])&&(_0x5f5b59=_0x700bdf(_0x5f5b59)||_0x5f5b59);return _0x5f5b59;},_0x1ea8c1=(_0x47ad51,_0x165361)=>(_0x492b9d,_0x199891)=>_0x165361(_0x492b9d,_0x199891,_0x47ad51);const _0x14e84f=0x12c,_0x324b17=0x64,_0x575684=()=>{let _0x565653=[],_0x5214a1=!0x1;return _0x10aa3c=>{_0x565653['push'](_0x10aa3c),_0x5214a1||(_0x5214a1=!0x0,setTimeout(()=>{_0x565653['forEach'](_0xbc5b08=>_0xbc5b08()),_0x565653=[],_0x5214a1=!0x1;}));};};let _0x536bbc=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x119207,_0x6e7045,_0x3b6212,_0x214ab0,_0x2568e8,_0x9db850,_0x4cc185,_0x3c6c26){const _0x261d05=_0x2ba232;super(),_0x2a0527(this,_0x261d05(0x391),!0x1),_0x2a0527(this,_0x261d05(0x21e),!0x1),_0x2a0527(this,_0x261d05(0x19d),new _0x1af8d0['BehaviorSubject'](new Map())),_0x2a0527(this,_0x261d05(0x141),this['_cursorInfo$'][_0x261d05(0x198)]()),_0x2a0527(this,_0x261d05(0x150),new _0x1af8d0[(_0x261d05(0x334))]([])),_0x2a0527(this,_0x261d05(0x29b),this[_0x261d05(0x150)][_0x261d05(0x357)](_0x1af8d0[_0x261d05(0x22d)](_0x14e84f))),_0x2a0527(this,_0x261d05(0x2a8),_0x4976c9[_0x261d05(0x27d)]((_0x201561,_0x4e80ce)=>{const _0x3dac7f=_0x261d05,_0x20dc90={'eventID':_0x280b1c[_0x3dac7f(0x2f4)][_0x3dac7f(0x3b5)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x3dac7f(0x2c0)](),'selection':_0x5b23dd[_0x3dac7f(0x24c)](_0x201561,_0x4e80ce[_0x3dac7f(0x1c0)])}};this[_0x3dac7f(0x1b5)]['send'](_0x20dc90,this[_0x3dac7f(0x291)]);},_0x324b17)),(this[_0x261d05(0x291)]=_0x119207,this[_0x261d05(0x1b5)]=_0x6e7045,this['_injector']=_0x3b6212,this['_colorAssignService']=_0x214ab0,this['_memberService']=_0x2568e8,this[_0x261d05(0x39b)]=_0x9db850,this[_0x261d05(0x257)]=_0x4cc185,this[_0x261d05(0x1b8)]=_0x3c6c26);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x2ba232(0x1b0)](){const _0x5f3210=_0x2ba232;return this[_0x5f3210(0x150)][_0x5f3210(0x181)]();}[_0x2ba232(0x15a)](){const _0xf08f1=_0x2ba232;super[_0xf08f1(0x15a)](),this[_0xf08f1(0x19d)][_0xf08f1(0x249)](new Map()),this['_cursorInfo$'][_0xf08f1(0x3b3)](),this[_0xf08f1(0x150)]['next']([]),this[_0xf08f1(0x150)][_0xf08f1(0x3b3)]();}['init'](){const _0x98478f=_0x2ba232;this['_init']||(this['_init']=!0x0,this['_session'][_0x98478f(0x297)][_0x98478f(0x357)](_0x1af8d0[_0x98478f(0x15f)](this[_0x98478f(0x322)]))[_0x98478f(0x34b)](_0x186e04=>{const _0x3d8a40=_0x98478f;_0x186e04===_0x36b1ab[_0x3d8a40(0x33e)]['ONLINE']?this[_0x3d8a40(0x20f)]():this[_0x3d8a40(0x25c)]();}),this[_0x98478f(0x1b5)]['event$'][_0x98478f(0x357)](_0x1af8d0['takeUntil'](this['dispose$']))[_0x98478f(0x34b)](_0x333fca=>{const _0x1974db=_0x98478f,_0x54bc8d=_0x333fca[_0x1974db(0x269)];_0x54bc8d===_0x280b1c[_0x1974db(0x2f4)][_0x1974db(0x3b5)]&&this[_0x1974db(0x143)](_0x333fca),_0x54bc8d===_0x280b1c[_0x1974db(0x2f4)][_0x1974db(0x1a8)]&&this[_0x1974db(0x1de)](_0x333fca);}),this[_0x98478f(0x29e)](),this['disposeWithMe'](this[_0x98478f(0x257)]['onCommandExecuted'](_0x5a35c9=>{const _0x2242d2=_0x98478f;if(this['_online']&&_0x5a35c9['id']===_0x4fd33e[_0x2242d2(0x136)]['id']&&_0x5a35c9[_0x2242d2(0x131)][_0x2242d2(0x3ba)]===this[_0x2242d2(0x291)]){const _0x3ce87d=_0x5a35c9['params'];this['_updateLocalCursor'](_0x3ce87d[_0x2242d2(0x33c)],_0x3ce87d['selections'][0x0]);}})));}['_onCursorUpdate'](_0x2b0468){const _0x2e097a=_0x2ba232;var _0x35e9e9,_0x33a2c2;const {memberID:_0x5a4802,selection:_0x531bdc}=_0x2b0468[_0x2e097a(0x335)],{sheetName:_0x29bd0e,range:_0xcbeb6b}=_0x5b23dd[_0x2e097a(0x1c4)](_0x531bdc),_0x404069={'name':(_0x33a2c2=(_0x35e9e9=this[_0x2e097a(0x393)][_0x2e097a(0x241)](this[_0x2e097a(0x291)],_0x5a4802))==null?void 0x0:_0x35e9e9[_0x2e097a(0x2ed)])!=null?_0x33a2c2:_0x2e097a(0x133),'range':this[_0x2e097a(0x2ad)](_0x29bd0e,_0xcbeb6b),'sheetID':_0x29bd0e,'color':this[_0x2e097a(0x28e)][_0x2e097a(0x219)](_0x5a4802),'selection':_0x531bdc},_0x47985f=this[_0x2e097a(0x1a4)];_0x47985f[_0x2e097a(0x265)](_0x5a4802,_0x404069),this['_cursorInfo$'][_0x2e097a(0x249)](_0x47985f);}['_onCursorDelete'](_0x27473e){const _0x4692a9=_0x2ba232,{memberID:_0x6c1bd0}=_0x27473e['data'],_0x2d92a4=this['cursorInfo'];_0x2d92a4['delete'](_0x6c1bd0),this[_0x4692a9(0x19d)][_0x4692a9(0x249)](_0x2d92a4);}['_getMergeRange'](_0x5199d6,_0x5ad368){const _0x5dafca=_0x2ba232;var _0xf06cf1,_0x2ec4ab;const _0x39bbd7=(_0x2ec4ab=(_0xf06cf1=this[_0x5dafca(0x39b)][_0x5dafca(0x2e2)](this[_0x5dafca(0x291)]))==null?void 0x0:_0xf06cf1[_0x5dafca(0x1ee)](_0x5199d6))==null?void 0x0:_0x2ec4ab['getMergeData']();return(_0x39bbd7==null?void 0x0:_0x39bbd7['find'](_0x18855b=>_0x4976c9[_0x5dafca(0x14a)]['contains'](_0x18855b,_0x5ad368)))||_0x5ad368;}['_onRefRangeChange'](){const _0x50bbbe=_0x2ba232,_0x98b9e3=new _0x4976c9['DisposableCollection'](),_0x5b81ad=_0x575684(),_0xa73471=()=>{const _0x160b09=_0x4ec8;_0x98b9e3['dispose']();const _0x250d22=(_0x4e75ac,_0x5e3989,_0x3b3b44,_0xa6865f)=>{const _0x2b571e=_0x4ec8;let _0x5c8b4e=[];switch(_0x4e75ac['id']){case _0x4fd33e[_0x2b571e(0x2bc)][_0x2b571e(0x374)]:{_0x5c8b4e=_0x4fd33e['handleDeleteRangeMoveLeft'](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e[_0x2b571e(0x2bc)]['DeleteRangeMoveUpCommandId']:{_0x5c8b4e=_0x4fd33e['handleDeleteRangeMoveUp'](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e[_0x2b571e(0x2bc)][_0x2b571e(0x1e7)]:{_0x5c8b4e=_0x4fd33e['handleInsertCol'](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e[_0x2b571e(0x2bc)][_0x2b571e(0x33d)]:{_0x5c8b4e=_0x4fd33e[_0x2b571e(0x337)](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e['EffectRefRangId'][_0x2b571e(0x17a)]:{_0x5c8b4e=_0x4fd33e[_0x2b571e(0x18b)](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e['EffectRefRangId'][_0x2b571e(0x379)]:{_0x5c8b4e=_0x4fd33e[_0x2b571e(0x256)](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e['EffectRefRangId'][_0x2b571e(0x320)]:{_0x5c8b4e=_0x4fd33e['handleMoveRange'](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e[_0x2b571e(0x2bc)]['RemoveColCommandId']:{_0x5c8b4e=_0x4fd33e[_0x2b571e(0x1b4)](_0x4e75ac,_0xa6865f);break;}case _0x4fd33e[_0x2b571e(0x2bc)]['RemoveRowCommandId']:{_0x5c8b4e=_0x4fd33e['handleIRemoveRow'](_0x4e75ac,_0xa6865f);break;}}const _0x3553ca=_0x4fd33e[_0x2b571e(0x153)](_0x5c8b4e,_0xa6865f),_0x17dd47=this[_0x2b571e(0x1a4)][_0x2b571e(0x189)](_0x5e3989);if(_0x17dd47&&_0x3553ca){const _0x3c84a3={..._0x17dd47,'range':_0x3553ca};this['cursorInfo'][_0x2b571e(0x265)](_0x5e3989,_0x3c84a3),_0x5b81ad(()=>{const _0x2ac151=_0x2b571e,_0x47429e=this['_refRangeService'][_0x2ac151(0x37e)](_0x3553ca,_0x312cad=>(_0x47429e[_0x2ac151(0x15a)](),_0x250d22(_0x312cad,_0x5e3989,_0x3b3b44,_0x3553ca)));_0x98b9e3[_0x2ac151(0x25a)](_0x47429e);});}return{'redos':[],'undos':[]};};this[_0x160b09(0x1a4)][_0x160b09(0x229)]((_0x116e25,_0x3b6f2a)=>{const _0x451727=_0x160b09,{range:_0x2c041d,sheetID:_0x521567}=_0x116e25,_0x3ae0d7=this[_0x451727(0x1b8)][_0x451727(0x37e)](_0x2c041d,_0x275827=>(_0x3ae0d7['dispose'](),_0x250d22(_0x275827,_0x3b6f2a,_0x521567,_0x2c041d)));_0x98b9e3[_0x451727(0x25a)](_0x3ae0d7);});};this[_0x50bbbe(0x2a4)](_0x4976c9[_0x50bbbe(0x21d)](this[_0x50bbbe(0x19d)][_0x50bbbe(0x34b)](()=>{_0xa73471();})));}[_0x2ba232(0x20f)](){const _0x538fcb=_0x2ba232;var _0x1d0476,_0x4bdc61;if(this[_0x538fcb(0x391)]=!0x0,((_0x1d0476=this['_univerInstanceService'][_0x538fcb(0x26a)]())==null?void 0x0:_0x1d0476[_0x538fcb(0x2d1)]())!==this[_0x538fcb(0x291)])return;const _0x302689=(_0x4bdc61=this[_0x538fcb(0x223)]['get'](_0x4fd33e[_0x538fcb(0x127)])[_0x538fcb(0x168)]())==null?void 0x0:_0x4bdc61[0x0],_0xd5cbca=this['_univerInstanceService'][_0x538fcb(0x369)](_0x4976c9[_0x538fcb(0x220)]['UNIVER_SHEET'])['getActiveSheet']();_0x302689&&_0xd5cbca&&this[_0x538fcb(0x2a8)](_0xd5cbca[_0x538fcb(0x1fb)](),_0x302689);}[_0x2ba232(0x25c)](){const _0x36584c=_0x2ba232;this[_0x36584c(0x391)]=!0x1;}};_0x536bbc=_0x192a75([_0x1ea8c1(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9[_0x2ba232(0x19f)])),_0x1ea8c1(0x3,_0x4976c9[_0x2ba232(0x2b9)](_0x2d77a3)),_0x1ea8c1(0x4,_0x4976c9[_0x2ba232(0x2b9)](_0x36b1ab['MemberService'])),_0x1ea8c1(0x5,_0x4976c9[_0x2ba232(0x140)]),_0x1ea8c1(0x6,_0x4976c9[_0x2ba232(0x137)]),_0x1ea8c1(0x7,_0x4976c9['Inject'](_0x4fd33e['RefRangeService']))],_0x536bbc);var _0x58c229=Object[_0x2ba232(0x196)],_0x5b6096=(_0x4badca,_0x563e22,_0x514d00,_0xcb6fe1)=>{const _0x4f3ed0=_0x2ba232;for(var _0x127642=_0xcb6fe1>0x1?void 0x0:_0xcb6fe1?_0x58c229(_0x563e22,_0x514d00):_0x563e22,_0x26cdb6=_0x4badca[_0x4f3ed0(0x16b)]-0x1,_0x5b74d;_0x26cdb6>=0x0;_0x26cdb6--)(_0x5b74d=_0x4badca[_0x26cdb6])&&(_0x127642=_0x5b74d(_0x127642)||_0x127642);return _0x127642;},_0x3de2ca=(_0x5ea431,_0x5cce82)=>(_0x88eda7,_0x58d123)=>_0x5cce82(_0x88eda7,_0x58d123,_0x5ea431);let _0x2c65f1=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x7a9bc0,_0x10decf,_0x2002af){const _0x2da2af=_0x2ba232;super(),_0x2a0527(this,_0x2da2af(0x272),new Map()),_0x2a0527(this,_0x2da2af(0x16a),new _0x1af8d0[(_0x2da2af(0x1b3))]()),(this[_0x2da2af(0x39b)]=_0x7a9bc0,this[_0x2da2af(0x223)]=_0x10decf,this[_0x2da2af(0x383)]=_0x2002af,this[_0x2da2af(0x21e)]());}[_0x2ba232(0x15a)](){const _0x3d5c47=_0x2ba232;super[_0x3d5c47(0x15a)](),this[_0x3d5c47(0x16a)][_0x3d5c47(0x3b3)](),this['_entities'][_0x3d5c47(0x229)](_0x38dbf2=>_0x38dbf2['dispose']());}[_0x2ba232(0x36b)](_0xaf4875){const _0x5303a2=_0x2ba232;return this['_entities']['has'](_0xaf4875)?this[_0x5303a2(0x272)][_0x5303a2(0x189)](_0xaf4875)['cursorInfo$']:this['_entityInit$'][_0x5303a2(0x357)](_0x1af8d0[_0x5303a2(0x25f)](_0xcb5478=>_0xcb5478[_0x5303a2(0x291)]===_0xaf4875),_0x1af8d0['switchMap'](_0x40c4b1=>_0x40c4b1[_0x5303a2(0x141)]));}[_0x2ba232(0x21e)](){const _0x372546=_0x2ba232;this[_0x372546(0x39b)][_0x372546(0x1f4)](_0x4976c9[_0x372546(0x220)]['UNIVER_SHEET'])[_0x372546(0x357)](_0x1af8d0[_0x372546(0x15f)](this[_0x372546(0x322)]))[_0x372546(0x34b)](async _0x359507=>{const _0x21b4a8=_0x372546,_0x2ac3a9=_0x359507[_0x21b4a8(0x2d1)](),_0x1d4642=await this[_0x21b4a8(0x175)](_0x2ac3a9);this['_entityInit$']['next'](_0x1d4642),this[_0x21b4a8(0x272)][_0x21b4a8(0x265)](_0x2ac3a9,_0x1d4642);}),this[_0x372546(0x39b)][_0x372546(0x1f4)](_0x4976c9['UniverInstanceType']['UNIVER_DOC'])[_0x372546(0x357)](_0x1af8d0[_0x372546(0x15f)](this['dispose$']))['pipe'](_0x1af8d0['filter'](_0x9fbaa4=>!_0x9fbaa4[_0x372546(0x2d1)]()[_0x372546(0x13a)]('__')))[_0x372546(0x34b)](async _0x1d8a0c=>{const _0x5adc26=_0x372546,_0x4ef10d=_0x1d8a0c[_0x5adc26(0x2d1)](),_0x19c758=await this[_0x5adc26(0x20b)](_0x4ef10d);this[_0x5adc26(0x16a)][_0x5adc26(0x249)](_0x19c758),this['_entities'][_0x5adc26(0x265)](_0x4ef10d,_0x19c758);}),_0x1af8d0['merge'](this[_0x372546(0x39b)]['getTypeOfUnitDisposed$'](_0x4976c9['UniverInstanceType'][_0x372546(0x1be)]),this[_0x372546(0x39b)][_0x372546(0x2e8)](_0x4976c9[_0x372546(0x220)][_0x372546(0x1d8)]))[_0x372546(0x357)](_0x1af8d0['takeUntil'](this[_0x372546(0x322)]))[_0x372546(0x34b)](_0xe482c5=>{const _0x1b3acd=_0x372546,_0x48fd4a=_0xe482c5['getUnitId'](),_0xbb5681=this[_0x1b3acd(0x272)]['get'](_0x48fd4a);_0xbb5681&&(_0xbb5681[_0x1b3acd(0x15a)](),this[_0x1b3acd(0x272)]['delete'](_0x48fd4a));});}async[_0x2ba232(0x175)](_0x2af906){const _0xc405d1=_0x2ba232,_0x23ceab=await this[_0xc405d1(0x383)][_0xc405d1(0x2f7)](_0x2af906),_0x5076fd=this[_0xc405d1(0x223)][_0xc405d1(0x1ad)](_0x536bbc,_0x2af906,_0x23ceab);return _0x5076fd[_0xc405d1(0x389)](),_0x5076fd;}async[_0x2ba232(0x20b)](_0x4ac3ff){const _0x2521a2=_0x2ba232,_0x4f6175=await this[_0x2521a2(0x383)]['requireSession'](_0x4ac3ff),_0x2ea041=this['_injector'][_0x2521a2(0x1ad)](_0xa202dc,_0x4ac3ff,_0x4f6175);return _0x2ea041['init'](),_0x2ea041;}};_0x2c65f1=_0x5b6096([_0x3de2ca(0x0,_0x4976c9[_0x2ba232(0x140)]),_0x3de2ca(0x1,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9[_0x2ba232(0x19f)])),_0x3de2ca(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x36b1ab[_0x2ba232(0x170)]))],_0x2c65f1);const _0x36d89b=0x14,_0x4efca8=0xc8,_0x49b91b=0x4,_0x3bf2dd=0x5;function _0x2af42b(_0x3babce,_0x57f693){const _0x1f583d=_0x2ba232;let {radius:_0x5210de,width:_0x1633ac,height:_0x3c1ece}=_0x57f693;_0x5210de=_0x5210de!=null?_0x5210de:0x0,_0x1633ac=_0x1633ac!=null?_0x1633ac:0x1e,_0x3c1ece=_0x3c1ece!=null?_0x3c1ece:0x1e;let _0x23ef6c=0x0,_0x4d9106=0x0,_0x2fb1c7=0x0;_0x23ef6c=_0x4d9106=_0x2fb1c7=Math[_0x1f583d(0x2a2)](_0x5210de,_0x1633ac/0x2,_0x3c1ece/0x2),_0x3babce['beginPath'](),_0x3babce[_0x1f583d(0x2e0)](_0x23ef6c,0x0),_0x3babce['lineTo'](_0x1633ac-_0x4d9106,0x0),_0x3babce[_0x1f583d(0x1c9)](_0x1633ac-_0x4d9106,_0x4d9106,_0x4d9106,Math['PI']*0x3/0x2,0x0,!0x1),_0x3babce[_0x1f583d(0x2d7)](_0x1633ac,_0x3c1ece-_0x2fb1c7),_0x3babce[_0x1f583d(0x1c9)](_0x1633ac-_0x2fb1c7,_0x3c1ece-_0x2fb1c7,_0x2fb1c7,0x0,Math['PI']/0x2,!0x1),_0x3babce[_0x1f583d(0x2d7)](0x0,_0x3c1ece),_0x3babce['lineTo'](0x0,_0x23ef6c),_0x3babce[_0x1f583d(0x1c9)](_0x23ef6c,_0x23ef6c,_0x23ef6c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3babce[_0x1f583d(0x281)](),_0x57f693[_0x1f583d(0x252)]&&(_0x3babce['save'](),_0x3babce[_0x1f583d(0x314)]=_0x57f693['fill'],_0x57f693[_0x1f583d(0x2ac)]===_0x1f583d(0x26b)?_0x3babce[_0x1f583d(0x252)]('evenodd'):_0x3babce[_0x1f583d(0x252)](),_0x3babce[_0x1f583d(0x22e)]());}class _0x358d0c extends _0x5ed3cd[_0x2ba232(0x29c)]{constructor(_0x59cf53,_0x24b1aa){const _0x200ac8=_0x2ba232;super(_0x59cf53,_0x24b1aa),_0x2a0527(this,_0x200ac8(0x218)),_0x2a0527(this,_0x200ac8(0x159)),(this[_0x200ac8(0x218)]=_0x24b1aa==null?void 0x0:_0x24b1aa['color'],this[_0x200ac8(0x159)]=_0x24b1aa==null?void 0x0:_0x24b1aa[_0x200ac8(0x159)]);}static[_0x2ba232(0x27c)](_0x5e5f00,_0x24bc69){const _0x227362=_0x2ba232,{text:_0x5663a1,color:_0xb057e6}=_0x24bc69;_0x5e5f00[_0x227362(0x25b)](),_0x5e5f00[_0x227362(0x365)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x19649d=_0x5e5f00['measureText'](_0x5663a1)['width'],_0x44f266=Math[_0x227362(0x2a2)](_0x19649d+0x2*_0x49b91b,_0x4efca8);_0x2af42b(_0x5e5f00,{'height':_0x36d89b,'radius':0x4,'width':_0x44f266,'fill':_0xb057e6}),_0x5e5f00[_0x227362(0x314)]=_0x227362(0x20a);const _0x3720c0=_0x49b91b,_0x3f315d=_0x36d89b-_0x3bf2dd,_0x3b4ecd=_0x4efca8-0x2*_0x49b91b;if(_0x19649d>_0x3b4ecd){let _0x34ad56='',_0xc913ac=0x0;for(const _0x30aa8a of _0x5663a1){const _0x29a6a9=_0x5e5f00[_0x227362(0x1df)](_0x30aa8a)[_0x227362(0x32a)];if(_0xc913ac+_0x29a6a9<=_0x3b4ecd-_0x5e5f00['measureText']('...')['width'])_0x34ad56+=_0x30aa8a,_0xc913ac+=_0x29a6a9;else{_0x34ad56+='...';break;}}_0x5e5f00[_0x227362(0x15e)](_0x34ad56,_0x3720c0,_0x3f315d);}else _0x5e5f00[_0x227362(0x15e)](_0x5663a1,_0x3720c0,_0x3f315d);_0x5e5f00['restore']();}[_0x2ba232(0x182)](_0x548263){const _0x4dc685=_0x2ba232;_0x358d0c[_0x4dc685(0x27c)](_0x548263,this);}}const _0x1c37d3=_0x2ba232(0x195),_0x1691a3='collab-text-range-',_0xb0aa92='collab-rect-range-',_0x440f23=0x6,_0x3598af=1.5,_0x29f180=0x4,_0x585360=1.5,_0x2e8a6d='rgba(255,\x20255,\x20255,\x200.01)';class _0x3948b7{constructor(_0x4ef95b,_0x25baf4,_0x40fed0,_0x777389){const _0x397779=_0x2ba232;_0x2a0527(this,_0x397779(0x1e5),[]),_0x2a0527(this,'_anchor',null),_0x2a0527(this,_0x397779(0x132),null),_0x2a0527(this,_0x397779(0x296),null),_0x2a0527(this,_0x397779(0x203),null),_0x2a0527(this,_0x397779(0x18c),null),(this[_0x397779(0x23b)]=_0x4ef95b,this[_0x397779(0x3c0)]=_0x25baf4,this[_0x397779(0x31d)]=_0x40fed0,this[_0x397779(0x2e9)]=_0x777389,this[_0x397779(0x164)]());}set['_hover'](_0xd027e2){const _0x13644c=_0x2ba232;_0xd027e2?(this[_0x13644c(0x296)]&&this[_0x13644c(0x296)]['hide'](),this[_0x13644c(0x132)]&&this[_0x13644c(0x132)]['show']()):(this[_0x13644c(0x296)]&&this[_0x13644c(0x296)][_0x13644c(0x30b)](),this[_0x13644c(0x132)]&&this[_0x13644c(0x132)]['hide']());}[_0x2ba232(0x15a)](){const _0x312572=_0x2ba232;for(const _0x5b99fa of this['_shapes'])_0x5b99fa[_0x312572(0x15a)]();this[_0x312572(0x132)]&&this[_0x312572(0x132)][_0x312572(0x15a)](),this['_anchorDot']&&this[_0x312572(0x296)][_0x312572(0x15a)](),this['_anchor']&&this[_0x312572(0x188)][_0x312572(0x15a)](),this[_0x312572(0x18c)]&&this['_eventUnsubscribe']();}['_render'](){const _0x54c7ce=_0x2ba232;var _0x1868da;const {_docSkeleton:_0x230fed,_document:_0x4a2d3f}=this,{color:_0x5188db,name:_0x2fb3a3,ranges:_0x793c5e}=this['_cursor'],_0x20f5a8=_0x4a2d3f[_0x54c7ce(0x2b7)](),{docsLeft:_0x33eaaf,docsTop:_0x4b78a9}=_0x20f5a8,_0x14a77f=new _0x4f5309['NodePositionConvertToCursor'](_0x20f5a8,_0x230fed);for(const {startOffset:_0x40236e,endOffset:_0x39755f,rangeType:_0x3aeca1,segmentId:_0x377aac,segmentPage:_0x5b6ab1,collapsed:_0x54237f,isActive:_0xcfde46}of _0x793c5e){const _0x498784=_0x230fed[_0x54c7ce(0x16c)](_0x40236e,!0x0,_0x377aac,_0x5b6ab1);let _0xf53470=_0x230fed[_0x54c7ce(0x16c)](_0x39755f,!0x0,_0x377aac,_0x5b6ab1);if(_0xf53470==null&&(_0xf53470=_0x230fed['findNodePositionByCharIndex'](_0x39755f-0x1,!0x1,_0x377aac,_0x5b6ab1)),_0xcfde46){const {contentBoxPointGroup:_0x16c15a}=_0x14a77f[_0x54c7ce(0x1c8)](_0xf53470,_0xf53470);if(_0x16c15a[_0x54c7ce(0x16b)]===0x0)continue;this[_0x54c7ce(0x1b1)](_0x5188db,_0x16c15a,_0x33eaaf,_0x4b78a9,_0x2fb3a3),this[_0x54c7ce(0x18c)]=this['_handleHover']();}if(_0x498784&&_0xf53470){if(_0x3aeca1===_0x4976c9[_0x54c7ce(0x294)][_0x54c7ce(0x37b)]){const _0x12e79a=new _0x4f5309[(_0x54c7ce(0x2dd))](_0x20f5a8,_0x230fed),{pointGroup:_0x48197b}=(_0x1868da=_0x12e79a[_0x54c7ce(0x1c8)](_0x498784,_0xf53470))!=null?_0x1868da:{};if(_0x48197b==null||_0x48197b['length']===0x0)continue;this['_drawRectRange'](_0x5188db,_0x48197b,_0x33eaaf,_0x4b78a9);}else{if(!_0x54237f){const {borderBoxPointGroup:_0x4725fa}=_0x14a77f[_0x54c7ce(0x1c8)](_0x498784,_0xf53470);if(_0x4725fa['length']===0x0)continue;this[_0x54c7ce(0x2f1)](_0x5188db,_0x4725fa,_0x33eaaf,_0x4b78a9);}}}}}[_0x2ba232(0x1b1)](_0x539639,_0x4da39e,_0x40dd8e,_0x564893,_0x54b40f){const _0x54168a=_0x2ba232,_0x100c2c=this[_0x54168a(0x1c3)](_0x4da39e),{left:_0x4459a7,top:_0x49e2c5,height:_0x5aef6e}=_0x100c2c,_0x5c9f37=this[_0x54168a(0x149)](),_0x3b74af=_0x585360/_0x5c9f37,_0x42bd33=new _0x5ed3cd[(_0x54168a(0x2e5))](_0x1c37d3+_0x4976c9[_0x54168a(0x230)](_0x440f23),{'left':_0x4459a7+_0x40dd8e-_0x3b74af,'top':_0x49e2c5+_0x564893,'height':_0x5aef6e,'width':_0x3598af,'fill':_0x539639||_0x5ed3cd[_0x54168a(0x2eb)](_0x4976c9[_0x54168a(0x285)][_0x54168a(0x23e)],0x0),'strokeWidth':_0x3b74af,'stroke':_0x2e8a6d,'evented':!0x0});this[_0x54168a(0x188)]=_0x42bd33,this[_0x54168a(0x3c0)]['addObject'](_0x42bd33,_0x4f5309[_0x54168a(0x2a7)]);const _0x425af3=new _0x5ed3cd[(_0x54168a(0x2e5))](_0x1c37d3+_0x4976c9[_0x54168a(0x230)](_0x440f23),{'left':_0x4459a7+_0x40dd8e-_0x3b74af,'top':_0x49e2c5+_0x564893-_0x29f180/0x2,'height':_0x29f180,'width':_0x29f180,'fill':_0x539639||_0x5ed3cd[_0x54168a(0x2eb)](_0x4976c9[_0x54168a(0x285)][_0x54168a(0x23e)],0x0),'strokeWidth':0x0,'stroke':_0x539639||_0x5ed3cd[_0x54168a(0x2eb)](_0x4976c9[_0x54168a(0x285)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x425af3,this[_0x54168a(0x3c0)][_0x54168a(0x129)](_0x425af3,_0x4f5309[_0x54168a(0x2a7)]);const _0x910086=new _0x358d0c(_0x1c37d3+_0x4976c9[_0x54168a(0x230)](_0x440f23),{'left':_0x4459a7+_0x40dd8e-_0x3b74af,'top':_0x49e2c5+_0x564893-_0x36d89b,'text':_0x54b40f,'color':_0x539639});this[_0x54168a(0x132)]=_0x910086,this['_scene'][_0x54168a(0x129)](_0x910086,_0x4f5309['TEXT_RANGE_LAYER_INDEX']),this[_0x54168a(0x38e)]=!0x1;}[_0x2ba232(0x35a)](){const _0x29d014=_0x2ba232,_0x2dad1c=this[_0x29d014(0x188)]['onPointerEnter$'][_0x29d014(0x29f)](()=>{const _0x208ded=_0x29d014;this[_0x208ded(0x38e)]=!0x0;}),_0x26b65a=this['_anchor'][_0x29d014(0x346)][_0x29d014(0x29f)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x3295a4=_0x4ec8;this[_0x3295a4(0x38e)]=!0x1;},0x7d0);});return()=>{const _0x1cf942=_0x29d014;_0x2dad1c[_0x1cf942(0x155)](),_0x26b65a[_0x1cf942(0x155)]();};}[_0x2ba232(0x2f1)](_0x551801,_0x125f44,_0x187a25,_0x1da1fb){const _0x42d8c6=_0x2ba232,_0x17cb1b=new _0x4976c9[(_0x42d8c6(0x36f))](_0x551801)[_0x42d8c6(0x238)](0.2)[_0x42d8c6(0x2ca)](),_0x276897=new _0x5ed3cd['RegularPolygon'](_0x1691a3+_0x4976c9[_0x42d8c6(0x230)](_0x440f23),{'pointsGroup':_0x125f44,'fill':_0x17cb1b||_0x5ed3cd[_0x42d8c6(0x2eb)](_0x4976c9[_0x42d8c6(0x285)][_0x42d8c6(0x23e)],0.2),'left':_0x187a25,'top':_0x1da1fb,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x42d8c6(0x3c3)](_0x276897),this[_0x42d8c6(0x3c0)][_0x42d8c6(0x129)](_0x276897,_0x4f5309['TEXT_RANGE_LAYER_INDEX']);}[_0x2ba232(0x21c)](_0x5bb7d6,_0x48fe72,_0x5400c5,_0x1d9e54){const _0x401b45=_0x2ba232,_0x492d76=new _0x4976c9['ColorKit'](_0x5bb7d6)[_0x401b45(0x238)](0.2)[_0x401b45(0x2ca)](),_0x395e06=new _0x5ed3cd[(_0x401b45(0x160))](_0xb0aa92+_0x4976c9[_0x401b45(0x230)](_0x440f23),{'pointsGroup':_0x48fe72,'fill':_0x492d76||_0x5ed3cd['getColor'](_0x4976c9[_0x401b45(0x285)][_0x401b45(0x23e)],0.2),'left':_0x5400c5,'top':_0x1d9e54,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x401b45(0x1e5)][_0x401b45(0x3c3)](_0x395e06),this['_scene'][_0x401b45(0x129)](_0x395e06,_0x4f5309[_0x401b45(0x2a7)]);}[_0x2ba232(0x1c3)](_0x49506c){const _0x1f7bec=_0x49506c[0x0],_0x4ef07d=_0x1f7bec[0x0],_0xf0d2dc=_0x1f7bec[0x2],{x:_0x1dcbce,y:_0x6df557}=_0x4ef07d,{x:_0x143e25,y:_0x6fb41f}=_0xf0d2dc;return{'left':_0x1dcbce,'top':_0x6df557,'width':_0x143e25-_0x1dcbce,'height':_0x6fb41f-_0x6df557};}[_0x2ba232(0x149)](){const _0x187348=_0x2ba232,{scaleX:_0xb61cb6,scaleY:_0x4225d2}=this['_scene'][_0x187348(0x1ba)]();return Math[_0x187348(0x26d)](_0xb61cb6,_0x4225d2);}}var _0x102b44=Object[_0x2ba232(0x196)],_0x2f9096=(_0x2c5133,_0x534238,_0x35d5ca,_0x1efe15)=>{const _0x5dfba2=_0x2ba232;for(var _0x277c5f=_0x1efe15>0x1?void 0x0:_0x1efe15?_0x102b44(_0x534238,_0x35d5ca):_0x534238,_0x134fd6=_0x2c5133[_0x5dfba2(0x16b)]-0x1,_0x5f4af1;_0x134fd6>=0x0;_0x134fd6--)(_0x5f4af1=_0x2c5133[_0x134fd6])&&(_0x277c5f=_0x5f4af1(_0x277c5f)||_0x277c5f);return _0x277c5f;},_0x3ce733=(_0x7e6def,_0x31d651)=>(_0x320bac,_0x39af1a)=>_0x31d651(_0x320bac,_0x39af1a,_0x7e6def);let _0x315c12=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x5931b9,_0x1ad284,_0x2aa0f6,_0x442463,_0x2d74d6){const _0x205207=_0x2ba232;super(),_0x2a0527(this,'_cursorShapes',[]),_0x2a0527(this,_0x205207(0x3bd),[]),(this[_0x205207(0x3b7)]=_0x5931b9,this[_0x205207(0x13f)]=_0x1ad284,this[_0x205207(0x305)]=_0x2aa0f6,this[_0x205207(0x257)]=_0x442463,this[_0x205207(0x2b8)]=_0x2d74d6,this[_0x205207(0x21e)]());}[_0x2ba232(0x21e)](){const _0x54eaca=_0x2ba232,_0x58e84c=this[_0x54eaca(0x3b7)]['unitId'],_0x5674ca=this[_0x54eaca(0x13f)];this[_0x54eaca(0x2a4)](_0x1af8d0['combineLatest']([this[_0x54eaca(0x305)]['getCollabCursors$'](_0x58e84c),this[_0x54eaca(0x2b8)][_0x54eaca(0x3b1)]])[_0x54eaca(0x357)](_0x210849[_0x54eaca(0x267)](([_0x5eb4db,_0xc0e11c])=>({'skeleton':_0x5674ca[_0x54eaca(0x35e)](),'cursors':[..._0x5eb4db[_0x54eaca(0x201)]()][_0x54eaca(0x14c)](_0x190355=>({..._0x190355,'color':this['_themeService']['getColorFromTheme'](_0x190355['color'])}))})))[_0x54eaca(0x34b)](_0x4cf559=>{const _0xe47a4d=_0x54eaca;if(this[_0xe47a4d(0x134)](),_0x4cf559){const {skeleton:_0x2a8147,cursors:_0x3745b5}=_0x4cf559;this[_0xe47a4d(0x28f)](_0x2a8147,_0x3745b5);}})),this[_0x54eaca(0x1a9)](),this[_0x54eaca(0x341)]();}['_updateCollabCursors'](_0x27b00f,_0x487d65){const _0xf1ec96=_0x2ba232,{scene:_0x3cc7d2,mainComponent:_0x487b68}=this[_0xf1ec96(0x3b7)],_0x3d7dd9=_0x487d65[_0xf1ec96(0x267)](_0x206f49=>new _0x3948b7(_0x206f49,_0x3cc7d2,_0x27b00f,_0x487b68));this['_cursorShapes']=_0x3d7dd9,this[_0xf1ec96(0x3bd)]=_0x487d65;}[_0x2ba232(0x368)](){const _0x199fd2=_0x2ba232;this[_0x199fd2(0x134)]();const {scene:_0x2309a6,mainComponent:_0x41928b}=this[_0x199fd2(0x3b7)],_0x462f37=this['_docSkeletonManagerService'][_0x199fd2(0x35e)](),_0x9cb26f=this['_cursors']['map'](_0x4305e2=>new _0x3948b7(_0x4305e2,_0x2309a6,_0x462f37,_0x41928b));this[_0x199fd2(0x342)]=_0x9cb26f;}['_removeCollabCursors'](){const _0x131197=_0x2ba232;this[_0x131197(0x342)]['forEach'](_0x98a6ef=>_0x98a6ef[_0x131197(0x15a)]()),this[_0x131197(0x342)]=[];}[_0x2ba232(0x341)](){const _0x3a01f0=_0x2ba232,_0x16626c=[_0x4f5309[_0x3a01f0(0x1cf)]['id']];this[_0x3a01f0(0x2a4)](this[_0x3a01f0(0x257)][_0x3a01f0(0x386)](_0x13fabe=>{const _0x4b0083=_0x3a01f0;_0x16626c[_0x4b0083(0x3a9)](_0x13fabe['id'])&&_0x13fabe[_0x4b0083(0x131)][_0x4b0083(0x3ba)]===this[_0x4b0083(0x3b7)][_0x4b0083(0x3ba)]&&this[_0x4b0083(0x368)]();}));}[_0x2ba232(0x1a9)](){const _0x51493f=_0x2ba232;this[_0x51493f(0x2a4)](_0x4976c9[_0x51493f(0x186)](this[_0x51493f(0x3b7)][_0x51493f(0x367)][_0x51493f(0x2b1)])[_0x51493f(0x357)](_0x210849[_0x51493f(0x25f)](_0x34ce93=>_0x34ce93[_0x51493f(0x176)]===_0x5ed3cd['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x210849[_0x51493f(0x30d)](0x10))[_0x51493f(0x34b)](()=>{const _0x3971bd=_0x51493f;this[_0x3971bd(0x368)]();}));}};_0x315c12=_0x2f9096([_0x3ce733(0x1,_0x4976c9['Inject'](_0x407a59['DocSkeletonManagerService'])),_0x3ce733(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x2c65f1)),_0x3ce733(0x3,_0x4976c9['ICommandService']),_0x3ce733(0x4,_0x4976c9['Inject'](_0x4976c9[_0x2ba232(0x24e)]))],_0x315c12);const _0x5442e6=0x1,_0x314d8a=1.5;class _0x979c74 extends _0x5ed3cd[_0x2ba232(0x29c)]{constructor(_0x474842,_0x34f842){const _0xfaa9fd=_0x2ba232;super(_0x474842,_0x34f842),_0x2a0527(this,_0xfaa9fd(0x348)),_0x2a0527(this,_0xfaa9fd(0x292),!0x1),_0x2a0527(this,_0xfaa9fd(0x20d)),_0x2a0527(this,_0xfaa9fd(0x3ad),''),_0x2a0527(this,_0xfaa9fd(0x1e3),_0xfaa9fd(0x370)),_0x2a0527(this,_0xfaa9fd(0x36a)),(_0x34f842&&this['setShapeProps'](_0x34f842),this['onPointerEnter$'][_0xfaa9fd(0x29f)](()=>this[_0xfaa9fd(0x3be)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0xfaa9fd(0x3be)]({'hovered':!0x1})));}[_0x2ba232(0x3be)](_0x518aba){const _0xf5c34f=_0x2ba232;var _0x88e56,_0x5b9b27,_0x519fe5,_0x226a5a,_0x3709d8,_0x3f1903;this[_0xf5c34f(0x348)]=(_0x88e56=_0x518aba[_0xf5c34f(0x218)])!=null?_0x88e56:this['_color'],this['_hovered']=(_0x5b9b27=_0x518aba['hovered'])!=null?_0x5b9b27:this['_hovered'],this['_range']=(_0x519fe5=_0x518aba[_0xf5c34f(0x1c0)])!=null?_0x519fe5:this[_0xf5c34f(0x20d)],this[_0xf5c34f(0x3ad)]=(_0x226a5a=_0x518aba['name'])!=null?_0x226a5a:this[_0xf5c34f(0x3ad)],this['_labelPosition']=(_0x3709d8=_0x518aba[_0xf5c34f(0x251)])!=null?_0x3709d8:this[_0xf5c34f(0x1e3)],this[_0xf5c34f(0x36a)]=(_0x3f1903=_0x518aba[_0xf5c34f(0x323)])!=null?_0x3f1903:this['_backgroundColor'],this['transformByState']({'width':_0x518aba[_0xf5c34f(0x32a)],'height':_0x518aba['height']});}[_0x2ba232(0x2db)](_0x24c858){const _0x2902ec=_0x2ba232,{row:_0x4cb806,column:_0x5de5e4}=_0x24c858;if(_0x4cb806>=this[_0x2902ec(0x20d)][_0x2902ec(0x388)]&&_0x4cb806<=this[_0x2902ec(0x20d)]['endRow']&&_0x5de5e4>=this[_0x2902ec(0x20d)][_0x2902ec(0x32b)]&&_0x5de5e4<=this[_0x2902ec(0x20d)][_0x2902ec(0x375)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2902ec(0x3be)]({'hovered':!0x1});}[_0x2ba232(0x211)](_0x20443e){return!0x1;}[_0x2ba232(0x182)](_0x1199b1){const _0x288cf6=_0x2ba232;_0x5ed3cd['Rect']['drawWith'](_0x1199b1,{'width':this[_0x288cf6(0x32a)],'height':this['height'],'strokeWidth':_0x314d8a,'stroke':this[_0x288cf6(0x348)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x288cf6(0x292)]&&(_0x1199b1[_0x288cf6(0x25b)](),_0x1199b1['transform'](0x1,0x0,0x0,0x1,this[_0x288cf6(0x32a)],this[_0x288cf6(0x1e3)]===_0x288cf6(0x364)?0x0:-_0x36d89b),_0x358d0c['drawWith'](_0x1199b1,{'text':this[_0x288cf6(0x3ad)],'color':this[_0x288cf6(0x348)]}),_0x1199b1[_0x288cf6(0x22e)]());}}var _0x1cbe28=Object['getOwnPropertyDescriptor'],_0x19d100=(_0x538454,_0x239230,_0x27760a,_0x3c09e6)=>{const _0x25f788=_0x2ba232;for(var _0xf5a797=_0x3c09e6>0x1?void 0x0:_0x3c09e6?_0x1cbe28(_0x239230,_0x27760a):_0x239230,_0x89885c=_0x538454[_0x25f788(0x16b)]-0x1,_0xe2af38;_0x89885c>=0x0;_0x89885c--)(_0xe2af38=_0x538454[_0x89885c])&&(_0xf5a797=_0xe2af38(_0xf5a797)||_0xf5a797);return _0xf5a797;},_0x4e9d69=(_0x30f2c7,_0x1ed8a2)=>(_0x29acb7,_0x40a8fa)=>_0x1ed8a2(_0x29acb7,_0x40a8fa,_0x30f2c7);const _0x1294e9=0x1389;let _0x603fa4=class extends _0x4976c9[_0x2ba232(0x303)]{constructor(_0x11615a,_0xe57820,_0x1d3cab,_0x466da9){const _0x5cf19f=_0x2ba232;super(),_0x2a0527(this,_0x5cf19f(0x3bd),new Set()),_0x2a0527(this,_0x5cf19f(0x130),null),(this[_0x5cf19f(0x3b7)]=_0x11615a,this['_sheetSkeletonManagerService']=_0xe57820,this[_0x5cf19f(0x305)]=_0x1d3cab,this[_0x5cf19f(0x2b8)]=_0x466da9,this[_0x5cf19f(0x21e)]());}['_init'](){const _0x261ec0=_0x2ba232;this['_sheetSkeletonManagerService'][_0x261ec0(0x3ac)]['pipe'](_0x210849['takeUntil'](this[_0x261ec0(0x322)]),_0x210849[_0x261ec0(0x156)](_0x44e8ec=>{const _0x589ad4=_0x261ec0;if(_0x44e8ec){const _0x397d59=_0x44e8ec[_0x589ad4(0x317)];return _0x1af8d0[_0x589ad4(0x377)](this[_0x589ad4(0x305)][_0x589ad4(0x36b)](this[_0x589ad4(0x3b7)]['unitId']),this[_0x589ad4(0x2b8)]['currentTheme$'])[_0x589ad4(0x357)](_0x210849[_0x589ad4(0x267)](([_0x517f40,_0x25ec8d])=>{const _0x465343=_0x589ad4,_0xd832ba=new Map();return _0x517f40[_0x465343(0x229)]((_0x52963b,_0x16161e)=>{const _0x55b3b0=_0x465343;if(_0x52963b[_0x55b3b0(0x1bb)]===_0x397d59){const _0x25a812={..._0x52963b};_0x25a812[_0x55b3b0(0x218)]=this[_0x55b3b0(0x2b8)][_0x55b3b0(0x36d)](_0x52963b[_0x55b3b0(0x218)]),_0xd832ba[_0x55b3b0(0x265)](_0x16161e,_0x25a812);}}),{'skeleton':_0x44e8ec,'cursors':_0xd832ba};}));}return _0x1af8d0['of']({'skeleton':null,'cursors':new Map()});}))[_0x261ec0(0x34b)](({skeleton:_0x13519f,cursors:_0x39e8b5})=>{const _0x43ebe5=_0x261ec0;this['_removeCollabCursors'](),_0x13519f&&this[_0x43ebe5(0x28f)](_0x13519f,_0x39e8b5);}),this[_0x261ec0(0x212)][_0x261ec0(0x3ac)][_0x261ec0(0x34b)](_0x1e761e=>{const _0x11b3ba=_0x261ec0;if(_0x1e761e==null)return;const {skeleton:_0x23316c}=_0x1e761e,{scene:_0x7d5b54}=this[_0x11b3ba(0x3b7)];_0x7d5b54[_0x11b3ba(0x12e)][_0x11b3ba(0x29f)](_0x4976c9[_0x11b3ba(0x27d)](_0xab0b66=>{const _0x58e715=_0x11b3ba;var _0x54a4c2,_0x3eaae1;const {offsetX:_0x476e22,offsetY:_0x136b48}=_0xab0b66,{x:_0x547db1,y:_0x22b0c4}=_0x7d5b54[_0x58e715(0x31c)](_0x5ed3cd['Vector2'][_0x58e715(0x2e4)]([_0x476e22,_0x136b48])),{scaleX:_0x1aa335,scaleY:_0x52c460}=_0x7d5b54[_0x58e715(0x1ba)](),_0x56d92a=_0x7d5b54[_0x58e715(0x301)](_0x5ed3cd['SHEET_VIEWPORT_KEY'][_0x58e715(0x217)]),_0x2b0681=_0x7d5b54['getVpScrollXYInfoByPosToVp'](_0x5ed3cd[_0x58e715(0x1eb)][_0x58e715(0x2e4)]([_0x547db1,_0x22b0c4]),_0x56d92a),_0x522a9e=_0x23316c[_0x58e715(0x2bb)](_0x476e22,_0x136b48,_0x1aa335,_0x52c460,_0x2b0681);((_0x54a4c2=this[_0x58e715(0x130)])==null?void 0x0:_0x54a4c2[_0x58e715(0x200)])===_0x522a9e['column']&&((_0x3eaae1=this['_lastPointer'])==null?void 0x0:_0x3eaae1[_0x58e715(0x35d)])===_0x522a9e[_0x58e715(0x35d)]||this[_0x58e715(0x3bd)][_0x58e715(0x229)](_0x16c9c7=>{const _0xe28e70=_0x58e715;_0x16c9c7[_0xe28e70(0x2db)](_0x522a9e);});},0x64));});}[_0x2ba232(0x28f)](_0x55e6ed,_0x51e45f){const _0x1c18fb=_0x2ba232;var _0x369ed5;const _0x383d86=(_0x369ed5=this['_sheetSkeletonManagerService'][_0x1c18fb(0x29d)]())==null?void 0x0:_0x369ed5[_0x1c18fb(0x1d0)];if(!_0x383d86)return;const _0x3ce88d=this[_0x1c18fb(0x33b)]();if(!_0x3ce88d)return;this[_0x1c18fb(0x3bd)][_0x1c18fb(0x229)](_0x355a63=>{_0x355a63['makeDirty']();});const {scene:_0x445bd9}=_0x3ce88d,_0x44a46f=_0x104ab6(Array[_0x1c18fb(0x128)](_0x51e45f[_0x1c18fb(0x201)]()))['map'](_0xe0b138=>{const _0x512ef1=_0x1c18fb,{color:_0x2fe4dd,range:_0x5104cd,name:_0x56f01b,selection:_0x3dfcc3,sheetID:_0x2b7811}=_0xe0b138,{startColumn:_0x1430f2,startRow:_0x54ea7a,endColumn:_0x18a488,endRow:_0x34a62c}=_0x5104cd,_0x3e83d9=_0x234c3f['getCoordByCell'](_0x54ea7a,_0x1430f2,_0x445bd9,_0x383d86),_0xf54ace=_0x234c3f[_0x512ef1(0x165)](_0x34a62c,_0x18a488,_0x445bd9,_0x383d86),{columnHeaderHeightAndMarginTop:_0x2badb4}=_0x383d86,{startX:_0x4e74ad,startY:_0x473057}=_0x3e83d9,{endX:_0x42fc7c,endY:_0x19201a}=_0xf54ace,_0x35758a=_0x42fc7c-_0x4e74ad,_0x2f196e=_0x19201a-_0x473057,_0x53ca88={'labelPosition':_0x473057-_0x2badb4>=_0x36d89b?_0x512ef1(0x370):_0x512ef1(0x364),'sheetID':_0x2b7811,'range':_0x5104cd,'color':_0x2fe4dd,'name':_0x56f01b,'selection':_0x3dfcc3,'left':_0x4e74ad,'top':_0x473057,'width':_0x35758a,'height':_0x2f196e,'evented':!0x1,'zIndex':_0x1294e9};return new _0x979c74(_0x56f01b,_0x53ca88);});_0x445bd9['addObjects'](_0x44a46f,_0x5442e6),this[_0x1c18fb(0x3bd)]=new Set(_0x44a46f);}[_0x2ba232(0x134)](){const _0x1f577a=_0x2ba232;var _0x503d6c;(_0x503d6c=this[_0x1f577a(0x3bd)])==null||_0x503d6c[_0x1f577a(0x229)](_0xaf846a=>_0xaf846a['dispose']());}[_0x2ba232(0x33b)](){const _0x375fc1=_0x2ba232;return _0x234c3f[_0x375fc1(0x1f6)](this[_0x375fc1(0x3b7)]['unit'],this[_0x375fc1(0x3b7)]);}};_0x603fa4=_0x19d100([_0x4e9d69(0x1,_0x4976c9[_0x2ba232(0x2b9)](_0x234c3f[_0x2ba232(0x17e)])),_0x4e9d69(0x2,_0x4976c9['Inject'](_0x2c65f1)),_0x4e9d69(0x3,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9[_0x2ba232(0x24e)]))],_0x603fa4);function _0x104ab6(_0x4118f9){const _0x35f6fd=_0x2ba232,_0x3aa6f3=new Map();return _0x4118f9[_0x35f6fd(0x229)](_0x28a7a4=>{const _0x5cc317=_0x35f6fd;if(_0x3aa6f3['has'](_0x28a7a4['selection'])){const _0x33265e=_0x3aa6f3['get'](_0x28a7a4['selection']);_0x33265e[_0x5cc317(0x2ed)]+=',\x20'+_0x28a7a4[_0x5cc317(0x2ed)];}else _0x3aa6f3['set'](_0x28a7a4['selection'],_0x28a7a4);}),Array[_0x35f6fd(0x128)](_0x3aa6f3['values']());}var _0x1df1a5=Object['getOwnPropertyDescriptor'],_0x29c756=(_0x38da7c,_0x50b365,_0xcd4f44,_0x160417)=>{const _0x5ab899=_0x2ba232;for(var _0x4dccb9=_0x160417>0x1?void 0x0:_0x160417?_0x1df1a5(_0x50b365,_0xcd4f44):_0x50b365,_0x15e803=_0x38da7c[_0x5ab899(0x16b)]-0x1,_0x26fb19;_0x15e803>=0x0;_0x15e803--)(_0x26fb19=_0x38da7c[_0x15e803])&&(_0x4dccb9=_0x26fb19(_0x4dccb9)||_0x4dccb9);return _0x4dccb9;},_0x348854=(_0xd2411b,_0x4c5494)=>(_0x5e8322,_0x584e33)=>_0x4c5494(_0x5e8322,_0x584e33,_0xd2411b);let _0x2b6705=class extends _0x4976c9[_0x2ba232(0x286)]{constructor(_0x3b039f,_0x16484e,_0x1c486b,_0x12977a,_0x1e067e,_0x1e75c1){const _0x5b8555=_0x2ba232;super(),this['_beforeCloseService']=_0x3b039f,this[_0x5b8555(0x27b)]=_0x16484e,this['_collaborationUIEventService']=_0x1c486b,this['_messageService']=_0x12977a,this['_notificationService']=_0x1e067e,this['_localeService']=_0x1e75c1,this['_setupBeforeClosingHandler'](),this[_0x5b8555(0x1f2)]();}['_setupBeforeClosingHandler'](){const _0x592df0=_0x2ba232;this['disposeWithMe'](this['_beforeCloseService'][_0x592df0(0x3b4)](()=>{const _0x364fb2=_0x592df0;if(this['_localCacheService'][_0x364fb2(0x2df)][_0x364fb2(0x351)])return this[_0x364fb2(0x2ae)]['t'](_0x364fb2(0x1b6));}));}[_0x2ba232(0x1f2)](){const _0x13b93c=_0x2ba232;this[_0x13b93c(0x2a4)](this['_collaborationUIEventService'][_0x13b93c(0x264)]['subscribe'](_0x55dcbc=>{const _0x3e2005=_0x13b93c;_0x55dcbc['id']===_0x36b1ab['CollaborationUIEventId'][_0x3e2005(0x208)]&&this['_messageService'][_0x3e2005(0x30b)]({'type':_0xe10add[_0x3e2005(0x324)][_0x3e2005(0x2ef)],'content':this[_0x3e2005(0x2ae)]['t']('collaboration.single-unit.warning')}),_0x55dcbc['id']===_0x36b1ab[_0x3e2005(0x1bc)][_0x3e2005(0x1bd)]&&this[_0x3e2005(0x2c8)][_0x3e2005(0x30b)]({'type':_0xe10add['MessageType'][_0x3e2005(0x2ef)],'content':this[_0x3e2005(0x2ae)]['t'](_0x3e2005(0x26f))}),_0x55dcbc['id']===_0x36b1ab[_0x3e2005(0x1bc)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x3e2005(0x2ae)]['t'](_0x3e2005(0x18e)),'content':this['_localeService']['t']('permission.content'),'type':_0x3e2005(0x248),'duration':0x0}),_0x55dcbc['id']===_0x36b1ab[_0x3e2005(0x1bc)]['CONFLICT']&&this[_0x3e2005(0x2c8)]['show']({'type':_0xe10add[_0x3e2005(0x324)][_0x3e2005(0x16e)],'content':this[_0x3e2005(0x2ae)]['t'](_0x3e2005(0x26f))+'('+_0x55dcbc[_0x3e2005(0x335)]+')'}),_0x55dcbc['id']===_0x36b1ab['CollaborationUIEventId'][_0x3e2005(0x398)]&&this[_0x3e2005(0x2c8)][_0x3e2005(0x30b)]({'type':_0xe10add[_0x3e2005(0x324)][_0x3e2005(0x2ef)],'content':this[_0x3e2005(0x2ae)]['t'](_0x55dcbc[_0x3e2005(0x335)]||'')}),_0x55dcbc['id']===_0x36b1ab[_0x3e2005(0x1bc)][_0x3e2005(0x35b)]&&this[_0x3e2005(0x2c8)][_0x3e2005(0x30b)]({'type':_0xe10add[_0x3e2005(0x324)][_0x3e2005(0x2ef)],'content':this['_localeService']['t'](_0x3e2005(0x183))}),_0x55dcbc['id']===_0x36b1ab['CollaborationUIEventId'][_0x3e2005(0x247)]&&this[_0x3e2005(0x2c8)][_0x3e2005(0x30b)]({'type':_0xe10add[_0x3e2005(0x324)][_0x3e2005(0x16e)],'content':this[_0x3e2005(0x2ae)]['t'](_0x3e2005(0x2fe))}),_0x55dcbc['id']===_0x36b1ab[_0x3e2005(0x1bc)][_0x3e2005(0x2aa)]&&this[_0x3e2005(0x2c8)]['show']({'type':_0xe10add['MessageType'][_0x3e2005(0x16e)],'content':this[_0x3e2005(0x2ae)]['t'](_0x3e2005(0x18d))});}));}};_0x2b6705=_0x29c756([_0x348854(0x0,_0x39d563[_0x2ba232(0x395)]),_0x348854(0x1,_0x36b1ab[_0x2ba232(0x298)]),_0x348854(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x36b1ab[_0x2ba232(0x282)])),_0x348854(0x3,_0x39d563[_0x2ba232(0x253)]),_0x348854(0x4,_0x39d563['INotificationService']),_0x348854(0x5,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9['LocaleService']))],_0x2b6705);const _0x178377=_0x2ba232(0x390),_0x16e3c7={};var _0x182c47=Object[_0x2ba232(0x196)],_0x26be85=(_0x4c491f,_0x3ad1fc,_0x485d3d,_0x1307eb)=>{const _0x32912f=_0x2ba232;for(var _0x14f4ef=_0x1307eb>0x1?void 0x0:_0x1307eb?_0x182c47(_0x3ad1fc,_0x485d3d):_0x3ad1fc,_0x51bba5=_0x4c491f[_0x32912f(0x16b)]-0x1,_0x427e08;_0x51bba5>=0x0;_0x51bba5--)(_0x427e08=_0x4c491f[_0x51bba5])&&(_0x14f4ef=_0x427e08(_0x14f4ef)||_0x14f4ef);return _0x14f4ef;},_0x11c4f9=(_0x5a5b20,_0xb7de43)=>(_0x26aa15,_0x456690)=>_0xb7de43(_0x26aa15,_0x456690,_0x5a5b20);let _0x1266e6=class{constructor(_0x5a3ac9,_0x63e08c){const _0x1cb699=_0x2ba232;this['_transformService']=_0x5a3ac9,this[_0x1cb699(0x347)]=_0x63e08c;}[_0x2ba232(0x352)](_0x29b718){const _0x2d21fb=_0x2ba232;this[_0x2d21fb(0x340)](_0x29b718),this[_0x2d21fb(0x27e)](_0x29b718);}[_0x2ba232(0x2cd)](_0x1defb7){const _0x501c1a=_0x2ba232,{unitID:_0x26e6db}=_0x1defb7,_0x577eb9=this[_0x501c1a(0x347)][_0x501c1a(0x194)](_0x26e6db)[_0x501c1a(0x177)](_0x4f5309['DocIMEInputManagerService']),{redoCache:_0x5d5bf8}=_0x577eb9['getUndoRedoMutationParamsCache']();if(_0x5d5bf8[_0x501c1a(0x16b)]===0x0)return _0x1defb7;let _0x1d6ac1=_0x4976c9[_0x501c1a(0x14b)][_0x501c1a(0x239)](_0x1defb7[_0x501c1a(0x362)][0x0]);for(let _0x5c9d63=0x0;_0x5c9d63<_0x5d5bf8[_0x501c1a(0x16b)];_0x5c9d63++){const _0x19edb9={'id':_0x501c1a(0x1e2),'params':{..._0x5d5bf8[_0x5c9d63]}},_0x244482=this[_0x501c1a(0x172)][_0x501c1a(0x142)](_0x1d6ac1,_0x19edb9,!0x1);if(_0x280b1c[_0x501c1a(0x1f7)](_0x244482))throw _0x244482[_0x501c1a(0x248)];_0x1d6ac1=_0x244482['m1Prime'];}return{..._0x4976c9[_0x501c1a(0x14b)][_0x501c1a(0x239)](_0x1defb7),'mutations':[_0x1d6ac1]};}[_0x2ba232(0x340)](_0x45c4c7){const _0x158148=_0x2ba232,{unitID:_0x2302bf}=_0x45c4c7,_0x4de408=this[_0x158148(0x347)]['getRenderById'](_0x2302bf)[_0x158148(0x177)](_0x4f5309[_0x158148(0x1d4)]),{undoCache:_0x188c11,redoCache:_0xd6682a}=_0x4de408['getUndoRedoMutationParamsCache']();if(_0x188c11[_0x158148(0x16b)]===0x0||_0xd6682a[_0x158148(0x16b)]===0x0)return;const _0x3c58ef=[],_0x1eb381=[];let _0x3b18d0=_0x4976c9['Tools'][_0x158148(0x239)](_0x45c4c7[_0x158148(0x362)][0x0]),_0x23ce5f=_0x4976c9[_0x158148(0x14b)][_0x158148(0x239)](_0x45c4c7['mutations'][0x0]);for(let _0x4dff81=_0x188c11[_0x158148(0x16b)]-0x1;_0x4dff81>=0x0;_0x4dff81--){const _0x56a014={'id':_0x158148(0x1e2),'params':{..._0x188c11[_0x4dff81]}},_0x5e62ae={'id':_0x158148(0x1e2),'params':{..._0xd6682a[_0x4dff81]}},_0xc8aa12=this[_0x158148(0x172)][_0x158148(0x142)](_0x3b18d0,_0x56a014,!0x1),_0x22cf17=this[_0x158148(0x172)][_0x158148(0x142)](_0x23ce5f,_0x5e62ae,!0x1);if(_0x280b1c['isTransformMutationFailure'](_0xc8aa12))throw _0xc8aa12[_0x158148(0x248)];if(_0x280b1c['isTransformMutationFailure'](_0x22cf17))throw _0x22cf17[_0x158148(0x248)];_0x3c58ef[_0x158148(0x321)](_0xc8aa12['m2Prime'][_0x158148(0x131)]),_0x1eb381['unshift'](_0x22cf17[_0x158148(0x2d8)][_0x158148(0x131)]),_0x3b18d0=_0xc8aa12['m1Prime'],_0x23ce5f=_0x22cf17['m1Prime'];}_0x4de408[_0x158148(0x240)]({'undoCache':_0x3c58ef,'redoCache':_0x1eb381});}['_transformPreviousActiveRange'](_0x566231){const _0x5c8340=_0x2ba232,{unitID:_0x23facf}=_0x566231,_0x5aa202=this[_0x5c8340(0x347)][_0x5c8340(0x194)](_0x23facf)['with'](_0x4f5309['DocIMEInputManagerService']),_0x325df5=_0x5aa202[_0x5c8340(0x163)]();if(_0x325df5==null)return;const _0x368d57=[{'id':_0x5c8340(0x1e2),'params':{'unitId':_0x566231['unitID'],'actions':null,'textRanges':[_0x325df5]}}],_0x3ac928=this[_0x5c8340(0x172)][_0x5c8340(0x3b8)](_0x566231,_0x368d57);if(!_0x280b1c[_0x5c8340(0x1e8)](_0x3ac928))throw _0x3ac928[_0x5c8340(0x248)];const _0x35c5c4=_0x3ac928[_0x5c8340(0x2d8)][0x0]['params']['textRanges'];Array['isArray'](_0x35c5c4)&&_0x35c5c4[_0x5c8340(0x16b)]&&_0x5aa202[_0x5c8340(0x193)](_0x35c5c4[0x0]);}};_0x1266e6=_0x26be85([_0x11c4f9(0x0,_0x280b1c[_0x2ba232(0x1e0)]),_0x11c4f9(0x1,_0x5ed3cd[_0x2ba232(0x2d6)])],_0x1266e6);var _0xae2ef9=Object[_0x2ba232(0x196)],_0x4437d4=(_0x5dd52c,_0x340d9e,_0x4c1b4a,_0x25699b)=>{const _0x4b1d6a=_0x2ba232;for(var _0x456367=_0x25699b>0x1?void 0x0:_0x25699b?_0xae2ef9(_0x340d9e,_0x4c1b4a):_0x340d9e,_0x1e7e3b=_0x5dd52c[_0x4b1d6a(0x16b)]-0x1,_0x53b53a;_0x1e7e3b>=0x0;_0x1e7e3b--)(_0x53b53a=_0x5dd52c[_0x1e7e3b])&&(_0x456367=_0x53b53a(_0x456367)||_0x456367);return _0x456367;},_0x23b494=(_0x460af2,_0x1db4f9)=>(_0xf8653e,_0x58334c)=>_0x1db4f9(_0xf8653e,_0x58334c,_0x460af2);let _0x349d2b=class{constructor(_0xb4bdc1,_0x56addb,_0x395709){const _0x55af64=_0x2ba232;this[_0x55af64(0x223)]=_0xb4bdc1,this['_transformService']=_0x56addb,this[_0x55af64(0x185)]=_0x395709;}[_0x2ba232(0x1fd)](_0x4b28c0){this['_transformHistoryAndStateStack'](_0x4b28c0);}[_0x2ba232(0x2cd)](_0x3f38cb){const _0x3a49d3=_0x2ba232,{unitID:_0x1f0341}=_0x3f38cb,{collaboration:_0x54b10b}=this[_0x3a49d3(0x185)][_0x3a49d3(0x1f8)](_0x1f0341);if(_0x54b10b[_0x3a49d3(0x16b)]===0x0)return _0x3f38cb;let _0x2de301=_0x4976c9[_0x3a49d3(0x14b)][_0x3a49d3(0x239)](_0x3f38cb[_0x3a49d3(0x362)][0x0]);for(let _0xfa8ce=0x0;_0xfa8ce<_0x54b10b[_0x3a49d3(0x16b)];_0xfa8ce++){const _0x164ad7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x54b10b[_0xfa8ce]['unitId'],..._0x54b10b[_0xfa8ce]['redoState']}},_0x5499fa=this['_transformService']['transformMutation'](_0x2de301,_0x164ad7,!0x1);if(_0x280b1c[_0x3a49d3(0x1f7)](_0x5499fa))throw _0x5499fa[_0x3a49d3(0x248)];_0x2de301=_0x5499fa[_0x3a49d3(0x3a0)];}return{..._0x4976c9[_0x3a49d3(0x14b)][_0x3a49d3(0x239)](_0x3f38cb),'mutations':[_0x2de301]};}[_0x2ba232(0x1da)](_0x42d504){const _0x4eca16=_0x2ba232,{unitID:_0xb36344}=_0x42d504,{history:_0x32a19e,collaboration:_0x5c9fbe}=this['_docStateChangeManagerService'][_0x4eca16(0x1f8)](_0xb36344);if(_0x32a19e[_0x4eca16(0x16b)]===0x0&&_0x5c9fbe['length']===0x0)return;const _0x5a2b2e=[],_0x19d241=[];let _0x23b15f=_0x4976c9[_0x4eca16(0x14b)][_0x4eca16(0x239)](_0x42d504[_0x4eca16(0x362)][0x0]),_0x29bbb9=_0x4976c9[_0x4eca16(0x14b)]['deepClone'](_0x42d504[_0x4eca16(0x362)][0x0]);for(let _0x1de9a9=_0x32a19e[_0x4eca16(0x16b)]-0x1;_0x1de9a9>=0x0;_0x1de9a9--){const _0x30c33b={'id':_0x4eca16(0x1e2),'params':{'unitId':_0x32a19e[_0x1de9a9]['unitId'],..._0x32a19e[_0x1de9a9][_0x4eca16(0x1c6)]}},_0x2777ee={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x32a19e[_0x1de9a9][_0x4eca16(0x3ba)],..._0x32a19e[_0x1de9a9]['redoState']}},_0x50d07e=this['_transformService'][_0x4eca16(0x142)](_0x23b15f,_0x30c33b,!0x1),_0x531d4a=this[_0x4eca16(0x172)][_0x4eca16(0x142)](_0x29bbb9,_0x2777ee,!0x1);if(_0x280b1c[_0x4eca16(0x1f7)](_0x50d07e))throw _0x50d07e[_0x4eca16(0x248)];if(_0x280b1c[_0x4eca16(0x1f7)](_0x531d4a))throw _0x531d4a[_0x4eca16(0x248)];_0x5a2b2e[_0x4eca16(0x321)]({..._0x32a19e[_0x1de9a9],'undoState':_0x50d07e[_0x4eca16(0x2d8)][_0x4eca16(0x131)],'redoState':_0x531d4a['m2Prime'][_0x4eca16(0x131)]}),_0x23b15f=_0x50d07e['m1Prime'],_0x29bbb9=_0x531d4a[_0x4eca16(0x3a0)];}_0x23b15f=_0x4976c9['Tools'][_0x4eca16(0x239)](_0x42d504[_0x4eca16(0x362)][0x0]),_0x29bbb9=_0x4976c9[_0x4eca16(0x14b)][_0x4eca16(0x239)](_0x42d504['mutations'][0x0]);for(let _0x2da6bf=_0x5c9fbe[_0x4eca16(0x16b)]-0x1;_0x2da6bf>=0x0;_0x2da6bf--){const _0x5c27c5={'id':_0x4eca16(0x1e2),'params':{'unitId':_0x5c9fbe[_0x2da6bf][_0x4eca16(0x3ba)],..._0x5c9fbe[_0x2da6bf][_0x4eca16(0x1c6)]}},_0x58baa5={'id':_0x4eca16(0x1e2),'params':{'unitId':_0x5c9fbe[_0x2da6bf]['unitId'],..._0x5c9fbe[_0x2da6bf]['redoState']}},_0x1d9543=this[_0x4eca16(0x172)][_0x4eca16(0x142)](_0x23b15f,_0x5c27c5,!0x1),_0x400072=this[_0x4eca16(0x172)][_0x4eca16(0x142)](_0x29bbb9,_0x58baa5,!0x1);if(_0x280b1c['isTransformMutationFailure'](_0x1d9543))throw _0x1d9543[_0x4eca16(0x248)];if(_0x280b1c[_0x4eca16(0x1f7)](_0x400072))throw _0x400072[_0x4eca16(0x248)];_0x19d241[_0x4eca16(0x321)]({..._0x5c9fbe[_0x2da6bf],'undoState':_0x1d9543[_0x4eca16(0x2d8)]['params'],'redoState':_0x400072[_0x4eca16(0x2d8)]['params']}),_0x23b15f=_0x1d9543[_0x4eca16(0x3a0)],_0x29bbb9=_0x400072[_0x4eca16(0x3a0)];}this['_docStateChangeManagerService'][_0x4eca16(0x3c1)](_0xb36344,{'history':_0x5a2b2e,'collaboration':_0x19d241});}};_0x349d2b=_0x4437d4([_0x23b494(0x0,_0x4976c9['Inject'](_0x4976c9[_0x2ba232(0x19f)])),_0x23b494(0x1,_0x280b1c[_0x2ba232(0x1e0)]),_0x23b494(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x4f5309['DocStateChangeManagerService']))],_0x349d2b);var _0x4ef68e=Object[_0x2ba232(0x196)],_0x4d8c7d=(_0x405e03,_0x195a9f,_0x856212,_0x5e1d5f)=>{const _0x241a97=_0x2ba232;for(var _0x5ec48b=_0x5e1d5f>0x1?void 0x0:_0x5e1d5f?_0x4ef68e(_0x195a9f,_0x856212):_0x195a9f,_0x12ee58=_0x405e03[_0x241a97(0x16b)]-0x1,_0x53ae4d;_0x12ee58>=0x0;_0x12ee58--)(_0x53ae4d=_0x405e03[_0x12ee58])&&(_0x5ec48b=_0x53ae4d(_0x5ec48b)||_0x5ec48b);return _0x5ec48b;},_0x126c08=(_0x52ad53,_0x40e2ee)=>(_0x1e7e4c,_0xd8d75a)=>_0x40e2ee(_0x1e7e4c,_0xd8d75a,_0x52ad53);let _0xc1ba12=class{constructor(_0x60b444,_0xcfcef1){const _0x1c7d77=_0x2ba232;this['_injector']=_0x60b444,this[_0x1c7d77(0x172)]=_0xcfcef1;}[_0x2ba232(0x385)](_0x3b5795){const _0x44c410=_0x2ba232;var _0x21f6c8;const _0x194c9f=this['_injector'][_0x44c410(0x189)](_0x407a59[_0x44c410(0x1a7)]),_0x55f4c4=(_0x21f6c8=_0x194c9f[_0x44c410(0x173)]())!=null?_0x21f6c8:[];if(_0x55f4c4['length']===0x0)return;const _0x468bdf=_0x3b5795[_0x44c410(0x291)],_0x1b4870=[{'id':_0x44c410(0x1e2),'params':{'unitId':_0x468bdf,'actions':null,'textRanges':_0x55f4c4}}],_0x5971bf=this[_0x44c410(0x172)][_0x44c410(0x3b8)](_0x3b5795,_0x1b4870);if(!_0x280b1c[_0x44c410(0x1e8)](_0x5971bf))throw _0x5971bf[_0x44c410(0x248)];const _0x54322a=_0x5971bf[_0x44c410(0x2d8)][0x0][_0x44c410(0x131)]['textRanges'];Array[_0x44c410(0x16f)](_0x54322a)&&_0x54322a[_0x44c410(0x16b)]&&_0x194c9f[_0x44c410(0x1d7)](_0x54322a,{'unitId':_0x468bdf,'subUnitId':_0x468bdf},!0x1);}};_0xc1ba12=_0x4d8c7d([_0x126c08(0x0,_0x4976c9['Inject'](_0x4976c9[_0x2ba232(0x19f)])),_0x126c08(0x1,_0x280b1c[_0x2ba232(0x1e0)])],_0xc1ba12);var _0x46a302=Object[_0x2ba232(0x196)],_0x3b2fe2=(_0x90f07a,_0x486aa4,_0x4fd690,_0x181743)=>{const _0x11cf81=_0x2ba232;for(var _0x125d15=_0x181743>0x1?void 0x0:_0x181743?_0x46a302(_0x486aa4,_0x4fd690):_0x486aa4,_0x24b93d=_0x90f07a[_0x11cf81(0x16b)]-0x1,_0x4b5bbf;_0x24b93d>=0x0;_0x24b93d--)(_0x4b5bbf=_0x90f07a[_0x24b93d])&&(_0x125d15=_0x4b5bbf(_0x125d15)||_0x125d15);return _0x125d15;},_0x34bf12=(_0x62a507,_0x206680)=>(_0x38d1c4,_0x4da3b2)=>_0x206680(_0x38d1c4,_0x4da3b2,_0x62a507);let _0x408e3d=class extends _0x4976c9[_0x2ba232(0x286)]{constructor(_0x947cf9,_0x5cebd7,_0x2d1758,_0x1da325,_0xea1545,_0x1e5f1e,_0x40518a,_0x1b36e3){const _0x3e0852=_0x2ba232;super(),_0x2a0527(this,'_status$',new _0x1af8d0[(_0x3e0852(0x334))](_0x36b1ab[_0x3e0852(0x32d)][_0x3e0852(0x23f)])),(this['_docStateChangeManagerService']=_0x947cf9,this[_0x3e0852(0x1bf)]=_0x5cebd7,this[_0x3e0852(0x12c)]=_0x2d1758,this['_docTransformStateCacheService']=_0x1da325,this[_0x3e0852(0x1a1)]=_0xea1545,this[_0x3e0852(0x315)]=_0x1e5f1e,this[_0x3e0852(0x2c8)]=_0x40518a,this[_0x3e0852(0x2ae)]=_0x1b36e3,this[_0x3e0852(0x1c1)]());}['_initEntityListener'](){const _0x4f64a6=_0x2ba232;this[_0x4f64a6(0x2a4)](this[_0x4f64a6(0x1bf)][_0x4f64a6(0x151)][_0x4f64a6(0x34b)](_0x24a52d=>{const _0x20d419=_0x4f64a6,_0x250d4d=this[_0x20d419(0x185)][_0x20d419(0x279)][_0x20d419(0x34b)](_0xc846f4=>{const _0x906835=_0x20d419;if(_0xc846f4==null)return;const {unitId:_0x189862,redoState:_0x1002f8,commandId:_0x436c98}=_0xc846f4;if(_0x189862!==_0x24a52d['unitID'])return;const _0x3b4b9e={'id':_0x436c98,'type':_0x4976c9[_0x906835(0x243)][_0x906835(0x302)],'params':{'unitId':_0x189862,'actions':_0x1002f8[_0x906835(0x37d)],'textRanges':null}};_0x24a52d[_0x906835(0x2de)](_0x3b4b9e);});if(_0x24a52d['disposeWithMe'](_0x250d4d),_0x24a52d instanceof _0x36b1ab[_0x20d419(0x2ec)]){const _0x56e268={'onTransformIME':_0x5368ca=>this[_0x20d419(0x12c)][_0x20d419(0x352)](_0x5368ca),'onTransformState':_0x31601e=>this['_docTransformStateCacheService'][_0x20d419(0x1fd)](_0x31601e),'onTransformSelections':_0x399866=>this[_0x20d419(0x1a1)][_0x20d419(0x385)](_0x399866),'onSyncEditingCollabCursor':_0x1c38f2=>this[_0x20d419(0x315)][_0x20d419(0x30a)](_0x1c38f2),'onTransformRemoteChangesetByIMECache':_0x4d689d=>this[_0x20d419(0x12c)][_0x20d419(0x2cd)](_0x4d689d),'onTransformRemoteChangesetByStateCache':_0x1fb86d=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x1fb86d)};_0x24a52d[_0x20d419(0x2c4)](_0x56e268);}}));}};_0x408e3d=_0x3b2fe2([_0x34bf12(0x0,_0x4976c9[_0x2ba232(0x2b9)](_0x4f5309[_0x2ba232(0x2a9)])),_0x34bf12(0x1,_0x4976c9['Inject'](_0x36b1ab[_0x2ba232(0x39e)])),_0x34bf12(0x2,_0x4976c9['Inject'](_0x1266e6)),_0x34bf12(0x3,_0x4976c9['Inject'](_0x349d2b)),_0x34bf12(0x4,_0x4976c9['Inject'](_0xc1ba12)),_0x34bf12(0x5,_0x4976c9[_0x2ba232(0x2b9)](_0x1eca04)),_0x34bf12(0x6,_0x39d563[_0x2ba232(0x253)]),_0x34bf12(0x7,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9['LocaleService']))],_0x408e3d);var _0x1f2358=Object[_0x2ba232(0x196)],_0x1e6376=(_0x4d91a6,_0x587c1e,_0x3ab63c,_0x429d0b)=>{const _0x5932bb=_0x2ba232;for(var _0x46a4ce=_0x429d0b>0x1?void 0x0:_0x429d0b?_0x1f2358(_0x587c1e,_0x3ab63c):_0x587c1e,_0x6abe63=_0x4d91a6[_0x5932bb(0x16b)]-0x1,_0x487282;_0x6abe63>=0x0;_0x6abe63--)(_0x487282=_0x4d91a6[_0x6abe63])&&(_0x46a4ce=_0x487282(_0x46a4ce)||_0x46a4ce);return _0x46a4ce;},_0x595498=(_0x2a4a46,_0x37ce5b)=>(_0x176a57,_0x166f91)=>_0x37ce5b(_0x176a57,_0x166f91,_0x2a4a46);let _0x47dc53=class extends _0x4976c9[_0x2ba232(0x286)]{constructor(_0x1fcba0,_0x45d1bd,_0x1286f2){const _0x23f256=_0x2ba232;super(),_0x2a0527(this,_0x23f256(0x2da),new Map()),_0x2a0527(this,'_saveTaskMap',new Map()),_0x2a0527(this,_0x23f256(0x27f),!0x1),(this[_0x23f256(0x372)]=_0x1fcba0,this['_localStorageService']=_0x45d1bd,this[_0x23f256(0x3b9)]=_0x1286f2);}[_0x2ba232(0x2b3)](){const _0xac91ad=_0x2ba232;this[_0xac91ad(0x27f)]=!0x0;}[_0x2ba232(0x14e)](){this['_disabled']=!0x1;}get[_0x2ba232(0x2df)](){const _0x9aaa70=_0x2ba232;return this[_0x9aaa70(0x12b)];}[_0x2ba232(0x15a)](){const _0xe55e0d=_0x2ba232;this[_0xe55e0d(0x32c)]()[_0xe55e0d(0x39d)](()=>super[_0xe55e0d(0x15a)]());}async[_0x2ba232(0x3b0)](_0x161605){const _0x54d726=_0x2ba232;return this[_0x54d726(0x27f)]?null:this[_0x54d726(0x356)][_0x54d726(0x161)](_0x36b1ab[_0x54d726(0x329)](_0x161605));}async[_0x2ba232(0x1d9)](_0x3e5080,_0x4c0acb){const _0xa861eb=_0x2ba232;return!!this[_0xa861eb(0x356)][_0xa861eb(0x1d1)](_0x3e5080,_0x4c0acb);}['updateOfflineData'](_0x180ab9,_0x57d436,_0x5312b7,_0x4d2ecf){const _0x452088=_0x2ba232,_0x1cfb85=this[_0x452088(0x3b9)]['getCurrentRevOfUnit'](_0x180ab9);this[_0x452088(0x2da)][_0x452088(0x265)](_0x180ab9,{'unitID':_0x180ab9,'type':_0x57d436,'awaitingChangeset':_0x5312b7,'mutations':_0x4d2ecf,'rev':_0x1cfb85}),this[_0x452088(0x12b)]['has'](_0x180ab9)||this[_0x452088(0x1d5)](_0x180ab9);}[_0x2ba232(0x1d5)](_0x3f6138){const _0x6f9c19=_0x2ba232,_0x2ebc9c=this[_0x6f9c19(0x3ab)]();_0x2ebc9c===0x0?this['_saveCache'](_0x3f6138):this[_0x6f9c19(0x12b)]['set'](_0x3f6138,setTimeout(()=>this[_0x6f9c19(0x144)](_0x3f6138),_0x2ebc9c));}[_0x2ba232(0x3ab)](){const _0x4b2bd9=_0x2ba232;var _0x545f98;return(_0x545f98=this[_0x4b2bd9(0x372)][_0x4b2bd9(0x3a1)](_0x36b1ab[_0x4b2bd9(0x2a6)]))!=null?_0x545f98:_0x36b1ab['LOCAL_CACHE_INTERVAL'];}[_0x2ba232(0x144)](_0x58dfa3){const _0xe1d466=_0x2ba232,_0x2579b6=this['_saveTaskMap'][_0xe1d466(0x189)](_0x58dfa3);return _0x2579b6!==void 0x0&&window['clearTimeout'](_0x2579b6),this[_0xe1d466(0x356)][_0xe1d466(0x1d1)](_0x36b1ab['getLocalCacheKey'](_0x58dfa3),this[_0xe1d466(0x2da)][_0xe1d466(0x189)](_0x58dfa3))[_0xe1d466(0x39d)](()=>this[_0xe1d466(0x12b)][_0xe1d466(0x1ab)](_0x58dfa3));}async[_0x2ba232(0x32c)](){const _0x481721=_0x2ba232,_0x425f8e=[];this[_0x481721(0x12b)][_0x481721(0x229)]((_0x125a51,_0x3304d7)=>{const _0x5c571e=_0x481721;window['clearTimeout'](_0x125a51),_0x425f8e[_0x5c571e(0x3c3)](this[_0x5c571e(0x144)](_0x3304d7)['then'](()=>{const _0x7042bf=_0x5c571e;this[_0x7042bf(0x12b)]['delete'](_0x3304d7);}));}),await Promise['all'](_0x425f8e);}};_0x47dc53=_0x1e6376([_0x595498(0x0,_0x4976c9['IConfigService']),_0x595498(0x1,_0x4976c9[_0x2ba232(0x20e)]),_0x595498(0x2,_0x4976c9['Inject'](_0x280b1c[_0x2ba232(0x3a3)]))],_0x47dc53);class _0x47baf9 extends _0x4976c9[_0x2ba232(0x303)]{constructor(){const _0x37fd0e=_0x2ba232;super(),_0x2a0527(this,_0x37fd0e(0x237)),this[_0x37fd0e(0x237)]=_0x1af8d0[_0x37fd0e(0x2fb)](window,_0x37fd0e(0x17b))[_0x37fd0e(0x357)](_0x1af8d0[_0x37fd0e(0x15f)](this[_0x37fd0e(0x322)]),_0x1af8d0['shareReplay'](0x1),_0x1af8d0[_0x37fd0e(0x332)](void 0x0));}[_0x2ba232(0x2be)](_0x34d8ee,_0x4a1793,_0x4b3333=!0x1){const _0x16a8e4=_0x2ba232,_0x13857e=new URL(window[_0x16a8e4(0x192)][_0x16a8e4(0x2c5)]);_0x13857e['searchParams'][_0x16a8e4(0x265)](_0x34d8ee,_0x4a1793),_0x4b3333?window[_0x16a8e4(0x34d)][_0x16a8e4(0x2a3)]('','',_0x13857e[_0x16a8e4(0x283)]()):window[_0x16a8e4(0x34d)][_0x16a8e4(0x39c)]('','',_0x13857e[_0x16a8e4(0x283)]());}[_0x2ba232(0x17f)](_0x3197a0,_0x5b8588=!0x1){const _0x35d44a=_0x2ba232,_0x21d9d4=new URL(window[_0x35d44a(0x192)][_0x35d44a(0x2c5)]);_0x21d9d4[_0x35d44a(0x319)]['delete'](_0x3197a0),_0x5b8588?window[_0x35d44a(0x34d)][_0x35d44a(0x2a3)]('','',_0x21d9d4[_0x35d44a(0x283)]()):window['history']['pushState']('','',_0x21d9d4[_0x35d44a(0x283)]());}['getParam'](_0x136d0e){const _0x19c1c9=_0x2ba232;var _0x292f57;return(_0x292f57=new URL(window[_0x19c1c9(0x192)][_0x19c1c9(0x2c5)])[_0x19c1c9(0x319)][_0x19c1c9(0x189)](_0x136d0e))!=null?_0x292f57:void 0x0;}}var _0xc82817=Object[_0x2ba232(0x381)],_0x1df586=Object[_0x2ba232(0x196)],_0x3dc6ef=(_0x48ad6d,_0x3a2812,_0x32dd7e)=>_0x3a2812 in _0x48ad6d?_0xc82817(_0x48ad6d,_0x3a2812,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32dd7e}):_0x48ad6d[_0x3a2812]=_0x32dd7e,_0x146e50=(_0x2b1cf7,_0x181db1,_0x18315e,_0x10d2e7)=>{for(var _0x4aa232=_0x10d2e7>0x1?void 0x0:_0x10d2e7?_0x1df586(_0x181db1,_0x18315e):_0x181db1,_0x345ae4=_0x2b1cf7['length']-0x1,_0x3f0e15;_0x345ae4>=0x0;_0x345ae4--)(_0x3f0e15=_0x2b1cf7[_0x345ae4])&&(_0x4aa232=_0x3f0e15(_0x4aa232)||_0x4aa232);return _0x4aa232;},_0x3f137f=(_0x592f36,_0x457744)=>(_0x2d1038,_0x25cefa)=>_0x457744(_0x2d1038,_0x25cefa,_0x592f36),_0x42aae6=(_0x11f6dd,_0x410ea1,_0x3eb6a1)=>_0x3dc6ef(_0x11f6dd,_0x410ea1+'',_0x3eb6a1);const _0x3fb16d='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x990236[_0x2ba232(0x1e6)]=class extends _0x4976c9[_0x2ba232(0x1fa)]{constructor(_0x5cd9bb=_0x16e3c7,_0x32f402,_0x2f39d1,_0x19bfcc){const _0xc9b9b3=_0x2ba232;super(),this['_config']=_0x5cd9bb,this['_renderManagerService']=_0x32f402,this['_injector']=_0x2f39d1,this['_configService']=_0x19bfcc;const {..._0x4bb0c8}=_0x4976c9[_0xc9b9b3(0x349)]({},_0x16e3c7,this['_config']);this['_configService'][_0xc9b9b3(0x330)](_0x178377,_0x4bb0c8);}[_0x2ba232(0x2c3)](){const _0x3ada2d=_0x2ba232;this[_0x3ada2d(0x1fe)](),this[_0x3ada2d(0x3aa)]();}[_0x2ba232(0x15c)](){this['_registerRenderDependencies']();}[_0x2ba232(0x1fe)](){const _0x23c594=_0x2ba232;var _0x4cbc1f;const _0x3e1b9e=[[_0x2d77a3],[_0xc1ba12],[_0x1266e6],[_0x349d2b],[_0x1eca04],[_0x47c2f3,{'useClass':_0x47baf9}],[_0x2a9b18[_0x23c594(0x378)],{'useClass':_0x2a9b18[_0x23c594(0x34c)]}],[_0x36b1ab[_0x23c594(0x298)],{'useClass':_0x47dc53}],[_0x990236['DesktopCollaborationStatusDisplayController']],[_0x408e3d],[_0x2b6705],[_0x2c65f1],[_0x4ca2b5],[_0x990236['CollaborationDataLoaderController']]];_0x4976c9[_0x23c594(0x191)](this['_injector'],_0x4976c9[_0x23c594(0x2ce)](_0x3e1b9e,(_0x4cbc1f=this[_0x23c594(0x2f2)])==null?void 0x0:_0x4cbc1f['override']));}[_0x2ba232(0x338)](){const _0x439d9d=_0x2ba232;this[_0x439d9d(0x2a4)](this[_0x439d9d(0x347)][_0x439d9d(0x1cb)](_0x4976c9[_0x439d9d(0x220)][_0x439d9d(0x1be)],[_0x315c12])),this[_0x439d9d(0x2a4)](this[_0x439d9d(0x347)][_0x439d9d(0x1cb)](_0x4976c9[_0x439d9d(0x220)][_0x439d9d(0x1d8)],[_0x603fa4]));}[_0x2ba232(0x3aa)](){const _0x2beec5=_0x2ba232;_0x4976c9[_0x2beec5(0x162)](this['_injector'],[[_0x2c65f1],[_0x990236['DesktopCollaborationStatusDisplayController']],[_0x408e3d],[_0x2b6705],[_0x990236['CollaborationDataLoaderController']]]);}},_0x42aae6(_0x990236[_0x2ba232(0x1e6)],_0x2ba232(0x152),_0x3fb16d),_0x990236[_0x2ba232(0x1e6)]=_0x146e50([_0x4976c9[_0x2ba232(0x2f6)](_0x36b1ab['UniverCollaborationClientPlugin']),_0x3f137f(0x1,_0x5ed3cd[_0x2ba232(0x2d6)]),_0x3f137f(0x2,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9[_0x2ba232(0x19f)])),_0x3f137f(0x3,_0x4976c9[_0x2ba232(0x262)])],_0x990236[_0x2ba232(0x1e6)]);var _0x49057d=Object[_0x2ba232(0x196)],_0x115fa6=(_0x1beef1,_0x5bd46f,_0x373e26,_0x9beea7)=>{const _0x431669=_0x2ba232;for(var _0x4b2b93=_0x9beea7>0x1?void 0x0:_0x9beea7?_0x49057d(_0x5bd46f,_0x373e26):_0x5bd46f,_0x513be7=_0x1beef1[_0x431669(0x16b)]-0x1,_0x16c97d;_0x513be7>=0x0;_0x513be7--)(_0x16c97d=_0x1beef1[_0x513be7])&&(_0x4b2b93=_0x16c97d(_0x4b2b93)||_0x4b2b93);return _0x4b2b93;},_0x4c4b85=(_0x1155ba,_0x403aa6)=>(_0x5cf92b,_0x5ed6dd)=>_0x403aa6(_0x5cf92b,_0x5ed6dd,_0x1155ba);_0x990236[_0x2ba232(0x310)]=class extends _0x36b1ab['CollaborationSocketService']{constructor(_0x11c090,_0x51ffe9,_0x50b393,_0x46ec78,_0x12ba89){super(_0x11c090,_0x51ffe9,_0x50b393,_0x46ec78,_0x12ba89);}async[_0x2ba232(0x327)](_0x109e28){const _0x2b3125=_0x2ba232,_0x2c699b=await this[_0x2b3125(0x353)](),_0x275b4f=this[_0x2b3125(0x22f)](_0x109e28,_0x2c699b);return this[_0x2b3125(0x2ba)](_0x275b4f);}['_createSocketURL'](_0x27baf2,_0x23d833){const _0x514265=_0x2ba232,_0x295dfd=typeof window>'u'?new URL(_0x27baf2):new URL(_0x27baf2,window['location'][_0x514265(0x23a)]);_0x295dfd[_0x514265(0x319)][_0x514265(0x265)](_0x514265(0x284),_0x23d833);const _0x337350=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x514265(0x192)]['search']);return _0x337350['get'](_0x514265(0x2ab))&&_0x295dfd['searchParams'][_0x514265(0x265)](_0x514265(0x2ab),_0x337350['get']('runId')),_0x295dfd[_0x514265(0x283)]();}async[_0x2ba232(0x353)](){const _0x568869=_0x2ba232;var _0x38312d,_0x3804a1,_0x211eca;const _0x851431=this[_0x568869(0x372)][_0x568869(0x3a1)](_0x36b1ab[_0x568869(0x180)]),_0x411d20=(_0x38312d=_0x851431==null?void 0x0:_0x851431[_0x568869(0x205)])!=null?_0x38312d:_0x36b1ab[_0x568869(0x273)];return(_0x211eca=(_0x3804a1=(await this[_0x568869(0x1e4)][_0x568869(0x189)](_0x411d20,{'headers':{'Content-Type':'application/json'}}))[_0x568869(0x3b2)])==null?void 0x0:_0x3804a1['ticket'])!=null?_0x211eca:'';}},_0x990236[_0x2ba232(0x310)]=_0x115fa6([_0x4c4b85(0x0,_0x4976c9[_0x2ba232(0x2b9)](_0x4976c9['Injector'])),_0x4c4b85(0x1,_0x4976c9[_0x2ba232(0x2b9)](_0x2a9b18['HTTPService'])),_0x4c4b85(0x2,_0x4976c9[_0x2ba232(0x262)]),_0x4c4b85(0x3,_0x4976c9[_0x2ba232(0x339)]),_0x4c4b85(0x4,_0x280b1c['ISnapshotServerService'])],_0x990236[_0x2ba232(0x310)]);var _0x302a4a=(_0x10f493=>(_0x10f493[_0x10f493[_0x2ba232(0x328)]=0x0]=_0x2ba232(0x328),_0x10f493[_0x10f493['OK']=0x1]='OK',_0x10f493[_0x10f493['INTERNAL_ERROR']=0x2]=_0x2ba232(0x366),_0x10f493[_0x10f493[_0x2ba232(0x2d9)]=0x3]=_0x2ba232(0x2d9),_0x10f493[_0x10f493[_0x2ba232(0x199)]=0x4]=_0x2ba232(0x199),_0x10f493[_0x10f493[_0x2ba232(0x146)]=0x5]=_0x2ba232(0x146),_0x10f493[_0x10f493[_0x2ba232(0x242)]=0x6]=_0x2ba232(0x242),_0x10f493[_0x10f493[_0x2ba232(0x3bc)]=0x7]=_0x2ba232(0x3bc),_0x10f493[_0x10f493[_0x2ba232(0x233)]=0x8]=_0x2ba232(0x233),_0x10f493[_0x10f493['COMPLETION_FINISHED']=0x9]=_0x2ba232(0x28d),_0x10f493[_0x10f493[_0x2ba232(0x2b6)]=0xa]=_0x2ba232(0x2b6),_0x10f493[_0x10f493[_0x2ba232(0x204)]=0xb]=_0x2ba232(0x204),_0x10f493[_0x10f493[_0x2ba232(0x1fc)]=0xc]=_0x2ba232(0x1fc),_0x10f493[_0x10f493['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x2ba232(0x2bf),_0x10f493[_0x10f493['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x2ba232(0x2d4),_0x10f493[_0x10f493['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2ba232(0x171),_0x10f493[_0x10f493[_0x2ba232(0x358)]=0x1771]=_0x2ba232(0x358),_0x10f493[_0x10f493['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2ba232(0x206),_0x10f493[_0x10f493[_0x2ba232(0x202)]=0x1773]=_0x2ba232(0x202),_0x10f493[_0x10f493[_0x2ba232(0x24f)]=0x1b59]=_0x2ba232(0x24f),_0x10f493[_0x10f493[_0x2ba232(0x145)]=0x1b5a]=_0x2ba232(0x145),_0x10f493[_0x10f493[_0x2ba232(0x359)]=0x1b5b]=_0x2ba232(0x359),_0x10f493[_0x10f493[_0x2ba232(0x300)]=0x1b5c]=_0x2ba232(0x300),_0x10f493[_0x10f493[_0x2ba232(0x18f)]=0x1b5d]=_0x2ba232(0x18f),_0x10f493[_0x10f493[_0x2ba232(0x36c)]=0x1f41]=_0x2ba232(0x36c),_0x10f493[_0x10f493[_0x2ba232(0x37f)]=0x2329]=_0x2ba232(0x37f),_0x10f493[_0x10f493[_0x2ba232(0x277)]=0x232a]=_0x2ba232(0x277),_0x10f493[_0x10f493[_0x2ba232(0x148)]=0x232b]=_0x2ba232(0x148),_0x10f493[_0x10f493[_0x2ba232(0x3a5)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x10f493[_0x10f493['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x10f493[_0x10f493[_0x2ba232(0x2cf)]=0x2711]=_0x2ba232(0x2cf),_0x10f493[_0x10f493[_0x2ba232(0x221)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x10f493[_0x10f493['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x10f493[_0x10f493[_0x2ba232(0x178)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x10f493[_0x10f493[_0x2ba232(0x31b)]=0x271a]=_0x2ba232(0x31b),_0x10f493[_0x10f493[_0x2ba232(0x397)]=0x271b]=_0x2ba232(0x397),_0x10f493[_0x10f493['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x10f493[_0x10f493['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x10f493[_0x10f493['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x2ba232(0x311),_0x10f493[_0x10f493['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2ba232(0x2b5),_0x10f493[_0x10f493['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2ba232(0x23d),_0x10f493[_0x10f493['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x10f493[_0x10f493[_0x2ba232(0x289)]=0x2ee1]=_0x2ba232(0x289),_0x10f493[_0x10f493[_0x2ba232(0x34f)]=0x2ee2]=_0x2ba232(0x34f),_0x10f493[_0x10f493['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2ba232(0x38c),_0x10f493[_0x10f493[_0x2ba232(0x3a7)]=0x2ee4]=_0x2ba232(0x3a7),_0x10f493[_0x10f493[_0x2ba232(0x1f0)]=0x2ee5]=_0x2ba232(0x1f0),_0x10f493[_0x10f493[_0x2ba232(0x360)]=0x32c9]=_0x2ba232(0x360),_0x10f493[_0x10f493[_0x2ba232(0x37c)]=0x32ca]=_0x2ba232(0x37c),_0x10f493[_0x10f493[_0x2ba232(0x25e)]=0x32cb]=_0x2ba232(0x25e),_0x10f493[_0x10f493[_0x2ba232(0x2f0)]=-0x1]=_0x2ba232(0x2f0),_0x10f493))(_0x302a4a||{}),_0x20ab78=Object[_0x2ba232(0x196)],_0x3ff522=(_0x27d6ef,_0x4bd16d,_0x90f811,_0x11c821)=>{const _0x5ee834=_0x2ba232;for(var _0x4474d0=_0x11c821>0x1?void 0x0:_0x11c821?_0x20ab78(_0x4bd16d,_0x90f811):_0x4bd16d,_0x54285a=_0x27d6ef[_0x5ee834(0x16b)]-0x1,_0x143c83;_0x54285a>=0x0;_0x54285a--)(_0x143c83=_0x27d6ef[_0x54285a])&&(_0x4474d0=_0x143c83(_0x4474d0)||_0x4474d0);return _0x4474d0;},_0x705680=(_0x1e9814,_0x115d38)=>(_0x962b1f,_0x469738)=>_0x115d38(_0x962b1f,_0x469738,_0x1e9814);_0x990236[_0x2ba232(0x15b)]=class extends _0x4976c9[_0x2ba232(0x286)]{constructor(_0x7d22a7,_0x41e29b,_0x2ee99f){const _0x32f041=_0x2ba232;super(),this['_instanceService']=_0x7d22a7,this[_0x32f041(0x1e4)]=_0x41e29b,this[_0x32f041(0x372)]=_0x2ee99f;}async[_0x2ba232(0x2b0)](_0x5e8849,_0x55bc97,_0x5f4a5,..._0x7ddb74){const _0x30ed85=_0x2ba232;var _0x267672,_0x258fe0,_0x1ac2e5,_0x41aa7c;const _0x256863=this[_0x30ed85(0x29a)][_0x30ed85(0x26a)]();if(!_0x256863)throw new Error(_0x30ed85(0x382));const _0x5d2a26=((_0x267672=this[_0x30ed85(0x372)]['getConfig'](_0x36b1ab[_0x30ed85(0x126)]))!=null?_0x267672:_0x36b1ab[_0x30ed85(0x197)])+'/'+_0x5e8849+_0x30ed85(0x392)+_0x55bc97,_0x4d0999=new URL(window['location'][_0x30ed85(0x2c5)]),_0x21cfbd={'scriptId':_0x5e8849,'runId':(_0x258fe0=_0x4d0999[_0x30ed85(0x319)][_0x30ed85(0x189)]('runId'))!=null?_0x258fe0:'','function':_0x55bc97,'unitId':_0x256863['getUnitId'](),'argsOfFunction':JSON[_0x30ed85(0x28c)](_0x7ddb74),'invokeId':(_0x1ac2e5=_0x5f4a5[_0x30ed85(0x3a2)])!=null?_0x1ac2e5:'','executionId':(_0x41aa7c=_0x5f4a5[_0x30ed85(0x2d2)])!=null?_0x41aa7c:''};try{const _0x446e55=await this['_httpService'][_0x30ed85(0x22b)](_0x5d2a26,{'body':_0x21cfbd});return _0x446e55[_0x30ed85(0x3b2)][_0x30ed85(0x248)]&&_0x446e55['body']['error'][_0x30ed85(0x399)]!==_0x302a4a['OK']?'Failed':_0x446e55['body'][_0x30ed85(0x2d5)];}catch{return _0x30ed85(0x30c);}}},_0x990236[_0x2ba232(0x15b)]=_0x3ff522([_0x705680(0x0,_0x4976c9[_0x2ba232(0x140)]),_0x705680(0x1,_0x4976c9[_0x2ba232(0x2b9)](_0x2a9b18['HTTPService'])),_0x705680(0x2,_0x4976c9[_0x2ba232(0x262)])],_0x990236[_0x2ba232(0x15b)]);const _0x184526=0x7530,_0x544e63=_0x2ba232(0x222);class _0x13a42f extends _0x4976c9[_0x2ba232(0x286)]{constructor(){const _0x3ac8c1=_0x2ba232;super(),_0x2a0527(this,_0x3ac8c1(0x1ac),_0x4976c9[_0x3ac8c1(0x230)]()),_0x2a0527(this,_0x3ac8c1(0x274),new Set()),_0x2a0527(this,_0x3ac8c1(0x30e),new Map()),_0x2a0527(this,_0x3ac8c1(0x215),null),_0x2a0527(this,_0x3ac8c1(0x3bf),new Map()),_0x2a0527(this,_0x3ac8c1(0x343),new Map()),this['_init']();}[_0x2ba232(0x15a)](){const _0x26fca2=_0x2ba232;super[_0x26fca2(0x15a)](),this[_0x26fca2(0x3bf)][_0x26fca2(0x229)]((_0x2d550e,_0x23cc8b)=>this['_removeClearOtherTimer'](_0x23cc8b)),this['_heartbeatTimer']&&window[_0x26fca2(0x24d)](this['_heartbeatTimer']);}[_0x2ba232(0x376)](_0x4877ad){const _0x13a43b=_0x2ba232;return this[_0x13a43b(0x361)](_0x4877ad)[_0x13a43b(0x357)](_0x1af8d0[_0x13a43b(0x33f)]());}[_0x2ba232(0x276)](_0x4f6f40){const _0x72eb8a=_0x2ba232;this[_0x72eb8a(0x274)][_0x72eb8a(0x351)]===0x0&&this[_0x72eb8a(0x26c)](),this[_0x72eb8a(0x274)][_0x72eb8a(0x25a)](_0x4f6f40),this['_send']({'type':0x0,'memberID':this[_0x72eb8a(0x1ac)],'unitIDs':[_0x4f6f40],'isForwarded':!0x1});}[_0x2ba232(0x32f)](_0x719f6c){const _0x4dbf5c=_0x2ba232;this['_selfUnitIDs']['delete'](_0x719f6c),this[_0x4dbf5c(0x274)][_0x4dbf5c(0x351)]===0x0&&this[_0x4dbf5c(0x215)]&&window[_0x4dbf5c(0x24d)](this['_heartbeatTimer']);}[_0x2ba232(0x21e)](){const _0xd037f7=_0x2ba232;this['disposeWithMe'](_0x4976c9['toDisposable'](_0x1af8d0['fromEvent'](window,_0xd037f7(0x19c))[_0xd037f7(0x34b)](_0x258979=>{const _0x2ed03a=_0xd037f7;if(_0x258979[_0x2ed03a(0x3a8)]!==_0x544e63||!_0x258979[_0x2ed03a(0x227)])return;const _0x2fe741=JSON[_0x2ed03a(0x1e1)](_0x258979[_0x2ed03a(0x227)]);this[_0x2ed03a(0x266)](_0x2fe741);}))),window[_0xd037f7(0x2bd)](_0xd037f7(0x1c2),()=>this['_send']({'type':0x1,'memberID':this[_0xd037f7(0x1ac)],'unitIDs':Array[_0xd037f7(0x128)](this['_selfUnitIDs'])}));}[_0x2ba232(0x266)](_0xdd135){const _0x4f567e=_0x2ba232;switch(_0xdd135[_0x4f567e(0x176)]){case 0x0:this[_0x4f567e(0x1dc)](_0xdd135);break;case 0x1:this['_handleLeaveEvent'](_0xdd135);break;case 0x2:this[_0x4f567e(0x307)](_0xdd135);break;}}[_0x2ba232(0x1dc)](_0x1773fd){const _0x452ad4=_0x2ba232,{unitIDs:_0x425f03,memberID:_0x3d2180,isForwarded:_0x454995}=_0x1773fd;_0x425f03[_0x452ad4(0x229)](_0xc5ff0f=>{const _0x4c05f1=_0x452ad4;if(!_0x454995&&this['_unitOnClients'][_0x4c05f1(0x1f5)](_0xc5ff0f)&&this[_0x4c05f1(0x361)](_0xc5ff0f)[_0x4c05f1(0x249)](_0x36b1ab[_0x4c05f1(0x1a6)][_0x4c05f1(0x3af)]),!this[_0x4c05f1(0x30e)][_0x4c05f1(0x1f5)](_0xc5ff0f)||!this['_unitOnClients']['get'](_0xc5ff0f)[_0x4c05f1(0x1f5)](_0x3d2180)){const _0x2ebc12=this[_0x4c05f1(0x30e)][_0x4c05f1(0x189)](_0xc5ff0f)||new Set();_0x2ebc12[_0x4c05f1(0x25a)](_0x3d2180),this[_0x4c05f1(0x30e)][_0x4c05f1(0x265)](_0xc5ff0f,_0x2ebc12),this[_0x4c05f1(0x371)](_0x3d2180);}}),_0x454995||this[_0x452ad4(0x293)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x452ad4(0x274)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3e4ea7){const _0x417ebf=_0x2ba232;this[_0x417ebf(0x255)](_0x3e4ea7);const _0x576e45=window[_0x417ebf(0x309)](()=>{const _0x30648c=_0x417ebf;this[_0x30648c(0x30e)][_0x30648c(0x229)](_0x192e74=>{const _0x3fb90d=_0x30648c;_0x192e74[_0x3fb90d(0x1ab)](_0x3e4ea7);});},_0x184526*0x2);this[_0x417ebf(0x3bf)]['set'](_0x3e4ea7,_0x576e45);}[_0x2ba232(0x255)](_0x63de9d){const _0x24cf9b=_0x2ba232;if(this[_0x24cf9b(0x3bf)][_0x24cf9b(0x1f5)](_0x63de9d)){const _0x1de3be=this[_0x24cf9b(0x3bf)]['get'](_0x63de9d);_0x1de3be&&window[_0x24cf9b(0x34a)](_0x1de3be),this[_0x24cf9b(0x3bf)][_0x24cf9b(0x265)](_0x63de9d,null);}}[_0x2ba232(0x1cd)](_0x2f653b){const {memberID:_0x3b59c4,unitIDs:_0x2fd6d1}=_0x2f653b;_0x2fd6d1['forEach'](_0x5915a6=>{const _0x297689=_0x4ec8;var _0x11f1aa;const _0x5c361f=this['_unitOnClients']['get'](_0x5915a6);_0x5c361f&&(_0x5c361f[_0x297689(0x1ab)](_0x3b59c4),(_0x11f1aa=this['_ensureSubject'](_0x5915a6))==null||_0x11f1aa['next'](_0x5c361f[_0x297689(0x351)]===0x0?_0x36b1ab['UnitStatus'][_0x297689(0x32e)]:_0x36b1ab[_0x297689(0x1a6)][_0x297689(0x3af)]));}),this['_removeClearOtherTimer'](_0x3b59c4);}[_0x2ba232(0x307)](_0x2caee0){const _0x45bd6d=_0x2ba232;this[_0x45bd6d(0x371)](_0x2caee0[_0x45bd6d(0x1ed)]);}[_0x2ba232(0x293)](_0x132c00){const _0x458443=_0x2ba232;localStorage[_0x458443(0x1d1)](_0x544e63,JSON[_0x458443(0x28c)](_0x132c00));}[_0x2ba232(0x26c)](){const _0x3affc8=_0x2ba232;this['_heartbeatTimer']=window[_0x3affc8(0x394)](()=>{const _0x2fc7c3=_0x3affc8;this[_0x2fc7c3(0x293)]({'type':0x2,'memberID':this[_0x2fc7c3(0x1ac)]});},_0x184526);}[_0x2ba232(0x361)](_0x1e0c26){const _0x2cf68a=_0x2ba232;return this['_unitStatus']['has'](_0x1e0c26)||this['_unitStatus'][_0x2cf68a(0x265)](_0x1e0c26,new _0x1af8d0[(_0x2cf68a(0x334))](_0x36b1ab[_0x2cf68a(0x1a6)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x2cf68a(0x343)][_0x2cf68a(0x189)](_0x1e0c26);}}_0x990236[_0x2ba232(0x213)]=_0x47c2f3,_0x990236[_0x2ba232(0x19e)]=_0x979c74,_0x990236[_0x2ba232(0x167)]=_0x13a42f,_0x990236[_0x2ba232(0x14d)]=_0x47baf9,Object[_0x2ba232(0x381)](_0x990236,Symbol[_0x2ba232(0x275)],{'value':_0x2ba232(0x295)});}));