@univerjs-pro/collaboration-client-ui 0.10.10-nightly.202510170942 → 0.10.10-nightly.202510180327

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(_0x2ad8cc,_0x3a483c){const _0x233389=_0x2982,_0x4a33b9=_0x2ad8cc();while(!![]){try{const _0x421542=-parseInt(_0x233389(0x206))/0x1*(parseInt(_0x233389(0x329))/0x2)+-parseInt(_0x233389(0x3e2))/0x3*(-parseInt(_0x233389(0x325))/0x4)+-parseInt(_0x233389(0x406))/0x5+parseInt(_0x233389(0x4c7))/0x6+parseInt(_0x233389(0x297))/0x7+parseInt(_0x233389(0x443))/0x8+-parseInt(_0x233389(0x2f6))/0x9*(parseInt(_0x233389(0x276))/0xa);if(_0x421542===_0x3a483c)break;else _0x4a33b9['push'](_0x4a33b9['shift']());}catch(_0x543bab){_0x4a33b9['push'](_0x4a33b9['shift']());}}}(_0x5aeb,0x6a7ca),function(_0x339d1b,_0x3528c1){const _0x1e6571=_0x2982;typeof exports==_0x1e6571(0x1f1)&&typeof module<'u'?_0x3528c1(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=='function'&&define[_0x1e6571(0x272)]?define([_0x1e6571(0x1f8),'react/jsx-runtime','@univerjs-pro/collaboration-client',_0x1e6571(0x3fc),_0x1e6571(0x47b),_0x1e6571(0x2d7),_0x1e6571(0x215),_0x1e6571(0x484),_0x1e6571(0x452),'@univerjs/sheets',_0x1e6571(0x270),_0x1e6571(0x368),_0x1e6571(0x26a),_0x1e6571(0x223),_0x1e6571(0x232),'@univerjs/docs',_0x1e6571(0x296),_0x1e6571(0x4a8),_0x1e6571(0x25e)],_0x3528c1):(_0x339d1b=typeof globalThis<'u'?globalThis:_0x339d1b||self,_0x3528c1(_0x339d1b[_0x1e6571(0x481)]={},_0x339d1b[_0x1e6571(0x49d)],_0x339d1b[_0x1e6571(0x426)],_0x339d1b[_0x1e6571(0x3ed)],_0x339d1b['UniverUi'],_0x339d1b[_0x1e6571(0x2d7)],_0x339d1b[_0x1e6571(0x463)],_0x339d1b['React'],_0x339d1b[_0x1e6571(0x337)],_0x339d1b[_0x1e6571(0x2a5)],_0x339d1b['UniverEngineRender'],_0x339d1b[_0x1e6571(0x479)],_0x339d1b[_0x1e6571(0x34a)],_0x339d1b['UniverDrawing'],_0x339d1b[_0x1e6571(0x424)],_0x339d1b['UniverDocs'],_0x339d1b[_0x1e6571(0x3d0)],_0x339d1b[_0x1e6571(0x2d7)][_0x1e6571(0x243)],_0x339d1b[_0x1e6571(0x21d)]));}(this,function(_0x1392ba,_0x440c0b,_0x40b4ee,_0x196dd3,_0x4b5f08,_0x3ca4f2,_0x3c887e,_0x176230,_0x444930,_0x31df37,_0x2e84e0,_0x2cd91f,_0x6cd9fa,_0x3262a3,_0x4993c9,_0x1551f2,_0x1f7f09,_0x870ccf,_0x2a525d){'use strict';const _0x491e29=_0x2982;var _0x278813=Object[_0x491e29(0x33b)],_0x3cad83=(_0x4e2e88,_0x36b248,_0x56d73d)=>_0x36b248 in _0x4e2e88?_0x278813(_0x4e2e88,_0x36b248,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56d73d}):_0x4e2e88[_0x36b248]=_0x56d73d,_0x1cfbec=(_0x32a817,_0x219e98,_0x5b0dc7)=>_0x3cad83(_0x32a817,typeof _0x219e98!=_0x491e29(0x286)?_0x219e98+'':_0x219e98,_0x5b0dc7),_0x3973ee=function(){const _0x77acf1=_0x491e29;return _0x3973ee=Object[_0x77acf1(0x453)]||function(_0x103534){const _0x4b206b=_0x77acf1;for(var _0x419325,_0x176d74=0x1,_0x19847c=arguments[_0x4b206b(0x29f)];_0x176d74<_0x19847c;_0x176d74++){_0x419325=arguments[_0x176d74];for(var _0xb67476 in _0x419325)Object['prototype'][_0x4b206b(0x43b)][_0x4b206b(0x3d4)](_0x419325,_0xb67476)&&(_0x103534[_0xb67476]=_0x419325[_0xb67476]);}return _0x103534;},_0x3973ee[_0x77acf1(0x313)](this,arguments);},_0x37e3d1=function(_0x3041e1,_0x292e43){const _0xe0503b=_0x491e29;var _0x420ecf={};for(var _0x59da75 in _0x3041e1)Object['prototype'][_0xe0503b(0x43b)][_0xe0503b(0x3d4)](_0x3041e1,_0x59da75)&&_0x292e43['indexOf'](_0x59da75)<0x0&&(_0x420ecf[_0x59da75]=_0x3041e1[_0x59da75]);if(_0x3041e1!=null&&typeof Object[_0xe0503b(0x2a1)]==_0xe0503b(0x287)){for(var _0x5916f1=0x0,_0x59da75=Object['getOwnPropertySymbols'](_0x3041e1);_0x5916f1<_0x59da75[_0xe0503b(0x29f)];_0x5916f1++)_0x292e43[_0xe0503b(0x379)](_0x59da75[_0x5916f1])<0x0&&Object[_0xe0503b(0x30c)]['propertyIsEnumerable']['call'](_0x3041e1,_0x59da75[_0x5916f1])&&(_0x420ecf[_0x59da75[_0x5916f1]]=_0x3041e1[_0x59da75[_0x5916f1]]);}return _0x420ecf;},_0x37e77a=_0x176230[_0x491e29(0x382)](function(_0x3a77eb,_0x5a12df){const _0x3efd5b=_0x491e29;var _0x15d437=_0x3a77eb['icon'],_0x18274f=_0x3a77eb['id'],_0x593580=_0x3a77eb[_0x3efd5b(0x3a6)],_0x3c2d55=_0x3a77eb['extend'],_0x27aee3=_0x37e3d1(_0x3a77eb,[_0x3efd5b(0x3c3),'id','className','extend']),_0x41dd0a=_0x3efd5b(0x36f)[_0x3efd5b(0x38c)](_0x18274f,'\x20')[_0x3efd5b(0x38c)](_0x593580||'')[_0x3efd5b(0x3f0)](),_0x390693=_0x176230['useRef']('_'['concat'](_0x526ca1()));return _0x268a50(_0x15d437,''[_0x3efd5b(0x38c)](_0x18274f),{'defIds':_0x15d437[_0x3efd5b(0x3e1)],'idSuffix':_0x390693[_0x3efd5b(0x26b)]},_0x3973ee({'ref':_0x5a12df,'className':_0x41dd0a},_0x27aee3),_0x3c2d55);});function _0x268a50(_0x22c73b,_0x2977e5,_0x537a2d,_0x3f1e0c,_0x4dc547){const _0x29ebb8=_0x491e29;return _0x176230['createElement'](_0x22c73b[_0x29ebb8(0x259)],_0x3973ee(_0x3973ee({'key':_0x2977e5},_0x1099b9(_0x22c73b,_0x537a2d,_0x4dc547)),_0x3f1e0c),(_0x5368fa(_0x22c73b,_0x537a2d)[_0x29ebb8(0x27f)]||[])[_0x29ebb8(0x332)](function(_0x41095f,_0x2a29c3){const _0x596146=_0x29ebb8;return _0x268a50(_0x41095f,''[_0x596146(0x38c)](_0x2977e5,'-')['concat'](_0x22c73b[_0x596146(0x259)],'-')[_0x596146(0x38c)](_0x2a29c3),_0x537a2d,void 0x0,_0x4dc547);}));}function _0x1099b9(_0xca9023,_0x2c3eda,_0x43a95c){const _0x29d7fb=_0x491e29;var _0x1ee05a=_0x3973ee({},_0xca9023['attrs']);_0x43a95c!=null&&_0x43a95c[_0x29d7fb(0x359)]&&_0x1ee05a['fill']===_0x29d7fb(0x359)&&(_0x1ee05a[_0x29d7fb(0x3f4)]=_0x43a95c[_0x29d7fb(0x359)]),_0xca9023[_0x29d7fb(0x259)]===_0x29d7fb(0x213)&&_0x1ee05a['id']&&(_0x1ee05a['id']=_0x1ee05a['id']+_0x2c3eda['idSuffix']),Object['entries'](_0x1ee05a)[_0x29d7fb(0x41e)](function(_0x2947b2){const _0x5ca86b=_0x29d7fb;var _0x495f80=_0x2947b2[0x0],_0x19d6f5=_0x2947b2[0x1];_0x495f80==='mask'&&typeof _0x19d6f5==_0x5ca86b(0x35c)&&(_0x1ee05a[_0x495f80]=_0x19d6f5['replace'](/url\(#(.*)\)/,_0x5ca86b(0x37a)['concat'](_0x2c3eda['idSuffix'],')')));});var _0x4c5db5=_0x2c3eda[_0x29d7fb(0x3e1)];return!_0x4c5db5||_0x4c5db5['length']===0x0||(_0xca9023[_0x29d7fb(0x259)]===_0x29d7fb(0x486)&&_0x1ee05a['xlink:href']&&(_0x1ee05a[_0x29d7fb(0x2c9)]=_0x1ee05a[_0x29d7fb(0x2c9)]+_0x2c3eda[_0x29d7fb(0x3b4)]),Object['entries'](_0x1ee05a)[_0x29d7fb(0x41e)](function(_0xae1b4d){const _0x2ade18=_0x29d7fb;var _0x28debf=_0xae1b4d[0x0],_0x52220c=_0xae1b4d[0x1];typeof _0x52220c==_0x2ade18(0x35c)&&(_0x1ee05a[_0x28debf]=_0x52220c[_0x2ade18(0x39d)](/url\(#(.*)\)/,_0x2ade18(0x37a)[_0x2ade18(0x38c)](_0x2c3eda[_0x2ade18(0x3b4)],')')));})),_0x1ee05a;}function _0x5368fa(_0xf164b1,_0x26cbd3){const _0x4ae50d=_0x491e29;var _0xc4fbd,_0x2eff7b=_0x26cbd3[_0x4ae50d(0x3e1)];return!_0x2eff7b||_0x2eff7b['length']===0x0?_0xf164b1:_0xf164b1['tag']==='defs'&&(!((_0xc4fbd=_0xf164b1[_0x4ae50d(0x27f)])===null||_0xc4fbd===void 0x0)&&_0xc4fbd[_0x4ae50d(0x29f)])?_0x3973ee(_0x3973ee({},_0xf164b1),{'children':_0xf164b1['children'][_0x4ae50d(0x332)](function(_0x38fe52){const _0x3fb16c=_0x4ae50d;return typeof _0x38fe52[_0x3fb16c(0x244)]['id']==_0x3fb16c(0x35c)&&_0x2eff7b&&_0x2eff7b[_0x3fb16c(0x324)](_0x38fe52[_0x3fb16c(0x244)]['id'])?_0x3973ee(_0x3973ee({},_0x38fe52),{'attrs':_0x3973ee(_0x3973ee({},_0x38fe52['attrs']),{'id':_0x38fe52[_0x3fb16c(0x244)]['id']+_0x26cbd3['idSuffix']})}):_0x38fe52;})}):_0xf164b1;}function _0x526ca1(){const _0x25e04e=_0x491e29;return Math[_0x25e04e(0x3ea)]()['toString'](0x24)[_0x25e04e(0x347)](0x2,0x8);}_0x37e77a['displayName']=_0x491e29(0x3ad);var _0x70b3de={'tag':_0x491e29(0x34d),'attrs':{'xmlns':_0x491e29(0x491),'fill':_0x491e29(0x2cc),'viewBox':_0x491e29(0x3f2),'width':_0x491e29(0x3c2),'height':_0x491e29(0x3c2)},'children':[{'tag':'g','attrs':{'clipPath':_0x491e29(0x41d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x491e29(0x3bf),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x491e29(0x3f8),'attrs':{},'children':[{'tag':_0x491e29(0x2a2),'attrs':{'id':_0x491e29(0x242)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x491e29(0x31e)}}]}]}],'defIds':[_0x491e29(0x242)]},_0x11eda9=_0x176230[_0x491e29(0x382)](function(_0x8166d6,_0x1afb8e){const _0x3e60be=_0x491e29;return _0x176230[_0x3e60be(0x492)](_0x37e77a,Object[_0x3e60be(0x453)]({},_0x8166d6,{'id':_0x3e60be(0x250),'ref':_0x1afb8e,'icon':_0x70b3de}));});_0x11eda9[_0x491e29(0x4c3)]=_0x491e29(0x2bd);var _0x44fc8={'tag':_0x491e29(0x34d),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x491e29(0x2cc),'viewBox':_0x491e29(0x247),'width':_0x491e29(0x3c2),'height':_0x491e29(0x3c2)},'children':[{'tag':'g','attrs':{'clipPath':_0x491e29(0x412)},'children':[{'tag':_0x491e29(0x3a8),'attrs':{'stroke':_0x491e29(0x40f),'d':_0x491e29(0x2e7),'strokeLinecap':'round','strokeLinejoin':_0x491e29(0x20d),'strokeWidth':1.2}}]},{'tag':_0x491e29(0x3f8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x491e29(0x315)},'children':[{'tag':'path','attrs':{'fill':_0x491e29(0x240),'d':_0x491e29(0x31e),'transform':_0x491e29(0x3db)}}]}]}],'defIds':[_0x491e29(0x315)]},_0x1381e9=_0x176230['forwardRef'](function(_0x2ff524,_0x1abcb3){const _0x36dab5=_0x491e29;return _0x176230[_0x36dab5(0x492)](_0x37e77a,Object['assign']({},_0x2ff524,{'id':_0x36dab5(0x288),'ref':_0x1abcb3,'icon':_0x44fc8}));});_0x1381e9[_0x491e29(0x4c3)]=_0x491e29(0x441);function _0x647f21(_0x4be931){const _0x19d8dc=_0x491e29;switch(_0x4be931){case _0x40b4ee[_0x19d8dc(0x2fe)]['OFFLINE']:return _0x19d8dc(0x2cd);case _0x40b4ee[_0x19d8dc(0x2fe)]['CONFLICT']:return _0x19d8dc(0x2c2);case _0x40b4ee[_0x19d8dc(0x2fe)][_0x19d8dc(0x4b4)]:return _0x19d8dc(0x483);case _0x40b4ee['CollaborationStatus'][_0x19d8dc(0x410)]:return _0x19d8dc(0x22a);case _0x40b4ee[_0x19d8dc(0x2fe)][_0x19d8dc(0x48a)]:case _0x40b4ee[_0x19d8dc(0x2fe)][_0x19d8dc(0x2f9)]:return _0x19d8dc(0x46d);case _0x40b4ee[_0x19d8dc(0x2fe)][_0x19d8dc(0x35e)]:case _0x40b4ee[_0x19d8dc(0x2fe)][_0x19d8dc(0x48f)]:return _0x19d8dc(0x2bb);}}function _0x200e53(_0x5f4278){const _0x4d3f46=_0x491e29,{status$:_0x1b44cc}=_0x5f4278,_0x255abd=_0x4b5f08['useObservable'](_0x1b44cc,_0x40b4ee[_0x4d3f46(0x2fe)][_0x4d3f46(0x410)]),_0x320451=_0x4b5f08[_0x4d3f46(0x457)](_0x196dd3['LocaleService']),_0x16af8b=_0x4b5f08[_0x4d3f46(0x457)](_0x40b4ee['CollaborationSessionService']),_0x2e3c92=_0x255abd!==_0x40b4ee[_0x4d3f46(0x2fe)][_0x4d3f46(0x261)],_0x551f8c=_0x320451['t'](_0x647f21(_0x255abd)),_0x28ad79=_0x2e3c92?_0x440c0b[_0x4d3f46(0x23b)](_0x1381e9,{}):_0x440c0b[_0x4d3f46(0x23b)](_0x11eda9,{}),_0x1adb6f=_0x176230[_0x4d3f46(0x2f4)](()=>{const _0xb9c808=_0x4d3f46;_0x2e3c92||_0x16af8b[_0xb9c808(0x36c)]();},[_0x2e3c92,_0x16af8b]);function _0x2d5e6a(){const _0x4bb7da=_0x4d3f46;return _0x440c0b[_0x4bb7da(0x4b0)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x1adb6f,'children':[_0x440c0b[_0x4bb7da(0x23b)](_0x4bb7da(0x207),{'className':_0x3c887e['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2e3c92,'univer-text-red-500':!_0x2e3c92}),'children':_0x28ad79}),_0x440c0b['jsx'](_0x4bb7da(0x207),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x551f8c})]});}return _0x2e3c92?_0x2d5e6a():_0x440c0b[_0x4d3f46(0x23b)](_0x3c887e['Tooltip'],{'title':_0x320451['t'](_0x4d3f46(0x3cf)),'children':_0x2d5e6a()});}var _0x306227=Object[_0x491e29(0x258)],_0x5e0762=(_0x41b26c,_0xcdce33,_0x38f60a,_0x137435)=>{const _0x334bca=_0x491e29;for(var _0x258832=_0x137435>0x1?void 0x0:_0x137435?_0x306227(_0xcdce33,_0x38f60a):_0xcdce33,_0x52fb14=_0x41b26c[_0x334bca(0x29f)]-0x1,_0x4b1427;_0x52fb14>=0x0;_0x52fb14--)(_0x4b1427=_0x41b26c[_0x52fb14])&&(_0x258832=_0x4b1427(_0x258832)||_0x258832);return _0x258832;},_0xbfe4b=(_0x3a9526,_0x316579)=>(_0x129d9b,_0x1b8a72)=>_0x316579(_0x129d9b,_0x1b8a72,_0x3a9526);_0x1392ba[_0x491e29(0x4b8)]=class extends _0x196dd3[_0x491e29(0x435)]{constructor(_0x395482,_0x214e9d,_0x50abeb,_0x555cbe){const _0x184d84=_0x491e29;super(),_0x1cfbec(this,_0x184d84(0x460),new _0x3ca4f2['BehaviorSubject'](_0x40b4ee['CollaborationStatus']['NOT_COLLAB'])),(this[_0x184d84(0x2c4)]=_0x395482,this[_0x184d84(0x34c)]=_0x214e9d,this[_0x184d84(0x4b1)]=_0x50abeb,this[_0x184d84(0x425)]=_0x555cbe,this[_0x184d84(0x401)](),this[_0x184d84(0x267)]());}[_0x491e29(0x267)](){const _0x93eba8=_0x491e29;this['disposeWithMe'](this[_0x93eba8(0x2c4)]['focused$'][_0x93eba8(0x3ab)](_0x3ca4f2['switchMap'](()=>{const _0x3adfcf=_0x93eba8,_0x376dd0=this[_0x3adfcf(0x2c4)][_0x3adfcf(0x32a)]();return _0x376dd0?this[_0x3adfcf(0x4b1)][_0x3adfcf(0x41a)](_0x376dd0['getUnitId']()):_0x3ca4f2['of'](null);}),_0x3ca4f2[_0x93eba8(0x456)](_0x3ecaee=>_0x3ecaee?_0x3ecaee[_0x93eba8(0x279)]:_0x3ca4f2['of'](_0x40b4ee[_0x93eba8(0x2fe)][_0x93eba8(0x410)])))[_0x93eba8(0x37e)](_0x49e33b=>{const _0x15a1cd=_0x93eba8;this[_0x15a1cd(0x460)]['next'](_0x49e33b);}));}['_initStatusComponent'](){const _0x7eb04e=_0x491e29;this[_0x7eb04e(0x36b)](this[_0x7eb04e(0x425)][_0x7eb04e(0x2fd)](_0x4b5f08[_0x7eb04e(0x477)][_0x7eb04e(0x2c3)],()=>_0x4b5f08['connectInjector'](_0x208037({'status$':this['_status$'][_0x7eb04e(0x234)]()}),this[_0x7eb04e(0x34c)])));}},_0x1392ba[_0x491e29(0x4b8)]=_0x5e0762([_0xbfe4b(0x0,_0x196dd3['IUniverInstanceService']),_0xbfe4b(0x1,_0x196dd3[_0x491e29(0x494)](_0x196dd3[_0x491e29(0x3bc)])),_0xbfe4b(0x2,_0x196dd3[_0x491e29(0x494)](_0x40b4ee[_0x491e29(0x231)])),_0xbfe4b(0x3,_0x4b5f08[_0x491e29(0x271)])],_0x1392ba[_0x491e29(0x4b8)]);function _0x208037(_0x44da1b){const {status$:_0x7f3755}=_0x44da1b;return function(){const _0x595234=_0x2982;return _0x440c0b[_0x595234(0x23b)](_0x200e53,{'status$':_0x7f3755});};}const _0x5c621d=_0x196dd3['createIdentifier']('uni.network.url-service');var _0x4c4aee=Object[_0x491e29(0x258)],_0x1cb890=(_0x1794aa,_0x449647,_0x538419,_0x12f197)=>{const _0x52d49d=_0x491e29;for(var _0xf8539a=_0x12f197>0x1?void 0x0:_0x12f197?_0x4c4aee(_0x449647,_0x538419):_0x449647,_0x2f0541=_0x1794aa[_0x52d49d(0x29f)]-0x1,_0xfade1;_0x2f0541>=0x0;_0x2f0541--)(_0xfade1=_0x1794aa[_0x2f0541])&&(_0xf8539a=_0xfade1(_0xf8539a)||_0xf8539a);return _0xf8539a;},_0x47b909=(_0x58907e,_0x13ca9c)=>(_0x4baa66,_0x29e994)=>_0x13ca9c(_0x4baa66,_0x29e994,_0x58907e);_0x1392ba[_0x491e29(0x322)]=class extends _0x196dd3[_0x491e29(0x393)]{constructor(_0x307cb8,_0x11911a,_0x3fe01e,_0x3b20a0,_0xdf43d2){const _0x507d5b=_0x491e29;super(),this['_urlService']=_0x307cb8,this[_0x507d5b(0x3d8)]=_0x11911a,this[_0x507d5b(0x409)]=_0x3fe01e,this[_0x507d5b(0x3bb)]=_0x3b20a0,_0xdf43d2?_0xdf43d2==null||_0xdf43d2['whenReady']()[_0x507d5b(0x374)](()=>this[_0x507d5b(0x316)]()):(this['_logService'][_0x507d5b(0x33a)](_0x507d5b(0x375),_0x507d5b(0x455)),this[_0x507d5b(0x316)]());}async[_0x491e29(0x316)](){const _0x12bd37=_0x491e29,_0x34ca1c=this['_urlService'][_0x12bd37(0x497)](_0x12bd37(0x25d)),_0xdb135b=this[_0x12bd37(0x27a)][_0x12bd37(0x497)](_0x12bd37(0x239)),_0x334a46=this[_0x12bd37(0x27a)]['getParam'](_0x12bd37(0x2b1));if(!_0x34ca1c||!_0xdb135b){this[_0x12bd37(0x3d8)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4f1ac3=await this[_0x12bd37(0x3bb)]['loadUnit'](_0x34ca1c,Number(_0xdb135b),_0x334a46);_0x4f1ac3&&_0x4f1ac3 instanceof _0x196dd3['Workbook']&&this['_setupSubUnitSync'](_0x4f1ac3);}async['_setupSubUnitSync'](_0x48b80e){const _0x15fcac=_0x491e29;await this['_updateSubUnitFromURLParams'](_0x48b80e),_0x48b80e[_0x15fcac(0x309)][_0x15fcac(0x3ab)](_0x3ca4f2[_0x15fcac(0x371)](this[_0x15fcac(0x4ba)]))['subscribe'](_0x1ba519=>{_0x1ba519&&this['_updateURLWithCurrentState'](_0x1ba519);}),this['_urlService'][_0x15fcac(0x280)][_0x15fcac(0x3ab)](_0x3ca4f2['takeUntil'](this[_0x15fcac(0x4ba)]))[_0x15fcac(0x37e)](()=>this[_0x15fcac(0x30b)](_0x48b80e));}[_0x491e29(0x27d)](_0x4f66ab,_0x4a11df=!0x1){const _0x34c6bb=_0x491e29,_0x274f0f=this[_0x34c6bb(0x27a)][_0x34c6bb(0x497)](_0x34c6bb(0x2b1));_0x4f66ab[_0x34c6bb(0x2d8)]()!==_0x274f0f&&this[_0x34c6bb(0x27a)]['setParam'](_0x34c6bb(0x2b1),_0x4f66ab[_0x34c6bb(0x2d8)](),_0x4a11df);}async['_updateSubUnitFromURLParams'](_0x22a9aa){const _0x1f1c3c=_0x491e29;var _0x5e3f5d;const _0x5eecb7=this[_0x1f1c3c(0x27a)][_0x1f1c3c(0x497)]('subunit');if(!_0x5eecb7||!_0x22a9aa[_0x1f1c3c(0x20a)](_0x5eecb7)){const _0x6dca52=_0x22a9aa[_0x1f1c3c(0x2aa)]()[0x0],_0x41333d=_0x22a9aa[_0x1f1c3c(0x20a)](_0x6dca52);if(!_0x41333d)return;this['_updateURLWithCurrentState'](_0x41333d,!0x0),await this[_0x1f1c3c(0x409)][_0x1f1c3c(0x3d5)](_0x31df37[_0x1f1c3c(0x380)]['id'],{'unitId':_0x22a9aa[_0x1f1c3c(0x41f)](),'subUnitId':_0x6dca52});return;}((_0x5e3f5d=_0x22a9aa[_0x1f1c3c(0x301)]())==null?void 0x0:_0x5e3f5d[_0x1f1c3c(0x2d8)]())!==_0x5eecb7&&await this[_0x1f1c3c(0x409)][_0x1f1c3c(0x3d5)](_0x31df37[_0x1f1c3c(0x380)]['id'],{'unitId':_0x22a9aa[_0x1f1c3c(0x41f)](),'subUnitId':_0x5eecb7});}},_0x1392ba['CollaborationDataLoaderController']=_0x1cb890([_0x47b909(0x0,_0x5c621d),_0x47b909(0x1,_0x196dd3[_0x491e29(0x433)]),_0x47b909(0x2,_0x196dd3['ICommandService']),_0x47b909(0x3,_0x196dd3['Inject'](_0x40b4ee[_0x491e29(0x33c)])),_0x47b909(0x4,_0x196dd3[_0x491e29(0x342)](_0x444930[_0x491e29(0x235)]))],_0x1392ba[_0x491e29(0x322)]);var _0x391bf5=Object[_0x491e29(0x258)],_0x4dcd3d=(_0x30c0ea,_0x49e9a9,_0x1f047e,_0x3f4ac9)=>{const _0x2ae3d0=_0x491e29;for(var _0x3ae20d=_0x3f4ac9>0x1?void 0x0:_0x3f4ac9?_0x391bf5(_0x49e9a9,_0x1f047e):_0x49e9a9,_0x31e822=_0x30c0ea[_0x2ae3d0(0x29f)]-0x1,_0x2ac802;_0x31e822>=0x0;_0x31e822--)(_0x2ac802=_0x30c0ea[_0x31e822])&&(_0x3ae20d=_0x2ac802(_0x3ae20d)||_0x3ae20d);return _0x3ae20d;},_0x3013b0=(_0x494bb0,_0x5deba3)=>(_0x4c61c0,_0x4df745)=>_0x5deba3(_0x4c61c0,_0x4df745,_0x494bb0);let _0x1df0f8=class extends _0x196dd3[_0x491e29(0x393)]{constructor(_0x55c1d0,_0x4ad029){const _0x2d4665=_0x491e29;super(),this[_0x2d4665(0x467)]=_0x55c1d0,this[_0x2d4665(0x417)]=_0x4ad029,this['_init']();}[_0x491e29(0x316)](){const _0x202442=_0x491e29,_0x942d29=this;this[_0x202442(0x36b)](this['_docClipboardService'][_0x202442(0x30f)]({'onBeforePasteImage':async _0x5b0cc4=>{const _0x3453e0=_0x202442,_0x4a9d2e=await _0x942d29[_0x3453e0(0x417)][_0x3453e0(0x30e)](_0x5b0cc4);return _0x4a9d2e?{'source':_0x4a9d2e[_0x3453e0(0x37f)],'imageSourceType':_0x4a9d2e[_0x3453e0(0x306)]}:null;}}));}};_0x1df0f8=_0x4dcd3d([_0x3013b0(0x0,_0x6cd9fa[_0x491e29(0x352)]),_0x3013b0(0x1,_0x3262a3[_0x491e29(0x394)])],_0x1df0f8);const _0x59a9bb=[_0x491e29(0x429),_0x491e29(0x248),'green.600',_0x491e29(0x421),_0x491e29(0x2fc),_0x491e29(0x2de)];class _0x57582a extends _0x196dd3[_0x491e29(0x435)]{constructor(){const _0x2eb68f=_0x491e29;super(...arguments),_0x1cfbec(this,_0x2eb68f(0x3d3),new Map()),_0x1cfbec(this,_0x2eb68f(0x49a),0x0);}[_0x491e29(0x1f7)](_0x3ede2e){const _0x310290=_0x491e29;if(this[_0x310290(0x3d3)]['has'](_0x3ede2e))return this[_0x310290(0x3d3)][_0x310290(0x48e)](_0x3ede2e);const _0x13fa2f=_0x59a9bb[this[_0x310290(0x49a)]];return this['_colorIndex']=(this[_0x310290(0x49a)]+0x1)%_0x59a9bb['length'],this['_assignedColors'][_0x310290(0x3b9)](_0x3ede2e,_0x13fa2f),_0x13fa2f;}}function _0x3126ae(_0xd8146a){const _0x27f05a=_0x491e29;let _0x559b76='';for(const _0x1b2c1f of _0xd8146a){const {startOffset:_0x4b3c77,endOffset:_0x31c502,isActive:_0x5bdf7c,rangeType:_0x1aefc4,segmentId:_0x5d5387,segmentPage:_0x1da247}=_0x1b2c1f;_0x559b76[_0x27f05a(0x29f)]&&(_0x559b76+=','),_0x559b76+=_0x4b3c77+':'+_0x31c502+':'+(_0x5bdf7c?'1':'0')+':'+_0x1aefc4+':'+_0x5d5387+':'+_0x1da247;}return _0x559b76;}function _0xf3e85c(_0x1987ed){const _0x393d13=_0x491e29,_0x23faab=_0x1987ed['split'](','),_0x1c6d27=[];for(const _0x39018c of _0x23faab){const [_0x3b7e56,_0x1b0e1d,_0x1ca3ca,_0x5acfaf,_0x43acb8,_0x46a764]=_0x39018c['split'](':');_0x1c6d27[_0x393d13(0x2be)]({'startOffset':Number(_0x3b7e56),'endOffset':Number(_0x1b0e1d),'collapsed':_0x3b7e56===_0x1b0e1d,'isActive':_0x1ca3ca==='1','rangeType':_0x5acfaf===_0x196dd3[_0x393d13(0x285)][_0x393d13(0x4bd)]?_0x196dd3[_0x393d13(0x285)][_0x393d13(0x4bd)]:_0x196dd3['DOC_RANGE_TYPE'][_0x393d13(0x480)],'segmentId':typeof _0x43acb8==_0x393d13(0x35c)?String(_0x43acb8):'','segmentPage':Number(_0x46a764!=null?_0x46a764:-0x1)});}return _0x1c6d27['some'](_0x411380=>_0x411380[_0x393d13(0x41c)])||(_0x1c6d27[0x0][_0x393d13(0x41c)]=!0x0),_0x1c6d27;}class _0x45d280 extends _0x196dd3[_0x491e29(0x393)]{constructor(){const _0x346aeb=_0x491e29;super(...arguments),_0x1cfbec(this,_0x346aeb(0x358),new _0x3ca4f2[(_0x346aeb(0x373))](null)),_0x1cfbec(this,'collabCursorState$',this[_0x346aeb(0x358)][_0x346aeb(0x234)]());}[_0x491e29(0x32b)](_0x26e7bd){const _0x39957a=_0x491e29,{unitID:_0xe513c5,memberID:_0x43ccf5,textRanges:_0x5c4cb1}=_0x26e7bd,_0x4e3310=_0x3126ae(_0x5c4cb1);if(_0x4e3310==='')return;const _0x9e8262={'unitID':_0xe513c5,'memberID':_0x43ccf5,'selection':_0x4e3310};this[_0x39957a(0x358)][_0x39957a(0x422)](_0x9e8262);}}var _0x39cc71=Object[_0x491e29(0x258)],_0x3574f0=(_0x46709e,_0x54ca02,_0x5e3e5b,_0xb2c050)=>{for(var _0x4a93df=_0xb2c050>0x1?void 0x0:_0xb2c050?_0x39cc71(_0x54ca02,_0x5e3e5b):_0x54ca02,_0x220f96=_0x46709e['length']-0x1,_0x71dcbb;_0x220f96>=0x0;_0x220f96--)(_0x71dcbb=_0x46709e[_0x220f96])&&(_0x4a93df=_0x71dcbb(_0x4a93df)||_0x4a93df);return _0x4a93df;},_0x4b4152=(_0x42c307,_0x52b7b7)=>(_0x44a84c,_0x4d0f93)=>_0x52b7b7(_0x44a84c,_0x4d0f93,_0x42c307);const _0x66bd03=0x12c,_0x613fbf=0x64;let _0x189bf3=class extends _0x196dd3[_0x491e29(0x393)]{constructor(_0xca2b72,_0x57d063,_0x1027f7,_0x6679d4,_0x56c8d6,_0xad0a9e,_0x3c931b,_0xfc7e68,_0x93278){const _0x2b0fec=_0x491e29;super(),_0x1cfbec(this,_0x2b0fec(0x2b6),!0x1),_0x1cfbec(this,_0x2b0fec(0x316),!0x1),_0x1cfbec(this,_0x2b0fec(0x345),new _0x3ca4f2[(_0x2b0fec(0x373))](new Map())),_0x1cfbec(this,_0x2b0fec(0x43a),this['_cursorInfo$']['asObservable']()),_0x1cfbec(this,_0x2b0fec(0x2da),new _0x3ca4f2[(_0x2b0fec(0x373))]([])),_0x1cfbec(this,_0x2b0fec(0x40e),this['_roomMembers$']['pipe'](_0x3ca4f2[_0x2b0fec(0x369)](_0x66bd03))),_0x1cfbec(this,_0x2b0fec(0x47f),_0x196dd3[_0x2b0fec(0x27b)](_0x1cdaec=>{const _0x518eb2=_0x2b0fec,_0x402cce={'eventID':_0x4993c9[_0x518eb2(0x264)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x518eb2(0x2ef)],'memberID':this[_0x518eb2(0x3de)]['getMemberID'](),'selection':_0x3126ae(_0x1cdaec)}};this[_0x518eb2(0x3de)]['send'](_0x402cce,this[_0x518eb2(0x2ef)]);},_0x613fbf)),(this[_0x2b0fec(0x2ef)]=_0xca2b72,this[_0x2b0fec(0x3de)]=_0x57d063,this['_injector']=_0x1027f7,this['_colorAssignService']=_0x6679d4,this[_0x2b0fec(0x265)]=_0x56c8d6,this[_0x2b0fec(0x4b5)]=_0xad0a9e,this[_0x2b0fec(0x3e3)]=_0x3c931b,this['_univerInstanceService']=_0xfc7e68,this['_commandService']=_0x93278);}get[_0x491e29(0x360)](){const _0x359e09=_0x491e29;return this[_0x359e09(0x345)][_0x359e09(0x49e)]();}get[_0x491e29(0x1f2)](){return this['_roomMembers$']['getValue']();}[_0x491e29(0x205)](){const _0x23c470=_0x491e29;super[_0x23c470(0x205)](),this[_0x23c470(0x345)][_0x23c470(0x422)](new Map()),this['_cursorInfo$'][_0x23c470(0x2b2)](),this[_0x23c470(0x2da)][_0x23c470(0x422)]([]),this[_0x23c470(0x2da)]['complete']();}['init'](){const _0x41287c=_0x491e29;this[_0x41287c(0x316)]||(this['_init']=!0x0,this['_session'][_0x41287c(0x4c4)][_0x41287c(0x3ab)](_0x3ca4f2[_0x41287c(0x371)](this['dispose$']))[_0x41287c(0x37e)](_0x15b068=>{const _0x59f8ff=_0x41287c;_0x15b068===_0x40b4ee[_0x59f8ff(0x28d)][_0x59f8ff(0x330)]?this[_0x59f8ff(0x3f1)]():this['_toggleOffline']();}),this[_0x41287c(0x3de)][_0x41287c(0x4b7)][_0x41287c(0x3ab)](_0x3ca4f2[_0x41287c(0x371)](this[_0x41287c(0x4ba)]))['subscribe'](_0x613f9b=>{const _0x4a8f88=_0x41287c,_0x482fa4=_0x613f9b[_0x4a8f88(0x404)];_0x482fa4===_0x4993c9[_0x4a8f88(0x264)][_0x4a8f88(0x403)]&&this[_0x4a8f88(0x2ba)](_0x613f9b),_0x482fa4===_0x4993c9['CollaborationEvent'][_0x4a8f88(0x22e)]&&this['_onCursorDelete'](_0x613f9b);}),this[_0x41287c(0x36b)](this['_commandService'][_0x41287c(0x2d6)](_0xc121bc=>{const _0x5a2ebb=_0x41287c,_0x7d5a56=_0xc121bc[_0x5a2ebb(0x2c7)];_0x7d5a56!=null&&this['_online']&&_0xc121bc['id']===_0x1551f2[_0x5a2ebb(0x3c1)]['id']&&_0x7d5a56['unitId']===this[_0x5a2ebb(0x2ef)]&&_0x7d5a56[_0x5a2ebb(0x4ae)]===!0x1&&_0x7d5a56['ranges'][_0x5a2ebb(0x29f)]>0x0&&this[_0x5a2ebb(0x47f)](_0x7d5a56['ranges']);})),this[_0x41287c(0x4b5)][_0x41287c(0x3af)][_0x41287c(0x3ab)](_0x3ca4f2[_0x41287c(0x371)](this['dispose$']))[_0x41287c(0x37e)](_0x1a3122=>{const _0x4807a4=_0x41287c;if((_0x1a3122==null?void 0x0:_0x1a3122[_0x4807a4(0x2ef)])!==this[_0x4807a4(0x2ef)])return;const _0x56acb0={'eventID':_0x4993c9[_0x4807a4(0x264)][_0x4807a4(0x403)],'data':_0x1a3122};this[_0x4807a4(0x2ba)](_0x56acb0);}),this[_0x41287c(0x36b)](this[_0x41287c(0x409)][_0x41287c(0x2d6)](_0x4ad9af=>{const _0x4aebe8=_0x41287c;if(_0x4ad9af['params']==null)return;const _0x5f2dc6=_0x4ad9af[_0x4aebe8(0x2c7)];if(_0x4ad9af['id']!==_0x1551f2[_0x4aebe8(0x3ca)]['id']||_0x5f2dc6['unitId']!==this[_0x4aebe8(0x2ef)])return;const _0x674577={'id':_0x4aebe8(0x3eb),'params':_0x5f2dc6},_0x42d6cb=this[_0x4aebe8(0x360)];for(const [_0x102416,_0x21f798]of _0x42d6cb){const _0x1d8b28={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4aebe8(0x2ef)],'actions':null,'textRanges':_0x21f798['ranges']}},_0x4c609a=this[_0x4aebe8(0x3e3)][_0x4aebe8(0x45a)](_0x674577,_0x1d8b28,!0x1);if(_0x4993c9[_0x4aebe8(0x36d)](_0x4c609a))throw _0x4c609a['error'];_0x42d6cb['set'](_0x102416,{..._0x21f798,'ranges':_0x4c609a[_0x4aebe8(0x29a)][_0x4aebe8(0x2c7)]['textRanges']});}queueMicrotask(()=>{const _0xa7ce20=_0x4aebe8;this[_0xa7ce20(0x345)]['next'](_0x42d6cb);});})));}[_0x491e29(0x2ba)](_0x439206){const _0x1a5043=_0x491e29;var _0xfc1b04,_0x48d1d5;const {memberID:_0x2923ea,selection:_0x44daa3}=_0x439206[_0x1a5043(0x47e)],_0x49bfd1=_0xf3e85c(_0x44daa3),_0xfebf46=(_0x48d1d5=(_0xfc1b04=this[_0x1a5043(0x265)]['getMember'](this[_0x1a5043(0x2ef)],_0x2923ea))==null?void 0x0:_0xfc1b04[_0x1a5043(0x419)])!=null?_0x48d1d5:_0x1a5043(0x310),_0x5b0a1e={'color':this[_0x1a5043(0x28c)][_0x1a5043(0x1f7)](_0x2923ea),'name':_0xfebf46,'ranges':_0x49bfd1},_0x20d4e5=this[_0x1a5043(0x360)];_0x20d4e5[_0x1a5043(0x3b9)](_0x2923ea,_0x5b0a1e),this['_cursorInfo$'][_0x1a5043(0x422)](_0x20d4e5);}[_0x491e29(0x216)](_0x577dc1){const _0x469292=_0x491e29,{memberID:_0x10ddea}=_0x577dc1[_0x469292(0x47e)],_0x27dbf4=this['cursorInfo'];_0x27dbf4[_0x469292(0x340)](_0x10ddea),this['_cursorInfo$'][_0x469292(0x422)](_0x27dbf4);}[_0x491e29(0x3f1)](){const _0x224786=_0x491e29;var _0xbbd957;if(this['_online']=!0x0,((_0xbbd957=this[_0x224786(0x2c4)]['getFocusedUnit']())==null?void 0x0:_0xbbd957[_0x224786(0x41f)]())!==this[_0x224786(0x2ef)])return;const _0x4419d9=this[_0x224786(0x34c)]['get'](_0x1551f2[_0x224786(0x3e9)])[_0x224786(0x440)]();Array[_0x224786(0x208)](_0x4419d9)&&_0x4419d9[_0x224786(0x29f)]>0x0&&this['_updateLocalCursor'](_0x4419d9);}['_toggleOffline'](){const _0x4cc254=_0x491e29;this[_0x4cc254(0x2b6)]=!0x1;}};_0x189bf3=_0x3574f0([_0x4b4152(0x2,_0x196dd3['Inject'](_0x196dd3[_0x491e29(0x3bc)])),_0x4b4152(0x3,_0x196dd3[_0x491e29(0x494)](_0x57582a)),_0x4b4152(0x4,_0x196dd3[_0x491e29(0x494)](_0x40b4ee[_0x491e29(0x233)])),_0x4b4152(0x5,_0x196dd3[_0x491e29(0x494)](_0x45d280)),_0x4b4152(0x6,_0x4993c9[_0x491e29(0x304)]),_0x4b4152(0x7,_0x196dd3[_0x491e29(0x36a)]),_0x4b4152(0x8,_0x196dd3[_0x491e29(0x2ff)])],_0x189bf3);var _0xe2aac7=Object['getOwnPropertyDescriptor'],_0x5c5ba4=(_0xe8af9d,_0x1a8ded,_0x1b6cdb,_0x576788)=>{const _0x54cda5=_0x491e29;for(var _0x8a932=_0x576788>0x1?void 0x0:_0x576788?_0xe2aac7(_0x1a8ded,_0x1b6cdb):_0x1a8ded,_0x39e31c=_0xe8af9d[_0x54cda5(0x29f)]-0x1,_0x288269;_0x39e31c>=0x0;_0x39e31c--)(_0x288269=_0xe8af9d[_0x39e31c])&&(_0x8a932=_0x288269(_0x8a932)||_0x8a932);return _0x8a932;},_0x34b674=(_0x4b42c4,_0x1680ab)=>(_0x26b82f,_0x5a081c)=>_0x1680ab(_0x26b82f,_0x5a081c,_0x4b42c4);const _0x919a3f=0x12c,_0x3fd9fa=0x64,_0x12f91e=()=>{let _0x28e0f7=[],_0x534a97=!0x1;return _0x471d40=>{const _0x4af8db=_0x2982;_0x28e0f7[_0x4af8db(0x2be)](_0x471d40),_0x534a97||(_0x534a97=!0x0,setTimeout(()=>{const _0x4e6307=_0x4af8db;_0x28e0f7[_0x4e6307(0x41e)](_0x492ac7=>_0x492ac7()),_0x28e0f7=[],_0x534a97=!0x1;}));};};let _0x1271f9=class extends _0x196dd3[_0x491e29(0x393)]{constructor(_0x122bf9,_0x47b42a,_0x1e74ee,_0x15246e,_0x36363f,_0x3bfac3,_0x115ec2,_0x1c70f5){const _0x551169=_0x491e29;super(),_0x1cfbec(this,_0x551169(0x2b6),!0x1),_0x1cfbec(this,'_init',!0x1),_0x1cfbec(this,_0x551169(0x345),new _0x3ca4f2[(_0x551169(0x373))](new Map())),_0x1cfbec(this,'cursorInfo$',this[_0x551169(0x345)]['asObservable']()),_0x1cfbec(this,_0x551169(0x2da),new _0x3ca4f2[(_0x551169(0x373))]([])),_0x1cfbec(this,'roomMembers$',this[_0x551169(0x2da)][_0x551169(0x3ab)](_0x3ca4f2[_0x551169(0x369)](_0x919a3f))),_0x1cfbec(this,'_updateLocalCursor',_0x196dd3[_0x551169(0x27b)]((_0x3a9c44,_0x272423)=>{const _0x315e4d=_0x551169,_0x19c3e3={'eventID':_0x4993c9['CollaborationEvent'][_0x315e4d(0x403)],'data':{'unitID':this[_0x315e4d(0x2ef)],'memberID':this['_session'][_0x315e4d(0x46a)](),'selection':_0x1f7f09[_0x315e4d(0x3b3)](_0x3a9c44,_0x272423[_0x315e4d(0x464)])}};this[_0x315e4d(0x3de)][_0x315e4d(0x23d)](_0x19c3e3,this[_0x315e4d(0x2ef)]);},_0x3fd9fa)),(this[_0x551169(0x2ef)]=_0x122bf9,this['_session']=_0x47b42a,this[_0x551169(0x34c)]=_0x1e74ee,this[_0x551169(0x28c)]=_0x15246e,this[_0x551169(0x265)]=_0x36363f,this['_univerInstanceService']=_0x3bfac3,this[_0x551169(0x409)]=_0x115ec2,this['_refRangeService']=_0x1c70f5);}get[_0x491e29(0x360)](){const _0x3a6656=_0x491e29;return this[_0x3a6656(0x345)][_0x3a6656(0x49e)]();}get[_0x491e29(0x1f2)](){const _0x185f7f=_0x491e29;return this[_0x185f7f(0x2da)][_0x185f7f(0x49e)]();}[_0x491e29(0x205)](){const _0x5cbfba=_0x491e29;super['dispose'](),this[_0x5cbfba(0x345)]['next'](new Map()),this[_0x5cbfba(0x345)][_0x5cbfba(0x2b2)](),this[_0x5cbfba(0x2da)][_0x5cbfba(0x422)]([]),this[_0x5cbfba(0x2da)][_0x5cbfba(0x2b2)]();}['init'](){const _0x4724a5=_0x491e29;this[_0x4724a5(0x316)]||(this['_init']=!0x0,this[_0x4724a5(0x3de)][_0x4724a5(0x4c4)][_0x4724a5(0x3ab)](_0x3ca4f2[_0x4724a5(0x371)](this['dispose$']))[_0x4724a5(0x37e)](_0x49201e=>{const _0x1d482b=_0x4724a5;_0x49201e===_0x40b4ee[_0x1d482b(0x28d)][_0x1d482b(0x330)]?this[_0x1d482b(0x3f1)]():this[_0x1d482b(0x1fa)]();}),this['_session'][_0x4724a5(0x4b7)][_0x4724a5(0x3ab)](_0x3ca4f2[_0x4724a5(0x371)](this[_0x4724a5(0x4ba)]))[_0x4724a5(0x37e)](_0x1a30d5=>{const _0x55817e=_0x4724a5,_0x35150f=_0x1a30d5['eventID'];_0x35150f===_0x4993c9[_0x55817e(0x264)][_0x55817e(0x403)]&&this[_0x55817e(0x2ba)](_0x1a30d5),_0x35150f===_0x4993c9[_0x55817e(0x264)][_0x55817e(0x22e)]&&this[_0x55817e(0x216)](_0x1a30d5);}),this['_onRefRangeChange'](),this[_0x4724a5(0x36b)](this[_0x4724a5(0x409)][_0x4724a5(0x2d6)](_0x1ca9af=>{const _0x30fe53=_0x4724a5;if(this['_online']&&_0x1ca9af['id']===_0x31df37['SetSelectionsOperation']['id']&&_0x1ca9af[_0x30fe53(0x2c7)][_0x30fe53(0x2e0)]===this[_0x30fe53(0x2ef)]){const _0x21f696=_0x1ca9af['params'];this['_updateLocalCursor'](_0x21f696[_0x30fe53(0x1ef)],_0x21f696[_0x30fe53(0x2af)][0x0]);}})));}[_0x491e29(0x2ba)](_0x4e35a2){const _0x23585e=_0x491e29;var _0x3086d2,_0x4d6f84;const {memberID:_0x1f337e,selection:_0x4f9afa}=_0x4e35a2[_0x23585e(0x47e)],{sheetName:_0x261d54,range:_0x4ef16f}=_0x1f7f09[_0x23585e(0x432)](_0x4f9afa),_0x18e046={'name':(_0x4d6f84=(_0x3086d2=this[_0x23585e(0x265)]['getMember'](this['unitID'],_0x1f337e))==null?void 0x0:_0x3086d2[_0x23585e(0x419)])!=null?_0x4d6f84:_0x23585e(0x310),'range':this[_0x23585e(0x2c1)](_0x261d54,_0x4ef16f),'sheetID':_0x261d54,'color':this['_colorAssignService'][_0x23585e(0x1f7)](_0x1f337e),'selection':_0x4f9afa},_0x926fcd=this[_0x23585e(0x360)];_0x926fcd[_0x23585e(0x3b9)](_0x1f337e,_0x18e046),this[_0x23585e(0x345)][_0x23585e(0x422)](_0x926fcd);}[_0x491e29(0x216)](_0x1b2a92){const _0x5b9fe1=_0x491e29,{memberID:_0x6143fb}=_0x1b2a92[_0x5b9fe1(0x47e)],_0x30935f=this[_0x5b9fe1(0x360)];_0x30935f['delete'](_0x6143fb),this['_cursorInfo$'][_0x5b9fe1(0x422)](_0x30935f);}[_0x491e29(0x2c1)](_0x22c4a0,_0x5c2375){const _0x35cc0d=_0x491e29;var _0x3a9235,_0x16b62f;const _0x579784=(_0x16b62f=(_0x3a9235=this[_0x35cc0d(0x2c4)][_0x35cc0d(0x1f4)](this['unitID']))==null?void 0x0:_0x3a9235['getSheetBySheetId'](_0x22c4a0))==null?void 0x0:_0x16b62f[_0x35cc0d(0x341)]();return(_0x579784==null?void 0x0:_0x579784[_0x35cc0d(0x317)](_0x7ae232=>_0x196dd3['Rectangle'][_0x35cc0d(0x459)](_0x7ae232,_0x5c2375)))||_0x5c2375;}[_0x491e29(0x346)](){const _0x4864b3=_0x491e29,_0x16edc4=new _0x196dd3[(_0x4864b3(0x323))](),_0x4e8e6c=_0x12f91e(),_0x3aac86=()=>{const _0x2e14a6=_0x4864b3;_0x16edc4['dispose']();const _0xa492d=(_0x1b5dff,_0x463ce2,_0x1c18ca,_0x1c84cb)=>{const _0x56dea7=_0x2982;let _0x5103bf=[];switch(_0x1b5dff['id']){case _0x31df37[_0x56dea7(0x24f)]['DeleteRangeMoveLeftCommandId']:{_0x5103bf=_0x31df37['handleDeleteRangeMoveLeft'](_0x1b5dff,_0x1c84cb);break;}case _0x31df37['EffectRefRangId'][_0x56dea7(0x2fa)]:{_0x5103bf=_0x31df37[_0x56dea7(0x266)](_0x1b5dff,_0x1c84cb);break;}case _0x31df37[_0x56dea7(0x24f)]['InsertColCommandId']:{_0x5103bf=_0x31df37['handleInsertCol'](_0x1b5dff,_0x1c84cb);break;}case _0x31df37['EffectRefRangId'][_0x56dea7(0x472)]:{_0x5103bf=_0x31df37[_0x56dea7(0x3b5)](_0x1b5dff,_0x1c84cb);break;}case _0x31df37[_0x56dea7(0x24f)][_0x56dea7(0x2b4)]:{_0x5103bf=_0x31df37[_0x56dea7(0x2a6)](_0x1b5dff,_0x1c84cb);break;}case _0x31df37['EffectRefRangId']['InsertRowCommandId']:{_0x5103bf=_0x31df37[_0x56dea7(0x34b)](_0x1b5dff,_0x1c84cb);break;}case _0x31df37['EffectRefRangId'][_0x56dea7(0x2e6)]:{_0x5103bf=_0x31df37[_0x56dea7(0x44f)](_0x1b5dff,_0x1c84cb);break;}case _0x31df37[_0x56dea7(0x24f)][_0x56dea7(0x2d0)]:{_0x5103bf=_0x31df37[_0x56dea7(0x4a9)](_0x1b5dff,_0x1c84cb);break;}case _0x31df37[_0x56dea7(0x24f)][_0x56dea7(0x493)]:{_0x5103bf=_0x31df37['handleIRemoveRow'](_0x1b5dff,_0x1c84cb);break;}}const _0x3645c1=_0x31df37['runRefRangeMutations'](_0x5103bf,_0x1c84cb),_0xbed073=this[_0x56dea7(0x360)][_0x56dea7(0x48e)](_0x463ce2);if(_0xbed073&&_0x3645c1){const _0x3e659c={..._0xbed073,'range':_0x3645c1};this[_0x56dea7(0x360)][_0x56dea7(0x3b9)](_0x463ce2,_0x3e659c),_0x4e8e6c(()=>{const _0x291b64=_0x56dea7,_0x3cbe71=this['_refRangeService'][_0x291b64(0x4c2)](_0x3645c1,_0x3aea46=>(_0x3cbe71[_0x291b64(0x205)](),_0xa492d(_0x3aea46,_0x463ce2,_0x1c18ca,_0x3645c1)));_0x16edc4[_0x291b64(0x3a9)](_0x3cbe71);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x2e14a6(0x41e)]((_0x2dca31,_0x2a1d0b)=>{const _0x2a919a=_0x2e14a6,{range:_0x2e4f93,sheetID:_0x63fe9d}=_0x2dca31,_0x41b2bb=this[_0x2a919a(0x35b)][_0x2a919a(0x4c2)](_0x2e4f93,_0x9b4a94=>(_0x41b2bb[_0x2a919a(0x205)](),_0xa492d(_0x9b4a94,_0x2a1d0b,_0x63fe9d,_0x2e4f93)));_0x16edc4[_0x2a919a(0x3a9)](_0x41b2bb);});};this['disposeWithMe'](_0x196dd3['toDisposable'](this['_cursorInfo$'][_0x4864b3(0x37e)](()=>{_0x3aac86();})));}['_toggleOnline'](){const _0x1f1e1c=_0x491e29;var _0x5e61e,_0x50dd27;if(this[_0x1f1e1c(0x2b6)]=!0x0,((_0x5e61e=this[_0x1f1e1c(0x2c4)][_0x1f1e1c(0x32a)]())==null?void 0x0:_0x5e61e['getUnitId']())!==this[_0x1f1e1c(0x2ef)])return;const _0x32f7ea=(_0x50dd27=this['_injector'][_0x1f1e1c(0x48e)](_0x31df37[_0x1f1e1c(0x36e)])[_0x1f1e1c(0x2b8)]())==null?void 0x0:_0x50dd27[0x0],_0x451154=this[_0x1f1e1c(0x2c4)][_0x1f1e1c(0x26f)](_0x196dd3[_0x1f1e1c(0x1f6)][_0x1f1e1c(0x2a7)])[_0x1f1e1c(0x301)]();_0x32f7ea&&_0x451154&&this['_updateLocalCursor'](_0x451154[_0x1f1e1c(0x2d8)](),_0x32f7ea);}[_0x491e29(0x1fa)](){const _0x342706=_0x491e29;this[_0x342706(0x2b6)]=!0x1;}};_0x1271f9=_0x5c5ba4([_0x34b674(0x2,_0x196dd3['Inject'](_0x196dd3[_0x491e29(0x3bc)])),_0x34b674(0x3,_0x196dd3['Inject'](_0x57582a)),_0x34b674(0x4,_0x196dd3[_0x491e29(0x494)](_0x40b4ee['MemberService'])),_0x34b674(0x5,_0x196dd3['IUniverInstanceService']),_0x34b674(0x6,_0x196dd3['ICommandService']),_0x34b674(0x7,_0x196dd3[_0x491e29(0x494)](_0x31df37[_0x491e29(0x260)]))],_0x1271f9);var _0x18c806=Object[_0x491e29(0x258)],_0x54d8a6=(_0x5df91b,_0x557b0f,_0x5ce43e,_0x2fa511)=>{const _0x286ea7=_0x491e29;for(var _0x24ecd4=_0x2fa511>0x1?void 0x0:_0x2fa511?_0x18c806(_0x557b0f,_0x5ce43e):_0x557b0f,_0x30c3ff=_0x5df91b[_0x286ea7(0x29f)]-0x1,_0xb538b0;_0x30c3ff>=0x0;_0x30c3ff--)(_0xb538b0=_0x5df91b[_0x30c3ff])&&(_0x24ecd4=_0xb538b0(_0x24ecd4)||_0x24ecd4);return _0x24ecd4;},_0x3a91ec=(_0x1b3723,_0xa9801d)=>(_0x27a9c3,_0x21416b)=>_0xa9801d(_0x27a9c3,_0x21416b,_0x1b3723);let _0x11c5b2=class extends _0x196dd3[_0x491e29(0x393)]{constructor(_0xd0ad63,_0x6804d0,_0xe24c8d){const _0x10a106=_0x491e29;super(),_0x1cfbec(this,_0x10a106(0x335),new Map()),_0x1cfbec(this,_0x10a106(0x2b7),new _0x3ca4f2[(_0x10a106(0x431))]()),(this[_0x10a106(0x2c4)]=_0xd0ad63,this[_0x10a106(0x34c)]=_0x6804d0,this[_0x10a106(0x2f2)]=_0xe24c8d,this[_0x10a106(0x316)]());}['dispose'](){const _0x15dd98=_0x491e29;super[_0x15dd98(0x205)](),this[_0x15dd98(0x2b7)][_0x15dd98(0x2b2)](),this[_0x15dd98(0x335)]['forEach'](_0x3f3253=>_0x3f3253['dispose']());}[_0x491e29(0x42a)](_0x134c59){const _0x162a0e=_0x491e29;return this[_0x162a0e(0x335)][_0x162a0e(0x42d)](_0x134c59)?this[_0x162a0e(0x335)][_0x162a0e(0x48e)](_0x134c59)[_0x162a0e(0x43a)]:this[_0x162a0e(0x2b7)][_0x162a0e(0x3ab)](_0x3ca4f2[_0x162a0e(0x49c)](_0x54053c=>_0x54053c[_0x162a0e(0x2ef)]===_0x134c59),_0x3ca4f2[_0x162a0e(0x456)](_0x3adabd=>_0x3adabd['cursorInfo$']));}[_0x491e29(0x316)](){const _0x343ec2=_0x491e29;this[_0x343ec2(0x2c4)][_0x343ec2(0x29d)](_0x196dd3[_0x343ec2(0x1f6)][_0x343ec2(0x2a7)])[_0x343ec2(0x3ab)](_0x3ca4f2['takeUntil'](this['dispose$']))[_0x343ec2(0x37e)](async _0x1294c3=>{const _0x121917=_0x343ec2,_0x253f34=_0x1294c3['getUnitId'](),_0x49f7c1=await this[_0x121917(0x26d)](_0x253f34);this[_0x121917(0x2b7)][_0x121917(0x422)](_0x49f7c1),this[_0x121917(0x335)][_0x121917(0x3b9)](_0x253f34,_0x49f7c1);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x196dd3[_0x343ec2(0x1f6)][_0x343ec2(0x39b)])[_0x343ec2(0x3ab)](_0x3ca4f2['takeUntil'](this['dispose$']))[_0x343ec2(0x3ab)](_0x3ca4f2['filter'](_0x1016dd=>!_0x1016dd['getUnitId']()[_0x343ec2(0x37b)]('__')))['subscribe'](async _0x203943=>{const _0x1c7dce=_0x343ec2,_0x574022=_0x203943[_0x1c7dce(0x41f)](),_0x3b6374=await this['_startDocCollabCursor'](_0x574022);this[_0x1c7dce(0x2b7)][_0x1c7dce(0x422)](_0x3b6374),this[_0x1c7dce(0x335)][_0x1c7dce(0x3b9)](_0x574022,_0x3b6374);}),_0x3ca4f2['merge'](this[_0x343ec2(0x2c4)][_0x343ec2(0x255)](_0x196dd3[_0x343ec2(0x1f6)][_0x343ec2(0x39b)]),this['_univerInstanceService'][_0x343ec2(0x255)](_0x196dd3[_0x343ec2(0x1f6)][_0x343ec2(0x2a7)]))[_0x343ec2(0x3ab)](_0x3ca4f2[_0x343ec2(0x371)](this[_0x343ec2(0x4ba)]))[_0x343ec2(0x37e)](_0x51a49d=>{const _0x24f6a2=_0x343ec2,_0x575aa0=_0x51a49d[_0x24f6a2(0x41f)](),_0xdfdd97=this[_0x24f6a2(0x335)][_0x24f6a2(0x48e)](_0x575aa0);_0xdfdd97&&(_0xdfdd97[_0x24f6a2(0x205)](),this['_entities']['delete'](_0x575aa0));});}async[_0x491e29(0x26d)](_0x320274){const _0xbb5923=_0x491e29,_0x2c9cad=await this[_0xbb5923(0x2f2)][_0xbb5923(0x241)](_0x320274),_0x1d8f25=this[_0xbb5923(0x34c)][_0xbb5923(0x300)](_0x1271f9,_0x320274,_0x2c9cad);return _0x1d8f25[_0xbb5923(0x2b0)](),_0x1d8f25;}async[_0x491e29(0x28b)](_0x31dc99){const _0x2d4e95=_0x491e29,_0x114f60=await this[_0x2d4e95(0x2f2)][_0x2d4e95(0x241)](_0x31dc99),_0x21b033=this[_0x2d4e95(0x34c)]['createInstance'](_0x189bf3,_0x31dc99,_0x114f60);return _0x21b033['init'](),_0x21b033;}};_0x11c5b2=_0x54d8a6([_0x3a91ec(0x0,_0x196dd3[_0x491e29(0x36a)]),_0x3a91ec(0x1,_0x196dd3[_0x491e29(0x494)](_0x196dd3[_0x491e29(0x3bc)])),_0x3a91ec(0x2,_0x196dd3[_0x491e29(0x494)](_0x40b4ee[_0x491e29(0x2c5)]))],_0x11c5b2);const _0x3fbd82=0x14,_0x26f8d8=0xc8,_0x56dc35=0x4,_0x4b033c=0x5;function _0x33948f(_0x34b54c,_0x543d97){const _0x4411d8=_0x491e29;let {radius:_0x34838d,width:_0x263e59,height:_0x1b92a5}=_0x543d97;_0x34838d=_0x34838d!=null?_0x34838d:0x0,_0x263e59=_0x263e59!=null?_0x263e59:0x1e,_0x1b92a5=_0x1b92a5!=null?_0x1b92a5:0x1e;let _0x243fbd=0x0,_0x4fbcad=0x0,_0x371d1f=0x0;_0x243fbd=_0x4fbcad=_0x371d1f=Math[_0x4411d8(0x2d9)](_0x34838d,_0x263e59/0x2,_0x1b92a5/0x2),_0x34b54c['beginPath'](),_0x34b54c['moveTo'](_0x243fbd,0x0),_0x34b54c['lineTo'](_0x263e59-_0x4fbcad,0x0),_0x34b54c['arc'](_0x263e59-_0x4fbcad,_0x4fbcad,_0x4fbcad,Math['PI']*0x3/0x2,0x0,!0x1),_0x34b54c[_0x4411d8(0x225)](_0x263e59,_0x1b92a5-_0x371d1f),_0x34b54c[_0x4411d8(0x48d)](_0x263e59-_0x371d1f,_0x1b92a5-_0x371d1f,_0x371d1f,0x0,Math['PI']/0x2,!0x1),_0x34b54c[_0x4411d8(0x225)](0x0,_0x1b92a5),_0x34b54c['lineTo'](0x0,_0x243fbd),_0x34b54c[_0x4411d8(0x48d)](_0x243fbd,_0x243fbd,_0x243fbd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x34b54c[_0x4411d8(0x475)](),_0x543d97[_0x4411d8(0x3f4)]&&(_0x34b54c[_0x4411d8(0x2f7)](),_0x34b54c[_0x4411d8(0x24d)]=_0x543d97[_0x4411d8(0x3f4)],_0x543d97[_0x4411d8(0x218)]===_0x4411d8(0x1f5)?_0x34b54c[_0x4411d8(0x3f4)](_0x4411d8(0x1f5)):_0x34b54c[_0x4411d8(0x3f4)](),_0x34b54c[_0x4411d8(0x31d)]());}class _0x47c817 extends _0x2e84e0['Shape']{constructor(_0x46b65e,_0x469fc6){const _0x18e771=_0x491e29;super(_0x46b65e,_0x469fc6),_0x1cfbec(this,_0x18e771(0x47a)),_0x1cfbec(this,_0x18e771(0x3cc)),(this['color']=_0x469fc6==null?void 0x0:_0x469fc6[_0x18e771(0x47a)],this[_0x18e771(0x3cc)]=_0x469fc6==null?void 0x0:_0x469fc6[_0x18e771(0x3cc)]);}static['drawWith'](_0x4fbc99,_0x66958b){const _0x3f2fd3=_0x491e29,{text:_0x378d7b,color:_0x3731ce}=_0x66958b;_0x4fbc99['save'](),_0x4fbc99[_0x3f2fd3(0x372)]=_0x3f2fd3(0x35a);const _0x357ee6=_0x4fbc99['measureText'](_0x378d7b)['width'],_0x44bdae=Math[_0x3f2fd3(0x2d9)](_0x357ee6+0x2*_0x56dc35,_0x26f8d8);_0x33948f(_0x4fbc99,{'height':_0x3fbd82,'radius':0x4,'width':_0x44bdae,'fill':_0x3731ce}),_0x4fbc99[_0x3f2fd3(0x24d)]=_0x3f2fd3(0x362);const _0x227761=_0x56dc35,_0x587379=_0x3fbd82-_0x4b033c,_0x5eccbf=_0x26f8d8-0x2*_0x56dc35;if(_0x357ee6>_0x5eccbf){let _0x2d1c51='',_0x1951dd=0x0;for(const _0x45dd6b of _0x378d7b){const _0x5b1584=_0x4fbc99[_0x3f2fd3(0x38a)](_0x45dd6b)[_0x3f2fd3(0x1ec)];if(_0x1951dd+_0x5b1584<=_0x5eccbf-_0x4fbc99['measureText'](_0x3f2fd3(0x291))['width'])_0x2d1c51+=_0x45dd6b,_0x1951dd+=_0x5b1584;else{_0x2d1c51+=_0x3f2fd3(0x291);break;}}_0x4fbc99[_0x3f2fd3(0x2dd)](_0x2d1c51,_0x227761,_0x587379);}else _0x4fbc99['fillText'](_0x378d7b,_0x227761,_0x587379);_0x4fbc99['restore']();}[_0x491e29(0x1ee)](_0x502744){const _0xd80cf6=_0x491e29;_0x47c817[_0xd80cf6(0x39e)](_0x502744,this);}}const _0x535838='collab-text-anchor-',_0x20af83=_0x491e29(0x4ad),_0x589ece='collab-rect-range-',_0x58cba6=0x6,_0x4e2277=1.5,_0x2c0a6b=0x4,_0x165746=1.5,_0x1b99b0=_0x491e29(0x44d);class _0x3fbd3a{constructor(_0xb9aa64,_0x6c09dc,_0x5c5c14,_0x18fcf1){const _0x29198d=_0x491e29;_0x1cfbec(this,'_shapes',[]),_0x1cfbec(this,_0x29198d(0x436),null),_0x1cfbec(this,_0x29198d(0x434),null),_0x1cfbec(this,_0x29198d(0x26e),null),_0x1cfbec(this,_0x29198d(0x449),null),_0x1cfbec(this,_0x29198d(0x2e4),null),(this['_cursor']=_0xb9aa64,this[_0x29198d(0x2f5)]=_0x6c09dc,this['_docSkeleton']=_0x5c5c14,this[_0x29198d(0x28f)]=_0x18fcf1,this[_0x29198d(0x4c8)]());}set['_hover'](_0x536c20){const _0x2fe81a=_0x491e29;_0x536c20?(this[_0x2fe81a(0x26e)]&&this['_anchorDot']['hide'](),this[_0x2fe81a(0x434)]&&this[_0x2fe81a(0x434)][_0x2fe81a(0x4c6)]()):(this[_0x2fe81a(0x26e)]&&this[_0x2fe81a(0x26e)][_0x2fe81a(0x4c6)](),this[_0x2fe81a(0x434)]&&this[_0x2fe81a(0x434)][_0x2fe81a(0x28e)]());}[_0x491e29(0x205)](){const _0x216c60=_0x491e29;for(const _0x460cf1 of this['_shapes'])_0x460cf1[_0x216c60(0x205)]();this['_textBubble']&&this[_0x216c60(0x434)][_0x216c60(0x205)](),this[_0x216c60(0x26e)]&&this[_0x216c60(0x26e)][_0x216c60(0x205)](),this[_0x216c60(0x436)]&&this['_anchor'][_0x216c60(0x205)](),this[_0x216c60(0x2e4)]&&this[_0x216c60(0x2e4)]();}['_render'](){const _0x556247=_0x491e29;var _0x2a5a51;const {_docSkeleton:_0x15216d,_document:_0x5d6fa0}=this,{color:_0x333658,name:_0x3a94b5,ranges:_0x361eb6}=this['_cursor'],_0x238363=_0x5d6fa0['getOffsetConfig'](),{docsLeft:_0x8caff7,docsTop:_0x22df19}=_0x238363,_0xdb368f=new _0x6cd9fa[(_0x556247(0x3c0))](_0x238363,_0x15216d);for(const {startOffset:_0x296df1,endOffset:_0x1efd35,rangeType:_0x61514a,segmentId:_0x20eb61,segmentPage:_0xe2a1fd,collapsed:_0x225a9f,isActive:_0x518345}of _0x361eb6){const _0x2d9053=_0x15216d[_0x556247(0x356)](_0x296df1,!0x0,_0x20eb61,_0xe2a1fd);let _0x13352c=_0x15216d[_0x556247(0x356)](_0x1efd35,!0x0,_0x20eb61,_0xe2a1fd);if(_0x13352c==null&&(_0x13352c=_0x15216d['findNodePositionByCharIndex'](_0x1efd35-0x1,!0x1,_0x20eb61,_0xe2a1fd)),_0x518345){const {contentBoxPointGroup:_0x37c5e8}=_0xdb368f['getRangePointData'](_0x13352c,_0x13352c);if(_0x37c5e8[_0x556247(0x29f)]===0x0)continue;this[_0x556247(0x3b1)](_0x333658,_0x37c5e8,_0x8caff7,_0x22df19,_0x3a94b5),this[_0x556247(0x2e4)]=this[_0x556247(0x26c)]();}if(_0x2d9053&&_0x13352c){if(_0x61514a===_0x196dd3[_0x556247(0x285)][_0x556247(0x480)]){const _0x522e4b=new _0x6cd9fa[(_0x556247(0x3ac))](_0x238363,_0x15216d),{pointGroup:_0x283ed6}=(_0x2a5a51=_0x522e4b['getRangePointData'](_0x2d9053,_0x13352c))!=null?_0x2a5a51:{};if(_0x283ed6==null||_0x283ed6['length']===0x0)continue;this['_drawRectRange'](_0x333658,_0x283ed6,_0x8caff7,_0x22df19);}else{if(!_0x225a9f){const {borderBoxPointGroup:_0x2b9d2b}=_0xdb368f[_0x556247(0x4a5)](_0x2d9053,_0x13352c);if(_0x2b9d2b[_0x556247(0x29f)]===0x0)continue;this[_0x556247(0x387)](_0x333658,_0x2b9d2b,_0x8caff7,_0x22df19);}}}}}[_0x491e29(0x3b1)](_0xe4253,_0x5bcadf,_0x46839a,_0x5c56ee,_0x54cbf8){const _0x250bfa=_0x491e29,_0x4a6716=this[_0x250bfa(0x42b)](_0x5bcadf),{left:_0x1ddb67,top:_0x237eea,height:_0x220436}=_0x4a6716,_0x1bca75=this[_0x250bfa(0x3a3)](),_0x409a8b=_0x165746/_0x1bca75,_0x15fa3f=new _0x2e84e0['Rect'](_0x535838+_0x196dd3[_0x250bfa(0x458)](_0x58cba6),{'left':_0x1ddb67+_0x46839a-_0x409a8b,'top':_0x237eea+_0x5c56ee,'height':_0x220436,'width':_0x4e2277,'fill':_0xe4253||_0x2e84e0['getColor'](_0x196dd3['COLORS'][_0x250bfa(0x27c)],0x0),'strokeWidth':_0x409a8b,'stroke':_0x1b99b0,'evented':!0x0});this[_0x250bfa(0x436)]=_0x15fa3f,this[_0x250bfa(0x2f5)][_0x250bfa(0x3f9)](_0x15fa3f,_0x6cd9fa[_0x250bfa(0x3b2)]);const _0x10fbf7=new _0x2e84e0[(_0x250bfa(0x4a1))](_0x535838+_0x196dd3[_0x250bfa(0x458)](_0x58cba6),{'left':_0x1ddb67+_0x46839a-_0x409a8b,'top':_0x237eea+_0x5c56ee-_0x2c0a6b/0x2,'height':_0x2c0a6b,'width':_0x2c0a6b,'fill':_0xe4253||_0x2e84e0[_0x250bfa(0x389)](_0x196dd3['COLORS'][_0x250bfa(0x27c)],0x0),'strokeWidth':0x0,'stroke':_0xe4253||_0x2e84e0[_0x250bfa(0x389)](_0x196dd3[_0x250bfa(0x488)][_0x250bfa(0x27c)],0x0),'evented':!0x1});this['_anchorDot']=_0x10fbf7,this[_0x250bfa(0x2f5)][_0x250bfa(0x3f9)](_0x10fbf7,_0x6cd9fa[_0x250bfa(0x3b2)]);const _0x46f400=new _0x47c817(_0x535838+_0x196dd3[_0x250bfa(0x458)](_0x58cba6),{'left':_0x1ddb67+_0x46839a-_0x409a8b,'top':_0x237eea+_0x5c56ee-_0x3fbd82,'text':_0x54cbf8,'color':_0xe4253});this[_0x250bfa(0x434)]=_0x46f400,this[_0x250bfa(0x2f5)][_0x250bfa(0x3f9)](_0x46f400,_0x6cd9fa[_0x250bfa(0x3b2)]),this['_hover']=!0x1;}[_0x491e29(0x26c)](){const _0x5e5f6c=_0x491e29,_0x3d5e91=this[_0x5e5f6c(0x436)][_0x5e5f6c(0x4bc)][_0x5e5f6c(0x252)](()=>{const _0x13f004=_0x5e5f6c;this[_0x13f004(0x333)]=!0x0;}),_0x303ee6=this[_0x5e5f6c(0x436)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x5b8c2b=_0x5e5f6c;this['_hideTimer']&&clearTimeout(this[_0x5b8c2b(0x449)]),this['_hideTimer']=setTimeout(()=>{const _0xfecebc=_0x5b8c2b;this[_0xfecebc(0x333)]=!0x1;},0x7d0);});return()=>{const _0x1ce531=_0x5e5f6c;_0x3d5e91[_0x1ce531(0x257)](),_0x303ee6[_0x1ce531(0x257)]();};}[_0x491e29(0x387)](_0x3fcbdf,_0x1b527e,_0x35d837,_0x5b181f){const _0x106814=_0x491e29,_0x2574bc=new _0x196dd3[(_0x106814(0x29b))](_0x3fcbdf)['setAlpha'](0.2)[_0x106814(0x201)](),_0xef3d3d=new _0x2e84e0[(_0x106814(0x25a))](_0x20af83+_0x196dd3[_0x106814(0x458)](_0x58cba6),{'pointsGroup':_0x1b527e,'fill':_0x2574bc||_0x2e84e0['getColor'](_0x196dd3[_0x106814(0x488)]['black'],0.2),'left':_0x35d837,'top':_0x5b181f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x106814(0x2a3)][_0x106814(0x2be)](_0xef3d3d),this['_scene'][_0x106814(0x3f9)](_0xef3d3d,_0x6cd9fa[_0x106814(0x3b2)]);}[_0x491e29(0x2f8)](_0x3d1e49,_0x33c3b4,_0x34ca0d,_0x4d7cdc){const _0x2cbccd=_0x491e29,_0x930b50=new _0x196dd3[(_0x2cbccd(0x29b))](_0x3d1e49)['setAlpha'](0.2)[_0x2cbccd(0x201)](),_0x3c1702=new _0x2e84e0[(_0x2cbccd(0x25a))](_0x589ece+_0x196dd3[_0x2cbccd(0x458)](_0x58cba6),{'pointsGroup':_0x33c3b4,'fill':_0x930b50||_0x2e84e0[_0x2cbccd(0x389)](_0x196dd3['COLORS'][_0x2cbccd(0x27c)],0.2),'left':_0x34ca0d,'top':_0x4d7cdc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cbccd(0x2a3)][_0x2cbccd(0x2be)](_0x3c1702),this[_0x2cbccd(0x2f5)][_0x2cbccd(0x3f9)](_0x3c1702,_0x6cd9fa[_0x2cbccd(0x3b2)]);}[_0x491e29(0x42b)](_0x264ad1){const _0x532ba2=_0x264ad1[0x0],_0x48a65e=_0x532ba2[0x0],_0x493e79=_0x532ba2[0x2],{x:_0x1dfd70,y:_0x366f0c}=_0x48a65e,{x:_0x1b7437,y:_0x26ebcd}=_0x493e79;return{'left':_0x1dfd70,'top':_0x366f0c,'width':_0x1b7437-_0x1dfd70,'height':_0x26ebcd-_0x366f0c};}[_0x491e29(0x3a3)](){const _0x56fc1f=_0x491e29,{scaleX:_0x5de577,scaleY:_0x452f93}=this['_scene'][_0x56fc1f(0x3ba)]();return Math[_0x56fc1f(0x200)](_0x5de577,_0x452f93);}}var _0x510284=Object[_0x491e29(0x258)],_0x4bd36e=(_0x2cdee3,_0x5104f1,_0xcd8009,_0x4cb866)=>{const _0x4bbe88=_0x491e29;for(var _0xddaa60=_0x4cb866>0x1?void 0x0:_0x4cb866?_0x510284(_0x5104f1,_0xcd8009):_0x5104f1,_0x504d27=_0x2cdee3[_0x4bbe88(0x29f)]-0x1,_0x361a44;_0x504d27>=0x0;_0x504d27--)(_0x361a44=_0x2cdee3[_0x504d27])&&(_0xddaa60=_0x361a44(_0xddaa60)||_0xddaa60);return _0xddaa60;},_0x16c584=(_0x58505e,_0x21ad81)=>(_0x4c6ad8,_0x3c9ec1)=>_0x21ad81(_0x4c6ad8,_0x3c9ec1,_0x58505e);let _0x3ab3e6=class extends _0x196dd3[_0x491e29(0x393)]{constructor(_0x59159c,_0x26ce4c,_0x317994,_0x40dcfb,_0x5f2223){const _0x37b3ae=_0x491e29;super(),_0x1cfbec(this,_0x37b3ae(0x222),[]),_0x1cfbec(this,_0x37b3ae(0x22d),[]),(this[_0x37b3ae(0x3e7)]=_0x59159c,this[_0x37b3ae(0x45b)]=_0x26ce4c,this[_0x37b3ae(0x381)]=_0x317994,this[_0x37b3ae(0x409)]=_0x40dcfb,this['_themeService']=_0x5f2223,this[_0x37b3ae(0x316)]());}[_0x491e29(0x316)](){const _0x57e23c=_0x491e29,_0x32a934=this[_0x57e23c(0x3e7)][_0x57e23c(0x2e0)],_0x231702=this[_0x57e23c(0x45b)];this['disposeWithMe'](_0x3ca4f2[_0x57e23c(0x2eb)]([this[_0x57e23c(0x381)][_0x57e23c(0x42a)](_0x32a934),this[_0x57e23c(0x2e1)][_0x57e23c(0x395)]])[_0x57e23c(0x3ab)](_0x870ccf[_0x57e23c(0x332)](([_0x5e3db8,_0xd8ff0c])=>({'skeleton':_0x231702[_0x57e23c(0x44c)](),'cursors':[..._0x5e3db8[_0x57e23c(0x2e9)]()][_0x57e23c(0x32c)](_0x32fac7=>({..._0x32fac7,'color':this[_0x57e23c(0x2e1)][_0x57e23c(0x336)](_0x32fac7[_0x57e23c(0x47a)])}))})))['subscribe'](_0x4966c1=>{const _0xc8927d=_0x57e23c;if(this[_0xc8927d(0x3c5)](),_0x4966c1){const {skeleton:_0x5cf9e7,cursors:_0x12225c}=_0x4966c1;this[_0xc8927d(0x227)](_0x5cf9e7,_0x12225c);}})),this[_0x57e23c(0x226)](),this['_initCommandExecutedListener']();}[_0x491e29(0x227)](_0x55f108,_0x2f81d5){const _0x36c5ba=_0x491e29,{scene:_0x5f0c61,mainComponent:_0xa67c45}=this[_0x36c5ba(0x3e7)],_0x29d697=_0x2f81d5['map'](_0x31ca89=>new _0x3fbd3a(_0x31ca89,_0x5f0c61,_0x55f108,_0xa67c45));this[_0x36c5ba(0x222)]=_0x29d697,this[_0x36c5ba(0x22d)]=_0x2f81d5;}[_0x491e29(0x4c0)](){const _0x3b2654=_0x491e29;this[_0x3b2654(0x3c5)]();const {scene:_0x572c97,mainComponent:_0x13f7e6}=this['_context'],_0x16c1a8=this[_0x3b2654(0x45b)][_0x3b2654(0x44c)](),_0x2cbfba=this['_cursors']['map'](_0xc6d138=>new _0x3fbd3a(_0xc6d138,_0x572c97,_0x16c1a8,_0x13f7e6));this[_0x3b2654(0x222)]=_0x2cbfba;}[_0x491e29(0x3c5)](){const _0x6d9b32=_0x491e29;this[_0x6d9b32(0x222)][_0x6d9b32(0x41e)](_0x3c1282=>_0x3c1282[_0x6d9b32(0x205)]()),this[_0x6d9b32(0x222)]=[];}[_0x491e29(0x350)](){const _0xe6f2e8=_0x491e29,_0x3f5f2f=[_0x6cd9fa[_0xe6f2e8(0x461)]['id']];this['disposeWithMe'](this[_0xe6f2e8(0x409)][_0xe6f2e8(0x2d6)](_0x95774c=>{const _0x2a8a25=_0xe6f2e8;_0x3f5f2f['includes'](_0x95774c['id'])&&_0x95774c[_0x2a8a25(0x2c7)][_0x2a8a25(0x2e0)]===this[_0x2a8a25(0x3e7)][_0x2a8a25(0x2e0)]&&this[_0x2a8a25(0x4c0)]();}));}[_0x491e29(0x226)](){const _0x39cbe0=_0x491e29;this[_0x39cbe0(0x36b)](_0x196dd3['fromEventSubject'](this[_0x39cbe0(0x3e7)]['engine'][_0x39cbe0(0x35d)])['pipe'](_0x870ccf[_0x39cbe0(0x49c)](_0x29444a=>_0x29444a[_0x39cbe0(0x239)]===_0x2e84e0[_0x39cbe0(0x3cb)][_0x39cbe0(0x23c)]),_0x870ccf['throttleTime'](0x10))[_0x39cbe0(0x37e)](()=>{const _0x34ecbc=_0x39cbe0;this[_0x34ecbc(0x4c0)]();}));}};_0x3ab3e6=_0x4bd36e([_0x16c584(0x1,_0x196dd3['Inject'](_0x1551f2[_0x491e29(0x307)])),_0x16c584(0x2,_0x196dd3['Inject'](_0x11c5b2)),_0x16c584(0x3,_0x196dd3[_0x491e29(0x2ff)]),_0x16c584(0x4,_0x196dd3[_0x491e29(0x494)](_0x196dd3[_0x491e29(0x469)]))],_0x3ab3e6);const _0x3857e2=0x1,_0x17918e=1.5;class _0x3f7fa9 extends _0x2e84e0[_0x491e29(0x4b9)]{constructor(_0x1df152,_0x4eda10){const _0x2ca02a=_0x491e29;super(_0x1df152,_0x4eda10),_0x1cfbec(this,_0x2ca02a(0x3f5)),_0x1cfbec(this,_0x2ca02a(0x31f),!0x1),_0x1cfbec(this,'_range'),_0x1cfbec(this,_0x2ca02a(0x496),''),_0x1cfbec(this,_0x2ca02a(0x32e),_0x2ca02a(0x2e3)),_0x1cfbec(this,_0x2ca02a(0x27e)),(_0x4eda10&&this['setShapeProps'](_0x4eda10),this[_0x2ca02a(0x4bc)][_0x2ca02a(0x252)](()=>this[_0x2ca02a(0x4c1)]({'hovered':!0x0})),this[_0x2ca02a(0x4be)][_0x2ca02a(0x252)](()=>this[_0x2ca02a(0x4c1)]({'hovered':!0x1})));}['setShapeProps'](_0x3d10ab){const _0x6c1c00=_0x491e29;var _0x97febf,_0x4b77b6,_0x552299,_0x219715,_0x57609e,_0x10a807;this[_0x6c1c00(0x3f5)]=(_0x97febf=_0x3d10ab[_0x6c1c00(0x47a)])!=null?_0x97febf:this[_0x6c1c00(0x3f5)],this['_hovered']=(_0x4b77b6=_0x3d10ab[_0x6c1c00(0x230)])!=null?_0x4b77b6:this['_hovered'],this[_0x6c1c00(0x275)]=(_0x552299=_0x3d10ab[_0x6c1c00(0x464)])!=null?_0x552299:this['_range'],this[_0x6c1c00(0x496)]=(_0x219715=_0x3d10ab[_0x6c1c00(0x419)])!=null?_0x219715:this[_0x6c1c00(0x496)],this[_0x6c1c00(0x32e)]=(_0x57609e=_0x3d10ab['labelPosition'])!=null?_0x57609e:this['_labelPosition'],this[_0x6c1c00(0x27e)]=(_0x10a807=_0x3d10ab[_0x6c1c00(0x46c)])!=null?_0x10a807:this[_0x6c1c00(0x27e)],this['transformByState']({'width':_0x3d10ab[_0x6c1c00(0x1ec)],'height':_0x3d10ab['height']});}[_0x491e29(0x217)](_0x5ce5f7){const _0x309569=_0x491e29,{row:_0x1875f6,column:_0x11c1ad}=_0x5ce5f7;if(_0x1875f6>=this[_0x309569(0x275)]['startRow']&&_0x1875f6<=this[_0x309569(0x275)]['endRow']&&_0x11c1ad>=this[_0x309569(0x275)]['startColumn']&&_0x11c1ad<=this['_range'][_0x309569(0x451)]){this[_0x309569(0x4c1)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x564c07){return!0x1;}[_0x491e29(0x1ee)](_0x2b9981){const _0x128ef5=_0x491e29;_0x2e84e0[_0x128ef5(0x4a1)][_0x128ef5(0x39e)](_0x2b9981,{'width':this['width'],'height':this[_0x128ef5(0x4a4)],'strokeWidth':_0x17918e,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x128ef5(0x27e)]}),this[_0x128ef5(0x31f)]&&(_0x2b9981[_0x128ef5(0x2f7)](),_0x2b9981['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x128ef5(0x4a7)?0x0:-_0x3fbd82),_0x47c817[_0x128ef5(0x39e)](_0x2b9981,{'text':this[_0x128ef5(0x496)],'color':this[_0x128ef5(0x3f5)]}),_0x2b9981[_0x128ef5(0x31d)]());}}var _0x2f5d5b=Object[_0x491e29(0x258)],_0x339ffe=(_0x395dff,_0x5dd62d,_0x157cf1,_0x507e98)=>{const _0x64405f=_0x491e29;for(var _0x3a236a=_0x507e98>0x1?void 0x0:_0x507e98?_0x2f5d5b(_0x5dd62d,_0x157cf1):_0x5dd62d,_0x9f0e45=_0x395dff[_0x64405f(0x29f)]-0x1,_0x1d04fa;_0x9f0e45>=0x0;_0x9f0e45--)(_0x1d04fa=_0x395dff[_0x9f0e45])&&(_0x3a236a=_0x1d04fa(_0x3a236a)||_0x3a236a);return _0x3a236a;},_0x37099a=(_0x4f4c84,_0x460fc8)=>(_0x582615,_0x4d4ee7)=>_0x460fc8(_0x582615,_0x4d4ee7,_0x4f4c84);const _0x228371=0x1389;let _0x212a44=class extends _0x196dd3[_0x491e29(0x393)]{constructor(_0x1d203f,_0x8fd0e,_0x4fa159,_0x4a5131){const _0x460638=_0x491e29;super(),_0x1cfbec(this,_0x460638(0x22d),new Set()),_0x1cfbec(this,_0x460638(0x4b2),null),(this[_0x460638(0x3e7)]=_0x1d203f,this[_0x460638(0x203)]=_0x8fd0e,this[_0x460638(0x381)]=_0x4fa159,this[_0x460638(0x2e1)]=_0x4a5131,this[_0x460638(0x316)]());}['_init'](){const _0x34ec2b=_0x491e29;this[_0x34ec2b(0x203)][_0x34ec2b(0x490)][_0x34ec2b(0x3ab)](_0x870ccf[_0x34ec2b(0x371)](this['dispose$']),_0x870ccf[_0x34ec2b(0x456)](_0x19a038=>{const _0x57731e=_0x34ec2b;if(_0x19a038){const _0x18418e=_0x19a038[_0x57731e(0x2a0)];return _0x3ca4f2[_0x57731e(0x2eb)](this['_collabCursorController'][_0x57731e(0x42a)](this[_0x57731e(0x3e7)][_0x57731e(0x2e0)]),this[_0x57731e(0x2e1)][_0x57731e(0x395)])[_0x57731e(0x3ab)](_0x870ccf[_0x57731e(0x332)](([_0x9e4d9b,_0x5145e9])=>{const _0x3999a5=_0x57731e,_0x1c9568=new Map();return _0x9e4d9b[_0x3999a5(0x41e)]((_0x3ddaea,_0x6f60bd)=>{const _0x130491=_0x3999a5;if(_0x3ddaea[_0x130491(0x3d2)]===_0x18418e){const _0x5a10f1={..._0x3ddaea};_0x5a10f1[_0x130491(0x47a)]=this['_themeService'][_0x130491(0x336)](_0x3ddaea[_0x130491(0x47a)]),_0x1c9568[_0x130491(0x3b9)](_0x6f60bd,_0x5a10f1);}}),{'skeleton':_0x19a038,'cursors':_0x1c9568};}));}return _0x3ca4f2['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3317bb,cursors:_0x1c43dd})=>{const _0x4aa336=_0x34ec2b;this[_0x4aa336(0x3c5)](),_0x3317bb&&this['_updateCollabCursors'](_0x3317bb,_0x1c43dd);}),this[_0x34ec2b(0x203)][_0x34ec2b(0x490)][_0x34ec2b(0x37e)](_0x1443eb=>{const _0x282ca5=_0x34ec2b;if(_0x1443eb==null)return;const {skeleton:_0x53a2ed}=_0x1443eb,{scene:_0x402ea2}=this[_0x282ca5(0x3e7)];_0x402ea2[_0x282ca5(0x326)][_0x282ca5(0x252)](_0x196dd3[_0x282ca5(0x27b)](_0x39d015=>{const _0x47d37e=_0x282ca5;var _0x466fb4,_0x13ef48;const {offsetX:_0xd8fa93,offsetY:_0x3e9991}=_0x39d015,{x:_0x568e6f,y:_0x2c3344}=_0x402ea2[_0x47d37e(0x35f)](_0x2e84e0[_0x47d37e(0x282)][_0x47d37e(0x4bf)]([_0xd8fa93,_0x3e9991])),{scaleX:_0x2cd990,scaleY:_0x5efedc}=_0x402ea2[_0x47d37e(0x3ba)](),_0x44a211=_0x402ea2[_0x47d37e(0x3df)](_0x2e84e0[_0x47d37e(0x3aa)]['VIEW_MAIN']),_0x548a54=_0x402ea2[_0x47d37e(0x2e5)](_0x2e84e0['Vector2'][_0x47d37e(0x4bf)]([_0x568e6f,_0x2c3344]),_0x44a211),_0x3da0c4=_0x53a2ed['getCellPositionByOffset'](_0xd8fa93,_0x3e9991,_0x2cd990,_0x5efedc,_0x548a54);((_0x466fb4=this[_0x47d37e(0x4b2)])==null?void 0x0:_0x466fb4[_0x47d37e(0x357)])===_0x3da0c4[_0x47d37e(0x357)]&&((_0x13ef48=this['_lastPointer'])==null?void 0x0:_0x13ef48[_0x47d37e(0x495)])===_0x3da0c4['row']||this[_0x47d37e(0x22d)]['forEach'](_0x21918c=>{const _0x5d5656=_0x47d37e;_0x21918c[_0x5d5656(0x217)](_0x3da0c4);});},0x64));});}[_0x491e29(0x227)](_0x1d21e2,_0x47daff){const _0x8aa22a=_0x491e29;var _0x1f0ca4;const _0x55bb83=(_0x1f0ca4=this[_0x8aa22a(0x203)][_0x8aa22a(0x2ee)]())==null?void 0x0:_0x1f0ca4['skeleton'];if(!_0x55bb83)return;const _0x5b375c=this[_0x8aa22a(0x388)]();if(!_0x5b375c)return;this['_cursors'][_0x8aa22a(0x41e)](_0x22710a=>{const _0x181320=_0x8aa22a;_0x22710a[_0x181320(0x44a)]();});const {scene:_0x58cccb}=_0x5b375c,_0x4f088f=_0x413221(Array[_0x8aa22a(0x299)](_0x47daff[_0x8aa22a(0x2e9)]()))[_0x8aa22a(0x332)](_0x16bc59=>{const _0x5771b4=_0x8aa22a,{color:_0x43df96,range:_0x4ab418,name:_0x5648d4,selection:_0x5745e2,sheetID:_0x521f0d}=_0x16bc59,{startColumn:_0x118f1f,startRow:_0x572f56,endColumn:_0x395a4a,endRow:_0x1f0f16}=_0x4ab418,_0x6524fd=_0x2a525d[_0x5771b4(0x20f)](_0x572f56,_0x118f1f,_0x58cccb,_0x55bb83),_0x10ea5b=_0x2a525d[_0x5771b4(0x20f)](_0x1f0f16,_0x395a4a,_0x58cccb,_0x55bb83),{columnHeaderHeightAndMarginTop:_0x47c0f3}=_0x55bb83,{startX:_0x2ce1eb,startY:_0x48d8c7}=_0x6524fd,{endX:_0x59612c,endY:_0x3c865c}=_0x10ea5b,_0x3db191=_0x59612c-_0x2ce1eb,_0x34aa1d=_0x3c865c-_0x48d8c7,_0x68e14b={'labelPosition':_0x48d8c7-_0x47c0f3>=_0x3fbd82?'top':_0x5771b4(0x4a7),'sheetID':_0x521f0d,'range':_0x4ab418,'color':_0x43df96,'name':_0x5648d4,'selection':_0x5745e2,'left':_0x2ce1eb,'top':_0x48d8c7,'width':_0x3db191,'height':_0x34aa1d,'evented':!0x1,'zIndex':_0x228371};return new _0x3f7fa9(_0x5648d4,_0x68e14b);});_0x58cccb[_0x8aa22a(0x334)](_0x4f088f,_0x3857e2),this['_cursors']=new Set(_0x4f088f);}['_removeCollabCursors'](){const _0x50e470=_0x491e29;var _0x2da51b;(_0x2da51b=this[_0x50e470(0x22d)])==null||_0x2da51b['forEach'](_0x107516=>_0x107516[_0x50e470(0x205)]());}[_0x491e29(0x388)](){const _0x5e5b06=_0x491e29;return _0x2a525d['getSheetObject'](this[_0x5e5b06(0x3e7)][_0x5e5b06(0x25d)],this[_0x5e5b06(0x3e7)]);}};_0x212a44=_0x339ffe([_0x37099a(0x1,_0x196dd3[_0x491e29(0x494)](_0x2a525d[_0x491e29(0x3bd)])),_0x37099a(0x2,_0x196dd3[_0x491e29(0x494)](_0x11c5b2)),_0x37099a(0x3,_0x196dd3[_0x491e29(0x494)](_0x196dd3['ThemeService']))],_0x212a44);function _0x413221(_0x4538f8){const _0x455688=_0x491e29,_0x71bd72=new Map();return _0x4538f8['forEach'](_0x23e7d6=>{const _0x176b83=_0x2982;if(_0x71bd72[_0x176b83(0x42d)](_0x23e7d6[_0x176b83(0x378)])){const _0x37e5a9=_0x71bd72[_0x176b83(0x48e)](_0x23e7d6[_0x176b83(0x378)]);_0x37e5a9[_0x176b83(0x419)]+=',\x20'+_0x23e7d6[_0x176b83(0x419)];}else _0x71bd72[_0x176b83(0x3b9)](_0x23e7d6[_0x176b83(0x378)],_0x23e7d6);}),Array[_0x455688(0x299)](_0x71bd72[_0x455688(0x2e9)]());}var _0x4c7701=Object[_0x491e29(0x258)],_0x1890d0=(_0x3d6bf2,_0x51b04d,_0x101f73,_0x5d157e)=>{const _0x460b14=_0x491e29;for(var _0x271f0a=_0x5d157e>0x1?void 0x0:_0x5d157e?_0x4c7701(_0x51b04d,_0x101f73):_0x51b04d,_0x58d8f4=_0x3d6bf2[_0x460b14(0x29f)]-0x1,_0x4cbf0e;_0x58d8f4>=0x0;_0x58d8f4--)(_0x4cbf0e=_0x3d6bf2[_0x58d8f4])&&(_0x271f0a=_0x4cbf0e(_0x271f0a)||_0x271f0a);return _0x271f0a;},_0x191617=(_0x3506de,_0x400bc0)=>(_0x2c51d9,_0x519397)=>_0x400bc0(_0x2c51d9,_0x519397,_0x3506de);let _0x52fecf=class extends _0x196dd3[_0x491e29(0x435)]{constructor(_0x4341de,_0x58a57d,_0xbc31ce,_0x3ff655,_0x41d085,_0x2df318){const _0x4e3ca9=_0x491e29;super(),this['_beforeCloseService']=_0x4341de,this[_0x4e3ca9(0x3a7)]=_0x58a57d,this[_0x4e3ca9(0x281)]=_0xbc31ce,this[_0x4e3ca9(0x262)]=_0x3ff655,this[_0x4e3ca9(0x20c)]=_0x41d085,this[_0x4e3ca9(0x363)]=_0x2df318,this[_0x4e3ca9(0x21f)](),this[_0x4e3ca9(0x219)]();}['_setupBeforeClosingHandler'](){const _0x267a60=_0x491e29;this[_0x267a60(0x36b)](this['_beforeCloseService'][_0x267a60(0x351)](()=>{const _0x41073f=_0x267a60;if(this[_0x41073f(0x3a7)]['saveTaskMap'][_0x41073f(0x3a1)])return this[_0x41073f(0x363)]['t'](_0x41073f(0x45e));}));}['_initEvent'](){const _0x399824=_0x491e29;this[_0x399824(0x36b)](this[_0x399824(0x281)][_0x399824(0x4b7)][_0x399824(0x37e)](_0x17841e=>{const _0x54620d=_0x399824;_0x17841e['id']===_0x40b4ee[_0x54620d(0x396)][_0x54620d(0x408)]&&this['_messageService'][_0x54620d(0x4c6)]({'type':_0x3c887e['MessageType'][_0x54620d(0x3d7)],'content':this[_0x54620d(0x363)]['t'](_0x54620d(0x478))}),_0x17841e['id']===_0x40b4ee[_0x54620d(0x396)][_0x54620d(0x398)]&&this[_0x54620d(0x262)][_0x54620d(0x4c6)]({'type':_0x3c887e[_0x54620d(0x450)][_0x54620d(0x3d7)],'content':this[_0x54620d(0x363)]['t'](_0x54620d(0x2dc))}),_0x17841e['id']===_0x40b4ee[_0x54620d(0x396)][_0x54620d(0x344)]&&this[_0x54620d(0x20c)][_0x54620d(0x4c6)]({'title':this[_0x54620d(0x363)]['t'](_0x54620d(0x211)),'content':this[_0x54620d(0x363)]['t']('permission.content'),'type':_0x54620d(0x447),'duration':0x0}),_0x17841e['id']===_0x40b4ee[_0x54620d(0x396)][_0x54620d(0x3c8)]&&this[_0x54620d(0x262)]['show']({'type':_0x3c887e[_0x54620d(0x450)][_0x54620d(0x21a)],'content':this['_localeService']['t'](_0x54620d(0x2dc))+'('+_0x17841e[_0x54620d(0x47e)]+')'}),_0x17841e['id']===_0x40b4ee[_0x54620d(0x396)][_0x54620d(0x399)]&&this[_0x54620d(0x262)][_0x54620d(0x4c6)]({'type':_0x3c887e[_0x54620d(0x450)]['Warning'],'content':this[_0x54620d(0x363)]['t'](_0x17841e[_0x54620d(0x47e)]||'')}),_0x17841e['id']===_0x40b4ee[_0x54620d(0x396)][_0x54620d(0x3a4)]&&this[_0x54620d(0x262)][_0x54620d(0x4c6)]({'type':_0x3c887e[_0x54620d(0x450)][_0x54620d(0x3d7)],'content':this[_0x54620d(0x363)]['t']('session.will-retry')}),_0x17841e['id']===_0x40b4ee[_0x54620d(0x396)][_0x54620d(0x2a8)]&&this[_0x54620d(0x262)][_0x54620d(0x4c6)]({'type':_0x3c887e[_0x54620d(0x450)][_0x54620d(0x21a)],'content':this['_localeService']['t'](_0x54620d(0x311))}),_0x17841e['id']===_0x40b4ee['CollaborationUIEventId'][_0x54620d(0x209)]&&this['_messageService'][_0x54620d(0x4c6)]({'type':_0x3c887e[_0x54620d(0x450)][_0x54620d(0x21a)],'content':this[_0x54620d(0x363)]['t']('session.collaboration-timeout')});}));}};_0x52fecf=_0x1890d0([_0x191617(0x0,_0x4b5f08[_0x491e29(0x46b)]),_0x191617(0x1,_0x40b4ee[_0x491e29(0x229)]),_0x191617(0x2,_0x196dd3[_0x491e29(0x494)](_0x40b4ee[_0x491e29(0x4b3)])),_0x191617(0x3,_0x4b5f08['IMessageService']),_0x191617(0x4,_0x4b5f08[_0x491e29(0x28a)]),_0x191617(0x5,_0x196dd3[_0x491e29(0x494)](_0x196dd3[_0x491e29(0x390)]))],_0x52fecf);const _0x27d570='collaboration-client-ui.config',_0x178e5d={};var _0x4d9c51=Object[_0x491e29(0x258)],_0x4f0fd3=(_0x276bb3,_0x21a14c,_0x3cabf0,_0x505991)=>{const _0x577d6a=_0x491e29;for(var _0x2a7cf4=_0x505991>0x1?void 0x0:_0x505991?_0x4d9c51(_0x21a14c,_0x3cabf0):_0x21a14c,_0x80d557=_0x276bb3[_0x577d6a(0x29f)]-0x1,_0x498dd6;_0x80d557>=0x0;_0x80d557--)(_0x498dd6=_0x276bb3[_0x80d557])&&(_0x2a7cf4=_0x498dd6(_0x2a7cf4)||_0x2a7cf4);return _0x2a7cf4;},_0x41ef1b=(_0x54e414,_0x3c1e4d)=>(_0x3fb6ce,_0x45ce59)=>_0x3c1e4d(_0x3fb6ce,_0x45ce59,_0x54e414);let _0x5d2de3=class{constructor(_0x251bc7,_0x1728a3){const _0x4c62ab=_0x491e29;this[_0x4c62ab(0x3e3)]=_0x251bc7,this[_0x4c62ab(0x4a0)]=_0x1728a3;}[_0x491e29(0x3cd)](_0x53fe53){const _0x19a443=_0x491e29;this[_0x19a443(0x361)](_0x53fe53),this[_0x19a443(0x39a)](_0x53fe53);}[_0x491e29(0x413)](_0x339085){const _0x58dec7=_0x491e29,{unitID:_0x38670a}=_0x339085,_0x221eff=this[_0x58dec7(0x4a0)][_0x58dec7(0x21e)](_0x38670a)[_0x58dec7(0x3c4)](_0x6cd9fa[_0x58dec7(0x20b)]),{redoCache:_0x3ad041}=_0x221eff[_0x58dec7(0x3a5)]();if(_0x3ad041[_0x58dec7(0x29f)]===0x0)return _0x339085;let _0x4e0ef5=_0x196dd3[_0x58dec7(0x256)][_0x58dec7(0x2e2)](_0x339085['mutations'][0x0]);for(let _0x416102=0x0;_0x416102<_0x3ad041['length'];_0x416102++){const _0x4d2343={'id':_0x58dec7(0x3eb),'params':{..._0x3ad041[_0x416102]}},_0x5dc7ce=this[_0x58dec7(0x3e3)]['transformMutation'](_0x4e0ef5,_0x4d2343,!0x1);if(_0x4993c9[_0x58dec7(0x36d)](_0x5dc7ce))throw _0x5dc7ce[_0x58dec7(0x447)];_0x4e0ef5=_0x5dc7ce[_0x58dec7(0x445)];}return{..._0x196dd3[_0x58dec7(0x256)][_0x58dec7(0x2e2)](_0x339085),'mutations':[_0x4e0ef5]};}[_0x491e29(0x361)](_0x3f52bb){const _0x14d07f=_0x491e29,{unitID:_0x201111}=_0x3f52bb,_0x47fadc=this[_0x14d07f(0x4a0)][_0x14d07f(0x21e)](_0x201111)[_0x14d07f(0x3c4)](_0x6cd9fa[_0x14d07f(0x20b)]),{undoCache:_0x36c4a6,redoCache:_0x2fca7d}=_0x47fadc['getUndoRedoMutationParamsCache']();if(_0x36c4a6[_0x14d07f(0x29f)]===0x0||_0x2fca7d[_0x14d07f(0x29f)]===0x0)return;const _0x46092e=[],_0xee335d=[];let _0x3beb1a=_0x196dd3['Tools']['deepClone'](_0x3f52bb[_0x14d07f(0x423)][0x0]),_0x49a730=_0x196dd3[_0x14d07f(0x256)][_0x14d07f(0x2e2)](_0x3f52bb[_0x14d07f(0x423)][0x0]);for(let _0x4e6b36=_0x36c4a6['length']-0x1;_0x4e6b36>=0x0;_0x4e6b36--){const _0x2b9b98={'id':_0x14d07f(0x3eb),'params':{..._0x36c4a6[_0x4e6b36]}},_0x3bda8b={'id':_0x14d07f(0x3eb),'params':{..._0x2fca7d[_0x4e6b36]}},_0x445c6d=this[_0x14d07f(0x3e3)][_0x14d07f(0x45a)](_0x3beb1a,_0x2b9b98,!0x1),_0x27ec87=this[_0x14d07f(0x3e3)][_0x14d07f(0x45a)](_0x49a730,_0x3bda8b,!0x1);if(_0x4993c9['isTransformMutationFailure'](_0x445c6d))throw _0x445c6d[_0x14d07f(0x447)];if(_0x4993c9['isTransformMutationFailure'](_0x27ec87))throw _0x27ec87[_0x14d07f(0x447)];_0x46092e[_0x14d07f(0x228)](_0x445c6d[_0x14d07f(0x29a)][_0x14d07f(0x2c7)]),_0xee335d[_0x14d07f(0x228)](_0x27ec87[_0x14d07f(0x29a)][_0x14d07f(0x2c7)]),_0x3beb1a=_0x445c6d[_0x14d07f(0x445)],_0x49a730=_0x27ec87[_0x14d07f(0x445)];}_0x47fadc['setUndoRedoMutationParamsCache']({'undoCache':_0x46092e,'redoCache':_0xee335d});}[_0x491e29(0x39a)](_0x199285){const _0x3826b6=_0x491e29,{unitID:_0x44371f}=_0x199285,_0x5abc4d=this[_0x3826b6(0x4a0)]['getRenderById'](_0x44371f)[_0x3826b6(0x3c4)](_0x6cd9fa['DocIMEInputManagerService']),_0xa3ef82=_0x5abc4d['getActiveRange']();if(_0xa3ef82==null)return;const _0x593d7f=[{'id':_0x3826b6(0x3eb),'params':{'unitId':_0x199285[_0x3826b6(0x2ef)],'actions':null,'textRanges':[_0xa3ef82]}}],_0x76b17e=this['_transformService']['transformMutationsWithChangeset'](_0x199285,_0x593d7f);if(!_0x4993c9[_0x3826b6(0x47d)](_0x76b17e))throw _0x76b17e[_0x3826b6(0x447)];const _0x8549cf=_0x76b17e['m2Prime'][0x0][_0x3826b6(0x2c7)][_0x3826b6(0x2ad)];Array[_0x3826b6(0x208)](_0x8549cf)&&_0x8549cf[_0x3826b6(0x29f)]&&_0x5abc4d[_0x3826b6(0x37c)](_0x8549cf[0x0]);}};_0x5d2de3=_0x4f0fd3([_0x41ef1b(0x0,_0x4993c9[_0x491e29(0x304)]),_0x41ef1b(0x1,_0x2e84e0[_0x491e29(0x214)])],_0x5d2de3);var _0x282304=Object[_0x491e29(0x258)],_0x400f49=(_0x4addfd,_0x5eed77,_0x4a15dc,_0x1a60f6)=>{const _0x4bc08d=_0x491e29;for(var _0x11c48c=_0x1a60f6>0x1?void 0x0:_0x1a60f6?_0x282304(_0x5eed77,_0x4a15dc):_0x5eed77,_0xac4969=_0x4addfd[_0x4bc08d(0x29f)]-0x1,_0x8810a6;_0xac4969>=0x0;_0xac4969--)(_0x8810a6=_0x4addfd[_0xac4969])&&(_0x11c48c=_0x8810a6(_0x11c48c)||_0x11c48c);return _0x11c48c;},_0x2b07de=(_0x1318fc,_0x5b05a1)=>(_0x531607,_0x1d87b9)=>_0x5b05a1(_0x531607,_0x1d87b9,_0x1318fc);let _0x48087e=class{constructor(_0x1f403c,_0x4900f9,_0x3eaa4b){const _0x5b89fa=_0x491e29;this[_0x5b89fa(0x34c)]=_0x1f403c,this[_0x5b89fa(0x3e3)]=_0x4900f9,this[_0x5b89fa(0x384)]=_0x3eaa4b;}[_0x491e29(0x298)](_0x2cd353){this['_transformHistoryAndStateStack'](_0x2cd353);}[_0x491e29(0x413)](_0x124e08){const _0x484a1c=_0x491e29,{unitID:_0x48bf7a}=_0x124e08,{collaboration:_0x3f7525}=this[_0x484a1c(0x384)]['getStateCache'](_0x48bf7a);if(_0x3f7525[_0x484a1c(0x29f)]===0x0)return _0x124e08;let _0xaa269b=_0x196dd3['Tools'][_0x484a1c(0x2e2)](_0x124e08[_0x484a1c(0x423)][0x0]);for(let _0x519cba=0x0;_0x519cba<_0x3f7525[_0x484a1c(0x29f)];_0x519cba++){const _0x265a9c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3f7525[_0x519cba][_0x484a1c(0x2e0)],..._0x3f7525[_0x519cba][_0x484a1c(0x4b6)]}},_0x41d9a7=this['_transformService'][_0x484a1c(0x45a)](_0xaa269b,_0x265a9c,!0x1);if(_0x4993c9[_0x484a1c(0x36d)](_0x41d9a7))throw _0x41d9a7['error'];_0xaa269b=_0x41d9a7[_0x484a1c(0x445)];}return{..._0x196dd3['Tools'][_0x484a1c(0x2e2)](_0x124e08),'mutations':[_0xaa269b]};}[_0x491e29(0x289)](_0x59516a){const _0x211611=_0x491e29,{unitID:_0x15ae87}=_0x59516a,{history:_0x270f12,collaboration:_0x284aec}=this['_docStateChangeManagerService'][_0x211611(0x4a6)](_0x15ae87);if(_0x270f12['length']===0x0&&_0x284aec[_0x211611(0x29f)]===0x0)return;const _0x1a1bc7=[],_0x184dff=[];let _0x160fb6=_0x196dd3['Tools'][_0x211611(0x2e2)](_0x59516a[_0x211611(0x423)][0x0]),_0x453c5e=_0x196dd3[_0x211611(0x256)][_0x211611(0x2e2)](_0x59516a[_0x211611(0x423)][0x0]);for(let _0x29f0ba=_0x270f12[_0x211611(0x29f)]-0x1;_0x29f0ba>=0x0;_0x29f0ba--){const _0x11ffb9={'id':_0x211611(0x3eb),'params':{'unitId':_0x270f12[_0x29f0ba][_0x211611(0x2e0)],..._0x270f12[_0x29f0ba][_0x211611(0x338)]}},_0x57d730={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x270f12[_0x29f0ba][_0x211611(0x2e0)],..._0x270f12[_0x29f0ba]['redoState']}},_0x14a68e=this[_0x211611(0x3e3)][_0x211611(0x45a)](_0x160fb6,_0x11ffb9,!0x1),_0x529330=this[_0x211611(0x3e3)][_0x211611(0x45a)](_0x453c5e,_0x57d730,!0x1);if(_0x4993c9[_0x211611(0x36d)](_0x14a68e))throw _0x14a68e['error'];if(_0x4993c9[_0x211611(0x36d)](_0x529330))throw _0x529330['error'];_0x1a1bc7['unshift']({..._0x270f12[_0x29f0ba],'undoState':_0x14a68e['m2Prime']['params'],'redoState':_0x529330[_0x211611(0x29a)][_0x211611(0x2c7)]}),_0x160fb6=_0x14a68e[_0x211611(0x445)],_0x453c5e=_0x529330[_0x211611(0x445)];}_0x160fb6=_0x196dd3[_0x211611(0x256)][_0x211611(0x2e2)](_0x59516a['mutations'][0x0]),_0x453c5e=_0x196dd3[_0x211611(0x256)][_0x211611(0x2e2)](_0x59516a[_0x211611(0x423)][0x0]);for(let _0x5beb5e=_0x284aec[_0x211611(0x29f)]-0x1;_0x5beb5e>=0x0;_0x5beb5e--){const _0x4cda7a={'id':_0x211611(0x3eb),'params':{'unitId':_0x284aec[_0x5beb5e][_0x211611(0x2e0)],..._0x284aec[_0x5beb5e][_0x211611(0x338)]}},_0x43d4cb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x284aec[_0x5beb5e]['unitId'],..._0x284aec[_0x5beb5e][_0x211611(0x4b6)]}},_0x2f87ad=this[_0x211611(0x3e3)]['transformMutation'](_0x160fb6,_0x4cda7a,!0x1),_0x5172c4=this[_0x211611(0x3e3)][_0x211611(0x45a)](_0x453c5e,_0x43d4cb,!0x1);if(_0x4993c9[_0x211611(0x36d)](_0x2f87ad))throw _0x2f87ad[_0x211611(0x447)];if(_0x4993c9[_0x211611(0x36d)](_0x5172c4))throw _0x5172c4[_0x211611(0x447)];_0x184dff[_0x211611(0x228)]({..._0x284aec[_0x5beb5e],'undoState':_0x2f87ad[_0x211611(0x29a)][_0x211611(0x2c7)],'redoState':_0x5172c4[_0x211611(0x29a)][_0x211611(0x2c7)]}),_0x160fb6=_0x2f87ad['m1Prime'],_0x453c5e=_0x5172c4['m1Prime'];}this['_docStateChangeManagerService'][_0x211611(0x40c)](_0x15ae87,{'history':_0x1a1bc7,'collaboration':_0x184dff});}};_0x48087e=_0x400f49([_0x2b07de(0x0,_0x196dd3['Inject'](_0x196dd3['Injector'])),_0x2b07de(0x1,_0x4993c9[_0x491e29(0x304)]),_0x2b07de(0x2,_0x196dd3[_0x491e29(0x494)](_0x6cd9fa[_0x491e29(0x3c6)]))],_0x48087e);var _0x157680=Object[_0x491e29(0x258)],_0x41e3d0=(_0x2c25fd,_0x456b3e,_0x316c58,_0x15080d)=>{for(var _0x96f900=_0x15080d>0x1?void 0x0:_0x15080d?_0x157680(_0x456b3e,_0x316c58):_0x456b3e,_0x4e6f31=_0x2c25fd['length']-0x1,_0x546bfa;_0x4e6f31>=0x0;_0x4e6f31--)(_0x546bfa=_0x2c25fd[_0x4e6f31])&&(_0x96f900=_0x546bfa(_0x96f900)||_0x96f900);return _0x96f900;},_0x49e5a6=(_0x4ca3bb,_0x31a6c8)=>(_0x2f0102,_0x55bfbc)=>_0x31a6c8(_0x2f0102,_0x55bfbc,_0x4ca3bb);let _0x1d7622=class{constructor(_0x32f30f,_0x186b77){const _0x151734=_0x491e29;this[_0x151734(0x34c)]=_0x32f30f,this[_0x151734(0x3e3)]=_0x186b77;}[_0x491e29(0x420)](_0x59a0ae){const _0x3b04b8=_0x491e29;var _0x237092;const _0x49df9e=this[_0x3b04b8(0x34c)][_0x3b04b8(0x48e)](_0x1551f2['DocSelectionManagerService']),_0x5a9e76=(_0x237092=_0x49df9e[_0x3b04b8(0x440)]())!=null?_0x237092:[];if(_0x5a9e76[_0x3b04b8(0x29f)]===0x0)return;const _0x1932d9=_0x59a0ae[_0x3b04b8(0x2ef)],_0x216426=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1932d9,'actions':null,'textRanges':_0x5a9e76}}],_0x4759da=this[_0x3b04b8(0x3e3)]['transformMutationsWithChangeset'](_0x59a0ae,_0x216426);if(!_0x4993c9[_0x3b04b8(0x47d)](_0x4759da))throw _0x4759da[_0x3b04b8(0x447)];const _0x31109e=_0x4759da[_0x3b04b8(0x29a)][0x0][_0x3b04b8(0x2c7)]['textRanges'];Array['isArray'](_0x31109e)&&_0x31109e[_0x3b04b8(0x29f)]&&_0x49df9e['replaceDocRanges'](_0x31109e,{'unitId':_0x1932d9,'subUnitId':_0x1932d9},!0x1);}};_0x1d7622=_0x41e3d0([_0x49e5a6(0x0,_0x196dd3['Inject'](_0x196dd3[_0x491e29(0x3bc)])),_0x49e5a6(0x1,_0x4993c9[_0x491e29(0x304)])],_0x1d7622);var _0x30e5c5=Object['getOwnPropertyDescriptor'],_0x5369f2=(_0x5d6e93,_0x187028,_0x1d86ea,_0x114747)=>{const _0x4a18fc=_0x491e29;for(var _0x4961e8=_0x114747>0x1?void 0x0:_0x114747?_0x30e5c5(_0x187028,_0x1d86ea):_0x187028,_0x1fc5be=_0x5d6e93[_0x4a18fc(0x29f)]-0x1,_0x4a9f1b;_0x1fc5be>=0x0;_0x1fc5be--)(_0x4a9f1b=_0x5d6e93[_0x1fc5be])&&(_0x4961e8=_0x4a9f1b(_0x4961e8)||_0x4961e8);return _0x4961e8;},_0x408c6a=(_0x4896d4,_0x1d7a2d)=>(_0x2c1f73,_0x54bdef)=>_0x1d7a2d(_0x2c1f73,_0x54bdef,_0x4896d4);let _0x1c87dd=class extends _0x196dd3[_0x491e29(0x435)]{constructor(_0x21afd1,_0x3dfec1,_0x6dbd66,_0x548af6,_0x2cf47d,_0x1ad077,_0x1bdd81,_0x3c4822){const _0xafeaa8=_0x491e29;super(),_0x1cfbec(this,_0xafeaa8(0x460),new _0x3ca4f2[(_0xafeaa8(0x373))](_0x40b4ee[_0xafeaa8(0x2fe)][_0xafeaa8(0x410)])),(this[_0xafeaa8(0x384)]=_0x21afd1,this[_0xafeaa8(0x4b1)]=_0x3dfec1,this[_0xafeaa8(0x498)]=_0x6dbd66,this[_0xafeaa8(0x25c)]=_0x548af6,this[_0xafeaa8(0x1ed)]=_0x2cf47d,this[_0xafeaa8(0x42e)]=_0x1ad077,this[_0xafeaa8(0x262)]=_0x1bdd81,this[_0xafeaa8(0x363)]=_0x3c4822,this[_0xafeaa8(0x2a4)]());}['_initEntityListener'](){const _0x37f0ad=_0x491e29;this['disposeWithMe'](this[_0x37f0ad(0x4b1)][_0x37f0ad(0x2b9)][_0x37f0ad(0x37e)](_0x44281b=>{const _0x13d25d=_0x37f0ad,_0x4fc20d=this[_0x13d25d(0x384)][_0x13d25d(0x42f)][_0x13d25d(0x37e)](_0x4e0430=>{const _0x5683bc=_0x13d25d;if(_0x4e0430==null)return;const {unitId:_0x14f798,redoState:_0x425229,commandId:_0x41ee99}=_0x4e0430;if(_0x14f798!==_0x44281b[_0x5683bc(0x2ef)])return;const _0x4f54de={'id':_0x41ee99,'type':_0x196dd3[_0x5683bc(0x407)][_0x5683bc(0x278)],'params':{'unitId':_0x14f798,'actions':_0x425229[_0x5683bc(0x3da)],'textRanges':null}};_0x44281b[_0x5683bc(0x2f3)](_0x4f54de);});if(_0x44281b[_0x13d25d(0x36b)](_0x4fc20d),_0x44281b instanceof _0x40b4ee[_0x13d25d(0x2bc)]){const _0x19daf2={'onTransformIME':_0x481d98=>this[_0x13d25d(0x498)]['transformIMECache'](_0x481d98),'onTransformState':_0x45d9fb=>this[_0x13d25d(0x25c)]['transformStateCache'](_0x45d9fb),'onTransformSelections':_0x3a4184=>this['_docTransformSelectionsService']['transformSelections'](_0x3a4184),'onSyncEditingCollabCursor':_0x44e5fc=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x44e5fc),'onTransformRemoteChangesetByIMECache':_0x1c3e09=>this[_0x13d25d(0x498)][_0x13d25d(0x413)](_0x1c3e09),'onTransformRemoteChangesetByStateCache':_0xfbf786=>this[_0x13d25d(0x25c)][_0x13d25d(0x413)](_0xfbf786)};_0x44281b[_0x13d25d(0x2d1)](_0x19daf2);}}));}};_0x1c87dd=_0x5369f2([_0x408c6a(0x0,_0x196dd3[_0x491e29(0x494)](_0x6cd9fa['DocStateChangeManagerService'])),_0x408c6a(0x1,_0x196dd3[_0x491e29(0x494)](_0x40b4ee[_0x491e29(0x231)])),_0x408c6a(0x2,_0x196dd3['Inject'](_0x5d2de3)),_0x408c6a(0x3,_0x196dd3['Inject'](_0x48087e)),_0x408c6a(0x4,_0x196dd3['Inject'](_0x1d7622)),_0x408c6a(0x5,_0x196dd3[_0x491e29(0x494)](_0x45d280)),_0x408c6a(0x6,_0x4b5f08[_0x491e29(0x3dc)]),_0x408c6a(0x7,_0x196dd3[_0x491e29(0x494)](_0x196dd3['LocaleService']))],_0x1c87dd);var _0x2b1cea=(_0x4aa475=>(_0x4aa475[_0x4aa475[_0x491e29(0x448)]=0x0]='UNDEFINED',_0x4aa475[_0x4aa475['OK']=0x1]='OK',_0x4aa475[_0x4aa475[_0x491e29(0x3d6)]=0x2]=_0x491e29(0x3d6),_0x4aa475[_0x4aa475[_0x491e29(0x344)]=0x3]='PERMISSION_DENIED',_0x4aa475[_0x4aa475[_0x491e29(0x43e)]=0x4]=_0x491e29(0x43e),_0x4aa475[_0x4aa475[_0x491e29(0x34f)]=0x5]=_0x491e29(0x34f),_0x4aa475[_0x4aa475[_0x491e29(0x29c)]=0x6]=_0x491e29(0x29c),_0x4aa475[_0x4aa475[_0x491e29(0x249)]=0x7]='INVALID_ARGUMENT',_0x4aa475[_0x4aa475[_0x491e29(0x439)]=0x8]=_0x491e29(0x439),_0x4aa475[_0x4aa475[_0x491e29(0x302)]=0x9]='COMPLETION_FINISHED',_0x4aa475[_0x4aa475['LOGIN_FAILED']=0xa]=_0x491e29(0x210),_0x4aa475[_0x4aa475['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x491e29(0x251),_0x4aa475[_0x4aa475[_0x491e29(0x38f)]=0xc]=_0x491e29(0x38f),_0x4aa475[_0x4aa475[_0x491e29(0x40b)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x4aa475[_0x4aa475['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4aa475[_0x4aa475[_0x491e29(0x204)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x4aa475[_0x4aa475[_0x491e29(0x45f)]=0x10]=_0x491e29(0x45f),_0x4aa475[_0x4aa475[_0x491e29(0x4c5)]=0x64]=_0x491e29(0x4c5),_0x4aa475[_0x4aa475[_0x491e29(0x2ed)]=0x65]=_0x491e29(0x2ed),_0x4aa475[_0x4aa475[_0x491e29(0x428)]=0xc9]='USER_NOT_FOUND',_0x4aa475[_0x4aa475[_0x491e29(0x274)]=0xca]=_0x491e29(0x274),_0x4aa475[_0x4aa475[_0x491e29(0x430)]=0x1389]=_0x491e29(0x430),_0x4aa475[_0x4aa475[_0x491e29(0x1fb)]=0x1771]=_0x491e29(0x1fb),_0x4aa475[_0x4aa475['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x491e29(0x3d9),_0x4aa475[_0x4aa475[_0x491e29(0x43c)]=0x1773]=_0x491e29(0x43c),_0x4aa475[_0x4aa475[_0x491e29(0x46f)]=0x1b59]='APPLY_REJECT',_0x4aa475[_0x4aa475[_0x491e29(0x295)]=0x1b5a]=_0x491e29(0x295),_0x4aa475[_0x4aa475[_0x491e29(0x312)]=0x1b5b]=_0x491e29(0x312),_0x4aa475[_0x4aa475[_0x491e29(0x37d)]=0x1b5c]=_0x491e29(0x37d),_0x4aa475[_0x4aa475[_0x491e29(0x348)]=0x1b5d]=_0x491e29(0x348),_0x4aa475[_0x4aa475[_0x491e29(0x303)]=0x1f41]=_0x491e29(0x303),_0x4aa475[_0x4aa475[_0x491e29(0x1f0)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4aa475[_0x4aa475[_0x491e29(0x2ab)]=0x232a]=_0x491e29(0x2ab),_0x4aa475[_0x4aa475[_0x491e29(0x254)]=0x232b]=_0x491e29(0x254),_0x4aa475[_0x4aa475['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4aa475[_0x4aa475[_0x491e29(0x383)]=0x232d]=_0x491e29(0x383),_0x4aa475[_0x4aa475[_0x491e29(0x444)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4aa475[_0x4aa475[_0x491e29(0x1eb)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4aa475[_0x4aa475[_0x491e29(0x49b)]=0x2713]=_0x491e29(0x49b),_0x4aa475[_0x4aa475[_0x491e29(0x290)]=0x2714]=_0x491e29(0x290),_0x4aa475[_0x4aa475[_0x491e29(0x482)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4aa475[_0x4aa475[_0x491e29(0x3fb)]=0x271b]=_0x491e29(0x3fb),_0x4aa475[_0x4aa475[_0x491e29(0x353)]=0x271c]=_0x491e29(0x353),_0x4aa475[_0x4aa475[_0x491e29(0x473)]=0x271d]=_0x491e29(0x473),_0x4aa475[_0x4aa475[_0x491e29(0x245)]=0x271e]=_0x491e29(0x245),_0x4aa475[_0x4aa475['YUUMI_AI_RUN_FAILED']=0x271f]=_0x491e29(0x294),_0x4aa475[_0x4aa475[_0x491e29(0x3f6)]=0x2720]=_0x491e29(0x3f6),_0x4aa475[_0x4aa475[_0x491e29(0x3e5)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4aa475[_0x4aa475[_0x491e29(0x2d2)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4aa475[_0x4aa475[_0x491e29(0x3f3)]=0x2ee2]='INVALID_INVITE_CODE',_0x4aa475[_0x4aa475[_0x491e29(0x415)]=0x2ee3]=_0x491e29(0x415),_0x4aa475[_0x4aa475[_0x491e29(0x331)]=0x2ee4]=_0x491e29(0x331),_0x4aa475[_0x4aa475[_0x491e29(0x48b)]=0x2ee5]=_0x491e29(0x48b),_0x4aa475[_0x4aa475[_0x491e29(0x2f0)]=0x32c9]=_0x491e29(0x2f0),_0x4aa475[_0x4aa475[_0x491e29(0x284)]=0x32ca]=_0x491e29(0x284),_0x4aa475[_0x4aa475['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x491e29(0x34e),_0x4aa475[_0x4aa475[_0x491e29(0x31b)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x4aa475[_0x4aa475[_0x491e29(0x3ff)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x4aa475[_0x4aa475[_0x491e29(0x3e4)]=0x36b3]=_0x491e29(0x3e4),_0x4aa475[_0x4aa475[_0x491e29(0x385)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x4aa475[_0x4aa475[_0x491e29(0x476)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4aa475[_0x4aa475[_0x491e29(0x405)]=0x3716]=_0x491e29(0x405),_0x4aa475[_0x4aa475['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x491e29(0x212),_0x4aa475[_0x4aa475[_0x491e29(0x44e)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4aa475[_0x4aa475[_0x491e29(0x3b0)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x4aa475[_0x4aa475['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4aa475[_0x4aa475[_0x491e29(0x39f)]=0x3a9c]=_0x491e29(0x39f),_0x4aa475[_0x4aa475[_0x491e29(0x48c)]=0x3a9d]=_0x491e29(0x48c),_0x4aa475[_0x4aa475[_0x491e29(0x30a)]=0x3a9e]=_0x491e29(0x30a),_0x4aa475[_0x4aa475['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x491e29(0x320),_0x4aa475[_0x4aa475[_0x491e29(0x3be)]=-0x1]='UNRECOGNIZED',_0x4aa475))(_0x2b1cea||{});function _0x346ae4(_0x5e90d1){const _0x509108=_0x491e29;var _0x53c88b,_0x369cc8;const _0x2401a3=(_0x53c88b=_0x5e90d1['stageInfo'])==null?void 0x0:_0x53c88b[_0x509108(0x2df)],_0x50fbda=((_0x369cc8=_0x5e90d1['stageInfo'])==null?void 0x0:_0x369cc8[_0x509108(0x2db)])||0x0;return _0x2401a3===_0x1f7f09[_0x509108(0x3ce)]['START_CALCULATION']&&_0x50fbda>0x0;}function _0x127ac6(_0x15f369){const _0x2be2f3=_0x491e29;return _0x15f369[_0x2be2f3(0x3f7)]===_0x1f7f09[_0x2be2f3(0x1f3)][_0x2be2f3(0x437)];}var _0x33f00a=Object[_0x491e29(0x258)],_0x585733=(_0x18f33b,_0x4264f3,_0x3d98fe,_0xd486d5)=>{const _0x93ca25=_0x491e29;for(var _0x36d25e=_0xd486d5>0x1?void 0x0:_0xd486d5?_0x33f00a(_0x4264f3,_0x3d98fe):_0x4264f3,_0x1b0699=_0x18f33b[_0x93ca25(0x29f)]-0x1,_0x205b82;_0x1b0699>=0x0;_0x1b0699--)(_0x205b82=_0x18f33b[_0x1b0699])&&(_0x36d25e=_0x205b82(_0x36d25e)||_0x36d25e);return _0x36d25e;},_0x35780d=(_0x5e7a35,_0x3d4710)=>(_0x1f91fe,_0x1ff848)=>_0x3d4710(_0x1f91fe,_0x1ff848,_0x5e7a35);const _0x198442=_0x491e29(0x355),_0x3a3fe0=_0x491e29(0x3ec),_0x28bf37=_0x491e29(0x20e);let _0x45473e=class extends _0x196dd3[_0x491e29(0x435)]{constructor(_0x15a3ce,_0x3a94b3,_0x26ba24,_0x5a6591,_0x2ad3fd,_0x5926bb,_0x39c7a3){const _0xfbabd1=_0x491e29;super(),_0x1cfbec(this,_0xfbabd1(0x2ce),null),_0x1cfbec(this,_0xfbabd1(0x32d),0x0),_0x1cfbec(this,_0xfbabd1(0x3b7),0x0),_0x1cfbec(this,'_taskIds',[]),_0x1cfbec(this,_0xfbabd1(0x3ef),0x0),(this['_messageService']=_0x15a3ce,this['_commandService']=_0x3a94b3,this[_0xfbabd1(0x391)]=_0x26ba24,this[_0xfbabd1(0x44b)]=_0x5a6591,this[_0xfbabd1(0x2c4)]=_0x2ad3fd,this[_0xfbabd1(0x3d8)]=_0x5926bb,this[_0xfbabd1(0x363)]=_0x39c7a3,this[_0xfbabd1(0x2cf)]());}[_0x491e29(0x2cf)](){const _0x3ec291=_0x491e29;this[_0x3ec291(0x36b)](this[_0x3ec291(0x409)]['beforeCommandExecuted']((_0x1e18d6,_0x16493f)=>{const _0x781d90=_0x3ec291;if(_0x1e18d6['id']!==_0x1f7f09[_0x781d90(0x3dd)]['id'])return;const _0x42ad15=_0x1e18d6['params'];if(!this[_0x781d90(0x366)](_0x42ad15[_0x781d90(0x23a)]))return;if(!this[_0x781d90(0x202)]())throw this['_checkAndWaitForCalculationPermission'](_0x1e18d6,_0x16493f),this['_showGuardMessage'](),new _0x196dd3[(_0x781d90(0x2ca))]();})),this[_0x3ec291(0x36b)](this['_commandService'][_0x3ec291(0x2d6)]((_0x230cc2,_0x177210)=>{const _0x56705d=_0x3ec291;if(_0x230cc2['id']!==_0x1f7f09[_0x56705d(0x397)]['id'])return;const _0xe3da29=_0x230cc2[_0x56705d(0x2c7)];if(_0x346ae4(_0xe3da29)){const _0x1c5be3=_0x196dd3[_0x56705d(0x458)]();this[_0x56705d(0x224)]['push'](_0x1c5be3),this[_0x56705d(0x24e)](_0x1c5be3);}else{if(_0x127ac6(_0xe3da29)&&this[_0x56705d(0x224)]['length']>0x0){const _0xb00fff=this[_0x56705d(0x224)]['shift']();this[_0x56705d(0x489)](_0xb00fff);}}}));}[_0x491e29(0x205)](){const _0x5bacf9=_0x491e29;super[_0x5bacf9(0x205)](),this[_0x5bacf9(0x246)](),this[_0x5bacf9(0x224)]=[],this[_0x5bacf9(0x3b7)]=0x0,this[_0x5bacf9(0x32d)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x491e29(0x4af)](_0x313a1e,_0x3b4b2a){const _0x335dfd=_0x491e29;for(let _0x4f599b=0x0;_0x4f599b<0x1e;_0x4f599b++)try{if(await this[_0x335dfd(0x3fa)](),this['_checkCalculationAvailable']()){this[_0x335dfd(0x3a2)](_0x313a1e,_0x3b4b2a),this[_0x335dfd(0x262)]['show']({'content':this[_0x335dfd(0x363)]['t'](_0x335dfd(0x3ae)),'type':_0x3c887e[_0x335dfd(0x450)][_0x335dfd(0x2b3)]});return;}await new Promise(_0x5629d9=>{const _0x2d6f8b=_0x335dfd;this[_0x2d6f8b(0x2ce)]=window['setTimeout'](_0x5629d9,0x3e8);});}catch(_0x4d1d3f){this['_logService'][_0x335dfd(0x447)](_0x4d1d3f);}this[_0x335dfd(0x262)][_0x335dfd(0x4c6)]({'content':this['_localeService']['t'](_0x335dfd(0x3ee)),'type':_0x3c887e[_0x335dfd(0x450)][_0x335dfd(0x21a)]});}['_applyCommand'](_0x4ebdaf,_0x2f1962){const _0x16dd19=_0x491e29;try{this[_0x16dd19(0x409)][_0x16dd19(0x3d5)](_0x4ebdaf['id'],_0x4ebdaf['params'],_0x2f1962);}catch(_0xb57687){this['_logService'][_0x16dd19(0x447)](_0xb57687);}}[_0x491e29(0x293)](_0x5e1fb6,_0x3171b9){const _0x35baed=_0x491e29;_0x3171b9<this['_lastResponseTimestamp']||(this[_0x35baed(0x3ef)]=_0x3171b9,this[_0x35baed(0x32d)]=Number[_0x35baed(0x22c)](_0x5e1fb6[_0x35baed(0x25b)]),this[_0x35baed(0x3b7)]=Number['parseInt'](_0x5e1fb6[_0x35baed(0x367)]));}async['_startCalculationLimit'](_0x135ee8){const _0x48e11f=_0x491e29;var _0x1da4d4,_0x2cb239;const _0x5d5049=Date[_0x48e11f(0x1fd)]();try{const _0x1efb50=((_0x1da4d4=this[_0x48e11f(0x391)]['getConfig'](_0x40b4ee[_0x48e11f(0x269)]))==null?void 0x0:_0x1da4d4[_0x48e11f(0x400)])||_0x3a3fe0,_0x3a44c4=(await this[_0x48e11f(0x44b)][_0x48e11f(0x3a0)](_0x1efb50,{'body':JSON[_0x48e11f(0x22f)]({'taskId':_0x135ee8})}))[_0x48e11f(0x485)];if(((_0x2cb239=_0x3a44c4[_0x48e11f(0x447)])==null?void 0x0:_0x2cb239[_0x48e11f(0x38b)])!==_0x2b1cea['OK'])return;this[_0x48e11f(0x293)](_0x3a44c4[_0x48e11f(0x2ac)],_0x5d5049);}catch(_0x424004){this[_0x48e11f(0x3d8)][_0x48e11f(0x447)](_0x424004);}}async[_0x491e29(0x3fa)](_0x10eef3){const _0x35ef24=_0x491e29;var _0x3b4525,_0x34a012;const _0x226543=Date[_0x35ef24(0x1fd)]();try{const _0x503037=((_0x3b4525=this['_configService'][_0x35ef24(0x2c6)](_0x40b4ee[_0x35ef24(0x269)]))==null?void 0x0:_0x3b4525[_0x35ef24(0x236)])||_0x198442,_0x53ae9d=_0x10eef3?_0x503037+_0x35ef24(0x40d)+encodeURIComponent(_0x10eef3):_0x503037,_0x5a2af4=(await this[_0x35ef24(0x44b)][_0x35ef24(0x48e)](_0x53ae9d))['body'];if(((_0x34a012=_0x5a2af4[_0x35ef24(0x447)])==null?void 0x0:_0x34a012[_0x35ef24(0x38b)])!==_0x2b1cea['OK'])return;this['_setFormulaLimitStatus'](_0x5a2af4['limitInfo'],_0x226543);}catch(_0x5cfcef){this[_0x35ef24(0x3d8)]['error'](_0x5cfcef);}}async[_0x491e29(0x489)](_0x116e55){const _0x59db37=_0x491e29;var _0x3d6f0d,_0x4034cd;const _0x80b9b1=Date['now']();try{const _0x3c6ac1=((_0x3d6f0d=this[_0x59db37(0x391)][_0x59db37(0x2c6)](_0x40b4ee[_0x59db37(0x269)]))==null?void 0x0:_0x3d6f0d[_0x59db37(0x487)])||_0x28bf37,_0x4446e9=(await this[_0x59db37(0x44b)][_0x59db37(0x3a0)](_0x3c6ac1,{'body':JSON['stringify']({'taskId':_0x116e55})}))['body'];if(((_0x4034cd=_0x4446e9[_0x59db37(0x447)])==null?void 0x0:_0x4034cd[_0x59db37(0x38b)])!==_0x2b1cea['OK'])return;this[_0x59db37(0x293)](_0x4446e9[_0x59db37(0x2ac)],_0x80b9b1);}catch(_0x54dfe5){this[_0x59db37(0x3d8)][_0x59db37(0x447)](_0x54dfe5);}}['_checkCalculationAvailable'](){const _0x2ca80=_0x491e29;return this[_0x2ca80(0x32d)]===0x0?!0x0:this[_0x2ca80(0x32d)]-this[_0x2ca80(0x3b7)]>0x0;}[_0x491e29(0x246)](){const _0x37d871=_0x491e29;this[_0x37d871(0x2ce)]&&(clearTimeout(this[_0x37d871(0x2ce)]),this[_0x37d871(0x2ce)]=null);}[_0x491e29(0x442)](){const _0x5a146a=_0x491e29;this[_0x5a146a(0x262)][_0x5a146a(0x4c6)]({'content':this[_0x5a146a(0x363)]['t']('formula.calculation.waiting'),'type':_0x3c887e[_0x5a146a(0x450)]['Loading']});}[_0x491e29(0x366)](_0x4226bc){const _0x1e8f8f=_0x491e29;for(const _0x5484e2 of _0x4226bc){const {unitId:_0x12813f,sheetId:_0x46a3a4,range:_0x4530ec}=_0x5484e2,_0xfd36c2=this[_0x1e8f8f(0x2c4)][_0x1e8f8f(0x277)](_0x12813f);if(!_0xfd36c2)continue;const _0x7baa27=_0xfd36c2[_0x1e8f8f(0x20a)](_0x46a3a4);if(!_0x7baa27)continue;const _0x28a159=_0x7baa27['getCellMatrix']();for(let _0x59de01=_0x4530ec[_0x1e8f8f(0x314)];_0x59de01<=_0x4530ec[_0x1e8f8f(0x30d)];_0x59de01++)for(let _0x26d604=_0x4530ec[_0x1e8f8f(0x21c)];_0x26d604<=_0x4530ec[_0x1e8f8f(0x451)];_0x26d604++){const _0x27875f=_0x28a159[_0x1e8f8f(0x49e)](_0x59de01,_0x26d604);if(_0x27875f&&(_0x196dd3[_0x1e8f8f(0x25f)](_0x27875f['f'])||_0x196dd3[_0x1e8f8f(0x3e0)](_0x27875f['si'])))return!0x0;}}return!0x1;}};_0x45473e=_0x585733([_0x35780d(0x0,_0x196dd3[_0x491e29(0x494)](_0x4b5f08[_0x491e29(0x3dc)])),_0x35780d(0x1,_0x196dd3[_0x491e29(0x2ff)]),_0x35780d(0x2,_0x196dd3[_0x491e29(0x343)]),_0x35780d(0x3,_0x196dd3[_0x491e29(0x494)](_0x2cd91f['HTTPService'])),_0x35780d(0x4,_0x196dd3[_0x491e29(0x36a)]),_0x35780d(0x5,_0x196dd3['ILogService']),_0x35780d(0x6,_0x196dd3[_0x491e29(0x494)](_0x196dd3['LocaleService']))],_0x45473e);var _0x1d62df=Object[_0x491e29(0x258)],_0x2b8d74=(_0x589059,_0x33a98d,_0x561ad6,_0x50ff2b)=>{for(var _0x49162e=_0x50ff2b>0x1?void 0x0:_0x50ff2b?_0x1d62df(_0x33a98d,_0x561ad6):_0x33a98d,_0x53cb11=_0x589059['length']-0x1,_0x597166;_0x53cb11>=0x0;_0x53cb11--)(_0x597166=_0x589059[_0x53cb11])&&(_0x49162e=_0x597166(_0x49162e)||_0x49162e);return _0x49162e;},_0x3f41bf=(_0x5c3310,_0x25b411)=>(_0xab3879,_0x347829)=>_0x25b411(_0xab3879,_0x347829,_0x5c3310);let _0x13022e=class extends _0x196dd3[_0x491e29(0x435)]{constructor(_0x1f66d7,_0x24374d,_0x588e6a){const _0xe1e64c=_0x491e29;super(),_0x1cfbec(this,_0xe1e64c(0x45d),new Map()),_0x1cfbec(this,'_saveTaskMap',new Map()),_0x1cfbec(this,_0xe1e64c(0x273),!0x1),(this[_0xe1e64c(0x391)]=_0x1f66d7,this['_localStorageService']=_0x24374d,this[_0xe1e64c(0x39c)]=_0x588e6a);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x178510=_0x491e29;this[_0x178510(0x273)]=!0x1;}get[_0x491e29(0x364)](){const _0x36acb4=_0x491e29;return this[_0x36acb4(0x3c9)];}['dispose'](){const _0xfc4d9f=_0x491e29;this[_0xfc4d9f(0x4ab)]()['then'](()=>super[_0xfc4d9f(0x205)]());}async[_0x491e29(0x392)](_0xb21cb7){const _0x4507cd=_0x491e29;return this[_0x4507cd(0x273)]?null:this['_localStorageService']['getItem'](_0x40b4ee['getLocalCacheKey'](_0xb21cb7));}async['saveOfflineData'](_0x4e57c7,_0x3da3d7){const _0x1ef91f=_0x491e29;return!!this[_0x1ef91f(0x46e)]['setItem'](_0x4e57c7,_0x3da3d7);}[_0x491e29(0x416)](_0x74b110,_0x53d5be,_0x116f73,_0x20ff78){const _0x5a8fa6=_0x491e29,_0xc399c9=this[_0x5a8fa6(0x39c)][_0x5a8fa6(0x268)](_0x74b110);this[_0x5a8fa6(0x45d)][_0x5a8fa6(0x3b9)](_0x74b110,{'unitID':_0x74b110,'type':_0x53d5be,'awaitingChangeset':_0x116f73,'mutations':_0x20ff78,'rev':_0xc399c9}),this[_0x5a8fa6(0x3c9)][_0x5a8fa6(0x42d)](_0x74b110)||this['_scheduleSaving'](_0x74b110);}['_scheduleSaving'](_0x8ccb2){const _0x556e46=_0x491e29,_0x3aa832=this[_0x556e46(0x3d1)]();_0x3aa832===0x0?this[_0x556e46(0x31c)](_0x8ccb2):this[_0x556e46(0x3c9)][_0x556e46(0x3b9)](_0x8ccb2,setTimeout(()=>this['_saveCache'](_0x8ccb2),_0x3aa832));}['_getSaveTimeout'](){const _0x483118=_0x491e29;var _0x2f8b66;return(_0x2f8b66=this[_0x483118(0x391)][_0x483118(0x2c6)](_0x40b4ee[_0x483118(0x454)]))!=null?_0x2f8b66:_0x40b4ee[_0x483118(0x2d3)];}[_0x491e29(0x31c)](_0x19a74d){const _0x3de37f=_0x491e29,_0x62513d=this[_0x3de37f(0x3c9)][_0x3de37f(0x48e)](_0x19a74d);return _0x62513d!==void 0x0&&window[_0x3de37f(0x29e)](_0x62513d),this[_0x3de37f(0x46e)]['setItem'](_0x40b4ee['getLocalCacheKey'](_0x19a74d),this[_0x3de37f(0x45d)]['get'](_0x19a74d))[_0x3de37f(0x374)](()=>this[_0x3de37f(0x3c9)][_0x3de37f(0x340)](_0x19a74d));}async[_0x491e29(0x4ab)](){const _0x48a147=_0x491e29,_0x24d63e=[];this[_0x48a147(0x3c9)]['forEach']((_0x10954e,_0x5ab086)=>{const _0xabf960=_0x48a147;window[_0xabf960(0x29e)](_0x10954e),_0x24d63e[_0xabf960(0x2be)](this[_0xabf960(0x31c)](_0x5ab086)[_0xabf960(0x374)](()=>{const _0x56853b=_0xabf960;this[_0x56853b(0x3c9)][_0x56853b(0x340)](_0x5ab086);}));}),await Promise[_0x48a147(0x33d)](_0x24d63e);}};_0x13022e=_0x2b8d74([_0x3f41bf(0x0,_0x196dd3['IConfigService']),_0x3f41bf(0x1,_0x196dd3[_0x491e29(0x386)]),_0x3f41bf(0x2,_0x196dd3[_0x491e29(0x494)](_0x4993c9[_0x491e29(0x365)]))],_0x13022e);class _0x5f32c9 extends _0x196dd3[_0x491e29(0x393)]{constructor(){const _0x5ce382=_0x491e29;super(),_0x1cfbec(this,_0x5ce382(0x280)),this['urlChange$']=_0x3ca4f2[_0x5ce382(0x2ea)](window,_0x5ce382(0x2fb))[_0x5ce382(0x3ab)](_0x3ca4f2[_0x5ce382(0x371)](this['dispose$']),_0x3ca4f2[_0x5ce382(0x41b)](0x1),_0x3ca4f2[_0x5ce382(0x376)](void 0x0));}[_0x491e29(0x2cb)](_0x36773b,_0x3956f3,_0x2db330=!0x1){const _0x1f5678=_0x491e29,_0x4304b2=new URL(window[_0x1f5678(0x238)][_0x1f5678(0x349)]);_0x4304b2[_0x1f5678(0x499)][_0x1f5678(0x3b9)](_0x36773b,_0x3956f3),_0x2db330?window[_0x1f5678(0x4bb)][_0x1f5678(0x4ac)]('','',_0x4304b2[_0x1f5678(0x465)]()):window[_0x1f5678(0x4bb)][_0x1f5678(0x411)]('','',_0x4304b2['toString']());}[_0x491e29(0x471)](_0xd63840,_0x35e1d9=!0x1){const _0x1f2da4=_0x491e29,_0x130658=new URL(window[_0x1f2da4(0x238)][_0x1f2da4(0x349)]);_0x130658['searchParams']['delete'](_0xd63840),_0x35e1d9?window[_0x1f2da4(0x4bb)][_0x1f2da4(0x4ac)]('','',_0x130658[_0x1f2da4(0x465)]()):window['history'][_0x1f2da4(0x411)]('','',_0x130658[_0x1f2da4(0x465)]());}[_0x491e29(0x497)](_0x420224){const _0x53a633=_0x491e29;var _0x487292;return(_0x487292=new URL(window['location'][_0x53a633(0x349)])['searchParams'][_0x53a633(0x48e)](_0x420224))!=null?_0x487292:void 0x0;}}var _0x21df4f=Object[_0x491e29(0x33b)],_0x564953=Object[_0x491e29(0x258)],_0x57374b=(_0x3250af,_0xf9003c,_0x1a137c)=>_0xf9003c in _0x3250af?_0x21df4f(_0x3250af,_0xf9003c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a137c}):_0x3250af[_0xf9003c]=_0x1a137c,_0x59c675=(_0x1c5f22,_0x182850,_0x5c5481,_0x62d753)=>{const _0x3683fc=_0x491e29;for(var _0x47fce2=_0x62d753>0x1?void 0x0:_0x62d753?_0x564953(_0x182850,_0x5c5481):_0x182850,_0x51fcc6=_0x1c5f22[_0x3683fc(0x29f)]-0x1,_0x2d23bc;_0x51fcc6>=0x0;_0x51fcc6--)(_0x2d23bc=_0x1c5f22[_0x51fcc6])&&(_0x47fce2=_0x2d23bc(_0x47fce2)||_0x47fce2);return _0x47fce2;},_0x23f14d=(_0xa3832b,_0x433870)=>(_0x1c6ef8,_0x59b174)=>_0x433870(_0x1c6ef8,_0x59b174,_0xa3832b),_0x366331=(_0x2a72a4,_0x2ea705,_0x5e6566)=>_0x57374b(_0x2a72a4,_0x2ea705+'',_0x5e6566);const _0x4d8aba='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1392ba['UniverCollaborationClientUIPlugin']=class extends _0x196dd3[_0x491e29(0x4aa)]{constructor(_0x353e53=_0x178e5d,_0x261694,_0x4cc7e1,_0x222ae8){const _0x2dd4df=_0x491e29;super(),this[_0x2dd4df(0x2a9)]=_0x353e53,this[_0x2dd4df(0x4a0)]=_0x261694,this['_injector']=_0x4cc7e1,this[_0x2dd4df(0x391)]=_0x222ae8;const {..._0x30ab7d}=_0x196dd3[_0x2dd4df(0x253)]({},_0x178e5d,this[_0x2dd4df(0x2a9)]);this[_0x2dd4df(0x391)][_0x2dd4df(0x308)](_0x27d570,_0x30ab7d);}[_0x491e29(0x47c)](){const _0x268023=_0x491e29;this[_0x268023(0x4a2)](),this['_initDependencies']();}[_0x491e29(0x318)](){const _0x5a4266=_0x491e29;this[_0x5a4266(0x327)]();}[_0x491e29(0x4a2)](){const _0x48229e=_0x491e29;var _0x37cb23;const _0x215d07=[[_0x57582a],[_0x45473e],[_0x1d7622],[_0x5d2de3],[_0x48087e],[_0x45d280],[_0x5c621d,{'useClass':_0x5f32c9}],[_0x2cd91f[_0x48229e(0x33e)],{'useClass':_0x2cd91f[_0x48229e(0x2d5)]}],[_0x40b4ee[_0x48229e(0x229)],{'useClass':_0x13022e}],[_0x1392ba[_0x48229e(0x4b8)]],[_0x1c87dd],[_0x52fecf],[_0x11c5b2],[_0x1df0f8],[_0x1392ba['CollaborationDataLoaderController']]];_0x196dd3[_0x48229e(0x427)](this[_0x48229e(0x34c)],_0x196dd3['mergeOverrideWithDependencies'](_0x215d07,(_0x37cb23=this[_0x48229e(0x2a9)])==null?void 0x0:_0x37cb23[_0x48229e(0x321)]));}[_0x491e29(0x327)](){const _0x4e80d6=_0x491e29;this[_0x4e80d6(0x36b)](this[_0x4e80d6(0x4a0)][_0x4e80d6(0x45c)](_0x196dd3[_0x4e80d6(0x1f6)][_0x4e80d6(0x39b)],[_0x3ab3e6])),this[_0x4e80d6(0x36b)](this[_0x4e80d6(0x4a0)]['registerRenderModule'](_0x196dd3[_0x4e80d6(0x1f6)][_0x4e80d6(0x2a7)],[_0x212a44]));}[_0x491e29(0x2e8)](){const _0x54968b=_0x491e29;_0x196dd3[_0x54968b(0x319)](this[_0x54968b(0x34c)],[[_0x11c5b2],[_0x1392ba['DesktopCollaborationStatusDisplayController']],[_0x1c87dd],[_0x52fecf],[_0x1392ba[_0x54968b(0x322)]],[_0x45473e]]);}},_0x366331(_0x1392ba[_0x491e29(0x354)],_0x491e29(0x2bf),_0x4d8aba),_0x1392ba[_0x491e29(0x354)]=_0x59c675([_0x196dd3['DependentOn'](_0x40b4ee[_0x491e29(0x3fd)]),_0x23f14d(0x1,_0x2e84e0[_0x491e29(0x214)]),_0x23f14d(0x2,_0x196dd3[_0x491e29(0x494)](_0x196dd3[_0x491e29(0x3bc)])),_0x23f14d(0x3,_0x196dd3[_0x491e29(0x343)])],_0x1392ba[_0x491e29(0x354)]);var _0x5280a2=Object[_0x491e29(0x258)],_0x2812ed=(_0x4eceec,_0x4c733d,_0x490879,_0xf0f5e4)=>{for(var _0x3a9c81=_0xf0f5e4>0x1?void 0x0:_0xf0f5e4?_0x5280a2(_0x4c733d,_0x490879):_0x4c733d,_0x723264=_0x4eceec['length']-0x1,_0x20ea3b;_0x723264>=0x0;_0x723264--)(_0x20ea3b=_0x4eceec[_0x723264])&&(_0x3a9c81=_0x20ea3b(_0x3a9c81)||_0x3a9c81);return _0x3a9c81;},_0x302aa5=(_0x932618,_0x42d4eb)=>(_0x182300,_0x323f26)=>_0x42d4eb(_0x182300,_0x323f26,_0x932618);_0x1392ba[_0x491e29(0x32f)]=class extends _0x40b4ee['CollaborationSocketService']{constructor(_0x256e5c,_0x192432,_0x1904d5,_0x48c2e4,_0x2d5f6c){super(_0x256e5c,_0x192432,_0x1904d5,_0x48c2e4,_0x2d5f6c);}async[_0x491e29(0x263)](_0x1eb5a4){const _0x39a435=_0x491e29,_0x266469=await this[_0x39a435(0x438)](),_0x1b7c89=this['_createSocketURL'](_0x1eb5a4,_0x266469);return this['_doCreateSocket'](_0x1b7c89);}[_0x491e29(0x2c0)](_0x56c568,_0x24a198){const _0x2a3c27=_0x491e29,_0x2ad2dc=typeof window>'u'?new URL(_0x56c568):new URL(_0x56c568,window[_0x2a3c27(0x238)][_0x2a3c27(0x2f1)]);_0x2ad2dc[_0x2a3c27(0x499)][_0x2a3c27(0x3b9)]('sessionTicket',_0x24a198);const _0x1a093b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2a3c27(0x238)][_0x2a3c27(0x33f)]);return _0x1a093b['get'](_0x2a3c27(0x1f9))&&_0x2ad2dc[_0x2a3c27(0x499)][_0x2a3c27(0x3b9)](_0x2a3c27(0x1f9),_0x1a093b[_0x2a3c27(0x48e)](_0x2a3c27(0x1f9))),_0x2ad2dc[_0x2a3c27(0x465)]();}async[_0x491e29(0x438)](){const _0x4990d1=_0x491e29;var _0x47c846,_0x53aa4d,_0x36ac26;const _0x23f908=this[_0x4990d1(0x391)][_0x4990d1(0x2c6)](_0x40b4ee[_0x4990d1(0x269)]),_0x2b9925=(_0x47c846=_0x23f908==null?void 0x0:_0x23f908[_0x4990d1(0x283)])!=null?_0x47c846:_0x40b4ee[_0x4990d1(0x22b)];return(_0x36ac26=(_0x53aa4d=(await this['_httpService'][_0x4990d1(0x48e)](_0x2b9925,{'headers':{'Content-Type':_0x4990d1(0x1fc)}}))[_0x4990d1(0x485)])==null?void 0x0:_0x53aa4d[_0x4990d1(0x221)])!=null?_0x36ac26:'';}},_0x1392ba[_0x491e29(0x32f)]=_0x2812ed([_0x302aa5(0x0,_0x196dd3[_0x491e29(0x494)](_0x196dd3['Injector'])),_0x302aa5(0x1,_0x196dd3[_0x491e29(0x494)](_0x2cd91f[_0x491e29(0x462)])),_0x302aa5(0x2,_0x196dd3[_0x491e29(0x343)]),_0x302aa5(0x3,_0x196dd3[_0x491e29(0x433)]),_0x302aa5(0x4,_0x4993c9[_0x491e29(0x43f)])],_0x1392ba[_0x491e29(0x32f)]);var _0xe6b567=Object[_0x491e29(0x258)],_0x32c73a=(_0x52dac5,_0x22ec48,_0x1d7f51,_0x30090d)=>{const _0x59ec6c=_0x491e29;for(var _0x1e88a3=_0x30090d>0x1?void 0x0:_0x30090d?_0xe6b567(_0x22ec48,_0x1d7f51):_0x22ec48,_0x29405a=_0x52dac5[_0x59ec6c(0x29f)]-0x1,_0x2742a7;_0x29405a>=0x0;_0x29405a--)(_0x2742a7=_0x52dac5[_0x29405a])&&(_0x1e88a3=_0x2742a7(_0x1e88a3)||_0x1e88a3);return _0x1e88a3;},_0x456981=(_0x2f1119,_0x26337c)=>(_0x2214fd,_0x2d607e)=>_0x26337c(_0x2214fd,_0x2d607e,_0x2f1119);_0x1392ba[_0x491e29(0x370)]=class extends _0x196dd3['Disposable']{constructor(_0x42cbe6,_0x2ca0c9,_0x41feae){const _0x70b09f=_0x491e29;super(),this[_0x70b09f(0x24c)]=_0x42cbe6,this['_httpService']=_0x2ca0c9,this[_0x70b09f(0x391)]=_0x41feae;}async['runOnServer'](_0x1e191a,_0x3035f0,_0x20f75b,..._0x22e1e5){const _0x552ed0=_0x491e29;var _0x34b093,_0x5af479,_0x5f0c6a,_0x3c8560;const _0x547ecd=this[_0x552ed0(0x24c)][_0x552ed0(0x32a)]();if(!_0x547ecd)throw new Error(_0x552ed0(0x418));const _0x3f9c98=((_0x34b093=this[_0x552ed0(0x391)][_0x552ed0(0x2c6)](_0x40b4ee[_0x552ed0(0x43d)]))!=null?_0x34b093:_0x40b4ee[_0x552ed0(0x466)])+'/'+_0x1e191a+_0x552ed0(0x2d4)+_0x3035f0,_0x4153f8=new URL(window[_0x552ed0(0x238)][_0x552ed0(0x349)]),_0x26c0d6={'scriptId':_0x1e191a,'runId':(_0x5af479=_0x4153f8[_0x552ed0(0x499)][_0x552ed0(0x48e)](_0x552ed0(0x1f9)))!=null?_0x5af479:'','function':_0x3035f0,'unitId':_0x547ecd['getUnitId'](),'argsOfFunction':JSON[_0x552ed0(0x22f)](_0x22e1e5),'invokeId':(_0x5f0c6a=_0x20f75b[_0x552ed0(0x237)])!=null?_0x5f0c6a:'','executionId':(_0x3c8560=_0x20f75b[_0x552ed0(0x3b8)])!=null?_0x3c8560:''};try{const _0x3f63f9=await this[_0x552ed0(0x44b)][_0x552ed0(0x3a0)](_0x3f9c98,{'body':_0x26c0d6});return _0x3f63f9['body'][_0x552ed0(0x447)]&&_0x3f63f9[_0x552ed0(0x485)][_0x552ed0(0x447)][_0x552ed0(0x38b)]!==_0x2b1cea['OK']?'Failed':_0x3f63f9['body'][_0x552ed0(0x468)];}catch{return'Failed';}}},_0x1392ba[_0x491e29(0x370)]=_0x32c73a([_0x456981(0x0,_0x196dd3[_0x491e29(0x36a)]),_0x456981(0x1,_0x196dd3['Inject'](_0x2cd91f[_0x491e29(0x462)])),_0x456981(0x2,_0x196dd3[_0x491e29(0x343)])],_0x1392ba[_0x491e29(0x370)]);const _0x1e52df=0x7530,_0x285fd3=_0x491e29(0x23f);class _0x45e711 extends _0x196dd3['Disposable']{constructor(){const _0x479837=_0x491e29;super(),_0x1cfbec(this,_0x479837(0x2ec),_0x196dd3['generateRandomId']()),_0x1cfbec(this,_0x479837(0x377),new Set()),_0x1cfbec(this,_0x479837(0x1fe),new Map()),_0x1cfbec(this,'_heartbeatTimer',null),_0x1cfbec(this,'_clearOtherTimers',new Map()),_0x1cfbec(this,_0x479837(0x3fe),new Map()),this[_0x479837(0x316)]();}[_0x491e29(0x205)](){const _0x5f085e=_0x491e29;super[_0x5f085e(0x205)](),this[_0x5f085e(0x24a)]['forEach']((_0x8cf49f,_0x354f4d)=>this[_0x5f085e(0x474)](_0x354f4d)),this[_0x5f085e(0x339)]&&window[_0x5f085e(0x446)](this[_0x5f085e(0x339)]);}[_0x491e29(0x31a)](_0x38abfd){const _0x5133c1=_0x491e29;return this['_ensureSubject'](_0x38abfd)[_0x5133c1(0x3ab)](_0x3ca4f2[_0x5133c1(0x414)]());}[_0x491e29(0x328)](_0xd35f1e){const _0x2854cf=_0x491e29;this[_0x2854cf(0x377)][_0x2854cf(0x3a1)]===0x0&&this[_0x2854cf(0x1ff)](),this['_selfUnitIDs'][_0x2854cf(0x3a9)](_0xd35f1e),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xd35f1e],'isForwarded':!0x1});}[_0x491e29(0x220)](_0x14bff7){const _0x169a38=_0x491e29;this[_0x169a38(0x377)][_0x169a38(0x340)](_0x14bff7),this['_selfUnitIDs'][_0x169a38(0x3a1)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x2dde8b=_0x491e29;this[_0x2dde8b(0x36b)](_0x196dd3[_0x2dde8b(0x3e8)](_0x3ca4f2[_0x2dde8b(0x2ea)](window,_0x2dde8b(0x24b))[_0x2dde8b(0x37e)](_0x52f0be=>{const _0x8ebb53=_0x2dde8b;if(_0x52f0be[_0x8ebb53(0x3b6)]!==_0x285fd3||!_0x52f0be['newValue'])return;const _0x9b459d=JSON['parse'](_0x52f0be['newValue']);this[_0x8ebb53(0x3e6)](_0x9b459d);}))),window[_0x2dde8b(0x42c)](_0x2dde8b(0x4a3),()=>this[_0x2dde8b(0x40a)]({'type':0x1,'memberID':this[_0x2dde8b(0x2ec)],'unitIDs':Array[_0x2dde8b(0x299)](this['_selfUnitIDs'])}));}[_0x491e29(0x3e6)](_0x3591ee){const _0x306370=_0x491e29;switch(_0x3591ee[_0x306370(0x239)]){case 0x0:this[_0x306370(0x470)](_0x3591ee);break;case 0x1:this['_handleLeaveEvent'](_0x3591ee);break;case 0x2:this[_0x306370(0x2b5)](_0x3591ee);break;}}[_0x491e29(0x470)](_0x22acaa){const _0x2d29d1=_0x491e29,{unitIDs:_0x1ba93e,memberID:_0x59e769,isForwarded:_0x30d1cc}=_0x22acaa;_0x1ba93e[_0x2d29d1(0x41e)](_0x5f4c30=>{const _0x2daca7=_0x2d29d1;if(!_0x30d1cc&&this['_unitOnClients'][_0x2daca7(0x42d)](_0x5f4c30)&&this['_ensureSubject'](_0x5f4c30)[_0x2daca7(0x422)](_0x40b4ee[_0x2daca7(0x38d)][_0x2daca7(0x305)]),!this[_0x2daca7(0x1fe)][_0x2daca7(0x42d)](_0x5f4c30)||!this[_0x2daca7(0x1fe)]['get'](_0x5f4c30)['has'](_0x59e769)){const _0x530ad7=this['_unitOnClients'][_0x2daca7(0x48e)](_0x5f4c30)||new Set();_0x530ad7['add'](_0x59e769),this[_0x2daca7(0x1fe)][_0x2daca7(0x3b9)](_0x5f4c30,_0x530ad7),this[_0x2daca7(0x23e)](_0x59e769);}}),_0x30d1cc||this[_0x2d29d1(0x40a)]({'type':0x0,'memberID':this[_0x2d29d1(0x2ec)],'unitIDs':[...this[_0x2d29d1(0x377)]],'isForwarded':!0x0});}[_0x491e29(0x23e)](_0x4a4de6){const _0x853b8a=_0x491e29;this[_0x853b8a(0x474)](_0x4a4de6);const _0x327701=window[_0x853b8a(0x292)](()=>{const _0x2ba013=_0x853b8a;this[_0x2ba013(0x1fe)][_0x2ba013(0x41e)](_0x387d50=>{const _0x151027=_0x2ba013;_0x387d50[_0x151027(0x340)](_0x4a4de6);});},_0x1e52df*0x2);this[_0x853b8a(0x24a)][_0x853b8a(0x3b9)](_0x4a4de6,_0x327701);}[_0x491e29(0x474)](_0x41c0c4){const _0x4d9585=_0x491e29;if(this[_0x4d9585(0x24a)][_0x4d9585(0x42d)](_0x41c0c4)){const _0x5f3829=this['_clearOtherTimers'][_0x4d9585(0x48e)](_0x41c0c4);_0x5f3829&&window[_0x4d9585(0x29e)](_0x5f3829),this[_0x4d9585(0x24a)][_0x4d9585(0x3b9)](_0x41c0c4,null);}}[_0x491e29(0x2ae)](_0x1c15d2){const _0x3620e0=_0x491e29,{memberID:_0x35b3a2,unitIDs:_0x2e56e5}=_0x1c15d2;_0x2e56e5[_0x3620e0(0x41e)](_0x3fc6f4=>{const _0x234a3e=_0x3620e0;var _0x4426d5;const _0x184458=this['_unitOnClients'][_0x234a3e(0x48e)](_0x3fc6f4);_0x184458&&(_0x184458[_0x234a3e(0x340)](_0x35b3a2),(_0x4426d5=this[_0x234a3e(0x21b)](_0x3fc6f4))==null||_0x4426d5[_0x234a3e(0x422)](_0x184458[_0x234a3e(0x3a1)]===0x0?_0x40b4ee[_0x234a3e(0x38d)][_0x234a3e(0x49f)]:_0x40b4ee[_0x234a3e(0x38d)][_0x234a3e(0x305)]));}),this['_removeClearOtherTimer'](_0x35b3a2);}[_0x491e29(0x2b5)](_0x2f94d5){const _0xa82746=_0x491e29;this[_0xa82746(0x23e)](_0x2f94d5['memberID']);}[_0x491e29(0x40a)](_0x31d44c){const _0x1e1f3a=_0x491e29;localStorage[_0x1e1f3a(0x2c8)](_0x285fd3,JSON['stringify'](_0x31d44c));}[_0x491e29(0x1ff)](){this['_heartbeatTimer']=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x1e52df);}[_0x491e29(0x21b)](_0x237c0e){const _0x4dc395=_0x491e29;return this[_0x4dc395(0x3fe)][_0x4dc395(0x42d)](_0x237c0e)||this['_unitStatus']['set'](_0x237c0e,new _0x3ca4f2[(_0x4dc395(0x373))](_0x40b4ee[_0x4dc395(0x38d)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x4dc395(0x3fe)][_0x4dc395(0x48e)](_0x237c0e);}}_0x1392ba[_0x491e29(0x402)]=_0x5c621d,_0x1392ba['SheetCollabCursorShape']=_0x3f7fa9,_0x1392ba['WebBrowserSingleActiveUnitService']=_0x45e711,_0x1392ba['WebURLService']=_0x5f32c9,Object['defineProperty'](_0x1392ba,Symbol[_0x491e29(0x3c7)],{'value':_0x491e29(0x38e)});}));function _0x2982(_0x49a180,_0x37b165){const _0x5aebe9=_0x5aeb();return _0x2982=function(_0x29820d,_0x9752d0){_0x29820d=_0x29820d-0x1eb;let _0x216eaf=_0x5aebe9[_0x29820d];return _0x216eaf;},_0x2982(_0x49a180,_0x37b165);}function _0x5aeb(){const _0x20140a=['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','NodePositionConvertToCursor','SetTextSelectionsOperation','1em','icon','with','_removeCollabCursors','DocStateChangeManagerService','toStringTag','CONFLICT','_saveTaskMap','RichTextEditingMutation','TRANSFORM_CHANGE_OBSERVABLE_TYPE','text','transformIMECache','FormulaExecuteStageType','collab-client.tooltip.reconnect','UniverEngineFormula','_getSaveTimeout','sheetID','_assignedColors','call','executeCommand','INTERNAL_ERROR','Warning','_logService','SNAPSHOT_HAS_BEEN_REMOVED','actions','translate(.97)','IMessageService','SetFormulaCalculationStartMutation','_session','getViewport','isFormulaId','defIds','1838166ACcIIh','_transformService','ENTITLE_DUP_SUBSCRIPTION','PY_RUNTIME_SCRIPT_ERROR','_handleEvent','_context','toDisposable','DocSelectionManagerService','random','doc.mutation.rich-text-editing','/universer-api/license/formula/limit/start','UniverCore','formula.calculation.unable','_lastResponseTimestamp','trim','_toggleOnline','0\x200\x2016\x2016','INVALID_INVITE_CODE','fill','_color','YUUMI_CONNECTOR_URL_NOT_FOUND','functionsExecutedState','defs','addObject','_getFormulaLimitStatus','YUUMI_ASYNCIO_CANCELLED','@univerjs/core','UniverCollaborationClientPlugin','_unitStatus','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','startFormulaLimitUrl','_initStatusComponent','IURLService','UPDATE_CURSOR','eventID','ENTITLE_REPORT_LIMIT_EXCEED','2962590Ddpwiy','CommandType','OTHER_CLIENT_EDITING','_commandService','_send','EMAIL_VERIFY_CODE_MISMATCH','setStateCache','?taskId=','roomMembers$','currentColor','NOT_COLLAB','pushState','url(#on-line-icon_clip0_910_349)','transformRemoteChangeset','distinctUntilChanged','INVITE_CODE_REQUIRED','updateOfflineData','_imageIoService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','name','getCollabEntity$','shareReplay','isActive','url(#off-line-icon_clip0_910_343)','forEach','getUnitId','transformSelections','red.300','next','mutations','UniverProCollaboration','_uiPartsService','UniverProCollaborationClient','registerDependencies','USER_NOT_FOUND','purple.300','getCollabCursors$','_getAnchorBounding','addEventListener','has','_docSyncEditingCollabCursorService','docStateChange$','CHANGESET_REVISION_CONFILICT','Subject','deserializeRangeWithSheet','ILogService','_textBubble','Disposable','_anchor','SUCCESS','_getSessionTicket','TOO_MANY_REQUESTS','cursorInfo$','hasOwnProperty','ENSURE_SNAPSHOT_EXECUTION','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','NOT_FOUND','ISnapshotServerService','getDocRanges','OnLineIcon','_showGuardMessage','1314616jfxHTC','YUUMI_UNABLE_LOAD_URL','m1Prime','clearInterval','error','UNDEFINED','_hideTimer','makeDirty','_httpService','getSkeleton','rgba(255,\x20255,\x20255,\x200.01)','REDEMPTION_INVALID_CODE','handleMoveRange','MessageType','endColumn','@univerjs/rpc','assign','LOCAL_CACHE_INTERVAL_KEY','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','switchMap','useDependency','generateRandomId','contains','transformMutation','_docSkeletonManagerService','registerRenderModule','_cachedData','collaboration-client.offline-data-not-saved','LOGIN_TOKEN_PROCESSING_FAILED','_status$','SetDocZoomRatioOperation','HTTPService','UniverDesign','range','toString','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_docClipboardService','result','ThemeService','getMemberID','IBeforeCloseService','backgroundColor','collabStatus.syncing','_localStorageService','APPLY_REJECT','_handleJoinEvent','removeParam','InsertRangeMoveDownCommandId','YUUMI_ALL_TABLES_IS_INVALID','_removeClearOtherTimer','closePath','ENTITLE_CHAT_LIMIT_EXCEED','BuiltInUIPart','collaboration.single-unit.warning','UniverNetwork','color','@univerjs/ui','onStarting','isTransformMutationsWithChangesetSuccess','data','_updateLocalCursor','RECT','UniverProCollaborationClientUi','YUUMI_NO_CUBOID_FOR_QUESTION','collabStatus.fetchMiss','react','body','use','releaseFormulaLimitUrl','COLORS','_releaseCalculationLimit','AWAITING','INVITE_CODE_ALREADY_BOUND','REDEMPTION_USER_NOT_ELIGIBLE','arc','get','PENDING','currentSkeleton$','http://www.w3.org/2000/svg','createElement','RemoveRowCommandId','Inject','row','_name','getParam','_docTransformIMECacheService','searchParams','_colorIndex','YUUMI_RATE_OVER_LIMIT','filter','React','getValue','NO_OTHER_CLIENTS_EDITING','_renderManagerService','Rect','_registerDependencies','unload','height','getRangePointData','getStateCache','bottom','rxjs/operators','handleIRemoveCol','Plugin','exhaustSavingTask','replaceState','collab-text-range-','isEditing','_checkAndWaitForCalculationPermission','jsxs','_collaborationController','_lastPointer','CollaborationUIEventService','FETCH_MISS','_syncEditingCollabCursorService','redoState','event$','DesktopCollaborationStatusDisplayController','Shape','dispose$','history','onPointerEnter$','TEXT','onPointerLeave$','FromArray','_refreshCollabCursors','setShapeProps','registerRefRange','displayName','sessionStatus$','CURRENT_STATUS_CANNOT_OPERATE','show','4827234UxkweR','_render','YUUMI_URL_COL_OUT_OF_RANGE','width','_docTransformSelectionsService','_draw','subUnitId','LICENSE_MAX_UNITS_EXCEEDED','object','roomMembers','FormulaExecutedStateType','getUniverSheetInstance','evenodd','UniverInstanceType','assignAColorForMemberID','exports','runId','_toggleOffline','SNAPSHOT_INVALID_SNAPSHOT','application/json','now','_unitOnClients','_scheduleHeartbeat','max','toRgbString','_checkCalculationAvailable','_sheetSkeletonManagerService','AUTHORIZE_CODE_ILLEGAL','dispose','1hSwygs','div','isArray','SUBMIT_CHANGESET_TIMEOUT','getSheetBySheetId','DocIMEInputManagerService','_notificationService','round','/universer-api/license/formula/limit/done','getCoordByCell','LOGIN_FAILED','permission.title','ENTITLE_NEED_BILLING_ADDRESS','mask','IRenderManagerService','@univerjs/design','_onCursorDelete','onMouseMove','fillRule','_initEvent','Error','_ensureSubject','startColumn','UniverSheetsUi','getRenderById','_setupBeforeClosingHandler','disposeUnit','ticket','_cursorShapes','@univerjs/drawing','_taskIds','lineTo','_initResize','_updateCollabCursors','unshift','ILocalCacheService','collabStatus.notCollab','DEFAULT_WS_SESSION_TICKET_URL','parseInt','_cursors','USERS_LEAVE','stringify','hovered','CollaborationController','@univerjs-pro/collaboration','MemberService','asObservable','IRemoteInstanceService','getformulaLimitStatusUrl','invokeId','location','type','dirtyRanges','jsx','resize','send','_scheduleClearOtherTimer','ACTIVE_UNIT_EVENT_CHANNEL','white','requireSession','off-line-icon_clip0_910_343','operators','attrs','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_clearPolling','0\x200\x2017\x2016','jiqing.500','INVALID_ARGUMENT','_clearOtherTimers','storage','_instanceService','fillStyle','_startCalculationLimit','EffectRefRangId','off-line-icon','MOBILE_VERIFY_CODE_MISMATCH','subscribeEvent','merge','LICENSE_IMPORT_SIZE_EXCEEDED','getTypeOfUnitDisposed$','Tools','unsubscribe','getOwnPropertyDescriptor','tag','RegularPolygon','maxFormulaLimit','_docTransformStateCacheService','unit','@univerjs/sheets-ui','isFormulaString','RefRangeService','OFFLINE','_messageService','createSocket','CollaborationEvent','_memberService','handleDeleteRangeMoveUp','_initStatusListener','getCurrentRevOfUnit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/docs-ui','current','_handleHover','_startSheetCollabCursor','_anchorDot','getCurrentUnitForType','@univerjs/engine-render','IUIPartsService','amd','_disabled','USER_IS_ANONYMOUS','_range','1190IhmLsG','getUnit','MUTATION','status$','_urlService','debounce','black','_updateURLWithCurrentState','_backgroundColor','children','urlChange$','_collaborationUIEventService','Vector2','wsSessionTicketUrl','MOBILE_HAS_BEEN_BOUND','DOC_RANGE_TYPE','symbol','function','on-line-icon','_transformHistoryAndStateStack','INotificationService','_startDocCollabCursor','_colorAssignService','SessionStatus','hide','_document','YUUMI_SUBSCRIPTION_NOT_FOUND','...','setTimeout','_setFormulaLimitStatus','YUUMI_AI_RUN_FAILED','APPLY_NON_SEQUENTIAL_REVISION','@univerjs/engine-formula','2286676xqwwhL','transformStateCache','from','m2Prime','ColorKit','ALREADY_EXISTS','getTypeOfUnitAdded$','clearTimeout','length','sheetId','getOwnPropertySymbols','clipPath','_shapes','_initEntityListener','UniverSheets','handleInsertRangeMoveRight','UNIVER_SHEET','SOCKET_FAILED','_config','getUnhiddenWorksheets','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','limitInfo','textRanges','_handleLeaveEvent','selections','init','subunit','complete','Success','InsertRangeMoveRightCommandId','_handleHeartbeatEvent','_online','_entityInit$','getCurrentSelections','entityInit$','_onCursorUpdate','collabStatus.synced','DocCollaborationEntity','OffLineIcon','push','pluginName','_createSocketURL','_getMergeRange','collabStatus.conflict','HEADER_MENU','_univerInstanceService','CollaborationSessionService','getConfig','params','setItem','xlink:href','CanceledError','setParam','none','collabStatus.offline','_pollingInterval','_initCommandInterceptor','RemoveColCommandId','addHandlerCallback','INVITE_CODE_HAS_BEEN_UES','LOCAL_CACHE_INTERVAL','/run/','WebSocketService','onCommandExecuted','rxjs','getSheetId','min','_roomMembers$','totalFormulasToCalculate','collaboration.closeRoom','fillText','yellow.400','stage','unitId','_themeService','deepClone','top','_eventUnsubscribe','getVpScrollXYInfoByPosToVp','MoveRangeCommandId','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','_initDependencies','values','fromEvent','combineLatest','_id','ERROR_AGAIN','getCurrent','unitID','WECHAT_HAS_BEEN_BOUND','origin','_collabSessionService','onLocalMutation','useCallback','_scene','13329BwsytQ','save','_drawRectRange','AWAITING_WITH_PENDING','DeleteRangeMoveUpCommandId','popstate','blue.400','registerComponent','CollaborationStatus','ICommandService','createInstance','getActiveSheet','COMPLETION_FINISHED','CONNECTOR_DATA_TOO_LARGE','ITransformService','OTHER_CLIENTS_EDITING','imageSourceType','DocSkeletonManagerService','setConfig','activeSheet$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_updateSubUnitFromURLParams','prototype','endRow','saveImage','addClipboardHook','Unknown\x20user','session.connection-failed','APPLY_REVISION_CONFILICT','apply','startRow','on-line-icon_clip0_910_349','_init','find','onRendered','touchDependencies','getUnitStatus$','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_saveCache','restore','M0\x200H16V16H0z','_hovered','REDEMPTION_CODE_HAS_BEEN_CREATED','override','CollaborationDataLoaderController','DisposableCollection','includes','4OGHfQr','onPointerMove$','_registerRenderDependencies','editingUnit','1406658Rvaauz','getFocusedUnit','syncEditingCollabCursor','flatMap','_maxFormulaLimit','_labelPosition','BrowserCollaborationSocketService','ONLINE','USER_NOT_INVITED_CODE','map','_hover','addObjects','_entities','getColorFromTheme','UniverRpc','undoState','_heartbeatTimer','debug','defineProperty','DataLoaderService','all','ISocketService','search','delete','getMergeData','Optional','IConfigService','PERMISSION_DENIED','_cursorInfo$','_onRefRangeChange','substring','APPLY_DUPLICATED','href','UniverDocsUi','handleInsertRow','_injector','svg','EMAIL_HAS_BEEN_BOUND','UNAUTHENTICATED','_initCommandExecutedListener','registerBeforeClose','IDocClipboardService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','UniverCollaborationClientUIPlugin','/universer-api/license/formula/limit/status','findNodePositionByCharIndex','column','_collabCursorState$','colorChannel1','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_refRangeService','string','onTransformChange$','SYNCED','getRelativeToViewportCoord','cursorInfo','_transformUndoRedoStack','#FFF','_localeService','saveTaskMap','RevisionService','_hasFormulaInDirtyRanges','currentUsage','@univerjs/network','debounceTime','IUniverInstanceService','disposeWithMe','reconnect','isTransformMutationFailure','SheetsSelectionsService','univerjs-icon\x20univerjs-icon-','RemoteUniscriptService','takeUntil','font','BehaviorSubject','then','[CollaborationDataLoaderController]','mapTo','_selfUnitIDs','selection','indexOf','url(#$1','startsWith','setActiveRange','APPLY_PERMISSION_DENIED','subscribe','source','SetWorksheetActivateCommand','_collabCursorController','forwardRef','LICENSE_DISTRO_REJECTED','_docStateChangeManagerService','PAYMENT_CHANNEL_NOT_SUPPORT','ILocalStorageService','_drawTextRange','_getSheetObject','getColor','measureText','code','concat','UnitStatus','Module','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LocaleService','_configService','loadOfflineData','RxDisposable','IImageIoService','currentTheme$','CollaborationUIEventId','SetFormulaCalculationNotificationMutation','CLOSE_ROOM','JOIN_ROOM_FAILED','_transformPreviousActiveRange','UNIVER_DOC','_revisionService','replace','drawWith','REDEMPTION_CODE_NOT_STARTED','post','size','_applyCommand','_getScale','SOCKET_FAILED_RETRY','getUndoRedoMutationParamsCache','className','_localCacheService','path','add','SHEET_VIEWPORT_KEY','pipe','NodePositionConvertToRectRange','UniverIcon','formula.calculation.started','collabCursorState$','REDEMPTION_CODE_INACTIVE','_drawAnchor','TEXT_RANGE_LAYER_INDEX','serializeRangeWithSheet','idSuffix','handleInsertRangeMoveDown','key','_currentUsage','executionId','set','getAncestorScale','_dataLoaderService','Injector','SheetSkeletonManagerService','UNRECOGNIZED'];_0x5aeb=function(){return _0x20140a;};return _0x5aeb();}
1
+ (function(_0x34bd42,_0xf12f03){const _0x36af80=_0x4227,_0x52cb0e=_0x34bd42();while(!![]){try{const _0x2ea451=parseInt(_0x36af80(0x217))/0x1+-parseInt(_0x36af80(0x3b5))/0x2+parseInt(_0x36af80(0x191))/0x3+parseInt(_0x36af80(0x30d))/0x4*(parseInt(_0x36af80(0x381))/0x5)+-parseInt(_0x36af80(0x328))/0x6+parseInt(_0x36af80(0x29c))/0x7*(-parseInt(_0x36af80(0x131))/0x8)+-parseInt(_0x36af80(0x394))/0x9;if(_0x2ea451===_0xf12f03)break;else _0x52cb0e['push'](_0x52cb0e['shift']());}catch(_0x472dfe){_0x52cb0e['push'](_0x52cb0e['shift']());}}}(_0x32c6,0x90763),function(_0x375097,_0x4a27fd){const _0x1a796e=_0x4227;typeof exports==_0x1a796e(0x3c6)&&typeof module<'u'?_0x4a27fd(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==_0x1a796e(0x1f5)&&define['amd']?define([_0x1a796e(0x122),_0x1a796e(0x279),_0x1a796e(0x27c),_0x1a796e(0x2cd),'@univerjs/ui',_0x1a796e(0x170),_0x1a796e(0x2a6),_0x1a796e(0x2c9),_0x1a796e(0x337),_0x1a796e(0x2a7),_0x1a796e(0x1cb),_0x1a796e(0x356),_0x1a796e(0x201),_0x1a796e(0x1e5),'@univerjs-pro/collaboration',_0x1a796e(0x1df),_0x1a796e(0x115),'rxjs/operators',_0x1a796e(0x1e3)],_0x4a27fd):(_0x375097=typeof globalThis<'u'?globalThis:_0x375097||self,_0x4a27fd(_0x375097[_0x1a796e(0x3b3)]={},_0x375097[_0x1a796e(0x24f)],_0x375097[_0x1a796e(0x350)],_0x375097[_0x1a796e(0x347)],_0x375097[_0x1a796e(0x2e6)],_0x375097['rxjs'],_0x375097[_0x1a796e(0x20d)],_0x375097[_0x1a796e(0x24f)],_0x375097[_0x1a796e(0x11d)],_0x375097['UniverSheets'],_0x375097[_0x1a796e(0x39c)],_0x375097['UniverNetwork'],_0x375097[_0x1a796e(0x2ba)],_0x375097[_0x1a796e(0x15d)],_0x375097[_0x1a796e(0x29d)],_0x375097[_0x1a796e(0x22d)],_0x375097['UniverEngineFormula'],_0x375097[_0x1a796e(0x170)]['operators'],_0x375097[_0x1a796e(0x2ca)]));}(this,function(_0x4205ba,_0x53f1cd,_0x184317,_0x3f9956,_0x26d040,_0x6aec0,_0x3fc7ae,_0x116b9f,_0x2abcd4,_0x13a368,_0x2dd116,_0x2b426c,_0xa8c85b,_0x386c76,_0x2de7d2,_0x333572,_0x2c79d7,_0x5f224d,_0x52f894){'use strict';const _0x3db0e4=_0x4227;var _0xe93974=Object[_0x3db0e4(0x197)],_0x376bcf=(_0x455d85,_0x581e6c,_0x383223)=>_0x581e6c in _0x455d85?_0xe93974(_0x455d85,_0x581e6c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x383223}):_0x455d85[_0x581e6c]=_0x383223,_0x442022=(_0x374301,_0x2b8340,_0x42e02b)=>_0x376bcf(_0x374301,typeof _0x2b8340!=_0x3db0e4(0x3af)?_0x2b8340+'':_0x2b8340,_0x42e02b),_0xf22670=function(){const _0x105c81=_0x3db0e4;return _0xf22670=Object[_0x105c81(0x15c)]||function(_0x24166e){const _0x18d755=_0x105c81;for(var _0xe17cf8,_0x441ba2=0x1,_0xea10c4=arguments[_0x18d755(0xf8)];_0x441ba2<_0xea10c4;_0x441ba2++){_0xe17cf8=arguments[_0x441ba2];for(var _0x22cafc in _0xe17cf8)Object[_0x18d755(0x187)][_0x18d755(0x26d)][_0x18d755(0x180)](_0xe17cf8,_0x22cafc)&&(_0x24166e[_0x22cafc]=_0xe17cf8[_0x22cafc]);}return _0x24166e;},_0xf22670['apply'](this,arguments);},_0x4d4032=function(_0x2d09ab,_0x11215e){const _0x396c14=_0x3db0e4;var _0xf521c3={};for(var _0x25b9ab in _0x2d09ab)Object['prototype'][_0x396c14(0x26d)][_0x396c14(0x180)](_0x2d09ab,_0x25b9ab)&&_0x11215e[_0x396c14(0x329)](_0x25b9ab)<0x0&&(_0xf521c3[_0x25b9ab]=_0x2d09ab[_0x25b9ab]);if(_0x2d09ab!=null&&typeof Object[_0x396c14(0x331)]==_0x396c14(0x1f5)){for(var _0x44bcd3=0x0,_0x25b9ab=Object[_0x396c14(0x331)](_0x2d09ab);_0x44bcd3<_0x25b9ab[_0x396c14(0xf8)];_0x44bcd3++)_0x11215e[_0x396c14(0x329)](_0x25b9ab[_0x44bcd3])<0x0&&Object[_0x396c14(0x187)][_0x396c14(0x265)][_0x396c14(0x180)](_0x2d09ab,_0x25b9ab[_0x44bcd3])&&(_0xf521c3[_0x25b9ab[_0x44bcd3]]=_0x2d09ab[_0x25b9ab[_0x44bcd3]]);}return _0xf521c3;},_0x466f9f=_0x116b9f[_0x3db0e4(0x3a1)](function(_0x23f60c,_0x1f4882){const _0x53e675=_0x3db0e4;var _0x8018a=_0x23f60c[_0x53e675(0x202)],_0x2c5df1=_0x23f60c['id'],_0x166e99=_0x23f60c['className'],_0x2331df=_0x23f60c[_0x53e675(0x15e)],_0xefa2f0=_0x4d4032(_0x23f60c,[_0x53e675(0x202),'id',_0x53e675(0x1f6),_0x53e675(0x15e)]),_0x1bee0f='univerjs-icon\x20univerjs-icon-'[_0x53e675(0x247)](_0x2c5df1,'\x20')[_0x53e675(0x247)](_0x166e99||'')['trim'](),_0x58bbc3=_0x116b9f[_0x53e675(0x27f)]('_'[_0x53e675(0x247)](_0x5260be()));return _0x539839(_0x8018a,''[_0x53e675(0x247)](_0x2c5df1),{'defIds':_0x8018a[_0x53e675(0x33d)],'idSuffix':_0x58bbc3[_0x53e675(0x3b2)]},_0xf22670({'ref':_0x1f4882,'className':_0x1bee0f},_0xefa2f0),_0x2331df);});function _0x539839(_0x371c19,_0x57a6be,_0x59c329,_0x4c07cf,_0x2d5534){const _0x27bbf9=_0x3db0e4;return _0x116b9f[_0x27bbf9(0x256)](_0x371c19[_0x27bbf9(0x227)],_0xf22670(_0xf22670({'key':_0x57a6be},_0xc7783(_0x371c19,_0x59c329,_0x2d5534)),_0x4c07cf),(_0x3bc023(_0x371c19,_0x59c329)[_0x27bbf9(0x2b2)]||[])[_0x27bbf9(0x3be)](function(_0x297be,_0x2c3be3){const _0x496fc7=_0x27bbf9;return _0x539839(_0x297be,''[_0x496fc7(0x247)](_0x57a6be,'-')[_0x496fc7(0x247)](_0x371c19['tag'],'-')[_0x496fc7(0x247)](_0x2c3be3),_0x59c329,void 0x0,_0x2d5534);}));}function _0xc7783(_0x445faf,_0xbe4f30,_0x5978e1){const _0x37fb95=_0x3db0e4;var _0x294504=_0xf22670({},_0x445faf[_0x37fb95(0x3bd)]);_0x5978e1!=null&&_0x5978e1[_0x37fb95(0x336)]&&_0x294504[_0x37fb95(0x126)]===_0x37fb95(0x336)&&(_0x294504[_0x37fb95(0x126)]=_0x5978e1[_0x37fb95(0x336)]),_0x445faf[_0x37fb95(0x227)]===_0x37fb95(0x28c)&&_0x294504['id']&&(_0x294504['id']=_0x294504['id']+_0xbe4f30[_0x37fb95(0x1c2)]),Object['entries'](_0x294504)[_0x37fb95(0x29f)](function(_0x110671){const _0x4d5a6a=_0x37fb95;var _0x2b1b02=_0x110671[0x0],_0x58f3f3=_0x110671[0x1];_0x2b1b02===_0x4d5a6a(0x28c)&&typeof _0x58f3f3==_0x4d5a6a(0x283)&&(_0x294504[_0x2b1b02]=_0x58f3f3[_0x4d5a6a(0x23b)](/url\(#(.*)\)/,_0x4d5a6a(0x2b4)[_0x4d5a6a(0x247)](_0xbe4f30['idSuffix'],')')));});var _0x3da2a4=_0xbe4f30[_0x37fb95(0x33d)];return!_0x3da2a4||_0x3da2a4[_0x37fb95(0xf8)]===0x0||(_0x445faf['tag']===_0x37fb95(0x332)&&_0x294504[_0x37fb95(0x27e)]&&(_0x294504[_0x37fb95(0x27e)]=_0x294504[_0x37fb95(0x27e)]+_0xbe4f30['idSuffix']),Object[_0x37fb95(0x322)](_0x294504)[_0x37fb95(0x29f)](function(_0x3c55b9){const _0x202528=_0x37fb95;var _0x49eabc=_0x3c55b9[0x0],_0x569a53=_0x3c55b9[0x1];typeof _0x569a53=='string'&&(_0x294504[_0x49eabc]=_0x569a53[_0x202528(0x23b)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xbe4f30[_0x202528(0x1c2)],')')));})),_0x294504;}function _0x3bc023(_0x2c92c1,_0x44c14b){const _0x3c208a=_0x3db0e4;var _0x340d0a,_0x3dc3b3=_0x44c14b[_0x3c208a(0x33d)];return!_0x3dc3b3||_0x3dc3b3[_0x3c208a(0xf8)]===0x0?_0x2c92c1:_0x2c92c1[_0x3c208a(0x227)]==='defs'&&(!((_0x340d0a=_0x2c92c1[_0x3c208a(0x2b2)])===null||_0x340d0a===void 0x0)&&_0x340d0a['length'])?_0xf22670(_0xf22670({},_0x2c92c1),{'children':_0x2c92c1[_0x3c208a(0x2b2)][_0x3c208a(0x3be)](function(_0x4245ad){const _0x5495ef=_0x3c208a;return typeof _0x4245ad[_0x5495ef(0x3bd)]['id']=='string'&&_0x3dc3b3&&_0x3dc3b3[_0x5495ef(0x357)](_0x4245ad['attrs']['id'])?_0xf22670(_0xf22670({},_0x4245ad),{'attrs':_0xf22670(_0xf22670({},_0x4245ad['attrs']),{'id':_0x4245ad[_0x5495ef(0x3bd)]['id']+_0x44c14b[_0x5495ef(0x1c2)]})}):_0x4245ad;})}):_0x2c92c1;}function _0x5260be(){const _0xe47782=_0x3db0e4;return Math[_0xe47782(0x2a1)]()[_0xe47782(0x14a)](0x24)['substring'](0x2,0x8);}_0x466f9f['displayName']='UniverIcon';var _0x5c938e={'tag':_0x3db0e4(0x2be),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3db0e4(0x188),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x3db0e4(0x10f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3db0e4(0x2c6)},'children':[{'tag':_0x3db0e4(0xf5),'attrs':{'stroke':_0x3db0e4(0x37d),'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':_0x3db0e4(0x372),'strokeLinejoin':_0x3db0e4(0x372),'strokeWidth':1.2}}]},{'tag':_0x3db0e4(0x1f8),'attrs':{},'children':[{'tag':_0x3db0e4(0x152),'attrs':{'id':_0x3db0e4(0x13a)},'children':[{'tag':'path','attrs':{'fill':_0x3db0e4(0x186),'d':_0x3db0e4(0x18f)}}]}]}],'defIds':[_0x3db0e4(0x13a)]},_0x2382d7=_0x116b9f[_0x3db0e4(0x3a1)](function(_0x483f2d,_0x199242){const _0x4d6ff1=_0x3db0e4;return _0x116b9f[_0x4d6ff1(0x256)](_0x466f9f,Object[_0x4d6ff1(0x15c)]({},_0x483f2d,{'id':'off-line-icon','ref':_0x199242,'icon':_0x5c938e}));});_0x2382d7[_0x3db0e4(0x330)]='OffLineIcon';var _0x242c52={'tag':_0x3db0e4(0x2be),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x3db0e4(0x10f),'height':_0x3db0e4(0x10f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x3db0e4(0xf5),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x3db0e4(0x372),'strokeWidth':1.2}}]},{'tag':_0x3db0e4(0x1f8),'attrs':{},'children':[{'tag':_0x3db0e4(0x152),'attrs':{'id':_0x3db0e4(0x1c8)},'children':[{'tag':_0x3db0e4(0xf5),'attrs':{'fill':_0x3db0e4(0x186),'d':_0x3db0e4(0x18f),'transform':_0x3db0e4(0x319)}}]}]}],'defIds':[_0x3db0e4(0x1c8)]},_0x137c00=_0x116b9f[_0x3db0e4(0x3a1)](function(_0x3c8641,_0x3931a2){const _0x173e43=_0x3db0e4;return _0x116b9f['createElement'](_0x466f9f,Object[_0x173e43(0x15c)]({},_0x3c8641,{'id':_0x173e43(0x10e),'ref':_0x3931a2,'icon':_0x242c52}));});_0x137c00[_0x3db0e4(0x330)]=_0x3db0e4(0x3bc);function _0x3547fe(_0x4dc4e2){const _0x347b84=_0x3db0e4;switch(_0x4dc4e2){case _0x184317[_0x347b84(0x371)][_0x347b84(0x342)]:return'collabStatus.offline';case _0x184317['CollaborationStatus']['CONFLICT']:return _0x347b84(0x272);case _0x184317[_0x347b84(0x371)][_0x347b84(0x2a8)]:return _0x347b84(0x2d0);case _0x184317[_0x347b84(0x371)]['NOT_COLLAB']:return _0x347b84(0x2f4);case _0x184317['CollaborationStatus'][_0x347b84(0x2d6)]:case _0x184317[_0x347b84(0x371)][_0x347b84(0x167)]:return _0x347b84(0x304);case _0x184317[_0x347b84(0x371)][_0x347b84(0x21f)]:case _0x184317[_0x347b84(0x371)]['PENDING']:return _0x347b84(0x160);}}function _0x582d7e(_0x142c26){const _0x434ba3=_0x3db0e4,{status$:_0x53c491}=_0x142c26,_0x5887a3=_0x26d040['useObservable'](_0x53c491,_0x184317[_0x434ba3(0x371)][_0x434ba3(0x11b)]),_0x2ff1ec=_0x26d040[_0x434ba3(0x192)](_0x3f9956[_0x434ba3(0x39e)]),_0x17cec2=_0x26d040['useDependency'](_0x184317['CollaborationSessionService']),_0x16f2a5=_0x5887a3!==_0x184317['CollaborationStatus'][_0x434ba3(0x342)],_0x15f98d=_0x2ff1ec['t'](_0x3547fe(_0x5887a3)),_0x35b015=_0x16f2a5?_0x53f1cd['jsx'](_0x137c00,{}):_0x53f1cd[_0x434ba3(0x2fc)](_0x2382d7,{}),_0x2937a7=_0x116b9f[_0x434ba3(0x1fc)](()=>{const _0x119dab=_0x434ba3;_0x16f2a5||_0x17cec2[_0x119dab(0x2e8)]();},[_0x16f2a5,_0x17cec2]);function _0x4a71b7(){const _0x43bdf3=_0x434ba3;return _0x53f1cd[_0x43bdf3(0x1f4)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x2937a7,'children':[_0x53f1cd['jsx'](_0x43bdf3(0x162),{'className':_0x3fc7ae['clsx'](_0x43bdf3(0x2c0),{'univer-text-green-500':_0x16f2a5,'univer-text-red-500':!_0x16f2a5}),'children':_0x35b015}),_0x53f1cd[_0x43bdf3(0x2fc)](_0x43bdf3(0x162),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x15f98d})]});}return _0x16f2a5?_0x4a71b7():_0x53f1cd['jsx'](_0x3fc7ae[_0x434ba3(0x10c)],{'title':_0x2ff1ec['t']('collab-client.tooltip.reconnect'),'children':_0x4a71b7()});}var _0x3bf36f=Object['getOwnPropertyDescriptor'],_0x6324a6=(_0x2dc49d,_0x23a36f,_0x484443,_0x443d87)=>{const _0x5a1cde=_0x3db0e4;for(var _0x31c24=_0x443d87>0x1?void 0x0:_0x443d87?_0x3bf36f(_0x23a36f,_0x484443):_0x23a36f,_0x399399=_0x2dc49d[_0x5a1cde(0xf8)]-0x1,_0x509525;_0x399399>=0x0;_0x399399--)(_0x509525=_0x2dc49d[_0x399399])&&(_0x31c24=_0x509525(_0x31c24)||_0x31c24);return _0x31c24;},_0x2542c5=(_0x586221,_0x2f1e8e)=>(_0x100e77,_0x575832)=>_0x2f1e8e(_0x100e77,_0x575832,_0x586221);_0x4205ba['DesktopCollaborationStatusDisplayController']=class extends _0x3f9956['Disposable']{constructor(_0x30a5d5,_0x29b97c,_0x341bea,_0x43fa3f){const _0x30285d=_0x3db0e4;super(),_0x442022(this,_0x30285d(0x1f3),new _0x6aec0[(_0x30285d(0x154))](_0x184317['CollaborationStatus'][_0x30285d(0x11b)])),(this[_0x30285d(0x205)]=_0x30a5d5,this['_injector']=_0x29b97c,this['_collaborationController']=_0x341bea,this[_0x30285d(0x3bf)]=_0x43fa3f,this[_0x30285d(0x1e2)](),this[_0x30285d(0x218)]());}[_0x3db0e4(0x218)](){const _0x3db3c0=_0x3db0e4;this[_0x3db3c0(0x20e)](this[_0x3db3c0(0x205)][_0x3db3c0(0x20f)][_0x3db3c0(0xf7)](_0x6aec0['switchMap'](()=>{const _0x1bd2df=_0x3db3c0,_0x2ffa3c=this[_0x1bd2df(0x205)][_0x1bd2df(0x230)]();return _0x2ffa3c?this['_collaborationController'][_0x1bd2df(0x1c3)](_0x2ffa3c[_0x1bd2df(0x3aa)]()):_0x6aec0['of'](null);}),_0x6aec0[_0x3db3c0(0x2dc)](_0x1913f1=>_0x1913f1?_0x1913f1[_0x3db3c0(0x36a)]:_0x6aec0['of'](_0x184317['CollaborationStatus']['NOT_COLLAB'])))[_0x3db3c0(0x29b)](_0x44c753=>{this['_status$']['next'](_0x44c753);}));}['_initStatusComponent'](){const _0x3534b4=_0x3db0e4;this[_0x3534b4(0x20e)](this[_0x3534b4(0x3bf)][_0x3534b4(0x194)](_0x26d040[_0x3534b4(0x362)][_0x3534b4(0x1ff)],()=>_0x26d040[_0x3534b4(0x2ab)](_0xb15acc({'status$':this[_0x3534b4(0x1f3)][_0x3534b4(0x244)]()}),this[_0x3534b4(0x15f)])));}},_0x4205ba[_0x3db0e4(0x171)]=_0x6324a6([_0x2542c5(0x0,_0x3f9956[_0x3db0e4(0x264)]),_0x2542c5(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x2542c5(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x184317[_0x3db0e4(0x206)])),_0x2542c5(0x3,_0x26d040[_0x3db0e4(0x209)])],_0x4205ba['DesktopCollaborationStatusDisplayController']);function _0xb15acc(_0x32f160){const {status$:_0x263112}=_0x32f160;return function(){return _0x53f1cd['jsx'](_0x582d7e,{'status$':_0x263112});};}const _0x3958fd=_0x3f9956[_0x3db0e4(0x172)]('uni.network.url-service');var _0x24d530=Object['getOwnPropertyDescriptor'],_0xc0039e=(_0x3ae61c,_0x3ef0be,_0x27308a,_0x21e323)=>{const _0x2402d6=_0x3db0e4;for(var _0x28c703=_0x21e323>0x1?void 0x0:_0x21e323?_0x24d530(_0x3ef0be,_0x27308a):_0x3ef0be,_0x3e1882=_0x3ae61c[_0x2402d6(0xf8)]-0x1,_0x370656;_0x3e1882>=0x0;_0x3e1882--)(_0x370656=_0x3ae61c[_0x3e1882])&&(_0x28c703=_0x370656(_0x28c703)||_0x28c703);return _0x28c703;},_0x52771d=(_0x125404,_0x1fe3c6)=>(_0x43d508,_0x1fdccc)=>_0x1fe3c6(_0x43d508,_0x1fdccc,_0x125404);_0x4205ba['CollaborationDataLoaderController']=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x12d508,_0x1ca77a,_0x456d2e,_0x5d639e,_0x432bb0){const _0x25b87b=_0x3db0e4;super(),this[_0x25b87b(0x1aa)]=_0x12d508,this[_0x25b87b(0x237)]=_0x1ca77a,this['_commandService']=_0x456d2e,this[_0x25b87b(0x2f3)]=_0x5d639e,_0x432bb0?_0x432bb0==null||_0x432bb0[_0x25b87b(0x20c)]()[_0x25b87b(0x354)](()=>this[_0x25b87b(0x18a)]()):(this['_logService'][_0x25b87b(0x1cc)](_0x25b87b(0x1ee),_0x25b87b(0x2d3)),this[_0x25b87b(0x18a)]());}async['_init'](){const _0x693ec=_0x3db0e4,_0x3c8d30=this['_urlService']['getParam'](_0x693ec(0x10d)),_0x54ad5d=this[_0x693ec(0x1aa)][_0x693ec(0x3a4)](_0x693ec(0x3a0)),_0x3968f7=this[_0x693ec(0x1aa)]['getParam'](_0x693ec(0x16b));if(!_0x3c8d30||!_0x54ad5d){this[_0x693ec(0x237)][_0x693ec(0x1cc)](_0x693ec(0x1ee),_0x693ec(0x1a1));return;}const _0x549cd9=await this[_0x693ec(0x2f3)][_0x693ec(0x3a7)](_0x3c8d30,Number(_0x54ad5d),_0x3968f7);_0x549cd9&&_0x549cd9 instanceof _0x3f9956[_0x693ec(0x334)]&&this[_0x693ec(0x39f)](_0x549cd9);}async[_0x3db0e4(0x39f)](_0x15c9ae){const _0x250253=_0x3db0e4;await this[_0x250253(0x149)](_0x15c9ae),_0x15c9ae[_0x250253(0x1ef)][_0x250253(0xf7)](_0x6aec0[_0x250253(0x277)](this['dispose$']))[_0x250253(0x29b)](_0x15e911=>{const _0x509f69=_0x250253;_0x15e911&&this[_0x509f69(0x2ac)](_0x15e911);}),this[_0x250253(0x1aa)][_0x250253(0x25f)]['pipe'](_0x6aec0[_0x250253(0x277)](this[_0x250253(0x107)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x15c9ae));}[_0x3db0e4(0x2ac)](_0x8b76c8,_0x266645=!0x1){const _0x19bee8=_0x3db0e4,_0x527b43=this['_urlService'][_0x19bee8(0x3a4)](_0x19bee8(0x16b));_0x8b76c8[_0x19bee8(0x1db)]()!==_0x527b43&&this['_urlService']['setParam'](_0x19bee8(0x16b),_0x8b76c8[_0x19bee8(0x1db)](),_0x266645);}async[_0x3db0e4(0x149)](_0x890766){const _0xb5a9e0=_0x3db0e4;var _0x7ed54e;const _0x2e8738=this[_0xb5a9e0(0x1aa)][_0xb5a9e0(0x3a4)]('subunit');if(!_0x2e8738||!_0x890766[_0xb5a9e0(0x36f)](_0x2e8738)){const _0xe8a332=_0x890766[_0xb5a9e0(0x146)]()[0x0],_0x430a70=_0x890766[_0xb5a9e0(0x36f)](_0xe8a332);if(!_0x430a70)return;this['_updateURLWithCurrentState'](_0x430a70,!0x0),await this['_commandService']['executeCommand'](_0x13a368[_0xb5a9e0(0x17a)]['id'],{'unitId':_0x890766[_0xb5a9e0(0x3aa)](),'subUnitId':_0xe8a332});return;}((_0x7ed54e=_0x890766[_0xb5a9e0(0x1bd)]())==null?void 0x0:_0x7ed54e[_0xb5a9e0(0x1db)]())!==_0x2e8738&&await this[_0xb5a9e0(0x278)][_0xb5a9e0(0x3ad)](_0x13a368[_0xb5a9e0(0x17a)]['id'],{'unitId':_0x890766['getUnitId'](),'subUnitId':_0x2e8738});}},_0x4205ba[_0x3db0e4(0x309)]=_0xc0039e([_0x52771d(0x0,_0x3958fd),_0x52771d(0x1,_0x3f9956['ILogService']),_0x52771d(0x2,_0x3f9956[_0x3db0e4(0x30c)]),_0x52771d(0x3,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x35f)])),_0x52771d(0x4,_0x3f9956['Optional'](_0x2abcd4[_0x3db0e4(0x3c4)]))],_0x4205ba[_0x3db0e4(0x309)]);var _0xa65399=Object[_0x3db0e4(0x2d1)],_0x1109ce=(_0x11d232,_0x236cda,_0x36d611,_0x3de889)=>{for(var _0x441714=_0x3de889>0x1?void 0x0:_0x3de889?_0xa65399(_0x236cda,_0x36d611):_0x236cda,_0x4ba979=_0x11d232['length']-0x1,_0xacff6a;_0x4ba979>=0x0;_0x4ba979--)(_0xacff6a=_0x11d232[_0x4ba979])&&(_0x441714=_0xacff6a(_0x441714)||_0x441714);return _0x441714;},_0x27aa5e=(_0x3a3224,_0x581c76)=>(_0x270c5a,_0x55c33c)=>_0x581c76(_0x270c5a,_0x55c33c,_0x3a3224);let _0x5c2573=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x3a9a16,_0x2504cb){const _0x17d5b0=_0x3db0e4;super(),this[_0x17d5b0(0x1fe)]=_0x3a9a16,this[_0x17d5b0(0x1fa)]=_0x2504cb,this[_0x17d5b0(0x18a)]();}['_init'](){const _0x255aeb=_0x3db0e4,_0x5c1740=this;this[_0x255aeb(0x20e)](this['_docClipboardService'][_0x255aeb(0x16f)]({'onBeforePasteImage':async _0x41ae50=>{const _0x2d2933=_0x255aeb,_0x261486=await _0x5c1740[_0x2d2933(0x1fa)][_0x2d2933(0x27d)](_0x41ae50);return _0x261486?{'source':_0x261486[_0x2d2933(0x2b5)],'imageSourceType':_0x261486[_0x2d2933(0x3c7)]}:null;}}));}};_0x5c2573=_0x1109ce([_0x27aa5e(0x0,_0xa8c85b['IDocClipboardService']),_0x27aa5e(0x1,_0x386c76[_0x3db0e4(0x15a)])],_0x5c2573);const _0xe9e8c5=[_0x3db0e4(0x375),'jiqing.500','green.600',_0x3db0e4(0x2f8),_0x3db0e4(0x19c),_0x3db0e4(0x340)];class _0x5cb38a extends _0x3f9956['Disposable']{constructor(){const _0x1df49c=_0x3db0e4;super(...arguments),_0x442022(this,'_assignedColors',new Map()),_0x442022(this,_0x1df49c(0x164),0x0);}[_0x3db0e4(0x363)](_0x445c75){const _0x2ac207=_0x3db0e4;if(this[_0x2ac207(0x3a3)][_0x2ac207(0x3a8)](_0x445c75))return this['_assignedColors'][_0x2ac207(0x392)](_0x445c75);const _0x516fcd=_0xe9e8c5[this[_0x2ac207(0x164)]];return this[_0x2ac207(0x164)]=(this[_0x2ac207(0x164)]+0x1)%_0xe9e8c5[_0x2ac207(0xf8)],this[_0x2ac207(0x3a3)][_0x2ac207(0x26f)](_0x445c75,_0x516fcd),_0x516fcd;}}function _0x4035a4(_0x201123){let _0x5ea915='';for(const _0x25ee08 of _0x201123){const {startOffset:_0x20b3d6,endOffset:_0x36edc8,isActive:_0x59a922,rangeType:_0x540c02,segmentId:_0x5de7b1,segmentPage:_0x4f8987}=_0x25ee08;_0x5ea915['length']&&(_0x5ea915+=','),_0x5ea915+=_0x20b3d6+':'+_0x36edc8+':'+(_0x59a922?'1':'0')+':'+_0x540c02+':'+_0x5de7b1+':'+_0x4f8987;}return _0x5ea915;}function _0xe72dbf(_0x70e774){const _0x131a96=_0x3db0e4,_0x51b934=_0x70e774[_0x131a96(0x243)](','),_0x3b0aab=[];for(const _0x2f255f of _0x51b934){const [_0x4a2a9c,_0x5cf604,_0x447f79,_0x2d06a7,_0x3b756d,_0x1fa0ad]=_0x2f255f[_0x131a96(0x243)](':');_0x3b0aab[_0x131a96(0x1ae)]({'startOffset':Number(_0x4a2a9c),'endOffset':Number(_0x5cf604),'collapsed':_0x4a2a9c===_0x5cf604,'isActive':_0x447f79==='1','rangeType':_0x2d06a7===_0x3f9956['DOC_RANGE_TYPE'][_0x131a96(0x355)]?_0x3f9956[_0x131a96(0x37c)][_0x131a96(0x355)]:_0x3f9956[_0x131a96(0x37c)][_0x131a96(0x1b6)],'segmentId':typeof _0x3b756d=='string'?String(_0x3b756d):'','segmentPage':Number(_0x1fa0ad!=null?_0x1fa0ad:-0x1)});}return _0x3b0aab[_0x131a96(0x12e)](_0x9ce161=>_0x9ce161[_0x131a96(0x22b)])||(_0x3b0aab[0x0]['isActive']=!0x0),_0x3b0aab;}class _0x5e3cb6 extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(){const _0x383f14=_0x3db0e4;super(...arguments),_0x442022(this,_0x383f14(0x10b),new _0x6aec0[(_0x383f14(0x154))](null)),_0x442022(this,'collabCursorState$',this[_0x383f14(0x10b)][_0x383f14(0x244)]());}[_0x3db0e4(0x1a4)](_0x13d5e1){const _0x2b53f6=_0x3db0e4,{unitID:_0x150162,memberID:_0x2279e6,textRanges:_0x462372}=_0x13d5e1,_0x43c7c7=_0x4035a4(_0x462372);if(_0x43c7c7==='')return;const _0x5f358d={'unitID':_0x150162,'memberID':_0x2279e6,'selection':_0x43c7c7};this['_collabCursorState$'][_0x2b53f6(0x360)](_0x5f358d);}}var _0x4d6fca=Object[_0x3db0e4(0x2d1)],_0x3ed3f5=(_0x29ad26,_0x3a0bd2,_0x455a0d,_0x7dfe70)=>{for(var _0x4b40a4=_0x7dfe70>0x1?void 0x0:_0x7dfe70?_0x4d6fca(_0x3a0bd2,_0x455a0d):_0x3a0bd2,_0x560724=_0x29ad26['length']-0x1,_0x182ec9;_0x560724>=0x0;_0x560724--)(_0x182ec9=_0x29ad26[_0x560724])&&(_0x4b40a4=_0x182ec9(_0x4b40a4)||_0x4b40a4);return _0x4b40a4;},_0xfcec48=(_0x5bc2cd,_0x24d2e8)=>(_0x5e45c1,_0x981494)=>_0x24d2e8(_0x5e45c1,_0x981494,_0x5bc2cd);const _0xaeb3f8=0x12c,_0x33a3bc=0x64;let _0x654d15=class extends _0x3f9956['RxDisposable']{constructor(_0x395097,_0x937b67,_0x434cca,_0x2c3491,_0x3919c7,_0x56894c,_0x6413c7,_0x1e1f31,_0x2e9e6){const _0x8d889a=_0x3db0e4;super(),_0x442022(this,_0x8d889a(0x2fb),!0x1),_0x442022(this,_0x8d889a(0x18a),!0x1),_0x442022(this,'_cursorInfo$',new _0x6aec0[(_0x8d889a(0x154))](new Map())),_0x442022(this,_0x8d889a(0x19b),this[_0x8d889a(0xf4)]['asObservable']()),_0x442022(this,_0x8d889a(0xf0),new _0x6aec0[(_0x8d889a(0x154))]([])),_0x442022(this,_0x8d889a(0x2f7),this['_roomMembers$'][_0x8d889a(0xf7)](_0x6aec0[_0x8d889a(0x2e3)](_0xaeb3f8))),_0x442022(this,_0x8d889a(0x1b2),_0x3f9956[_0x8d889a(0x145)](_0x17ca1e=>{const _0x1bdb57=_0x8d889a,_0x35810c={'eventID':_0x2de7d2[_0x1bdb57(0x389)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1bdb57(0x297)],'memberID':this[_0x1bdb57(0x31f)][_0x1bdb57(0x1d6)](),'selection':_0x4035a4(_0x17ca1e)}};this[_0x1bdb57(0x31f)][_0x1bdb57(0x112)](_0x35810c,this['unitID']);},_0x33a3bc)),(this[_0x8d889a(0x297)]=_0x395097,this[_0x8d889a(0x31f)]=_0x937b67,this['_injector']=_0x434cca,this[_0x8d889a(0x1c5)]=_0x2c3491,this['_memberService']=_0x3919c7,this[_0x8d889a(0x390)]=_0x56894c,this[_0x8d889a(0x2da)]=_0x6413c7,this['_univerInstanceService']=_0x1e1f31,this[_0x8d889a(0x278)]=_0x2e9e6);}get['cursorInfo'](){const _0x208db0=_0x3db0e4;return this[_0x208db0(0xf4)][_0x208db0(0x1d4)]();}get[_0x3db0e4(0x324)](){const _0x484ffd=_0x3db0e4;return this[_0x484ffd(0xf0)][_0x484ffd(0x1d4)]();}[_0x3db0e4(0x14f)](){const _0x59e43a=_0x3db0e4;super[_0x59e43a(0x14f)](),this['_cursorInfo$'][_0x59e43a(0x360)](new Map()),this[_0x59e43a(0xf4)]['complete'](),this[_0x59e43a(0xf0)][_0x59e43a(0x360)]([]),this[_0x59e43a(0xf0)]['complete']();}[_0x3db0e4(0x106)](){const _0x3f478a=_0x3db0e4;this[_0x3f478a(0x18a)]||(this['_init']=!0x0,this[_0x3f478a(0x31f)][_0x3f478a(0x306)][_0x3f478a(0xf7)](_0x6aec0[_0x3f478a(0x277)](this[_0x3f478a(0x107)]))[_0x3f478a(0x29b)](_0x5e2214=>{const _0x4edd40=_0x3f478a;_0x5e2214===_0x184317[_0x4edd40(0x2bf)][_0x4edd40(0x143)]?this['_toggleOnline']():this[_0x4edd40(0x2c4)]();}),this[_0x3f478a(0x31f)][_0x3f478a(0x248)]['pipe'](_0x6aec0['takeUntil'](this[_0x3f478a(0x107)]))[_0x3f478a(0x29b)](_0x4e1474=>{const _0x50cce7=_0x3f478a,_0x491ee4=_0x4e1474[_0x50cce7(0x157)];_0x491ee4===_0x2de7d2[_0x50cce7(0x389)][_0x50cce7(0x140)]&&this['_onCursorUpdate'](_0x4e1474),_0x491ee4===_0x2de7d2[_0x50cce7(0x389)][_0x50cce7(0x120)]&&this[_0x50cce7(0x33b)](_0x4e1474);}),this[_0x3f478a(0x20e)](this['_commandService'][_0x3f478a(0x14d)](_0x4af4dd=>{const _0x9dfc63=_0x3f478a,_0x3e3a42=_0x4af4dd['params'];_0x3e3a42!=null&&this[_0x9dfc63(0x2fb)]&&_0x4af4dd['id']===_0x333572['SetTextSelectionsOperation']['id']&&_0x3e3a42[_0x9dfc63(0x2bc)]===this[_0x9dfc63(0x297)]&&_0x3e3a42[_0x9dfc63(0x11e)]===!0x1&&_0x3e3a42[_0x9dfc63(0x2c8)][_0x9dfc63(0xf8)]>0x0&&this[_0x9dfc63(0x1b2)](_0x3e3a42[_0x9dfc63(0x2c8)]);})),this[_0x3f478a(0x390)]['collabCursorState$']['pipe'](_0x6aec0[_0x3f478a(0x277)](this[_0x3f478a(0x107)]))['subscribe'](_0x861ad8=>{const _0x7ff392=_0x3f478a;if((_0x861ad8==null?void 0x0:_0x861ad8[_0x7ff392(0x297)])!==this[_0x7ff392(0x297)])return;const _0x11ef15={'eventID':_0x2de7d2[_0x7ff392(0x389)][_0x7ff392(0x140)],'data':_0x861ad8};this['_onCursorUpdate'](_0x11ef15);}),this[_0x3f478a(0x20e)](this[_0x3f478a(0x278)]['onCommandExecuted'](_0x2f34d0=>{const _0x18b43d=_0x3f478a;if(_0x2f34d0[_0x18b43d(0x176)]==null)return;const _0x137ed7=_0x2f34d0[_0x18b43d(0x176)];if(_0x2f34d0['id']!==_0x333572['RichTextEditingMutation']['id']||_0x137ed7[_0x18b43d(0x2bc)]!==this['unitID'])return;const _0x20cbb2={'id':'doc.mutation.rich-text-editing','params':_0x137ed7},_0x179789=this[_0x18b43d(0x2d7)];for(const [_0x29eebe,_0xc335de]of _0x179789){const _0x44ec33={'id':_0x18b43d(0x260),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0xc335de['ranges']}},_0x4788a1=this['_transformService']['transformMutation'](_0x20cbb2,_0x44ec33,!0x1);if(_0x2de7d2[_0x18b43d(0x18d)](_0x4788a1))throw _0x4788a1[_0x18b43d(0x235)];_0x179789[_0x18b43d(0x26f)](_0x29eebe,{..._0xc335de,'ranges':_0x4788a1[_0x18b43d(0x333)][_0x18b43d(0x176)][_0x18b43d(0x2c2)]});}queueMicrotask(()=>{const _0x5998f5=_0x18b43d;this[_0x5998f5(0xf4)][_0x5998f5(0x360)](_0x179789);});})));}[_0x3db0e4(0x129)](_0x5b83ae){const _0x4748ef=_0x3db0e4;var _0x5a84e8,_0x22a8c5;const {memberID:_0x2b4dd9,selection:_0x2d74a5}=_0x5b83ae[_0x4748ef(0xf3)],_0x4fb838=_0xe72dbf(_0x2d74a5),_0x39dd8e=(_0x22a8c5=(_0x5a84e8=this[_0x4748ef(0x195)]['getMember'](this[_0x4748ef(0x297)],_0x2b4dd9))==null?void 0x0:_0x5a84e8['name'])!=null?_0x22a8c5:_0x4748ef(0x148),_0x182300={'color':this[_0x4748ef(0x1c5)][_0x4748ef(0x363)](_0x2b4dd9),'name':_0x39dd8e,'ranges':_0x4fb838},_0xa26863=this['cursorInfo'];_0xa26863[_0x4748ef(0x26f)](_0x2b4dd9,_0x182300),this[_0x4748ef(0xf4)]['next'](_0xa26863);}[_0x3db0e4(0x33b)](_0x49f730){const _0x499c9b=_0x3db0e4,{memberID:_0x3823a7}=_0x49f730[_0x499c9b(0xf3)],_0x584536=this['cursorInfo'];_0x584536[_0x499c9b(0x1ce)](_0x3823a7),this[_0x499c9b(0xf4)]['next'](_0x584536);}[_0x3db0e4(0x34b)](){const _0x20e51b=_0x3db0e4;var _0x3f803e;if(this['_online']=!0x0,((_0x3f803e=this[_0x20e51b(0x205)][_0x20e51b(0x230)]())==null?void 0x0:_0x3f803e['getUnitId']())!==this[_0x20e51b(0x297)])return;const _0x2751f7=this[_0x20e51b(0x15f)][_0x20e51b(0x392)](_0x333572[_0x20e51b(0x29a)])[_0x20e51b(0x1ac)]();Array['isArray'](_0x2751f7)&&_0x2751f7[_0x20e51b(0xf8)]>0x0&&this[_0x20e51b(0x1b2)](_0x2751f7);}[_0x3db0e4(0x2c4)](){const _0x276e72=_0x3db0e4;this[_0x276e72(0x2fb)]=!0x1;}};_0x654d15=_0x3ed3f5([_0xfcec48(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0xfcec48(0x3,_0x3f9956['Inject'](_0x5cb38a)),_0xfcec48(0x4,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x323)])),_0xfcec48(0x5,_0x3f9956['Inject'](_0x5e3cb6)),_0xfcec48(0x6,_0x2de7d2['ITransformService']),_0xfcec48(0x7,_0x3f9956[_0x3db0e4(0x264)]),_0xfcec48(0x8,_0x3f9956[_0x3db0e4(0x30c)])],_0x654d15);var _0x757cd8=Object[_0x3db0e4(0x2d1)],_0x12a958=(_0x33f82f,_0xee74cf,_0xc8a720,_0x4701b4)=>{const _0x241dea=_0x3db0e4;for(var _0x2e9fd2=_0x4701b4>0x1?void 0x0:_0x4701b4?_0x757cd8(_0xee74cf,_0xc8a720):_0xee74cf,_0x2cf10c=_0x33f82f[_0x241dea(0xf8)]-0x1,_0x19954a;_0x2cf10c>=0x0;_0x2cf10c--)(_0x19954a=_0x33f82f[_0x2cf10c])&&(_0x2e9fd2=_0x19954a(_0x2e9fd2)||_0x2e9fd2);return _0x2e9fd2;},_0x865286=(_0x43a21d,_0x2d9f66)=>(_0x5ee647,_0x3208dc)=>_0x2d9f66(_0x5ee647,_0x3208dc,_0x43a21d);const _0x29f938=0x12c,_0x8f6363=0x64,_0x54f247=()=>{let _0x226603=[],_0x46e341=!0x1;return _0x13050c=>{const _0x263b8a=_0x4227;_0x226603[_0x263b8a(0x1ae)](_0x13050c),_0x46e341||(_0x46e341=!0x0,setTimeout(()=>{const _0x391235=_0x263b8a;_0x226603[_0x391235(0x29f)](_0x3be6f4=>_0x3be6f4()),_0x226603=[],_0x46e341=!0x1;}));};};let _0x2209c0=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x16fde9,_0x1d292e,_0x1c556c,_0x46752b,_0x366c68,_0x25701f,_0x2f03d3,_0x346e20){const _0x5ba21b=_0x3db0e4;super(),_0x442022(this,_0x5ba21b(0x2fb),!0x1),_0x442022(this,_0x5ba21b(0x18a),!0x1),_0x442022(this,_0x5ba21b(0xf4),new _0x6aec0['BehaviorSubject'](new Map())),_0x442022(this,'cursorInfo$',this[_0x5ba21b(0xf4)]['asObservable']()),_0x442022(this,_0x5ba21b(0xf0),new _0x6aec0['BehaviorSubject']([])),_0x442022(this,_0x5ba21b(0x2f7),this[_0x5ba21b(0xf0)]['pipe'](_0x6aec0[_0x5ba21b(0x2e3)](_0x29f938))),_0x442022(this,_0x5ba21b(0x1b2),_0x3f9956[_0x5ba21b(0x145)]((_0x1a462b,_0x28718a)=>{const _0x55afda=_0x5ba21b,_0x4584df={'eventID':_0x2de7d2[_0x55afda(0x389)][_0x55afda(0x140)],'data':{'unitID':this[_0x55afda(0x297)],'memberID':this[_0x55afda(0x31f)]['getMemberID'](),'selection':_0x2c79d7['serializeRangeWithSheet'](_0x1a462b,_0x28718a[_0x55afda(0x268)])}};this[_0x55afda(0x31f)][_0x55afda(0x112)](_0x4584df,this[_0x55afda(0x297)]);},_0x8f6363)),(this[_0x5ba21b(0x297)]=_0x16fde9,this[_0x5ba21b(0x31f)]=_0x1d292e,this[_0x5ba21b(0x15f)]=_0x1c556c,this[_0x5ba21b(0x1c5)]=_0x46752b,this[_0x5ba21b(0x195)]=_0x366c68,this[_0x5ba21b(0x205)]=_0x25701f,this[_0x5ba21b(0x278)]=_0x2f03d3,this['_refRangeService']=_0x346e20);}get[_0x3db0e4(0x2d7)](){const _0x4d1082=_0x3db0e4;return this[_0x4d1082(0xf4)]['getValue']();}get[_0x3db0e4(0x324)](){const _0x4cd236=_0x3db0e4;return this['_roomMembers$'][_0x4cd236(0x1d4)]();}[_0x3db0e4(0x14f)](){const _0xf12b91=_0x3db0e4;super[_0xf12b91(0x14f)](),this[_0xf12b91(0xf4)][_0xf12b91(0x360)](new Map()),this['_cursorInfo$'][_0xf12b91(0x2ef)](),this[_0xf12b91(0xf0)][_0xf12b91(0x360)]([]),this[_0xf12b91(0xf0)][_0xf12b91(0x2ef)]();}['init'](){const _0x32b27c=_0x3db0e4;this['_init']||(this[_0x32b27c(0x18a)]=!0x0,this['_session'][_0x32b27c(0x306)][_0x32b27c(0xf7)](_0x6aec0[_0x32b27c(0x277)](this[_0x32b27c(0x107)]))[_0x32b27c(0x29b)](_0x512bb4=>{const _0x5918a9=_0x32b27c;_0x512bb4===_0x184317[_0x5918a9(0x2bf)]['ONLINE']?this['_toggleOnline']():this[_0x5918a9(0x2c4)]();}),this[_0x32b27c(0x31f)][_0x32b27c(0x248)][_0x32b27c(0xf7)](_0x6aec0[_0x32b27c(0x277)](this[_0x32b27c(0x107)]))['subscribe'](_0x29b807=>{const _0x599809=_0x32b27c,_0x51a262=_0x29b807[_0x599809(0x157)];_0x51a262===_0x2de7d2['CollaborationEvent'][_0x599809(0x140)]&&this[_0x599809(0x129)](_0x29b807),_0x51a262===_0x2de7d2[_0x599809(0x389)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x29b807);}),this[_0x32b27c(0x1ed)](),this['disposeWithMe'](this[_0x32b27c(0x278)][_0x32b27c(0x14d)](_0x470cd5=>{const _0x76fadb=_0x32b27c;if(this[_0x76fadb(0x2fb)]&&_0x470cd5['id']===_0x13a368[_0x76fadb(0x117)]['id']&&_0x470cd5[_0x76fadb(0x176)]['unitId']===this[_0x76fadb(0x297)]){const _0x1b128e=_0x470cd5[_0x76fadb(0x176)];this['_updateLocalCursor'](_0x1b128e[_0x76fadb(0x151)],_0x1b128e[_0x76fadb(0x184)][0x0]);}})));}['_onCursorUpdate'](_0x431ec9){const _0x5ae103=_0x3db0e4;var _0x1ec14d,_0x158a51;const {memberID:_0x41ac3c,selection:_0x4ca68a}=_0x431ec9[_0x5ae103(0xf3)],{sheetName:_0x61097a,range:_0x32232c}=_0x2c79d7[_0x5ae103(0x39a)](_0x4ca68a),_0x1c847d={'name':(_0x158a51=(_0x1ec14d=this[_0x5ae103(0x195)][_0x5ae103(0x253)](this['unitID'],_0x41ac3c))==null?void 0x0:_0x1ec14d[_0x5ae103(0x17d)])!=null?_0x158a51:_0x5ae103(0x148),'range':this['_getMergeRange'](_0x61097a,_0x32232c),'sheetID':_0x61097a,'color':this[_0x5ae103(0x1c5)]['assignAColorForMemberID'](_0x41ac3c),'selection':_0x4ca68a},_0x59ab22=this['cursorInfo'];_0x59ab22[_0x5ae103(0x26f)](_0x41ac3c,_0x1c847d),this[_0x5ae103(0xf4)][_0x5ae103(0x360)](_0x59ab22);}[_0x3db0e4(0x33b)](_0x59d0bc){const _0x5af454=_0x3db0e4,{memberID:_0x5c8c49}=_0x59d0bc['data'],_0x16ca27=this['cursorInfo'];_0x16ca27[_0x5af454(0x1ce)](_0x5c8c49),this[_0x5af454(0xf4)][_0x5af454(0x360)](_0x16ca27);}[_0x3db0e4(0x292)](_0x33bf00,_0x398ddd){const _0x5df7c1=_0x3db0e4;var _0x5e5665,_0x1ba92e;const _0x4c7b5c=(_0x1ba92e=(_0x5e5665=this[_0x5df7c1(0x205)][_0x5df7c1(0x3b4)](this[_0x5df7c1(0x297)]))==null?void 0x0:_0x5e5665['getSheetBySheetId'](_0x33bf00))==null?void 0x0:_0x1ba92e[_0x5df7c1(0x289)]();return(_0x4c7b5c==null?void 0x0:_0x4c7b5c[_0x5df7c1(0x295)](_0x5393fb=>_0x3f9956[_0x5df7c1(0x251)]['contains'](_0x5393fb,_0x398ddd)))||_0x398ddd;}[_0x3db0e4(0x1ed)](){const _0x50fd80=_0x3db0e4,_0x57e25e=new _0x3f9956[(_0x50fd80(0x30f))](),_0x575cce=_0x54f247(),_0x3d07cb=()=>{const _0x1bac7e=_0x50fd80;_0x57e25e['dispose']();const _0x58b39a=(_0x47eec1,_0x3a2686,_0x521fdd,_0x58ca94)=>{const _0x22415a=_0x4227;let _0x53de5f=[];switch(_0x47eec1['id']){case _0x13a368['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x53de5f=_0x13a368[_0x22415a(0x173)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['DeleteRangeMoveUpCommandId']:{_0x53de5f=_0x13a368['handleDeleteRangeMoveUp'](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x37f)]:{_0x53de5f=_0x13a368[_0x22415a(0x135)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['InsertRangeMoveDownCommandId']:{_0x53de5f=_0x13a368['handleInsertRangeMoveDown'](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x34d)]:{_0x53de5f=_0x13a368[_0x22415a(0x161)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x17c)]:{_0x53de5f=_0x13a368['handleInsertRow'](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['MoveRangeCommandId']:{_0x53de5f=_0x13a368[_0x22415a(0x396)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['RemoveColCommandId']:{_0x53de5f=_0x13a368[_0x22415a(0x2e5)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x346)]:{_0x53de5f=_0x13a368[_0x22415a(0x32e)](_0x47eec1,_0x58ca94);break;}}const _0x73e273=_0x13a368[_0x22415a(0x1f2)](_0x53de5f,_0x58ca94),_0x5c0c70=this[_0x22415a(0x2d7)][_0x22415a(0x392)](_0x3a2686);if(_0x5c0c70&&_0x73e273){const _0x31d778={..._0x5c0c70,'range':_0x73e273};this['cursorInfo'][_0x22415a(0x26f)](_0x3a2686,_0x31d778),_0x575cce(()=>{const _0x5c199b=_0x22415a,_0x4316ec=this[_0x5c199b(0x386)][_0x5c199b(0x141)](_0x73e273,_0x4b99a7=>(_0x4316ec[_0x5c199b(0x14f)](),_0x58b39a(_0x4b99a7,_0x3a2686,_0x521fdd,_0x73e273)));_0x57e25e[_0x5c199b(0x2d8)](_0x4316ec);});}return{'redos':[],'undos':[]};};this[_0x1bac7e(0x2d7)][_0x1bac7e(0x29f)]((_0x5ffd1e,_0x2fa575)=>{const _0x27b6f0=_0x1bac7e,{range:_0x118537,sheetID:_0x59ae2a}=_0x5ffd1e,_0xafcf88=this[_0x27b6f0(0x386)]['registerRefRange'](_0x118537,_0x28d5c7=>(_0xafcf88[_0x27b6f0(0x14f)](),_0x58b39a(_0x28d5c7,_0x2fa575,_0x59ae2a,_0x118537)));_0x57e25e[_0x27b6f0(0x2d8)](_0xafcf88);});};this[_0x50fd80(0x20e)](_0x3f9956[_0x50fd80(0x30e)](this[_0x50fd80(0xf4)][_0x50fd80(0x29b)](()=>{_0x3d07cb();})));}[_0x3db0e4(0x34b)](){const _0x3725b7=_0x3db0e4;var _0x27a537,_0x45d9d5;if(this[_0x3725b7(0x2fb)]=!0x0,((_0x27a537=this['_univerInstanceService'][_0x3725b7(0x230)]())==null?void 0x0:_0x27a537[_0x3725b7(0x3aa)]())!==this[_0x3725b7(0x297)])return;const _0x335bc3=(_0x45d9d5=this[_0x3725b7(0x15f)][_0x3725b7(0x392)](_0x13a368['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x45d9d5[0x0],_0x2ab3f2=this[_0x3725b7(0x205)][_0x3725b7(0x28d)](_0x3f9956[_0x3725b7(0x100)][_0x3725b7(0xff)])[_0x3725b7(0x1bd)]();_0x335bc3&&_0x2ab3f2&&this[_0x3725b7(0x1b2)](_0x2ab3f2[_0x3725b7(0x1db)](),_0x335bc3);}[_0x3db0e4(0x2c4)](){this['_online']=!0x1;}};_0x2209c0=_0x12a958([_0x865286(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x865286(0x3,_0x3f9956['Inject'](_0x5cb38a)),_0x865286(0x4,_0x3f9956[_0x3db0e4(0x302)](_0x184317[_0x3db0e4(0x323)])),_0x865286(0x5,_0x3f9956[_0x3db0e4(0x264)]),_0x865286(0x6,_0x3f9956[_0x3db0e4(0x30c)]),_0x865286(0x7,_0x3f9956[_0x3db0e4(0x302)](_0x13a368[_0x3db0e4(0x35e)]))],_0x2209c0);var _0x26d098=Object[_0x3db0e4(0x2d1)],_0x5bd336=(_0xb464d0,_0x4b8a1d,_0x38b89e,_0x23d180)=>{const _0x158a2e=_0x3db0e4;for(var _0x515d06=_0x23d180>0x1?void 0x0:_0x23d180?_0x26d098(_0x4b8a1d,_0x38b89e):_0x4b8a1d,_0x43de7a=_0xb464d0[_0x158a2e(0xf8)]-0x1,_0x231422;_0x43de7a>=0x0;_0x43de7a--)(_0x231422=_0xb464d0[_0x43de7a])&&(_0x515d06=_0x231422(_0x515d06)||_0x515d06);return _0x515d06;},_0x110cb9=(_0x405cec,_0x9053c7)=>(_0x2770bf,_0x37f82b)=>_0x9053c7(_0x2770bf,_0x37f82b,_0x405cec);let _0x135bf3=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x4bf893,_0x4f64a6,_0x50d0fe){const _0x1de7d2=_0x3db0e4;super(),_0x442022(this,_0x1de7d2(0x224),new Map()),_0x442022(this,_0x1de7d2(0x213),new _0x6aec0['Subject']()),(this[_0x1de7d2(0x205)]=_0x4bf893,this[_0x1de7d2(0x15f)]=_0x4f64a6,this['_collabSessionService']=_0x50d0fe,this[_0x1de7d2(0x18a)]());}['dispose'](){const _0x5475fa=_0x3db0e4;super[_0x5475fa(0x14f)](),this[_0x5475fa(0x213)][_0x5475fa(0x2ef)](),this[_0x5475fa(0x224)][_0x5475fa(0x29f)](_0x20ab70=>_0x20ab70[_0x5475fa(0x14f)]());}[_0x3db0e4(0x2e1)](_0xd659a9){const _0x32bf72=_0x3db0e4;return this[_0x32bf72(0x224)][_0x32bf72(0x3a8)](_0xd659a9)?this[_0x32bf72(0x224)][_0x32bf72(0x392)](_0xd659a9)[_0x32bf72(0x19b)]:this['_entityInit$'][_0x32bf72(0xf7)](_0x6aec0[_0x32bf72(0x1ba)](_0x269b1c=>_0x269b1c['unitID']===_0xd659a9),_0x6aec0[_0x32bf72(0x2dc)](_0x355dcf=>_0x355dcf[_0x32bf72(0x19b)]));}['_init'](){const _0x2a1b24=_0x3db0e4;this[_0x2a1b24(0x205)]['getTypeOfUnitAdded$'](_0x3f9956[_0x2a1b24(0x100)]['UNIVER_SHEET'])[_0x2a1b24(0xf7)](_0x6aec0[_0x2a1b24(0x277)](this[_0x2a1b24(0x107)]))['subscribe'](async _0x46acd5=>{const _0x16acda=_0x2a1b24,_0x41ad88=_0x46acd5[_0x16acda(0x3aa)](),_0x5101b1=await this[_0x16acda(0x320)](_0x41ad88);this[_0x16acda(0x213)][_0x16acda(0x360)](_0x5101b1),this[_0x16acda(0x224)][_0x16acda(0x26f)](_0x41ad88,_0x5101b1);}),this[_0x2a1b24(0x205)][_0x2a1b24(0x273)](_0x3f9956['UniverInstanceType'][_0x2a1b24(0x257)])[_0x2a1b24(0xf7)](_0x6aec0['takeUntil'](this['dispose$']))[_0x2a1b24(0xf7)](_0x6aec0[_0x2a1b24(0x1ba)](_0x1c63fc=>!_0x1c63fc['getUnitId']()['startsWith']('__')))[_0x2a1b24(0x29b)](async _0x4e245f=>{const _0x234a64=_0x2a1b24,_0x527362=_0x4e245f['getUnitId'](),_0xe4dba2=await this[_0x234a64(0x165)](_0x527362);this['_entityInit$'][_0x234a64(0x360)](_0xe4dba2),this[_0x234a64(0x224)][_0x234a64(0x26f)](_0x527362,_0xe4dba2);}),_0x6aec0['merge'](this[_0x2a1b24(0x205)][_0x2a1b24(0x33f)](_0x3f9956['UniverInstanceType']['UNIVER_DOC']),this[_0x2a1b24(0x205)][_0x2a1b24(0x33f)](_0x3f9956[_0x2a1b24(0x100)]['UNIVER_SHEET']))[_0x2a1b24(0xf7)](_0x6aec0[_0x2a1b24(0x277)](this[_0x2a1b24(0x107)]))[_0x2a1b24(0x29b)](_0x15ca92=>{const _0x3ea536=_0x2a1b24,_0x5d2756=_0x15ca92[_0x3ea536(0x3aa)](),_0x2bb1e8=this['_entities'][_0x3ea536(0x392)](_0x5d2756);_0x2bb1e8&&(_0x2bb1e8[_0x3ea536(0x14f)](),this[_0x3ea536(0x224)][_0x3ea536(0x1ce)](_0x5d2756));});}async[_0x3db0e4(0x320)](_0x31b85a){const _0x1e5caf=_0x3db0e4,_0x2eed18=await this['_collabSessionService'][_0x1e5caf(0x370)](_0x31b85a),_0x2368ac=this['_injector'][_0x1e5caf(0x212)](_0x2209c0,_0x31b85a,_0x2eed18);return _0x2368ac[_0x1e5caf(0x106)](),_0x2368ac;}async['_startDocCollabCursor'](_0x4d704e){const _0x22496a=_0x3db0e4,_0x2db301=await this['_collabSessionService']['requireSession'](_0x4d704e),_0x28e708=this['_injector']['createInstance'](_0x654d15,_0x4d704e,_0x2db301);return _0x28e708[_0x22496a(0x106)](),_0x28e708;}};_0x135bf3=_0x5bd336([_0x110cb9(0x0,_0x3f9956[_0x3db0e4(0x264)]),_0x110cb9(0x1,_0x3f9956['Inject'](_0x3f9956[_0x3db0e4(0x39d)])),_0x110cb9(0x2,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x240)]))],_0x135bf3);const _0x2520ce=0x14,_0x198362=0xc8,_0x27d5e3=0x4,_0x5d2659=0x5;function _0x2b9394(_0x224ca5,_0x1ccc81){const _0x2363af=_0x3db0e4;let {radius:_0x24c054,width:_0x1b245d,height:_0x5483ef}=_0x1ccc81;_0x24c054=_0x24c054!=null?_0x24c054:0x0,_0x1b245d=_0x1b245d!=null?_0x1b245d:0x1e,_0x5483ef=_0x5483ef!=null?_0x5483ef:0x1e;let _0x19221a=0x0,_0x1f3384=0x0,_0x580b56=0x0;_0x19221a=_0x1f3384=_0x580b56=Math[_0x2363af(0x37a)](_0x24c054,_0x1b245d/0x2,_0x5483ef/0x2),_0x224ca5[_0x2363af(0x232)](),_0x224ca5[_0x2363af(0x35c)](_0x19221a,0x0),_0x224ca5['lineTo'](_0x1b245d-_0x1f3384,0x0),_0x224ca5[_0x2363af(0x102)](_0x1b245d-_0x1f3384,_0x1f3384,_0x1f3384,Math['PI']*0x3/0x2,0x0,!0x1),_0x224ca5[_0x2363af(0x38a)](_0x1b245d,_0x5483ef-_0x580b56),_0x224ca5['arc'](_0x1b245d-_0x580b56,_0x5483ef-_0x580b56,_0x580b56,0x0,Math['PI']/0x2,!0x1),_0x224ca5[_0x2363af(0x38a)](0x0,_0x5483ef),_0x224ca5[_0x2363af(0x38a)](0x0,_0x19221a),_0x224ca5[_0x2363af(0x102)](_0x19221a,_0x19221a,_0x19221a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x224ca5['closePath'](),_0x1ccc81[_0x2363af(0x126)]&&(_0x224ca5['save'](),_0x224ca5[_0x2363af(0x31c)]=_0x1ccc81[_0x2363af(0x126)],_0x1ccc81[_0x2363af(0x2b9)]==='evenodd'?_0x224ca5[_0x2363af(0x126)]('evenodd'):_0x224ca5[_0x2363af(0x126)](),_0x224ca5[_0x2363af(0xfb)]());}class _0x3cfc67 extends _0x2dd116[_0x3db0e4(0x1e7)]{constructor(_0x257d21,_0x50617e){const _0x5b1a36=_0x3db0e4;super(_0x257d21,_0x50617e),_0x442022(this,'color'),_0x442022(this,_0x5b1a36(0x36e)),(this[_0x5b1a36(0x228)]=_0x50617e==null?void 0x0:_0x50617e['color'],this[_0x5b1a36(0x36e)]=_0x50617e==null?void 0x0:_0x50617e[_0x5b1a36(0x36e)]);}static['drawWith'](_0x50a91e,_0x2ea3aa){const _0xc4e0d=_0x3db0e4,{text:_0x1e7df8,color:_0x9776dd}=_0x2ea3aa;_0x50a91e[_0xc4e0d(0x12c)](),_0x50a91e['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x28220f=_0x50a91e[_0xc4e0d(0x2ec)](_0x1e7df8)[_0xc4e0d(0x2a9)],_0x6e8185=Math[_0xc4e0d(0x37a)](_0x28220f+0x2*_0x27d5e3,_0x198362);_0x2b9394(_0x50a91e,{'height':_0x2520ce,'radius':0x4,'width':_0x6e8185,'fill':_0x9776dd}),_0x50a91e[_0xc4e0d(0x31c)]=_0xc4e0d(0x1b5);const _0x5ef981=_0x27d5e3,_0x45df94=_0x2520ce-_0x5d2659,_0x4181db=_0x198362-0x2*_0x27d5e3;if(_0x28220f>_0x4181db){let _0xa1c0ff='',_0x173a23=0x0;for(const _0x299bcd of _0x1e7df8){const _0x16304f=_0x50a91e[_0xc4e0d(0x2ec)](_0x299bcd)[_0xc4e0d(0x2a9)];if(_0x173a23+_0x16304f<=_0x4181db-_0x50a91e[_0xc4e0d(0x2ec)](_0xc4e0d(0x229))[_0xc4e0d(0x2a9)])_0xa1c0ff+=_0x299bcd,_0x173a23+=_0x16304f;else{_0xa1c0ff+=_0xc4e0d(0x229);break;}}_0x50a91e['fillText'](_0xa1c0ff,_0x5ef981,_0x45df94);}else _0x50a91e[_0xc4e0d(0x18e)](_0x1e7df8,_0x5ef981,_0x45df94);_0x50a91e[_0xc4e0d(0xfb)]();}[_0x3db0e4(0x352)](_0x2a11df){_0x3cfc67['drawWith'](_0x2a11df,this);}}const _0x47c6cd=_0x3db0e4(0x1da),_0x83fd96=_0x3db0e4(0x1ad),_0x3d6617='collab-rect-range-',_0x6ff9c1=0x6,_0x25dee4=1.5,_0x23e213=0x4,_0x2303df=1.5,_0x3e49e7=_0x3db0e4(0x238);class _0x277afe{constructor(_0x4ceefd,_0x24562c,_0xb617a6,_0x107e11){const _0x3c3118=_0x3db0e4;_0x442022(this,'_shapes',[]),_0x442022(this,_0x3c3118(0x384),null),_0x442022(this,_0x3c3118(0x377),null),_0x442022(this,_0x3c3118(0x159),null),_0x442022(this,_0x3c3118(0x32a),null),_0x442022(this,'_eventUnsubscribe',null),(this[_0x3c3118(0x156)]=_0x4ceefd,this[_0x3c3118(0x11a)]=_0x24562c,this[_0x3c3118(0x348)]=_0xb617a6,this[_0x3c3118(0x199)]=_0x107e11,this[_0x3c3118(0x1cd)]());}set['_hover'](_0x1408cc){const _0x59ce66=_0x3db0e4;_0x1408cc?(this[_0x59ce66(0x159)]&&this['_anchorDot'][_0x59ce66(0x21b)](),this['_textBubble']&&this['_textBubble'][_0x59ce66(0x2c7)]()):(this[_0x59ce66(0x159)]&&this[_0x59ce66(0x159)][_0x59ce66(0x2c7)](),this[_0x59ce66(0x377)]&&this['_textBubble'][_0x59ce66(0x21b)]());}[_0x3db0e4(0x14f)](){const _0x3fa651=_0x3db0e4;for(const _0x194355 of this[_0x3fa651(0x1f9)])_0x194355['dispose']();this[_0x3fa651(0x377)]&&this['_textBubble'][_0x3fa651(0x14f)](),this[_0x3fa651(0x159)]&&this[_0x3fa651(0x159)]['dispose'](),this[_0x3fa651(0x384)]&&this[_0x3fa651(0x384)][_0x3fa651(0x14f)](),this[_0x3fa651(0x105)]&&this[_0x3fa651(0x105)]();}['_render'](){const _0xf9aa24=_0x3db0e4;var _0x1208c3;const {_docSkeleton:_0x1d09c2,_document:_0x24a222}=this,{color:_0x611a08,name:_0x484f16,ranges:_0xd7717c}=this[_0xf9aa24(0x156)],_0x3f6af4=_0x24a222[_0xf9aa24(0x1d3)](),{docsLeft:_0x2f3669,docsTop:_0x40f6ca}=_0x3f6af4,_0x3f3136=new _0xa8c85b[(_0xf9aa24(0x222))](_0x3f6af4,_0x1d09c2);for(const {startOffset:_0x15aec2,endOffset:_0x437a3,rangeType:_0x2745fd,segmentId:_0x436db7,segmentPage:_0x4e9910,collapsed:_0x23a1ee,isActive:_0x172e79}of _0xd7717c){const _0x10e658=_0x1d09c2[_0xf9aa24(0x365)](_0x15aec2,!0x0,_0x436db7,_0x4e9910);let _0x3b2f39=_0x1d09c2['findNodePositionByCharIndex'](_0x437a3,!0x0,_0x436db7,_0x4e9910);if(_0x3b2f39==null&&(_0x3b2f39=_0x1d09c2['findNodePositionByCharIndex'](_0x437a3-0x1,!0x1,_0x436db7,_0x4e9910)),_0x172e79){const {contentBoxPointGroup:_0x41ee81}=_0x3f3136[_0xf9aa24(0x23a)](_0x3b2f39,_0x3b2f39);if(_0x41ee81[_0xf9aa24(0xf8)]===0x0)continue;this[_0xf9aa24(0x104)](_0x611a08,_0x41ee81,_0x2f3669,_0x40f6ca,_0x484f16),this[_0xf9aa24(0x105)]=this[_0xf9aa24(0x326)]();}if(_0x10e658&&_0x3b2f39){if(_0x2745fd===_0x3f9956[_0xf9aa24(0x37c)]['RECT']){const _0x194761=new _0xa8c85b[(_0xf9aa24(0x315))](_0x3f6af4,_0x1d09c2),{pointGroup:_0x7784f8}=(_0x1208c3=_0x194761[_0xf9aa24(0x23a)](_0x10e658,_0x3b2f39))!=null?_0x1208c3:{};if(_0x7784f8==null||_0x7784f8[_0xf9aa24(0xf8)]===0x0)continue;this['_drawRectRange'](_0x611a08,_0x7784f8,_0x2f3669,_0x40f6ca);}else{if(!_0x23a1ee){const {borderBoxPointGroup:_0x3edf17}=_0x3f3136[_0xf9aa24(0x23a)](_0x10e658,_0x3b2f39);if(_0x3edf17[_0xf9aa24(0xf8)]===0x0)continue;this[_0xf9aa24(0x2ea)](_0x611a08,_0x3edf17,_0x2f3669,_0x40f6ca);}}}}}[_0x3db0e4(0x104)](_0x1ddcf4,_0x358d38,_0x2e361,_0x1bb62a,_0x48c66a){const _0x4961c3=_0x3db0e4,_0x475ef9=this[_0x4961c3(0x2e4)](_0x358d38),{left:_0x4538da,top:_0x196765,height:_0x49ec0f}=_0x475ef9,_0x42194a=this[_0x4961c3(0x116)](),_0x120fc8=_0x2303df/_0x42194a,_0x2bcd35=new _0x2dd116['Rect'](_0x47c6cd+_0x3f9956[_0x4961c3(0x17e)](_0x6ff9c1),{'left':_0x4538da+_0x2e361-_0x120fc8,'top':_0x196765+_0x1bb62a,'height':_0x49ec0f,'width':_0x25dee4,'fill':_0x1ddcf4||_0x2dd116[_0x4961c3(0x3ac)](_0x3f9956[_0x4961c3(0x298)][_0x4961c3(0x30b)],0x0),'strokeWidth':_0x120fc8,'stroke':_0x3e49e7,'evented':!0x0});this[_0x4961c3(0x384)]=_0x2bcd35,this[_0x4961c3(0x11a)][_0x4961c3(0x22f)](_0x2bcd35,_0xa8c85b[_0x4961c3(0x113)]);const _0x802174=new _0x2dd116[(_0x4961c3(0x207))](_0x47c6cd+_0x3f9956[_0x4961c3(0x17e)](_0x6ff9c1),{'left':_0x4538da+_0x2e361-_0x120fc8,'top':_0x196765+_0x1bb62a-_0x23e213/0x2,'height':_0x23e213,'width':_0x23e213,'fill':_0x1ddcf4||_0x2dd116[_0x4961c3(0x3ac)](_0x3f9956['COLORS'][_0x4961c3(0x30b)],0x0),'strokeWidth':0x0,'stroke':_0x1ddcf4||_0x2dd116[_0x4961c3(0x3ac)](_0x3f9956[_0x4961c3(0x298)][_0x4961c3(0x30b)],0x0),'evented':!0x1});this[_0x4961c3(0x159)]=_0x802174,this[_0x4961c3(0x11a)][_0x4961c3(0x22f)](_0x802174,_0xa8c85b['TEXT_RANGE_LAYER_INDEX']);const _0x479463=new _0x3cfc67(_0x47c6cd+_0x3f9956[_0x4961c3(0x17e)](_0x6ff9c1),{'left':_0x4538da+_0x2e361-_0x120fc8,'top':_0x196765+_0x1bb62a-_0x2520ce,'text':_0x48c66a,'color':_0x1ddcf4});this[_0x4961c3(0x377)]=_0x479463,this['_scene']['addObject'](_0x479463,_0xa8c85b['TEXT_RANGE_LAYER_INDEX']),this[_0x4961c3(0x12b)]=!0x1;}[_0x3db0e4(0x326)](){const _0x1b9f0c=_0x3db0e4,_0x140dc3=this[_0x1b9f0c(0x384)][_0x1b9f0c(0x282)][_0x1b9f0c(0x1cf)](()=>{const _0x59951e=_0x1b9f0c;this[_0x59951e(0x12b)]=!0x0;}),_0x1981be=this[_0x1b9f0c(0x384)][_0x1b9f0c(0x21a)][_0x1b9f0c(0x1cf)](()=>{const _0x72e08f=_0x1b9f0c;this[_0x72e08f(0x32a)]&&clearTimeout(this['_hideTimer']),this[_0x72e08f(0x32a)]=setTimeout(()=>{const _0x2c40e0=_0x72e08f;this[_0x2c40e0(0x12b)]=!0x1;},0x7d0);});return()=>{const _0x56b0f5=_0x1b9f0c;_0x140dc3[_0x56b0f5(0x271)](),_0x1981be[_0x56b0f5(0x271)]();};}[_0x3db0e4(0x2ea)](_0x111d3c,_0x2cfe14,_0x4b01c3,_0x38fe0b){const _0x5268df=_0x3db0e4,_0xd419af=new _0x3f9956['ColorKit'](_0x111d3c)[_0x5268df(0x2c5)](0.2)[_0x5268df(0x376)](),_0xa86a32=new _0x2dd116['RegularPolygon'](_0x83fd96+_0x3f9956[_0x5268df(0x17e)](_0x6ff9c1),{'pointsGroup':_0x2cfe14,'fill':_0xd419af||_0x2dd116[_0x5268df(0x3ac)](_0x3f9956[_0x5268df(0x298)][_0x5268df(0x30b)],0.2),'left':_0x4b01c3,'top':_0x38fe0b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5268df(0x1ae)](_0xa86a32),this[_0x5268df(0x11a)][_0x5268df(0x22f)](_0xa86a32,_0xa8c85b[_0x5268df(0x113)]);}[_0x3db0e4(0x18c)](_0x53617b,_0x4bbe59,_0x444ab3,_0x331efa){const _0x597b76=_0x3db0e4,_0x3313c3=new _0x3f9956[(_0x597b76(0x1f1))](_0x53617b)['setAlpha'](0.2)[_0x597b76(0x376)](),_0xac58a3=new _0x2dd116[(_0x597b76(0x393))](_0x3d6617+_0x3f9956[_0x597b76(0x17e)](_0x6ff9c1),{'pointsGroup':_0x4bbe59,'fill':_0x3313c3||_0x2dd116[_0x597b76(0x3ac)](_0x3f9956[_0x597b76(0x298)]['black'],0.2),'left':_0x444ab3,'top':_0x331efa,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x597b76(0x1f9)][_0x597b76(0x1ae)](_0xac58a3),this['_scene']['addObject'](_0xac58a3,_0xa8c85b[_0x597b76(0x113)]);}[_0x3db0e4(0x2e4)](_0x33224e){const _0x1a2e9d=_0x33224e[0x0],_0x53ce43=_0x1a2e9d[0x0],_0x497f1c=_0x1a2e9d[0x2],{x:_0x190c49,y:_0x4a2e9a}=_0x53ce43,{x:_0x391e58,y:_0x1030c1}=_0x497f1c;return{'left':_0x190c49,'top':_0x4a2e9a,'width':_0x391e58-_0x190c49,'height':_0x1030c1-_0x4a2e9a};}[_0x3db0e4(0x116)](){const _0x54fcb0=_0x3db0e4,{scaleX:_0x5ecedf,scaleY:_0x74854f}=this[_0x54fcb0(0x11a)]['getAncestorScale']();return Math[_0x54fcb0(0x12f)](_0x5ecedf,_0x74854f);}}var _0x53647e=Object['getOwnPropertyDescriptor'],_0x502c92=(_0x35707e,_0x5a42b7,_0x4d6245,_0x58b4fa)=>{const _0x5df212=_0x3db0e4;for(var _0x5702c7=_0x58b4fa>0x1?void 0x0:_0x58b4fa?_0x53647e(_0x5a42b7,_0x4d6245):_0x5a42b7,_0x202d23=_0x35707e[_0x5df212(0xf8)]-0x1,_0x4c3470;_0x202d23>=0x0;_0x202d23--)(_0x4c3470=_0x35707e[_0x202d23])&&(_0x5702c7=_0x4c3470(_0x5702c7)||_0x5702c7);return _0x5702c7;},_0x22aa03=(_0x85c973,_0x1ba9f4)=>(_0x1f50f1,_0x496768)=>_0x1ba9f4(_0x1f50f1,_0x496768,_0x85c973);let _0x5ddb20=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x14dd8f,_0xde9b9d,_0x2b8775,_0x4f049a,_0x49c9b7){const _0x121c3a=_0x3db0e4;super(),_0x442022(this,_0x121c3a(0x1ab),[]),_0x442022(this,'_cursors',[]),(this[_0x121c3a(0x3a5)]=_0x14dd8f,this['_docSkeletonManagerService']=_0xde9b9d,this[_0x121c3a(0x189)]=_0x2b8775,this[_0x121c3a(0x278)]=_0x4f049a,this['_themeService']=_0x49c9b7,this[_0x121c3a(0x18a)]());}[_0x3db0e4(0x18a)](){const _0x21b773=_0x3db0e4,_0x1f3dc1=this['_context']['unitId'],_0x198006=this[_0x21b773(0x353)];this[_0x21b773(0x20e)](_0x6aec0[_0x21b773(0x245)]([this[_0x21b773(0x189)]['getCollabCursors$'](_0x1f3dc1),this['_themeService'][_0x21b773(0x178)]])[_0x21b773(0xf7)](_0x5f224d[_0x21b773(0x3be)](([_0x5b8cff,_0x3ba72a])=>({'skeleton':_0x198006[_0x21b773(0x29e)](),'cursors':[..._0x5b8cff[_0x21b773(0x2fd)]()][_0x21b773(0x142)](_0x2a47b5=>({..._0x2a47b5,'color':this[_0x21b773(0xf6)]['getColorFromTheme'](_0x2a47b5[_0x21b773(0x228)])}))})))[_0x21b773(0x29b)](_0x19657f=>{const _0x4d962d=_0x21b773;if(this['_removeCollabCursors'](),_0x19657f){const {skeleton:_0x5a8dc5,cursors:_0x462d64}=_0x19657f;this[_0x4d962d(0x1bb)](_0x5a8dc5,_0x462d64);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x45c6b6,_0x5c73dc){const _0x3bc559=_0x3db0e4,{scene:_0x234fd1,mainComponent:_0xe559fd}=this[_0x3bc559(0x3a5)],_0x2e6a5b=_0x5c73dc[_0x3bc559(0x3be)](_0x2e2b67=>new _0x277afe(_0x2e2b67,_0x234fd1,_0x45c6b6,_0xe559fd));this[_0x3bc559(0x1ab)]=_0x2e6a5b,this[_0x3bc559(0x387)]=_0x5c73dc;}[_0x3db0e4(0x307)](){const _0x29bc3e=_0x3db0e4;this['_removeCollabCursors']();const {scene:_0x3151f4,mainComponent:_0x191575}=this[_0x29bc3e(0x3a5)],_0xb82f01=this[_0x29bc3e(0x353)][_0x29bc3e(0x29e)](),_0x29af73=this[_0x29bc3e(0x387)][_0x29bc3e(0x3be)](_0x4f91b3=>new _0x277afe(_0x4f91b3,_0x3151f4,_0xb82f01,_0x191575));this[_0x29bc3e(0x1ab)]=_0x29af73;}[_0x3db0e4(0x31e)](){const _0x7c2e43=_0x3db0e4;this[_0x7c2e43(0x1ab)][_0x7c2e43(0x29f)](_0x25368e=>_0x25368e[_0x7c2e43(0x14f)]()),this[_0x7c2e43(0x1ab)]=[];}['_initCommandExecutedListener'](){const _0x10eabc=_0x3db0e4,_0x5dd624=[_0xa8c85b['SetDocZoomRatioOperation']['id']];this[_0x10eabc(0x20e)](this[_0x10eabc(0x278)][_0x10eabc(0x14d)](_0x4ab165=>{const _0x46e042=_0x10eabc;_0x5dd624[_0x46e042(0x357)](_0x4ab165['id'])&&_0x4ab165[_0x46e042(0x176)]['unitId']===this['_context']['unitId']&&this[_0x46e042(0x307)]();}));}[_0x3db0e4(0x185)](){const _0x46fc99=_0x3db0e4;this[_0x46fc99(0x20e)](_0x3f9956[_0x46fc99(0x327)](this['_context'][_0x46fc99(0xf9)][_0x46fc99(0x286)])[_0x46fc99(0xf7)](_0x5f224d[_0x46fc99(0x1ba)](_0x6073fb=>_0x6073fb[_0x46fc99(0x3a0)]===_0x2dd116[_0x46fc99(0x291)][_0x46fc99(0x311)]),_0x5f224d[_0x46fc99(0x2df)](0x10))[_0x46fc99(0x29b)](()=>{const _0x35542f=_0x46fc99;this[_0x35542f(0x307)]();}));}};_0x5ddb20=_0x502c92([_0x22aa03(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x333572[_0x3db0e4(0x108)])),_0x22aa03(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x135bf3)),_0x22aa03(0x3,_0x3f9956[_0x3db0e4(0x30c)]),_0x22aa03(0x4,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956['ThemeService']))],_0x5ddb20);const _0x23fe97=0x1,_0x5baae7=1.5;class _0x187ac5 extends _0x2dd116[_0x3db0e4(0x1e7)]{constructor(_0x524c01,_0x188b80){const _0x171afc=_0x3db0e4;super(_0x524c01,_0x188b80),_0x442022(this,'_color'),_0x442022(this,_0x171afc(0x2cf),!0x1),_0x442022(this,_0x171afc(0x139)),_0x442022(this,_0x171afc(0x2e7),''),_0x442022(this,'_labelPosition',_0x171afc(0x2a3)),_0x442022(this,_0x171afc(0x2b0)),(_0x188b80&&this[_0x171afc(0x399)](_0x188b80),this[_0x171afc(0x282)][_0x171afc(0x1cf)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x171afc(0x21a)][_0x171afc(0x1cf)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x33ec40){const _0xf86177=_0x3db0e4;var _0x11630a,_0x429385,_0x5b4f69,_0x48e7df,_0x1b9527,_0xad16f3;this[_0xf86177(0x190)]=(_0x11630a=_0x33ec40[_0xf86177(0x228)])!=null?_0x11630a:this[_0xf86177(0x190)],this[_0xf86177(0x2cf)]=(_0x429385=_0x33ec40[_0xf86177(0x132)])!=null?_0x429385:this[_0xf86177(0x2cf)],this['_range']=(_0x5b4f69=_0x33ec40['range'])!=null?_0x5b4f69:this[_0xf86177(0x139)],this[_0xf86177(0x2e7)]=(_0x48e7df=_0x33ec40[_0xf86177(0x17d)])!=null?_0x48e7df:this[_0xf86177(0x2e7)],this[_0xf86177(0x128)]=(_0x1b9527=_0x33ec40[_0xf86177(0x35d)])!=null?_0x1b9527:this[_0xf86177(0x128)],this['_backgroundColor']=(_0xad16f3=_0x33ec40[_0xf86177(0x1dd)])!=null?_0xad16f3:this[_0xf86177(0x2b0)],this['transformByState']({'width':_0x33ec40['width'],'height':_0x33ec40[_0xf86177(0x3ae)]});}[_0x3db0e4(0x325)](_0x40038f){const _0x5251c1=_0x3db0e4,{row:_0x369a6f,column:_0x40a04f}=_0x40038f;if(_0x369a6f>=this[_0x5251c1(0x139)][_0x5251c1(0x16c)]&&_0x369a6f<=this['_range']['endRow']&&_0x40a04f>=this['_range'][_0x5251c1(0x14c)]&&_0x40a04f<=this[_0x5251c1(0x139)]['endColumn']){this[_0x5251c1(0x399)]({'hovered':!0x0});return;}this[_0x5251c1(0x399)]({'hovered':!0x1});}[_0x3db0e4(0x1c1)](_0x5563f2){return!0x1;}[_0x3db0e4(0x352)](_0x197081){const _0x50d399=_0x3db0e4;_0x2dd116[_0x50d399(0x207)]['drawWith'](_0x197081,{'width':this['width'],'height':this[_0x50d399(0x3ae)],'strokeWidth':_0x5baae7,'stroke':this[_0x50d399(0x190)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x197081[_0x50d399(0x12c)](),_0x197081[_0x50d399(0x2cb)](0x1,0x0,0x0,0x1,this[_0x50d399(0x2a9)],this[_0x50d399(0x128)]===_0x50d399(0x12a)?0x0:-_0x2520ce),_0x3cfc67[_0x50d399(0x38c)](_0x197081,{'text':this[_0x50d399(0x2e7)],'color':this[_0x50d399(0x190)]}),_0x197081[_0x50d399(0xfb)]());}}var _0x460587=Object['getOwnPropertyDescriptor'],_0x4d587a=(_0xe39d36,_0x38bcb9,_0x344ec8,_0x2f17c9)=>{const _0x847cdd=_0x3db0e4;for(var _0x51a460=_0x2f17c9>0x1?void 0x0:_0x2f17c9?_0x460587(_0x38bcb9,_0x344ec8):_0x38bcb9,_0x3c8ac6=_0xe39d36[_0x847cdd(0xf8)]-0x1,_0x3bea8e;_0x3c8ac6>=0x0;_0x3c8ac6--)(_0x3bea8e=_0xe39d36[_0x3c8ac6])&&(_0x51a460=_0x3bea8e(_0x51a460)||_0x51a460);return _0x51a460;},_0x33e2f5=(_0x4ad611,_0x3be8ab)=>(_0x173d62,_0x36241a)=>_0x3be8ab(_0x173d62,_0x36241a,_0x4ad611);const _0x35efc7=0x1389;let _0x345a73=class extends _0x3f9956['RxDisposable']{constructor(_0x4939e1,_0x1083ca,_0x2e1063,_0x50b54b){const _0x60800d=_0x3db0e4;super(),_0x442022(this,_0x60800d(0x387),new Set()),_0x442022(this,_0x60800d(0x221),null),(this[_0x60800d(0x3a5)]=_0x4939e1,this[_0x60800d(0x18b)]=_0x1083ca,this['_collabCursorController']=_0x2e1063,this[_0x60800d(0xf6)]=_0x50b54b,this[_0x60800d(0x18a)]());}[_0x3db0e4(0x18a)](){const _0x5bf2fb=_0x3db0e4;this['_sheetSkeletonManagerService'][_0x5bf2fb(0x27b)][_0x5bf2fb(0xf7)](_0x5f224d['takeUntil'](this[_0x5bf2fb(0x107)]),_0x5f224d[_0x5bf2fb(0x2dc)](_0x3f318d=>{const _0x2921c8=_0x5bf2fb;if(_0x3f318d){const _0x549a94=_0x3f318d[_0x2921c8(0x1ea)];return _0x6aec0[_0x2921c8(0x245)](this[_0x2921c8(0x189)]['getCollabCursors$'](this[_0x2921c8(0x3a5)][_0x2921c8(0x2bc)]),this[_0x2921c8(0xf6)]['currentTheme$'])[_0x2921c8(0xf7)](_0x5f224d[_0x2921c8(0x3be)](([_0x149737,_0x3e9cda])=>{const _0x48460c=_0x2921c8,_0x22d7f9=new Map();return _0x149737[_0x48460c(0x29f)]((_0x31bf1e,_0x1778a2)=>{const _0x2ed6bb=_0x48460c;if(_0x31bf1e['sheetID']===_0x549a94){const _0x3d86a8={..._0x31bf1e};_0x3d86a8['color']=this[_0x2ed6bb(0xf6)][_0x2ed6bb(0x249)](_0x31bf1e[_0x2ed6bb(0x228)]),_0x22d7f9[_0x2ed6bb(0x26f)](_0x1778a2,_0x3d86a8);}}),{'skeleton':_0x3f318d,'cursors':_0x22d7f9};}));}return _0x6aec0['of']({'skeleton':null,'cursors':new Map()});}))[_0x5bf2fb(0x29b)](({skeleton:_0x39f165,cursors:_0x5b2f62})=>{this['_removeCollabCursors'](),_0x39f165&&this['_updateCollabCursors'](_0x39f165,_0x5b2f62);}),this[_0x5bf2fb(0x18b)][_0x5bf2fb(0x27b)]['subscribe'](_0x4485ae=>{const _0x5e8d44=_0x5bf2fb;if(_0x4485ae==null)return;const {skeleton:_0x385a31}=_0x4485ae,{scene:_0x2e62c9}=this['_context'];_0x2e62c9['onPointerMove$'][_0x5e8d44(0x1cf)](_0x3f9956[_0x5e8d44(0x145)](_0x36f32c=>{const _0x5b1285=_0x5e8d44;var _0x3bf83d,_0x15ff10;const {offsetX:_0x33142f,offsetY:_0x4d1191}=_0x36f32c,{x:_0x58f858,y:_0x3de357}=_0x2e62c9[_0x5b1285(0x2d4)](_0x2dd116[_0x5b1285(0x28e)]['FromArray']([_0x33142f,_0x4d1191])),{scaleX:_0x2cf713,scaleY:_0x5b48cd}=_0x2e62c9[_0x5b1285(0x2cc)](),_0x32964d=_0x2e62c9[_0x5b1285(0x1c7)](_0x2dd116[_0x5b1285(0x1fd)][_0x5b1285(0x1c9)]),_0x492945=_0x2e62c9['getVpScrollXYInfoByPosToVp'](_0x2dd116[_0x5b1285(0x28e)]['FromArray']([_0x58f858,_0x3de357]),_0x32964d),_0x20fe84=_0x385a31[_0x5b1285(0x3b0)](_0x33142f,_0x4d1191,_0x2cf713,_0x5b48cd,_0x492945);((_0x3bf83d=this[_0x5b1285(0x221)])==null?void 0x0:_0x3bf83d[_0x5b1285(0x1bc)])===_0x20fe84[_0x5b1285(0x1bc)]&&((_0x15ff10=this['_lastPointer'])==null?void 0x0:_0x15ff10['row'])===_0x20fe84[_0x5b1285(0x14e)]||this[_0x5b1285(0x387)]['forEach'](_0x164382=>{const _0x2c49cf=_0x5b1285;_0x164382[_0x2c49cf(0x325)](_0x20fe84);});},0x64));});}[_0x3db0e4(0x1bb)](_0x345e0e,_0x2c6a4c){const _0x357457=_0x3db0e4;var _0x43c82b;const _0x3376e3=(_0x43c82b=this['_sheetSkeletonManagerService'][_0x357457(0x1f0)]())==null?void 0x0:_0x43c82b[_0x357457(0x19e)];if(!_0x3376e3)return;const _0x11bc7f=this[_0x357457(0x1a7)]();if(!_0x11bc7f)return;this[_0x357457(0x387)][_0x357457(0x29f)](_0x12ca05=>{const _0x1f8ec2=_0x357457;_0x12ca05[_0x1f8ec2(0x2a4)]();});const {scene:_0x1d1a6b}=_0x11bc7f,_0x45fc33=_0x210956(Array['from'](_0x2c6a4c[_0x357457(0x2fd)]()))[_0x357457(0x3be)](_0x3a64a0=>{const _0x32d31d=_0x357457,{color:_0x14c268,range:_0x597b24,name:_0x4cd933,selection:_0x50545f,sheetID:_0x4cb0be}=_0x3a64a0,{startColumn:_0x38f656,startRow:_0x50fc8d,endColumn:_0x376091,endRow:_0x372376}=_0x597b24,_0x3fd4f4=_0x52f894['getCoordByCell'](_0x50fc8d,_0x38f656,_0x1d1a6b,_0x3376e3),_0x3765b3=_0x52f894[_0x32d31d(0x1e1)](_0x372376,_0x376091,_0x1d1a6b,_0x3376e3),{columnHeaderHeightAndMarginTop:_0x446ccb}=_0x3376e3,{startX:_0x150801,startY:_0x4c5bad}=_0x3fd4f4,{endX:_0x26d197,endY:_0x208405}=_0x3765b3,_0x6daff2=_0x26d197-_0x150801,_0x1e5b9a=_0x208405-_0x4c5bad,_0x49d68a={'labelPosition':_0x4c5bad-_0x446ccb>=_0x2520ce?_0x32d31d(0x2a3):'bottom','sheetID':_0x4cb0be,'range':_0x597b24,'color':_0x14c268,'name':_0x4cd933,'selection':_0x50545f,'left':_0x150801,'top':_0x4c5bad,'width':_0x6daff2,'height':_0x1e5b9a,'evented':!0x1,'zIndex':_0x35efc7};return new _0x187ac5(_0x4cd933,_0x49d68a);});_0x1d1a6b[_0x357457(0x226)](_0x45fc33,_0x23fe97),this[_0x357457(0x387)]=new Set(_0x45fc33);}[_0x3db0e4(0x31e)](){const _0x299dcc=_0x3db0e4;var _0x51bcef;(_0x51bcef=this['_cursors'])==null||_0x51bcef[_0x299dcc(0x29f)](_0x21edae=>_0x21edae[_0x299dcc(0x14f)]());}[_0x3db0e4(0x1a7)](){const _0x4a7d4c=_0x3db0e4;return _0x52f894['getSheetObject'](this[_0x4a7d4c(0x3a5)][_0x4a7d4c(0x10d)],this[_0x4a7d4c(0x3a5)]);}};_0x345a73=_0x4d587a([_0x33e2f5(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x52f894[_0x3db0e4(0x168)])),_0x33e2f5(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x135bf3)),_0x33e2f5(0x3,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x34e)]))],_0x345a73);function _0x210956(_0x3b46e4){const _0x5b19d3=_0x3db0e4,_0x45b720=new Map();return _0x3b46e4['forEach'](_0x684097=>{const _0x53369a=_0x4227;if(_0x45b720['has'](_0x684097[_0x53369a(0x22e)])){const _0x17129d=_0x45b720[_0x53369a(0x392)](_0x684097[_0x53369a(0x22e)]);_0x17129d[_0x53369a(0x17d)]+=',\x20'+_0x684097[_0x53369a(0x17d)];}else _0x45b720[_0x53369a(0x26f)](_0x684097[_0x53369a(0x22e)],_0x684097);}),Array[_0x5b19d3(0x1eb)](_0x45b720[_0x5b19d3(0x2fd)]());}var _0x152096=Object[_0x3db0e4(0x2d1)],_0x2e2882=(_0x5ac21c,_0x2ea889,_0x390128,_0x5ecf08)=>{const _0x599dcf=_0x3db0e4;for(var _0x54beea=_0x5ecf08>0x1?void 0x0:_0x5ecf08?_0x152096(_0x2ea889,_0x390128):_0x2ea889,_0x57b551=_0x5ac21c[_0x599dcf(0xf8)]-0x1,_0x5aafba;_0x57b551>=0x0;_0x57b551--)(_0x5aafba=_0x5ac21c[_0x57b551])&&(_0x54beea=_0x5aafba(_0x54beea)||_0x54beea);return _0x54beea;},_0x2e1a14=(_0x4c8c03,_0x577e63)=>(_0x2519a6,_0x2e0e4e)=>_0x577e63(_0x2519a6,_0x2e0e4e,_0x4c8c03);let _0x395203=class extends _0x3f9956['Disposable']{constructor(_0x4b6f84,_0x2dab8b,_0x264405,_0x1d04f2,_0x3fe77a,_0x5dc6e5){const _0x2c0479=_0x3db0e4;super(),this[_0x2c0479(0x33c)]=_0x4b6f84,this[_0x2c0479(0x3ab)]=_0x2dab8b,this[_0x2c0479(0x339)]=_0x264405,this[_0x2c0479(0x174)]=_0x1d04f2,this[_0x2c0479(0x258)]=_0x3fe77a,this['_localeService']=_0x5dc6e5,this[_0x2c0479(0x269)](),this['_initEvent']();}[_0x3db0e4(0x269)](){const _0x31b8c4=_0x3db0e4;this[_0x31b8c4(0x20e)](this[_0x31b8c4(0x33c)][_0x31b8c4(0x110)](()=>{const _0x203a4a=_0x31b8c4;if(this[_0x203a4a(0x3ab)][_0x203a4a(0x344)][_0x203a4a(0x137)])return this[_0x203a4a(0x359)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x3db0e4(0x1e9)](){const _0x3375cb=_0x3db0e4;this[_0x3375cb(0x20e)](this[_0x3375cb(0x339)][_0x3375cb(0x248)][_0x3375cb(0x29b)](_0x593d8e=>{const _0x1170d7=_0x3375cb;_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x17b)]&&this['_messageService'][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t']('collaboration.single-unit.warning')}),_0x593d8e['id']===_0x184317['CollaborationUIEventId'][_0x1170d7(0x236)]&&this[_0x1170d7(0x174)]['show']({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t'](_0x1170d7(0x345))}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x1be)]&&this[_0x1170d7(0x258)][_0x1170d7(0x2c7)]({'title':this[_0x1170d7(0x359)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x1170d7(0x235),'duration':0x0}),_0x593d8e['id']===_0x184317['CollaborationUIEventId'][_0x1170d7(0x1b8)]&&this['_messageService']['show']({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x136)],'content':this[_0x1170d7(0x359)]['t']('collaboration.closeRoom')+'('+_0x593d8e['data']+')'}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x138)]&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t'](_0x593d8e['data']||'')}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)]['SOCKET_FAILED_RETRY']&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t'](_0x1170d7(0x3a9))}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)]['SOCKET_FAILED']&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x136)],'content':this[_0x1170d7(0x359)]['t']('session.connection-failed')}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x241)]&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x136)],'content':this['_localeService']['t'](_0x1170d7(0x383))});}));}};_0x395203=_0x2e2882([_0x2e1a14(0x0,_0x26d040[_0x3db0e4(0x1d5)]),_0x2e1a14(0x1,_0x184317['ILocalCacheService']),_0x2e1a14(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x184317[_0x3db0e4(0x2db)])),_0x2e1a14(0x3,_0x26d040[_0x3db0e4(0x30a)]),_0x2e1a14(0x4,_0x26d040[_0x3db0e4(0x25d)]),_0x2e1a14(0x5,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39e)]))],_0x395203);const _0x512303=_0x3db0e4(0x3c5),_0xd1a49e={};var _0x3cd354=Object[_0x3db0e4(0x2d1)],_0x1854a0=(_0x55d2e2,_0x3a87b1,_0x24c6d3,_0x4c7305)=>{const _0x18b3a1=_0x3db0e4;for(var _0x391a8b=_0x4c7305>0x1?void 0x0:_0x4c7305?_0x3cd354(_0x3a87b1,_0x24c6d3):_0x3a87b1,_0x23732f=_0x55d2e2[_0x18b3a1(0xf8)]-0x1,_0x52543f;_0x23732f>=0x0;_0x23732f--)(_0x52543f=_0x55d2e2[_0x23732f])&&(_0x391a8b=_0x52543f(_0x391a8b)||_0x391a8b);return _0x391a8b;},_0x3ba674=(_0x450de0,_0x4aae30)=>(_0x3d4bcb,_0x32a621)=>_0x4aae30(_0x3d4bcb,_0x32a621,_0x450de0);let _0x36ef44=class{constructor(_0x5a391a,_0x84df47){const _0x397490=_0x3db0e4;this[_0x397490(0x2da)]=_0x5a391a,this[_0x397490(0x1e4)]=_0x84df47;}['transformIMECache'](_0x9e10d5){const _0x24328d=_0x3db0e4;this[_0x24328d(0x1d8)](_0x9e10d5),this[_0x24328d(0x3c2)](_0x9e10d5);}[_0x3db0e4(0x23e)](_0x5e125a){const _0x4729ab=_0x3db0e4,{unitID:_0x22122b}=_0x5e125a,_0x5725bd=this[_0x4729ab(0x1e4)]['getRenderById'](_0x22122b)['with'](_0xa8c85b[_0x4729ab(0x150)]),{redoCache:_0x1faa63}=_0x5725bd[_0x4729ab(0x2ff)]();if(_0x1faa63[_0x4729ab(0xf8)]===0x0)return _0x5e125a;let _0x1bf5a2=_0x3f9956[_0x4729ab(0x38e)]['deepClone'](_0x5e125a['mutations'][0x0]);for(let _0x50a675=0x0;_0x50a675<_0x1faa63['length'];_0x50a675++){const _0x2a2ea6={'id':_0x4729ab(0x260),'params':{..._0x1faa63[_0x50a675]}},_0x194ab9=this['_transformService'][_0x4729ab(0x2eb)](_0x1bf5a2,_0x2a2ea6,!0x1);if(_0x2de7d2[_0x4729ab(0x18d)](_0x194ab9))throw _0x194ab9['error'];_0x1bf5a2=_0x194ab9[_0x4729ab(0x19d)];}return{..._0x3f9956[_0x4729ab(0x38e)][_0x4729ab(0x366)](_0x5e125a),'mutations':[_0x1bf5a2]};}[_0x3db0e4(0x1d8)](_0x414ea1){const _0x18a546=_0x3db0e4,{unitID:_0x5a82e4}=_0x414ea1,_0x45e8cd=this[_0x18a546(0x1e4)][_0x18a546(0x12d)](_0x5a82e4)['with'](_0xa8c85b[_0x18a546(0x150)]),{undoCache:_0x3d5b1c,redoCache:_0x409001}=_0x45e8cd[_0x18a546(0x2ff)]();if(_0x3d5b1c['length']===0x0||_0x409001[_0x18a546(0xf8)]===0x0)return;const _0x8c1b78=[],_0x3c317a=[];let _0x369e18=_0x3f9956['Tools'][_0x18a546(0x366)](_0x414ea1[_0x18a546(0x2d9)][0x0]),_0xf1d735=_0x3f9956[_0x18a546(0x38e)][_0x18a546(0x366)](_0x414ea1[_0x18a546(0x2d9)][0x0]);for(let _0x3fffb3=_0x3d5b1c['length']-0x1;_0x3fffb3>=0x0;_0x3fffb3--){const _0x8714fa={'id':_0x18a546(0x260),'params':{..._0x3d5b1c[_0x3fffb3]}},_0x13ef6a={'id':_0x18a546(0x260),'params':{..._0x409001[_0x3fffb3]}},_0x6d826=this[_0x18a546(0x2da)][_0x18a546(0x2eb)](_0x369e18,_0x8714fa,!0x1),_0xf8b48c=this[_0x18a546(0x2da)][_0x18a546(0x2eb)](_0xf1d735,_0x13ef6a,!0x1);if(_0x2de7d2[_0x18a546(0x18d)](_0x6d826))throw _0x6d826[_0x18a546(0x235)];if(_0x2de7d2['isTransformMutationFailure'](_0xf8b48c))throw _0xf8b48c[_0x18a546(0x235)];_0x8c1b78['unshift'](_0x6d826['m2Prime'][_0x18a546(0x176)]),_0x3c317a[_0x18a546(0x177)](_0xf8b48c[_0x18a546(0x333)]['params']),_0x369e18=_0x6d826[_0x18a546(0x19d)],_0xf1d735=_0xf8b48c[_0x18a546(0x19d)];}_0x45e8cd['setUndoRedoMutationParamsCache']({'undoCache':_0x8c1b78,'redoCache':_0x3c317a});}[_0x3db0e4(0x3c2)](_0x59c2d0){const _0x536d32=_0x3db0e4,{unitID:_0x57471c}=_0x59c2d0,_0x1ed94f=this['_renderManagerService'][_0x536d32(0x12d)](_0x57471c)[_0x536d32(0x395)](_0xa8c85b[_0x536d32(0x150)]),_0x1a1c94=_0x1ed94f[_0x536d32(0x28f)]();if(_0x1a1c94==null)return;const _0x27b48c=[{'id':_0x536d32(0x260),'params':{'unitId':_0x59c2d0[_0x536d32(0x297)],'actions':null,'textRanges':[_0x1a1c94]}}],_0x2a7b22=this[_0x536d32(0x2da)][_0x536d32(0x385)](_0x59c2d0,_0x27b48c);if(!_0x2de7d2[_0x536d32(0x369)](_0x2a7b22))throw _0x2a7b22['error'];const _0xe00fee=_0x2a7b22[_0x536d32(0x333)][0x0][_0x536d32(0x176)][_0x536d32(0x2c2)];Array[_0x536d32(0x37e)](_0xe00fee)&&_0xe00fee[_0x536d32(0xf8)]&&_0x1ed94f[_0x536d32(0x2ad)](_0xe00fee[0x0]);}};_0x36ef44=_0x1854a0([_0x3ba674(0x0,_0x2de7d2['ITransformService']),_0x3ba674(0x1,_0x2dd116['IRenderManagerService'])],_0x36ef44);var _0x15cea0=Object[_0x3db0e4(0x2d1)],_0x592019=(_0x587ddc,_0x4e061b,_0x53b522,_0x1866b4)=>{const _0x3c1841=_0x3db0e4;for(var _0x19ae5e=_0x1866b4>0x1?void 0x0:_0x1866b4?_0x15cea0(_0x4e061b,_0x53b522):_0x4e061b,_0x4933eb=_0x587ddc[_0x3c1841(0xf8)]-0x1,_0x7f5240;_0x4933eb>=0x0;_0x4933eb--)(_0x7f5240=_0x587ddc[_0x4933eb])&&(_0x19ae5e=_0x7f5240(_0x19ae5e)||_0x19ae5e);return _0x19ae5e;},_0x5f42e6=(_0x54fada,_0x4958bc)=>(_0x3c8ce7,_0x4d0669)=>_0x4958bc(_0x3c8ce7,_0x4d0669,_0x54fada);let _0x548941=class{constructor(_0x181f5b,_0x522514,_0x469993){this['_injector']=_0x181f5b,this['_transformService']=_0x522514,this['_docStateChangeManagerService']=_0x469993;}[_0x3db0e4(0x2ee)](_0x12772e){const _0x681f4a=_0x3db0e4;this[_0x681f4a(0x35a)](_0x12772e);}[_0x3db0e4(0x23e)](_0x299656){const _0xe5849b=_0x3db0e4,{unitID:_0x1dc15c}=_0x299656,{collaboration:_0x1f8f9c}=this['_docStateChangeManagerService']['getStateCache'](_0x1dc15c);if(_0x1f8f9c[_0xe5849b(0xf8)]===0x0)return _0x299656;let _0x272b37=_0x3f9956[_0xe5849b(0x38e)][_0xe5849b(0x366)](_0x299656[_0xe5849b(0x2d9)][0x0]);for(let _0x19db00=0x0;_0x19db00<_0x1f8f9c[_0xe5849b(0xf8)];_0x19db00++){const _0x5ed8d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f8f9c[_0x19db00][_0xe5849b(0x2bc)],..._0x1f8f9c[_0x19db00][_0xe5849b(0x2af)]}},_0x40fa04=this[_0xe5849b(0x2da)][_0xe5849b(0x2eb)](_0x272b37,_0x5ed8d5,!0x1);if(_0x2de7d2[_0xe5849b(0x18d)](_0x40fa04))throw _0x40fa04['error'];_0x272b37=_0x40fa04['m1Prime'];}return{..._0x3f9956[_0xe5849b(0x38e)][_0xe5849b(0x366)](_0x299656),'mutations':[_0x272b37]};}[_0x3db0e4(0x35a)](_0x84fd74){const _0x5aa285=_0x3db0e4,{unitID:_0x205e51}=_0x84fd74,{history:_0x59f050,collaboration:_0x29d122}=this[_0x5aa285(0x2b3)][_0x5aa285(0x24e)](_0x205e51);if(_0x59f050[_0x5aa285(0xf8)]===0x0&&_0x29d122['length']===0x0)return;const _0x4ed5ff=[],_0x4f84e5=[];let _0x46cca1=_0x3f9956[_0x5aa285(0x38e)][_0x5aa285(0x366)](_0x84fd74['mutations'][0x0]),_0x56e0da=_0x3f9956[_0x5aa285(0x38e)][_0x5aa285(0x366)](_0x84fd74['mutations'][0x0]);for(let _0x3296d5=_0x59f050[_0x5aa285(0xf8)]-0x1;_0x3296d5>=0x0;_0x3296d5--){const _0x45dc86={'id':_0x5aa285(0x260),'params':{'unitId':_0x59f050[_0x3296d5][_0x5aa285(0x2bc)],..._0x59f050[_0x3296d5][_0x5aa285(0x290)]}},_0x5b2c9e={'id':_0x5aa285(0x260),'params':{'unitId':_0x59f050[_0x3296d5][_0x5aa285(0x2bc)],..._0x59f050[_0x3296d5]['redoState']}},_0x46e770=this['_transformService'][_0x5aa285(0x2eb)](_0x46cca1,_0x45dc86,!0x1),_0x315d64=this[_0x5aa285(0x2da)][_0x5aa285(0x2eb)](_0x56e0da,_0x5b2c9e,!0x1);if(_0x2de7d2['isTransformMutationFailure'](_0x46e770))throw _0x46e770[_0x5aa285(0x235)];if(_0x2de7d2[_0x5aa285(0x18d)](_0x315d64))throw _0x315d64[_0x5aa285(0x235)];_0x4ed5ff[_0x5aa285(0x177)]({..._0x59f050[_0x3296d5],'undoState':_0x46e770['m2Prime'][_0x5aa285(0x176)],'redoState':_0x315d64[_0x5aa285(0x333)][_0x5aa285(0x176)]}),_0x46cca1=_0x46e770[_0x5aa285(0x19d)],_0x56e0da=_0x315d64[_0x5aa285(0x19d)];}_0x46cca1=_0x3f9956[_0x5aa285(0x38e)]['deepClone'](_0x84fd74[_0x5aa285(0x2d9)][0x0]),_0x56e0da=_0x3f9956[_0x5aa285(0x38e)]['deepClone'](_0x84fd74[_0x5aa285(0x2d9)][0x0]);for(let _0x36ea2a=_0x29d122[_0x5aa285(0xf8)]-0x1;_0x36ea2a>=0x0;_0x36ea2a--){const _0x1c0fb6={'id':_0x5aa285(0x260),'params':{'unitId':_0x29d122[_0x36ea2a][_0x5aa285(0x2bc)],..._0x29d122[_0x36ea2a][_0x5aa285(0x290)]}},_0x48c2c1={'id':_0x5aa285(0x260),'params':{'unitId':_0x29d122[_0x36ea2a][_0x5aa285(0x2bc)],..._0x29d122[_0x36ea2a][_0x5aa285(0x2af)]}},_0x16c159=this[_0x5aa285(0x2da)]['transformMutation'](_0x46cca1,_0x1c0fb6,!0x1),_0xb9d0bc=this['_transformService'][_0x5aa285(0x2eb)](_0x56e0da,_0x48c2c1,!0x1);if(_0x2de7d2['isTransformMutationFailure'](_0x16c159))throw _0x16c159[_0x5aa285(0x235)];if(_0x2de7d2[_0x5aa285(0x18d)](_0xb9d0bc))throw _0xb9d0bc[_0x5aa285(0x235)];_0x4f84e5[_0x5aa285(0x177)]({..._0x29d122[_0x36ea2a],'undoState':_0x16c159[_0x5aa285(0x333)]['params'],'redoState':_0xb9d0bc[_0x5aa285(0x333)][_0x5aa285(0x176)]}),_0x46cca1=_0x16c159[_0x5aa285(0x19d)],_0x56e0da=_0xb9d0bc[_0x5aa285(0x19d)];}this[_0x5aa285(0x2b3)]['setStateCache'](_0x205e51,{'history':_0x4ed5ff,'collaboration':_0x4f84e5});}};_0x548941=_0x592019([_0x5f42e6(0x0,_0x3f9956['Inject'](_0x3f9956[_0x3db0e4(0x39d)])),_0x5f42e6(0x1,_0x2de7d2[_0x3db0e4(0x281)]),_0x5f42e6(0x2,_0x3f9956['Inject'](_0xa8c85b['DocStateChangeManagerService']))],_0x548941);var _0x5025bc=Object[_0x3db0e4(0x2d1)],_0x2a9bd5=(_0x3e13a7,_0x2bf32f,_0x4441bd,_0x48263c)=>{const _0x277239=_0x3db0e4;for(var _0x31ea98=_0x48263c>0x1?void 0x0:_0x48263c?_0x5025bc(_0x2bf32f,_0x4441bd):_0x2bf32f,_0x43253c=_0x3e13a7[_0x277239(0xf8)]-0x1,_0x450f3b;_0x43253c>=0x0;_0x43253c--)(_0x450f3b=_0x3e13a7[_0x43253c])&&(_0x31ea98=_0x450f3b(_0x31ea98)||_0x31ea98);return _0x31ea98;},_0x592d50=(_0x14bc60,_0x13a2c8)=>(_0x25f686,_0x4ce00b)=>_0x13a2c8(_0x25f686,_0x4ce00b,_0x14bc60);let _0x5573a9=class{constructor(_0x1963a5,_0x378956){const _0x26d9a3=_0x3db0e4;this[_0x26d9a3(0x15f)]=_0x1963a5,this[_0x26d9a3(0x2da)]=_0x378956;}[_0x3db0e4(0x119)](_0x760079){const _0x137678=_0x3db0e4;var _0x32a9b2;const _0x2af304=this['_injector']['get'](_0x333572['DocSelectionManagerService']),_0x31ce1c=(_0x32a9b2=_0x2af304[_0x137678(0x1ac)]())!=null?_0x32a9b2:[];if(_0x31ce1c['length']===0x0)return;const _0x17dd5c=_0x760079[_0x137678(0x297)],_0x3c5e54=[{'id':_0x137678(0x260),'params':{'unitId':_0x17dd5c,'actions':null,'textRanges':_0x31ce1c}}],_0x459e04=this[_0x137678(0x2da)][_0x137678(0x385)](_0x760079,_0x3c5e54);if(!_0x2de7d2['isTransformMutationsWithChangesetSuccess'](_0x459e04))throw _0x459e04[_0x137678(0x235)];const _0x21807d=_0x459e04[_0x137678(0x333)][0x0][_0x137678(0x176)]['textRanges'];Array[_0x137678(0x37e)](_0x21807d)&&_0x21807d['length']&&_0x2af304[_0x137678(0x36b)](_0x21807d,{'unitId':_0x17dd5c,'subUnitId':_0x17dd5c},!0x1);}};_0x5573a9=_0x2a9bd5([_0x592d50(0x0,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x592d50(0x1,_0x2de7d2[_0x3db0e4(0x281)])],_0x5573a9);var _0x38d5eb=Object[_0x3db0e4(0x2d1)],_0x4fa85e=(_0x6be0c7,_0x329559,_0x645c4d,_0x4c22f4)=>{const _0x39335b=_0x3db0e4;for(var _0x383110=_0x4c22f4>0x1?void 0x0:_0x4c22f4?_0x38d5eb(_0x329559,_0x645c4d):_0x329559,_0x342f84=_0x6be0c7[_0x39335b(0xf8)]-0x1,_0x1de3e3;_0x342f84>=0x0;_0x342f84--)(_0x1de3e3=_0x6be0c7[_0x342f84])&&(_0x383110=_0x1de3e3(_0x383110)||_0x383110);return _0x383110;},_0x45f415=(_0x2512fc,_0x455dc7)=>(_0x20c5af,_0x349fec)=>_0x455dc7(_0x20c5af,_0x349fec,_0x2512fc);let _0x1f68e4=class extends _0x3f9956[_0x3db0e4(0x225)]{constructor(_0x3605cd,_0x589df7,_0x1055ab,_0x1d2e7c,_0x59cea2,_0x50f9a7,_0x2e19d8,_0x41061d){const _0x448d83=_0x3db0e4;super(),_0x442022(this,'_status$',new _0x6aec0[(_0x448d83(0x154))](_0x184317[_0x448d83(0x371)][_0x448d83(0x11b)])),(this[_0x448d83(0x2b3)]=_0x3605cd,this['_collaborationController']=_0x589df7,this[_0x448d83(0x391)]=_0x1055ab,this['_docTransformStateCacheService']=_0x1d2e7c,this[_0x448d83(0x1f7)]=_0x59cea2,this['_docSyncEditingCollabCursorService']=_0x50f9a7,this[_0x448d83(0x174)]=_0x2e19d8,this[_0x448d83(0x359)]=_0x41061d,this[_0x448d83(0xfc)]());}[_0x3db0e4(0xfc)](){const _0x3d8fc5=_0x3db0e4;this[_0x3d8fc5(0x20e)](this[_0x3d8fc5(0x34a)][_0x3d8fc5(0x3a6)][_0x3d8fc5(0x29b)](_0x55c1a0=>{const _0x5e535d=_0x3d8fc5,_0x79d48f=this[_0x5e535d(0x2b3)][_0x5e535d(0x3b6)][_0x5e535d(0x29b)](_0x52d9c2=>{const _0x48489d=_0x5e535d;if(_0x52d9c2==null)return;const {unitId:_0x2bc88d,redoState:_0x3cacd2,commandId:_0x14897e}=_0x52d9c2;if(_0x2bc88d!==_0x55c1a0[_0x48489d(0x297)])return;const _0x47d905={'id':_0x14897e,'type':_0x3f9956[_0x48489d(0x31b)]['MUTATION'],'params':{'unitId':_0x2bc88d,'actions':_0x3cacd2[_0x48489d(0x380)],'textRanges':null}};_0x55c1a0[_0x48489d(0x1d0)](_0x47d905);});if(_0x55c1a0[_0x5e535d(0x20e)](_0x79d48f),_0x55c1a0 instanceof _0x184317[_0x5e535d(0x13e)]){const _0x1dae51={'onTransformIME':_0x3a1ed5=>this['_docTransformIMECacheService'][_0x5e535d(0x1ca)](_0x3a1ed5),'onTransformState':_0x40bb14=>this[_0x5e535d(0x123)][_0x5e535d(0x2ee)](_0x40bb14),'onTransformSelections':_0x485339=>this[_0x5e535d(0x1f7)][_0x5e535d(0x119)](_0x485339),'onSyncEditingCollabCursor':_0x4885e1=>this[_0x5e535d(0x343)][_0x5e535d(0x1a4)](_0x4885e1),'onTransformRemoteChangesetByIMECache':_0x560d28=>this['_docTransformIMECacheService'][_0x5e535d(0x23e)](_0x560d28),'onTransformRemoteChangesetByStateCache':_0x2fb6ab=>this[_0x5e535d(0x123)]['transformRemoteChangeset'](_0x2fb6ab)};_0x55c1a0[_0x5e535d(0x183)](_0x1dae51);}}));}};_0x1f68e4=_0x4fa85e([_0x45f415(0x0,_0x3f9956[_0x3db0e4(0x302)](_0xa8c85b[_0x3db0e4(0x368)])),_0x45f415(0x1,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x206)])),_0x45f415(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x36ef44)),_0x45f415(0x3,_0x3f9956['Inject'](_0x548941)),_0x45f415(0x4,_0x3f9956[_0x3db0e4(0x302)](_0x5573a9)),_0x45f415(0x5,_0x3f9956[_0x3db0e4(0x302)](_0x5e3cb6)),_0x45f415(0x6,_0x26d040[_0x3db0e4(0x30a)]),_0x45f415(0x7,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39e)]))],_0x1f68e4);var _0x2133b7=(_0x1d499e=>(_0x1d499e[_0x1d499e[_0x3db0e4(0x313)]=0x0]=_0x3db0e4(0x313),_0x1d499e[_0x1d499e['OK']=0x1]='OK',_0x1d499e[_0x1d499e['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x1d499e[_0x1d499e[_0x3db0e4(0x1be)]=0x3]=_0x3db0e4(0x1be),_0x1d499e[_0x1d499e[_0x3db0e4(0x38b)]=0x4]='NOT_FOUND',_0x1d499e[_0x1d499e[_0x3db0e4(0x23c)]=0x5]=_0x3db0e4(0x23c),_0x1d499e[_0x1d499e[_0x3db0e4(0x32b)]=0x6]=_0x3db0e4(0x32b),_0x1d499e[_0x1d499e['INVALID_ARGUMENT']=0x7]=_0x3db0e4(0x274),_0x1d499e[_0x1d499e[_0x3db0e4(0x38f)]=0x8]='TOO_MANY_REQUESTS',_0x1d499e[_0x1d499e[_0x3db0e4(0x147)]=0x9]=_0x3db0e4(0x147),_0x1d499e[_0x1d499e[_0x3db0e4(0x254)]=0xa]=_0x3db0e4(0x254),_0x1d499e[_0x1d499e[_0x3db0e4(0x23d)]=0xb]=_0x3db0e4(0x23d),_0x1d499e[_0x1d499e['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3db0e4(0x16a),_0x1d499e[_0x1d499e[_0x3db0e4(0x351)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1d499e[_0x1d499e[_0x3db0e4(0x234)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1d499e[_0x1d499e[_0x3db0e4(0x321)]=0xf]=_0x3db0e4(0x321),_0x1d499e[_0x1d499e[_0x3db0e4(0x11c)]=0x10]=_0x3db0e4(0x11c),_0x1d499e[_0x1d499e[_0x3db0e4(0x1a0)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x1d499e[_0x1d499e[_0x3db0e4(0x13d)]=0x65]=_0x3db0e4(0x13d),_0x1d499e[_0x1d499e['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x1d499e[_0x1d499e[_0x3db0e4(0x300)]=0xca]=_0x3db0e4(0x300),_0x1d499e[_0x1d499e[_0x3db0e4(0x2e9)]=0x1389]=_0x3db0e4(0x2e9),_0x1d499e[_0x1d499e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3db0e4(0x196),_0x1d499e[_0x1d499e[_0x3db0e4(0xf1)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1d499e[_0x1d499e[_0x3db0e4(0x335)]=0x1773]=_0x3db0e4(0x335),_0x1d499e[_0x1d499e['APPLY_REJECT']=0x1b59]=_0x3db0e4(0x215),_0x1d499e[_0x1d499e[_0x3db0e4(0x2b7)]=0x1b5a]=_0x3db0e4(0x2b7),_0x1d499e[_0x1d499e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3db0e4(0x23f),_0x1d499e[_0x1d499e[_0x3db0e4(0x3c3)]=0x1b5c]=_0x3db0e4(0x3c3),_0x1d499e[_0x1d499e[_0x3db0e4(0x175)]=0x1b5d]='APPLY_DUPLICATED',_0x1d499e[_0x1d499e[_0x3db0e4(0x1b1)]=0x1f41]=_0x3db0e4(0x1b1),_0x1d499e[_0x1d499e[_0x3db0e4(0x310)]=0x2329]=_0x3db0e4(0x310),_0x1d499e[_0x1d499e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1d499e[_0x1d499e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3db0e4(0x33e),_0x1d499e[_0x1d499e[_0x3db0e4(0x2c3)]=0x232c]=_0x3db0e4(0x2c3),_0x1d499e[_0x1d499e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3db0e4(0x21c),_0x1d499e[_0x1d499e[_0x3db0e4(0x32d)]=0x2711]=_0x3db0e4(0x32d),_0x1d499e[_0x1d499e[_0x3db0e4(0x200)]=0x2712]=_0x3db0e4(0x200),_0x1d499e[_0x1d499e[_0x3db0e4(0x13c)]=0x2713]=_0x3db0e4(0x13c),_0x1d499e[_0x1d499e[_0x3db0e4(0x20a)]=0x2714]=_0x3db0e4(0x20a),_0x1d499e[_0x1d499e[_0x3db0e4(0x121)]=0x271a]=_0x3db0e4(0x121),_0x1d499e[_0x1d499e[_0x3db0e4(0xf2)]=0x271b]=_0x3db0e4(0xf2),_0x1d499e[_0x1d499e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3db0e4(0x287),_0x1d499e[_0x1d499e[_0x3db0e4(0x24b)]=0x271d]=_0x3db0e4(0x24b),_0x1d499e[_0x1d499e[_0x3db0e4(0x2fa)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1d499e[_0x1d499e[_0x3db0e4(0x32c)]=0x271f]=_0x3db0e4(0x32c),_0x1d499e[_0x1d499e[_0x3db0e4(0x38d)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1d499e[_0x1d499e[_0x3db0e4(0x33a)]=0x2af9]=_0x3db0e4(0x33a),_0x1d499e[_0x1d499e[_0x3db0e4(0x1ec)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1d499e[_0x1d499e[_0x3db0e4(0x3ba)]=0x2ee2]=_0x3db0e4(0x3ba),_0x1d499e[_0x1d499e[_0x3db0e4(0x1a3)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x1d499e[_0x1d499e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3db0e4(0x114),_0x1d499e[_0x1d499e[_0x3db0e4(0x2a5)]=0x2ee5]=_0x3db0e4(0x2a5),_0x1d499e[_0x1d499e[_0x3db0e4(0x318)]=0x32c9]=_0x3db0e4(0x318),_0x1d499e[_0x1d499e[_0x3db0e4(0x127)]=0x32ca]=_0x3db0e4(0x127),_0x1d499e[_0x1d499e[_0x3db0e4(0x250)]=0x32cb]=_0x3db0e4(0x250),_0x1d499e[_0x1d499e[_0x3db0e4(0x26e)]=0x36b1]=_0x3db0e4(0x26e),_0x1d499e[_0x1d499e[_0x3db0e4(0x181)]=0x36b2]=_0x3db0e4(0x181),_0x1d499e[_0x1d499e[_0x3db0e4(0x2ae)]=0x36b3]=_0x3db0e4(0x2ae),_0x1d499e[_0x1d499e[_0x3db0e4(0x219)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x1d499e[_0x1d499e[_0x3db0e4(0x134)]=0x3715]=_0x3db0e4(0x134),_0x1d499e[_0x1d499e[_0x3db0e4(0x39b)]=0x3716]=_0x3db0e4(0x39b),_0x1d499e[_0x1d499e['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x1d499e[_0x1d499e[_0x3db0e4(0x1d9)]=0x3a99]=_0x3db0e4(0x1d9),_0x1d499e[_0x1d499e['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x3db0e4(0x267),_0x1d499e[_0x1d499e[_0x3db0e4(0x35b)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x1d499e[_0x1d499e[_0x3db0e4(0x24c)]=0x3a9c]=_0x3db0e4(0x24c),_0x1d499e[_0x1d499e[_0x3db0e4(0x21d)]=0x3a9d]=_0x3db0e4(0x21d),_0x1d499e[_0x1d499e[_0x3db0e4(0x397)]=0x3a9e]=_0x3db0e4(0x397),_0x1d499e[_0x1d499e['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x3db0e4(0x2f6),_0x1d499e[_0x1d499e['UNRECOGNIZED']=-0x1]=_0x3db0e4(0x155),_0x1d499e))(_0x2133b7||{});function _0x4ba424(_0x153591){const _0x122f49=_0x3db0e4;var _0x321d2a,_0xb40a58;const _0x3bb665=(_0x321d2a=_0x153591[_0x122f49(0x2a2)])==null?void 0x0:_0x321d2a['stage'],_0x40324e=((_0xb40a58=_0x153591[_0x122f49(0x2a2)])==null?void 0x0:_0xb40a58['totalFormulasToCalculate'])||0x0;return _0x3bb665===_0x2c79d7['FormulaExecuteStageType'][_0x122f49(0x1dc)]&&_0x40324e>0x0;}function _0x11d8af(_0x5a71ee){const _0x28d976=_0x3db0e4;return _0x5a71ee[_0x28d976(0x2f5)]===_0x2c79d7[_0x28d976(0x2aa)]['SUCCESS'];}var _0x597314=Object[_0x3db0e4(0x2d1)],_0x24d578=(_0x458c03,_0x59a53a,_0x2f6326,_0x269811)=>{for(var _0x8b5db4=_0x269811>0x1?void 0x0:_0x269811?_0x597314(_0x59a53a,_0x2f6326):_0x59a53a,_0x1a7280=_0x458c03['length']-0x1,_0x15e7e9;_0x1a7280>=0x0;_0x1a7280--)(_0x15e7e9=_0x458c03[_0x1a7280])&&(_0x8b5db4=_0x15e7e9(_0x8b5db4)||_0x8b5db4);return _0x8b5db4;},_0x4de614=(_0x501363,_0x28c48e)=>(_0x33981f,_0x4134df)=>_0x28c48e(_0x33981f,_0x4134df,_0x501363);const _0x1ec8ac='/universer-api/license/formula/limit/status',_0x43f063=_0x3db0e4(0x2de),_0x4c95f8=_0x3db0e4(0x266);let _0x886def=class extends _0x3f9956[_0x3db0e4(0x225)]{constructor(_0x16c463,_0x4523b2,_0x1eeb1c,_0x14508e,_0x3496eb,_0x5aaf21,_0x44738e){const _0x15923a=_0x3db0e4;super(),_0x442022(this,_0x15923a(0x378),null),_0x442022(this,_0x15923a(0x101),0x0),_0x442022(this,_0x15923a(0x27a),0x0),_0x442022(this,'_taskIds',[]),_0x442022(this,_0x15923a(0x208),0x0),(this[_0x15923a(0x174)]=_0x16c463,this[_0x15923a(0x278)]=_0x4523b2,this['_configService']=_0x1eeb1c,this['_httpService']=_0x14508e,this[_0x15923a(0x205)]=_0x3496eb,this[_0x15923a(0x237)]=_0x5aaf21,this[_0x15923a(0x359)]=_0x44738e,this[_0x15923a(0x36c)]());}[_0x3db0e4(0x36c)](){const _0xc53e86=_0x3db0e4;this[_0xc53e86(0x20e)](this[_0xc53e86(0x278)]['beforeCommandExecuted']((_0xb0122f,_0x1e2709)=>{const _0x154fbb=_0xc53e86;if(_0xb0122f['id']!==_0x2c79d7['SetFormulaCalculationStartMutation']['id'])return;const _0x1bd76=_0xb0122f[_0x154fbb(0x176)];if(!this[_0x154fbb(0x3bb)](_0x1bd76[_0x154fbb(0x338)]))return;if(!this[_0x154fbb(0x11f)]())throw this[_0x154fbb(0x1e0)](_0xb0122f,_0x1e2709),this[_0x154fbb(0x26c)](),new _0x3f9956[(_0x154fbb(0x2f1))]();})),this[_0xc53e86(0x20e)](this[_0xc53e86(0x278)][_0xc53e86(0x14d)]((_0x4f5cae,_0x5dd8eb)=>{const _0x19275a=_0xc53e86;if(_0x4f5cae['id']!==_0x2c79d7['SetFormulaCalculationNotificationMutation']['id'])return;const _0x1e7af7=_0x4f5cae[_0x19275a(0x176)];if(_0x4ba424(_0x1e7af7)){const _0x15c139=_0x3f9956['generateRandomId']();this[_0x19275a(0x2c1)][_0x19275a(0x1ae)](_0x15c139),this['_startCalculationLimit'](_0x15c139);}else{if(_0x11d8af(_0x1e7af7)&&this[_0x19275a(0x2c1)][_0x19275a(0xf8)]>0x0){const _0x21465b=this[_0x19275a(0x2c1)][_0x19275a(0x1d1)]();this[_0x19275a(0x296)](_0x21465b);}}}));}[_0x3db0e4(0x14f)](){const _0x4e517f=_0x3db0e4;super[_0x4e517f(0x14f)](),this[_0x4e517f(0x31a)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x4e517f(0x101)]=0x0,this[_0x4e517f(0x208)]=0x0;}async[_0x3db0e4(0x1e0)](_0xc6268f,_0x2085b4){const _0x3abd0f=_0x3db0e4;for(let _0x51c242=0x0;_0x51c242<0x1e;_0x51c242++)try{if(await this[_0x3abd0f(0x1b3)](),this[_0x3abd0f(0x11f)]()){this[_0x3abd0f(0x26b)](_0xc6268f,_0x2085b4),this[_0x3abd0f(0x174)][_0x3abd0f(0x2c7)]({'content':this['_localeService']['t'](_0x3abd0f(0x233)),'type':_0x3fc7ae['MessageType'][_0x3abd0f(0x210)]});return;}await new Promise(_0x1dc29a=>{const _0x364fe1=_0x3abd0f;this[_0x364fe1(0x378)]=window[_0x364fe1(0x2f2)](_0x1dc29a,0x3e8);});}catch(_0x24352d){this[_0x3abd0f(0x237)]['error'](_0x24352d);}this[_0x3abd0f(0x174)][_0x3abd0f(0x2c7)]({'content':this['_localeService']['t'](_0x3abd0f(0x103)),'type':_0x3fc7ae[_0x3abd0f(0x25c)][_0x3abd0f(0x136)]});}[_0x3db0e4(0x26b)](_0x2e6a87,_0x174eda){const _0x22cb27=_0x3db0e4;try{this['_commandService']['executeCommand'](_0x2e6a87['id'],_0x2e6a87[_0x22cb27(0x176)],_0x174eda);}catch(_0x2ee5d5){this[_0x22cb27(0x237)]['error'](_0x2ee5d5);}}[_0x3db0e4(0x1b7)](_0x124c3e,_0x573a17){const _0x250da5=_0x3db0e4;_0x573a17<this[_0x250da5(0x208)]||(this[_0x250da5(0x208)]=_0x573a17,this[_0x250da5(0x101)]=Number[_0x250da5(0x14b)](_0x124c3e['maxFormulaLimit']),this[_0x250da5(0x27a)]=Number[_0x250da5(0x14b)](_0x124c3e['currentUsage']));}async[_0x3db0e4(0x1e6)](_0x8ded00){const _0x3298b1=_0x3db0e4;var _0x3b7c24,_0x1ef674;const _0x39792a=Date['now']();try{const _0x3a72c5=((_0x3b7c24=this[_0x3298b1(0x358)][_0x3298b1(0x2f9)](_0x184317[_0x3298b1(0x239)]))==null?void 0x0:_0x3b7c24[_0x3298b1(0x124)])||_0x43f063,_0x59cc5a=(await this[_0x3298b1(0x374)]['post'](_0x3a72c5,{'body':JSON[_0x3298b1(0x1a2)]({'taskId':_0x8ded00})}))['body'];if(((_0x1ef674=_0x59cc5a[_0x3298b1(0x235)])==null?void 0x0:_0x1ef674[_0x3298b1(0x2dd)])!==_0x2133b7['OK'])return;this['_setFormulaLimitStatus'](_0x59cc5a['limitInfo'],_0x39792a);}catch(_0x5223cc){this['_logService']['error'](_0x5223cc);}}async[_0x3db0e4(0x1b3)](_0x111b9c){const _0x388f16=_0x3db0e4;var _0xcf54e2,_0x2e15c2;const _0x1e5a6f=Date['now']();try{const _0x1f8209=((_0xcf54e2=this[_0x388f16(0x358)][_0x388f16(0x2f9)](_0x184317['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xcf54e2[_0x388f16(0x262)])||_0x1ec8ac,_0x4c55fa=_0x111b9c?_0x1f8209+'?taskId='+encodeURIComponent(_0x111b9c):_0x1f8209,_0x409c5d=(await this[_0x388f16(0x374)][_0x388f16(0x392)](_0x4c55fa))[_0x388f16(0x26a)];if(((_0x2e15c2=_0x409c5d['error'])==null?void 0x0:_0x2e15c2[_0x388f16(0x2dd)])!==_0x2133b7['OK'])return;this[_0x388f16(0x1b7)](_0x409c5d[_0x388f16(0x22a)],_0x1e5a6f);}catch(_0x33581a){this[_0x388f16(0x237)][_0x388f16(0x235)](_0x33581a);}}async[_0x3db0e4(0x296)](_0x40f87d){const _0x55ff4f=_0x3db0e4;var _0x28e639,_0x1b7001;const _0x206edd=Date['now']();try{const _0xc1cdab=((_0x28e639=this['_configService'][_0x55ff4f(0x2f9)](_0x184317['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x28e639[_0x55ff4f(0xfa)])||_0x4c95f8,_0x5d7371=(await this['_httpService'][_0x55ff4f(0x301)](_0xc1cdab,{'body':JSON[_0x55ff4f(0x1a2)]({'taskId':_0x40f87d})}))[_0x55ff4f(0x26a)];if(((_0x1b7001=_0x5d7371[_0x55ff4f(0x235)])==null?void 0x0:_0x1b7001[_0x55ff4f(0x2dd)])!==_0x2133b7['OK'])return;this['_setFormulaLimitStatus'](_0x5d7371['limitInfo'],_0x206edd);}catch(_0x36828e){this[_0x55ff4f(0x237)][_0x55ff4f(0x235)](_0x36828e);}}[_0x3db0e4(0x11f)](){const _0x47582a=_0x3db0e4;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0x47582a(0x27a)]>0x0;}[_0x3db0e4(0x31a)](){const _0x4d6fa=_0x3db0e4;this['_pollingInterval']&&(clearTimeout(this[_0x4d6fa(0x378)]),this[_0x4d6fa(0x378)]=null);}[_0x3db0e4(0x26c)](){const _0x3d7805=_0x3db0e4;this['_messageService']['show']({'content':this[_0x3d7805(0x359)]['t'](_0x3d7805(0x2fe)),'type':_0x3fc7ae[_0x3d7805(0x25c)][_0x3d7805(0x153)]});}[_0x3db0e4(0x3bb)](_0x589e30){const _0x607e54=_0x3db0e4;for(const _0x193bae of _0x589e30){const {unitId:_0x556506,sheetId:_0x415d29,range:_0x573c78}=_0x193bae,_0x56a1ab=this[_0x607e54(0x205)][_0x607e54(0xfe)](_0x556506);if(!_0x56a1ab)continue;const _0x2fb467=_0x56a1ab[_0x607e54(0x36f)](_0x415d29);if(!_0x2fb467)continue;const _0x2d3120=_0x2fb467[_0x607e54(0x216)]();for(let _0x2a60b5=_0x573c78[_0x607e54(0x16c)];_0x2a60b5<=_0x573c78[_0x607e54(0x398)];_0x2a60b5++)for(let _0xbc0d2b=_0x573c78[_0x607e54(0x14c)];_0xbc0d2b<=_0x573c78[_0x607e54(0x308)];_0xbc0d2b++){const _0x12c0cb=_0x2d3120[_0x607e54(0x1d4)](_0x2a60b5,_0xbc0d2b);if(_0x12c0cb&&(_0x3f9956[_0x607e54(0x19f)](_0x12c0cb['f'])||_0x3f9956[_0x607e54(0x111)](_0x12c0cb['si'])))return!0x0;}}return!0x1;}};_0x886def=_0x24d578([_0x4de614(0x0,_0x3f9956[_0x3db0e4(0x302)](_0x26d040[_0x3db0e4(0x30a)])),_0x4de614(0x1,_0x3f9956[_0x3db0e4(0x30c)]),_0x4de614(0x2,_0x3f9956[_0x3db0e4(0x125)]),_0x4de614(0x3,_0x3f9956[_0x3db0e4(0x302)](_0x2b426c['HTTPService'])),_0x4de614(0x4,_0x3f9956['IUniverInstanceService']),_0x4de614(0x5,_0x3f9956['ILogService']),_0x4de614(0x6,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39e)]))],_0x886def);var _0x21fb74=Object[_0x3db0e4(0x2d1)],_0x4da7ea=(_0x4e8030,_0x857cb6,_0x16180a,_0x5c1487)=>{const _0xbcb1c1=_0x3db0e4;for(var _0x2847a8=_0x5c1487>0x1?void 0x0:_0x5c1487?_0x21fb74(_0x857cb6,_0x16180a):_0x857cb6,_0x263568=_0x4e8030[_0xbcb1c1(0xf8)]-0x1,_0xe51a24;_0x263568>=0x0;_0x263568--)(_0xe51a24=_0x4e8030[_0x263568])&&(_0x2847a8=_0xe51a24(_0x2847a8)||_0x2847a8);return _0x2847a8;},_0x2ef050=(_0x56fa6c,_0x3893e1)=>(_0xa530c7,_0x15c35d)=>_0x3893e1(_0xa530c7,_0x15c35d,_0x56fa6c);let _0x12d161=class extends _0x3f9956['Disposable']{constructor(_0x95d11c,_0x241212,_0x1d1670){const _0x54485a=_0x3db0e4;super(),_0x442022(this,_0x54485a(0x276),new Map()),_0x442022(this,_0x54485a(0x1a6),new Map()),_0x442022(this,_0x54485a(0x2b8),!0x1),(this[_0x54485a(0x358)]=_0x95d11c,this[_0x54485a(0x3b7)]=_0x241212,this[_0x54485a(0x25e)]=_0x1d1670);}[_0x3db0e4(0x2e0)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x525015=_0x3db0e4;this[_0x525015(0x2b8)]=!0x1;}get[_0x3db0e4(0x344)](){const _0x19f75a=_0x3db0e4;return this[_0x19f75a(0x1a6)];}['dispose'](){const _0x53f32f=_0x3db0e4;this[_0x53f32f(0x118)]()[_0x53f32f(0x354)](()=>super['dispose']());}async[_0x3db0e4(0x1de)](_0x57c9fa){const _0x12b4bb=_0x3db0e4;return this['_disabled']?null:this[_0x12b4bb(0x3b7)][_0x12b4bb(0x25a)](_0x184317[_0x12b4bb(0x198)](_0x57c9fa));}async[_0x3db0e4(0x220)](_0x5be8a8,_0x50deb7){const _0x417b0e=_0x3db0e4;return!!this[_0x417b0e(0x3b7)][_0x417b0e(0x367)](_0x5be8a8,_0x50deb7);}[_0x3db0e4(0x133)](_0x1614d4,_0x4fd9b0,_0x340d36,_0x64c4b4){const _0x241b40=_0x3db0e4,_0x3cf832=this[_0x241b40(0x25e)][_0x241b40(0x13b)](_0x1614d4);this[_0x241b40(0x276)]['set'](_0x1614d4,{'unitID':_0x1614d4,'type':_0x4fd9b0,'awaitingChangeset':_0x340d36,'mutations':_0x64c4b4,'rev':_0x3cf832}),this[_0x241b40(0x1a6)]['has'](_0x1614d4)||this[_0x241b40(0x16e)](_0x1614d4);}[_0x3db0e4(0x16e)](_0x9ccb47){const _0x33af6c=_0x3db0e4,_0x1c2ec1=this['_getSaveTimeout']();_0x1c2ec1===0x0?this['_saveCache'](_0x9ccb47):this[_0x33af6c(0x1a6)][_0x33af6c(0x26f)](_0x9ccb47,setTimeout(()=>this[_0x33af6c(0x2a0)](_0x9ccb47),_0x1c2ec1));}[_0x3db0e4(0x144)](){const _0x456caf=_0x3db0e4;var _0x207c8f;return(_0x207c8f=this['_configService'][_0x456caf(0x2f9)](_0x184317[_0x456caf(0x1a8)]))!=null?_0x207c8f:_0x184317[_0x456caf(0x280)];}[_0x3db0e4(0x2a0)](_0x532e33){const _0xb8174d=_0x3db0e4,_0x5fc44d=this[_0xb8174d(0x1a6)][_0xb8174d(0x392)](_0x532e33);return _0x5fc44d!==void 0x0&&window['clearTimeout'](_0x5fc44d),this[_0xb8174d(0x3b7)][_0xb8174d(0x367)](_0x184317[_0xb8174d(0x198)](_0x532e33),this[_0xb8174d(0x276)][_0xb8174d(0x392)](_0x532e33))['then'](()=>this[_0xb8174d(0x1a6)]['delete'](_0x532e33));}async[_0x3db0e4(0x118)](){const _0x182054=_0x3db0e4,_0x26995b=[];this[_0x182054(0x1a6)][_0x182054(0x29f)]((_0x46c38d,_0x57a81f)=>{const _0x3ac2bf=_0x182054;window['clearTimeout'](_0x46c38d),_0x26995b[_0x3ac2bf(0x1ae)](this['_saveCache'](_0x57a81f)['then'](()=>{const _0x345631=_0x3ac2bf;this[_0x345631(0x1a6)]['delete'](_0x57a81f);}));}),await Promise[_0x182054(0x24a)](_0x26995b);}};_0x12d161=_0x4da7ea([_0x2ef050(0x0,_0x3f9956[_0x3db0e4(0x125)]),_0x2ef050(0x1,_0x3f9956['ILocalStorageService']),_0x2ef050(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x2de7d2['RevisionService']))],_0x12d161);class _0x2d9519 extends _0x3f9956['RxDisposable']{constructor(){const _0x40879c=_0x3db0e4;super(),_0x442022(this,'urlChange$'),this[_0x40879c(0x25f)]=_0x6aec0[_0x40879c(0x1c4)](window,'popstate')[_0x40879c(0xf7)](_0x6aec0[_0x40879c(0x277)](this['dispose$']),_0x6aec0[_0x40879c(0x34f)](0x1),_0x6aec0[_0x40879c(0x1d7)](void 0x0));}[_0x3db0e4(0x270)](_0x4a5e4d,_0x19be5a,_0x1d0870=!0x1){const _0x4d05d0=_0x3db0e4,_0x4ced24=new URL(window['location'][_0x4d05d0(0x2ce)]);_0x4ced24['searchParams'][_0x4d05d0(0x26f)](_0x4a5e4d,_0x19be5a),_0x1d0870?window[_0x4d05d0(0x204)][_0x4d05d0(0x1bf)]('','',_0x4ced24[_0x4d05d0(0x14a)]()):window['history'][_0x4d05d0(0x1b9)]('','',_0x4ced24[_0x4d05d0(0x14a)]());}[_0x3db0e4(0x15b)](_0x8060ef,_0x5991ff=!0x1){const _0x22c852=_0x3db0e4,_0x36dd80=new URL(window[_0x22c852(0x28b)][_0x22c852(0x2ce)]);_0x36dd80[_0x22c852(0x3b1)][_0x22c852(0x1ce)](_0x8060ef),_0x5991ff?window[_0x22c852(0x204)][_0x22c852(0x1bf)]('','',_0x36dd80[_0x22c852(0x14a)]()):window['history']['pushState']('','',_0x36dd80['toString']());}['getParam'](_0x22d446){const _0x4c7e5d=_0x3db0e4;var _0x357bcd;return(_0x357bcd=new URL(window[_0x4c7e5d(0x28b)][_0x4c7e5d(0x2ce)])[_0x4c7e5d(0x3b1)][_0x4c7e5d(0x392)](_0x22d446))!=null?_0x357bcd:void 0x0;}}var _0x51b1b3=Object[_0x3db0e4(0x197)],_0xb42762=Object[_0x3db0e4(0x2d1)],_0x1a038d=(_0x3b6925,_0x11057b,_0x4a8339)=>_0x11057b in _0x3b6925?_0x51b1b3(_0x3b6925,_0x11057b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a8339}):_0x3b6925[_0x11057b]=_0x4a8339,_0x816194=(_0x55c300,_0x5d594b,_0x5ce116,_0x1ef2d2)=>{const _0x1b621b=_0x3db0e4;for(var _0x4e2f97=_0x1ef2d2>0x1?void 0x0:_0x1ef2d2?_0xb42762(_0x5d594b,_0x5ce116):_0x5d594b,_0x3674ac=_0x55c300[_0x1b621b(0xf8)]-0x1,_0x36bf13;_0x3674ac>=0x0;_0x3674ac--)(_0x36bf13=_0x55c300[_0x3674ac])&&(_0x4e2f97=_0x36bf13(_0x4e2f97)||_0x4e2f97);return _0x4e2f97;},_0x2d7b65=(_0x5c6a4b,_0x199710)=>(_0x20ac5c,_0x458d6c)=>_0x199710(_0x20ac5c,_0x458d6c,_0x5c6a4b),_0x4648a2=(_0x4ac198,_0x58d38c,_0x321670)=>_0x1a038d(_0x4ac198,_0x58d38c+'',_0x321670);const _0x116df3=_0x3db0e4(0x13f);_0x4205ba[_0x3db0e4(0x109)]=class extends _0x3f9956[_0x3db0e4(0x379)]{constructor(_0x3d4ffa=_0xd1a49e,_0xf68f41,_0x3b9b43,_0xd4cf6){const _0xd9043e=_0x3db0e4;super(),this[_0xd9043e(0x28a)]=_0x3d4ffa,this[_0xd9043e(0x1e4)]=_0xf68f41,this['_injector']=_0x3b9b43,this['_configService']=_0xd4cf6;const {..._0x43aadf}=_0x3f9956[_0xd9043e(0x37b)]({},_0xd1a49e,this['_config']);this[_0xd9043e(0x358)][_0xd9043e(0x163)](_0x512303,_0x43aadf);}[_0x3db0e4(0x3a2)](){const _0x805cb7=_0x3db0e4;this[_0x805cb7(0x24d)](),this[_0x805cb7(0x1b4)]();}[_0x3db0e4(0x211)](){const _0x178d2d=_0x3db0e4;this[_0x178d2d(0x303)]();}[_0x3db0e4(0x24d)](){const _0x1a8f76=_0x3db0e4;var _0x1a0d6a;const _0x44f97d=[[_0x5cb38a],[_0x886def],[_0x5573a9],[_0x36ef44],[_0x548941],[_0x5e3cb6],[_0x3958fd,{'useClass':_0x2d9519}],[_0x2b426c[_0x1a8f76(0x32f)],{'useClass':_0x2b426c[_0x1a8f76(0x263)]}],[_0x184317[_0x1a8f76(0x3b9)],{'useClass':_0x12d161}],[_0x4205ba[_0x1a8f76(0x171)]],[_0x1f68e4],[_0x395203],[_0x135bf3],[_0x5c2573],[_0x4205ba[_0x1a8f76(0x309)]]];_0x3f9956[_0x1a8f76(0x361)](this[_0x1a8f76(0x15f)],_0x3f9956[_0x1a8f76(0x169)](_0x44f97d,(_0x1a0d6a=this[_0x1a8f76(0x28a)])==null?void 0x0:_0x1a0d6a[_0x1a8f76(0x130)]));}[_0x3db0e4(0x303)](){const _0x54950e=_0x3db0e4;this[_0x54950e(0x20e)](this[_0x54950e(0x1e4)]['registerRenderModule'](_0x3f9956['UniverInstanceType'][_0x54950e(0x257)],[_0x5ddb20])),this[_0x54950e(0x20e)](this[_0x54950e(0x1e4)]['registerRenderModule'](_0x3f9956[_0x54950e(0x100)][_0x54950e(0xff)],[_0x345a73]));}['_initDependencies'](){const _0x14180b=_0x3db0e4;_0x3f9956[_0x14180b(0x261)](this[_0x14180b(0x15f)],[[_0x135bf3],[_0x4205ba[_0x14180b(0x171)]],[_0x1f68e4],[_0x395203],[_0x4205ba[_0x14180b(0x309)]],[_0x886def]]);}},_0x4648a2(_0x4205ba[_0x3db0e4(0x109)],_0x3db0e4(0x1a5),_0x116df3),_0x4205ba[_0x3db0e4(0x109)]=_0x816194([_0x3f9956[_0x3db0e4(0x305)](_0x184317[_0x3db0e4(0x317)]),_0x2d7b65(0x1,_0x2dd116[_0x3db0e4(0x16d)]),_0x2d7b65(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x2d7b65(0x3,_0x3f9956['IConfigService'])],_0x4205ba[_0x3db0e4(0x109)]);var _0x329167=Object['getOwnPropertyDescriptor'],_0xfa9c7=(_0x3307f0,_0x3d6801,_0x48fbc2,_0x7d36bf)=>{const _0x515c1b=_0x3db0e4;for(var _0x4d9e5e=_0x7d36bf>0x1?void 0x0:_0x7d36bf?_0x329167(_0x3d6801,_0x48fbc2):_0x3d6801,_0x4c8d58=_0x3307f0[_0x515c1b(0xf8)]-0x1,_0x52c0e7;_0x4c8d58>=0x0;_0x4c8d58--)(_0x52c0e7=_0x3307f0[_0x4c8d58])&&(_0x4d9e5e=_0x52c0e7(_0x4d9e5e)||_0x4d9e5e);return _0x4d9e5e;},_0x58eaf8=(_0x9d52c,_0x2ed8c0)=>(_0x2177bd,_0x312edc)=>_0x2ed8c0(_0x2177bd,_0x312edc,_0x9d52c);_0x4205ba[_0x3db0e4(0x3c1)]=class extends _0x184317[_0x3db0e4(0x316)]{constructor(_0x325262,_0x2dbe83,_0x271afb,_0x2358b2,_0x5dd88a){super(_0x325262,_0x2dbe83,_0x271afb,_0x2358b2,_0x5dd88a);}async[_0x3db0e4(0x275)](_0x1be1a3){const _0x175fe4=_0x3db0e4,_0x53d1e7=await this[_0x175fe4(0xfd)](),_0x567a36=this[_0x175fe4(0x285)](_0x1be1a3,_0x53d1e7);return this[_0x175fe4(0x1e8)](_0x567a36);}[_0x3db0e4(0x285)](_0x13e558,_0x32f91f){const _0x322a8c=_0x3db0e4,_0x4d4fd3=typeof window>'u'?new URL(_0x13e558):new URL(_0x13e558,window[_0x322a8c(0x28b)][_0x322a8c(0x312)]);_0x4d4fd3[_0x322a8c(0x3b1)][_0x322a8c(0x26f)]('sessionTicket',_0x32f91f);const _0x3e1e20=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x322a8c(0x252)]);return _0x3e1e20[_0x322a8c(0x392)](_0x322a8c(0x25b))&&_0x4d4fd3[_0x322a8c(0x3b1)][_0x322a8c(0x26f)](_0x322a8c(0x25b),_0x3e1e20['get'](_0x322a8c(0x25b))),_0x4d4fd3['toString']();}async[_0x3db0e4(0xfd)](){const _0x5ca5c8=_0x3db0e4;var _0x16d7cf,_0xeab27b,_0x5e47cc;const _0x5c59c5=this[_0x5ca5c8(0x358)][_0x5ca5c8(0x2f9)](_0x184317[_0x5ca5c8(0x239)]),_0x1572f7=(_0x16d7cf=_0x5c59c5==null?void 0x0:_0x5c59c5[_0x5ca5c8(0x231)])!=null?_0x16d7cf:_0x184317[_0x5ca5c8(0x341)];return(_0x5e47cc=(_0xeab27b=(await this[_0x5ca5c8(0x374)]['get'](_0x1572f7,{'headers':{'Content-Type':_0x5ca5c8(0x2d5)}}))[_0x5ca5c8(0x26a)])==null?void 0x0:_0xeab27b[_0x5ca5c8(0x373)])!=null?_0x5e47cc:'';}},_0x4205ba[_0x3db0e4(0x3c1)]=_0xfa9c7([_0x58eaf8(0x0,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x58eaf8(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x2b426c['HTTPService'])),_0x58eaf8(0x2,_0x3f9956['IConfigService']),_0x58eaf8(0x3,_0x3f9956[_0x3db0e4(0x2d2)]),_0x58eaf8(0x4,_0x2de7d2['ISnapshotServerService'])],_0x4205ba[_0x3db0e4(0x3c1)]);var _0x2788d7=Object[_0x3db0e4(0x2d1)],_0x39901d=(_0x10ac05,_0x3c63a6,_0x3847ea,_0x3689ae)=>{const _0x4f8e1d=_0x3db0e4;for(var _0x1b7039=_0x3689ae>0x1?void 0x0:_0x3689ae?_0x2788d7(_0x3c63a6,_0x3847ea):_0x3c63a6,_0x2ec4f1=_0x10ac05[_0x4f8e1d(0xf8)]-0x1,_0x13162b;_0x2ec4f1>=0x0;_0x2ec4f1--)(_0x13162b=_0x10ac05[_0x2ec4f1])&&(_0x1b7039=_0x13162b(_0x1b7039)||_0x1b7039);return _0x1b7039;},_0x165fde=(_0x439124,_0x198f79)=>(_0x3cfbbd,_0x41b966)=>_0x198f79(_0x3cfbbd,_0x41b966,_0x439124);_0x4205ba['RemoteUniscriptService']=class extends _0x3f9956['Disposable']{constructor(_0x4ed7ac,_0x34a243,_0x7f9ab5){const _0x1f9745=_0x3db0e4;super(),this[_0x1f9745(0x242)]=_0x4ed7ac,this[_0x1f9745(0x374)]=_0x34a243,this[_0x1f9745(0x358)]=_0x7f9ab5;}async[_0x3db0e4(0x388)](_0x1dc3a0,_0x252fcd,_0xe99942,..._0x2c83df){const _0xe8fd5=_0x3db0e4;var _0x3e2f05,_0x7729f6,_0x19b87f,_0xefa383;const _0x3b66a6=this[_0xe8fd5(0x242)]['getFocusedUnit']();if(!_0x3b66a6)throw new Error(_0xe8fd5(0x255));const _0x334cba=((_0x3e2f05=this[_0xe8fd5(0x358)]['getConfig'](_0x184317[_0xe8fd5(0x31d)]))!=null?_0x3e2f05:_0x184317[_0xe8fd5(0x294)])+'/'+_0x1dc3a0+_0xe8fd5(0x182)+_0x252fcd,_0x8c02e4=new URL(window[_0xe8fd5(0x28b)][_0xe8fd5(0x2ce)]),_0x4e9448={'scriptId':_0x1dc3a0,'runId':(_0x7729f6=_0x8c02e4[_0xe8fd5(0x3b1)]['get']('runId'))!=null?_0x7729f6:'','function':_0x252fcd,'unitId':_0x3b66a6[_0xe8fd5(0x3aa)](),'argsOfFunction':JSON[_0xe8fd5(0x1a2)](_0x2c83df),'invokeId':(_0x19b87f=_0xe99942[_0xe8fd5(0x1af)])!=null?_0x19b87f:'','executionId':(_0xefa383=_0xe99942[_0xe8fd5(0x193)])!=null?_0xefa383:''};try{const _0x29057b=await this[_0xe8fd5(0x374)][_0xe8fd5(0x301)](_0x334cba,{'body':_0x4e9448});return _0x29057b[_0xe8fd5(0x26a)][_0xe8fd5(0x235)]&&_0x29057b[_0xe8fd5(0x26a)][_0xe8fd5(0x235)]['code']!==_0x2133b7['OK']?_0xe8fd5(0x158):_0x29057b['body'][_0xe8fd5(0x259)];}catch{return _0xe8fd5(0x158);}}},_0x4205ba[_0x3db0e4(0x2ed)]=_0x39901d([_0x165fde(0x0,_0x3f9956[_0x3db0e4(0x264)]),_0x165fde(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x2b426c[_0x3db0e4(0x349)])),_0x165fde(0x2,_0x3f9956[_0x3db0e4(0x125)])],_0x4205ba[_0x3db0e4(0x2ed)]);const _0x2a64ff=0x7530,_0x4250c9=_0x3db0e4(0x22c);class _0x567343 extends _0x3f9956[_0x3db0e4(0x225)]{constructor(){const _0x35850e=_0x3db0e4;super(),_0x442022(this,_0x35850e(0x2bd),_0x3f9956[_0x35850e(0x17e)]()),_0x442022(this,_0x35850e(0x2bb),new Set()),_0x442022(this,_0x35850e(0x314),new Map()),_0x442022(this,'_heartbeatTimer',null),_0x442022(this,_0x35850e(0x2b6),new Map()),_0x442022(this,_0x35850e(0x364),new Map()),this['_init']();}[_0x3db0e4(0x14f)](){const _0x189b5c=_0x3db0e4;super[_0x189b5c(0x14f)](),this['_clearOtherTimers'][_0x189b5c(0x29f)]((_0x1cd9db,_0x2f352e)=>this[_0x189b5c(0x19a)](_0x2f352e)),this[_0x189b5c(0x2e2)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x3db0e4(0x293)](_0x1cc832){const _0x4c0df2=_0x3db0e4;return this[_0x4c0df2(0x10a)](_0x1cc832)[_0x4c0df2(0xf7)](_0x6aec0['distinctUntilChanged']());}[_0x3db0e4(0x214)](_0x5747fd){const _0x424e3b=_0x3db0e4;this['_selfUnitIDs'][_0x424e3b(0x137)]===0x0&&this[_0x424e3b(0x20b)](),this[_0x424e3b(0x2bb)][_0x424e3b(0x2d8)](_0x5747fd),this[_0x424e3b(0x3c0)]({'type':0x0,'memberID':this[_0x424e3b(0x2bd)],'unitIDs':[_0x5747fd],'isForwarded':!0x1});}[_0x3db0e4(0x1a9)](_0x31b309){const _0x3a6b9d=_0x3db0e4;this['_selfUnitIDs'][_0x3a6b9d(0x1ce)](_0x31b309),this[_0x3a6b9d(0x2bb)][_0x3a6b9d(0x137)]===0x0&&this['_heartbeatTimer']&&window[_0x3a6b9d(0x1fb)](this[_0x3a6b9d(0x2e2)]);}[_0x3db0e4(0x18a)](){const _0x58f3e2=_0x3db0e4;this[_0x58f3e2(0x20e)](_0x3f9956[_0x58f3e2(0x30e)](_0x6aec0['fromEvent'](window,_0x58f3e2(0x299))[_0x58f3e2(0x29b)](_0x3216d5=>{const _0x38e8f9=_0x58f3e2;if(_0x3216d5[_0x38e8f9(0x1c6)]!==_0x4250c9||!_0x3216d5[_0x38e8f9(0x3b8)])return;const _0x266b81=JSON['parse'](_0x3216d5[_0x38e8f9(0x3b8)]);this['_handleEvent'](_0x266b81);}))),window[_0x58f3e2(0x179)]('unload',()=>this[_0x58f3e2(0x3c0)]({'type':0x1,'memberID':this[_0x58f3e2(0x2bd)],'unitIDs':Array['from'](this[_0x58f3e2(0x2bb)])}));}[_0x3db0e4(0x382)](_0x9dc4c1){const _0x246f4f=_0x3db0e4;switch(_0x9dc4c1[_0x246f4f(0x3a0)]){case 0x0:this['_handleJoinEvent'](_0x9dc4c1);break;case 0x1:this[_0x246f4f(0x2f0)](_0x9dc4c1);break;case 0x2:this[_0x246f4f(0x223)](_0x9dc4c1);break;}}['_handleJoinEvent'](_0x4261df){const _0x66a771=_0x3db0e4,{unitIDs:_0x403a3f,memberID:_0x2c9212,isForwarded:_0xbc931}=_0x4261df;_0x403a3f[_0x66a771(0x29f)](_0x25116e=>{const _0xf23ac2=_0x66a771;if(!_0xbc931&&this[_0xf23ac2(0x314)][_0xf23ac2(0x3a8)](_0x25116e)&&this['_ensureSubject'](_0x25116e)[_0xf23ac2(0x360)](_0x184317['UnitStatus'][_0xf23ac2(0x36d)]),!this['_unitOnClients']['has'](_0x25116e)||!this[_0xf23ac2(0x314)][_0xf23ac2(0x392)](_0x25116e)[_0xf23ac2(0x3a8)](_0x2c9212)){const _0x29ab9a=this[_0xf23ac2(0x314)][_0xf23ac2(0x392)](_0x25116e)||new Set();_0x29ab9a[_0xf23ac2(0x2d8)](_0x2c9212),this[_0xf23ac2(0x314)][_0xf23ac2(0x26f)](_0x25116e,_0x29ab9a),this[_0xf23ac2(0x166)](_0x2c9212);}}),_0xbc931||this[_0x66a771(0x3c0)]({'type':0x0,'memberID':this[_0x66a771(0x2bd)],'unitIDs':[...this[_0x66a771(0x2bb)]],'isForwarded':!0x0});}[_0x3db0e4(0x166)](_0x2168b4){const _0x46d9aa=_0x3db0e4;this[_0x46d9aa(0x19a)](_0x2168b4);const _0x4c829d=window[_0x46d9aa(0x2f2)](()=>{const _0x34e7db=_0x46d9aa;this['_unitOnClients'][_0x34e7db(0x29f)](_0x353768=>{_0x353768['delete'](_0x2168b4);});},_0x2a64ff*0x2);this[_0x46d9aa(0x2b6)]['set'](_0x2168b4,_0x4c829d);}[_0x3db0e4(0x19a)](_0x8f11bf){const _0x242976=_0x3db0e4;if(this['_clearOtherTimers'][_0x242976(0x3a8)](_0x8f11bf)){const _0x3c5629=this[_0x242976(0x2b6)][_0x242976(0x392)](_0x8f11bf);_0x3c5629&&window[_0x242976(0xef)](_0x3c5629),this[_0x242976(0x2b6)][_0x242976(0x26f)](_0x8f11bf,null);}}[_0x3db0e4(0x2f0)](_0x6b64e1){const _0x5b6c9a=_0x3db0e4,{memberID:_0x16ed87,unitIDs:_0x144234}=_0x6b64e1;_0x144234[_0x5b6c9a(0x29f)](_0x30ef0e=>{const _0x4f596f=_0x5b6c9a;var _0x29c794;const _0x3ad69f=this['_unitOnClients'][_0x4f596f(0x392)](_0x30ef0e);_0x3ad69f&&(_0x3ad69f[_0x4f596f(0x1ce)](_0x16ed87),(_0x29c794=this[_0x4f596f(0x10a)](_0x30ef0e))==null||_0x29c794[_0x4f596f(0x360)](_0x3ad69f['size']===0x0?_0x184317[_0x4f596f(0x21e)]['NO_OTHER_CLIENTS_EDITING']:_0x184317[_0x4f596f(0x21e)][_0x4f596f(0x36d)]));}),this[_0x5b6c9a(0x19a)](_0x16ed87);}[_0x3db0e4(0x223)](_0x3d45e6){this['_scheduleClearOtherTimer'](_0x3d45e6['memberID']);}[_0x3db0e4(0x3c0)](_0xa1d6f4){const _0x17224a=_0x3db0e4;localStorage[_0x17224a(0x367)](_0x4250c9,JSON[_0x17224a(0x1a2)](_0xa1d6f4));}[_0x3db0e4(0x20b)](){const _0xde56b=_0x3db0e4;this[_0xde56b(0x2e2)]=window[_0xde56b(0x1d2)](()=>{const _0x35bdf9=_0xde56b;this[_0x35bdf9(0x3c0)]({'type':0x2,'memberID':this[_0x35bdf9(0x2bd)]});},_0x2a64ff);}[_0x3db0e4(0x10a)](_0x31a6cb){const _0x574c60=_0x3db0e4;return this[_0x574c60(0x364)]['has'](_0x31a6cb)||this['_unitStatus'][_0x574c60(0x26f)](_0x31a6cb,new _0x6aec0[(_0x574c60(0x154))](_0x184317[_0x574c60(0x21e)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x574c60(0x364)][_0x574c60(0x392)](_0x31a6cb);}}_0x4205ba[_0x3db0e4(0x34c)]=_0x3958fd,_0x4205ba[_0x3db0e4(0x246)]=_0x187ac5,_0x4205ba[_0x3db0e4(0x284)]=_0x567343,_0x4205ba[_0x3db0e4(0x1b0)]=_0x2d9519,Object[_0x3db0e4(0x197)](_0x4205ba,Symbol[_0x3db0e4(0x2b1)],{'value':'Module'});}));function _0x4227(_0x48bf9c,_0xd40da5){const _0x32c6c7=_0x32c6();return _0x4227=function(_0x42271f,_0x547ae7){_0x42271f=_0x42271f-0xef;let _0x1a3ea8=_0x32c6c7[_0x42271f];return _0x1a3ea8;},_0x4227(_0x48bf9c,_0xd40da5);}function _0x32c6(){const _0x103874=['fillRule','UniverDocsUi','_selfUnitIDs','unitId','_id','svg','SessionStatus','univer-mr-2\x20univer-flex\x20univer-text-xl','_taskIds','textRanges','LICENSE_EXPORT_SIZE_EXCEEDED','_toggleOffline','setAlpha','url(#off-line-icon_clip0_910_343)','show','ranges','react','UniverSheetsUi','transform','getAncestorScale','@univerjs/core','href','_hovered','collabStatus.fetchMiss','getOwnPropertyDescriptor','ILogService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getRelativeToViewportCoord','application/json','AWAITING','cursorInfo','add','mutations','_transformService','CollaborationUIEventService','switchMap','code','/universer-api/license/formula/limit/start','throttleTime','disableLocalCache','getCollabCursors$','_heartbeatTimer','debounceTime','_getAnchorBounding','handleIRemoveCol','UniverUi','_name','reconnect','CHANGESET_REVISION_CONFILICT','_drawTextRange','transformMutation','measureText','RemoteUniscriptService','transformStateCache','complete','_handleLeaveEvent','CanceledError','setTimeout','_dataLoaderService','collabStatus.notCollab','functionsExecutedState','REDEMPTION_CODE_HAS_BEEN_CREATED','roomMembers$','red.300','getConfig','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_online','jsx','values','formula.calculation.waiting','getUndoRedoMutationParamsCache','USER_IS_ANONYMOUS','post','Inject','_registerRenderDependencies','collabStatus.syncing','DependentOn','sessionStatus$','_refreshCollabCursors','endColumn','CollaborationDataLoaderController','IMessageService','black','ICommandService','4ywnRhr','toDisposable','DisposableCollection','LICENSE_MAX_UNITS_EXCEEDED','resize','origin','UNDEFINED','_unitOnClients','NodePositionConvertToRectRange','CollaborationSocketService','UniverCollaborationClientPlugin','WECHAT_HAS_BEEN_BOUND','translate(.97)','_clearPolling','CommandType','fillStyle','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_removeCollabCursors','_session','_startSheetCollabCursor','AUTHORIZE_CODE_ILLEGAL','entries','MemberService','roomMembers','onMouseMove','_handleHover','fromEventSubject','1726908hbVtHf','indexOf','_hideTimer','ALREADY_EXISTS','YUUMI_AI_RUN_FAILED','YUUMI_UNABLE_LOAD_URL','handleIRemoveRow','ISocketService','displayName','getOwnPropertySymbols','use','m2Prime','Workbook','ENSURE_SNAPSHOT_EXECUTION','colorChannel1','@univerjs/rpc','dirtyRanges','_collaborationUIEventService','PY_RUNTIME_SCRIPT_ERROR','_onCursorDelete','_beforeCloseService','defIds','LICENSE_IMPORT_SIZE_EXCEEDED','getTypeOfUnitDisposed$','yellow.400','DEFAULT_WS_SESSION_TICKET_URL','OFFLINE','_docSyncEditingCollabCursorService','saveTaskMap','collaboration.closeRoom','RemoveRowCommandId','UniverCore','_docSkeleton','HTTPService','_collaborationController','_toggleOnline','IURLService','InsertRangeMoveRightCommandId','ThemeService','shareReplay','UniverProCollaborationClient','EMAIL_VERIFY_CODE_MISMATCH','_draw','_docSkeletonManagerService','then','TEXT','@univerjs/network','includes','_configService','_localeService','_transformHistoryAndStateStack','REDEMPTION_CODE_FULLY_REDEEMED','moveTo','labelPosition','RefRangeService','DataLoaderService','next','registerDependencies','BuiltInUIPart','assignAColorForMemberID','_unitStatus','findNodePositionByCharIndex','deepClone','setItem','DocStateChangeManagerService','isTransformMutationsWithChangesetSuccess','status$','replaceDocRanges','_initCommandInterceptor','OTHER_CLIENTS_EDITING','text','getSheetBySheetId','requireSession','CollaborationStatus','round','ticket','_httpService','purple.300','toRgbString','_textBubble','_pollingInterval','Plugin','min','merge','DOC_RANGE_TYPE','currentColor','isArray','InsertColCommandId','actions','2612755pLkfnP','_handleEvent','session.collaboration-timeout','_anchor','transformMutationsWithChangeset','_refRangeService','_cursors','runOnServer','CollaborationEvent','lineTo','NOT_FOUND','drawWith','YUUMI_CONNECTOR_URL_NOT_FOUND','Tools','TOO_MANY_REQUESTS','_syncEditingCollabCursorService','_docTransformIMECacheService','get','RegularPolygon','7553133RTnXsV','with','handleMoveRange','REDEMPTION_USER_REDEEM_TIMES_EXCEED','endRow','setShapeProps','deserializeRangeWithSheet','ENTITLE_REPORT_LIMIT_EXCEED','UniverEngineRender','Injector','LocaleService','_setupSubUnitSync','type','forwardRef','onStarting','_assignedColors','getParam','_context','entityInit$','loadUnit','has','session.will-retry','getUnitId','_localCacheService','getColor','executeCommand','height','symbol','getCellPositionByOffset','searchParams','current','UniverProCollaborationClientUi','getUniverSheetInstance','516308meYxlo','docStateChange$','_localStorageService','newValue','ILocalCacheService','INVALID_INVITE_CODE','_hasFormulaInDirtyRanges','OnLineIcon','attrs','map','_uiPartsService','_send','BrowserCollaborationSocketService','_transformPreviousActiveRange','APPLY_PERMISSION_DENIED','IRemoteInstanceService','collaboration-client-ui.config','object','imageSourceType','clearTimeout','_roomMembers$','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_ASYNCIO_CANCELLED','data','_cursorInfo$','path','_themeService','pipe','length','engine','releaseFormulaLimitUrl','restore','_initEntityListener','_getSessionTicket','getUnit','UNIVER_SHEET','UniverInstanceType','_maxFormulaLimit','arc','formula.calculation.unable','_drawAnchor','_eventUnsubscribe','init','dispose$','DocSkeletonManagerService','UniverCollaborationClientUIPlugin','_ensureSubject','_collabCursorState$','Tooltip','unit','on-line-icon','1em','registerBeforeClose','isFormulaId','send','TEXT_RANGE_LAYER_INDEX','USER_NOT_INVITED_CODE','@univerjs/engine-formula','_getScale','SetSelectionsOperation','exhaustSavingTask','transformSelections','_scene','NOT_COLLAB','LOGIN_TOKEN_PROCESSING_FAILED','UniverRpc','isEditing','_checkCalculationAvailable','USERS_LEAVE','YUUMI_NO_CUBOID_FOR_QUESTION','exports','_docTransformStateCacheService','startFormulaLimitUrl','IConfigService','fill','MOBILE_HAS_BEEN_BOUND','_labelPosition','_onCursorUpdate','bottom','_hover','save','getRenderById','some','max','override','40UmVIez','hovered','updateOfflineData','ENTITLE_CHAT_LIMIT_EXCEED','handleInsertCol','Error','size','JOIN_ROOM_FAILED','_range','off-line-icon_clip0_910_343','getCurrentRevOfUnit','YUUMI_RATE_OVER_LIMIT','ERROR_AGAIN','DocCollaborationEntity','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','UPDATE_CURSOR','registerRefRange','flatMap','ONLINE','_getSaveTimeout','debounce','getUnhiddenWorksheets','COMPLETION_FINISHED','Unknown\x20user','_updateSubUnitFromURLParams','toString','parseInt','startColumn','onCommandExecuted','row','dispose','DocIMEInputManagerService','subUnitId','clipPath','Loading','BehaviorSubject','UNRECOGNIZED','_cursor','eventID','Failed','_anchorDot','IImageIoService','removeParam','assign','UniverDrawing','extend','_injector','collabStatus.synced','handleInsertRangeMoveRight','div','setConfig','_colorIndex','_startDocCollabCursor','_scheduleClearOtherTimer','AWAITING_WITH_PENDING','SheetSkeletonManagerService','mergeOverrideWithDependencies','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subunit','startRow','IRenderManagerService','_scheduleSaving','addClipboardHook','rxjs','DesktopCollaborationStatusDisplayController','createIdentifier','handleDeleteRangeMoveLeft','_messageService','APPLY_DUPLICATED','params','unshift','currentTheme$','addEventListener','SetWorksheetActivateCommand','OTHER_CLIENT_EDITING','InsertRowCommandId','name','generateRandomId','RxDisposable','call','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','/run/','addHandlerCallback','selections','_initResize','white','prototype','none','_collabCursorController','_init','_sheetSkeletonManagerService','_drawRectRange','isTransformMutationFailure','fillText','M0\x200H16V16H0z','_color','2917848gNzQfx','useDependency','executionId','registerComponent','_memberService','SNAPSHOT_INVALID_SNAPSHOT','defineProperty','getLocalCacheKey','_document','_removeClearOtherTimer','cursorInfo$','blue.400','m1Prime','skeleton','isFormulaString','CURRENT_STATUS_CANNOT_OPERATE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','stringify','INVITE_CODE_REQUIRED','syncEditingCollabCursor','pluginName','_saveTaskMap','_getSheetObject','LOCAL_CACHE_INTERVAL_KEY','disposeUnit','_urlService','_cursorShapes','getDocRanges','collab-text-range-','push','invokeId','WebURLService','CONNECTOR_DATA_TOO_LARGE','_updateLocalCursor','_getFormulaLimitStatus','_initDependencies','#FFF','RECT','_setFormulaLimitStatus','CONFLICT','pushState','filter','_updateCollabCursors','column','getActiveSheet','PERMISSION_DENIED','replaceState','CollaborationUIEventId','triggerDblclick','idSuffix','getCollabEntity$','fromEvent','_colorAssignService','key','getViewport','on-line-icon_clip0_910_349','VIEW_MAIN','transformIMECache','@univerjs/engine-render','debug','_render','delete','subscribeEvent','onLocalMutation','shift','setInterval','getOffsetConfig','getValue','IBeforeCloseService','getMemberID','mapTo','_transformUndoRedoStack','REDEMPTION_INVALID_CODE','collab-text-anchor-','getSheetId','START_CALCULATION','backgroundColor','loadOfflineData','@univerjs/docs','_checkAndWaitForCalculationPermission','getCoordByCell','_initStatusComponent','@univerjs/sheets-ui','_renderManagerService','@univerjs/drawing','_startCalculationLimit','Shape','_doCreateSocket','_initEvent','sheetId','from','INVITE_CODE_HAS_BEEN_UES','_onRefRangeChange','[CollaborationDataLoaderController]','activeSheet$','getCurrent','ColorKit','runRefRangeMutations','_status$','jsxs','function','className','_docTransformSelectionsService','defs','_shapes','_imageIoService','clearInterval','useCallback','SHEET_VIEWPORT_KEY','_docClipboardService','HEADER_MENU','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/docs-ui','icon','Warning','history','_univerInstanceService','CollaborationController','Rect','_lastResponseTimestamp','IUIPartsService','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleHeartbeat','whenReady','UniverDesign','disposeWithMe','focused$','Success','onRendered','createInstance','_entityInit$','editingUnit','APPLY_REJECT','getCellMatrix','910462pWbaJj','_initStatusListener','PAYMENT_CHANNEL_NOT_SUPPORT','onPointerLeave$','hide','LICENSE_DISTRO_REJECTED','REDEMPTION_USER_NOT_ELIGIBLE','UnitStatus','SYNCED','saveOfflineData','_lastPointer','NodePositionConvertToCursor','_handleHeartbeatEvent','_entities','Disposable','addObjects','tag','color','...','limitInfo','isActive','ACTIVE_UNIT_EVENT_CHANNEL','UniverDocs','selection','addObject','getFocusedUnit','wsSessionTicketUrl','beginPath','formula.calculation.started','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','error','CLOSE_ROOM','_logService','rgba(255,\x20255,\x20255,\x200.01)','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getRangePointData','replace','UNAUTHENTICATED','MOBILE_VERIFY_CODE_MISMATCH','transformRemoteChangeset','APPLY_REVISION_CONFILICT','CollaborationSessionService','SUBMIT_CHANGESET_TIMEOUT','_instanceService','split','asObservable','combineLatest','SheetCollabCursorShape','concat','event$','getColorFromTheme','all','YUUMI_ALL_TABLES_IS_INVALID','REDEMPTION_CODE_NOT_STARTED','_registerDependencies','getStateCache','React','EMAIL_HAS_BEEN_BOUND','Rectangle','search','getMember','LOGIN_FAILED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','createElement','UNIVER_DOC','_notificationService','result','getItem','runId','MessageType','INotificationService','_revisionService','urlChange$','doc.mutation.rich-text-editing','touchDependencies','getformulaLimitStatusUrl','WebSocketService','IUniverInstanceService','propertyIsEnumerable','/universer-api/license/formula/limit/done','REDEMPTION_CODE_INACTIVE','range','_setupBeforeClosingHandler','body','_applyCommand','_showGuardMessage','hasOwnProperty','ENTITLE_CAN_NOT_BUY_LOWER_OTP','set','setParam','unsubscribe','collabStatus.conflict','getTypeOfUnitAdded$','INVALID_ARGUMENT','createSocket','_cachedData','takeUntil','_commandService','react/jsx-runtime','_currentUsage','currentSkeleton$','@univerjs-pro/collaboration-client','saveImage','xlink:href','useRef','LOCAL_CACHE_INTERVAL','ITransformService','onPointerEnter$','string','WebBrowserSingleActiveUnitService','_createSocketURL','onTransformChange$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','EffectRefRangId','getMergeData','_config','location','mask','getCurrentUnitForType','Vector2','getActiveRange','undoState','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getMergeRange','getUnitStatus$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','find','_releaseCalculationLimit','unitID','COLORS','storage','DocSelectionManagerService','subscribe','600187zhPfpN','UniverProCollaboration','getSkeleton','forEach','_saveCache','random','stageInfo','top','makeDirty','INVITE_CODE_ALREADY_BOUND','@univerjs/design','@univerjs/sheets','FETCH_MISS','width','FormulaExecutedStateType','connectInjector','_updateURLWithCurrentState','setActiveRange','ENTITLE_DUP_SUBSCRIPTION','redoState','_backgroundColor','toStringTag','children','_docStateChangeManagerService','url(#$1','source','_clearOtherTimers','APPLY_NON_SEQUENTIAL_REVISION','_disabled'];_0x32c6=function(){return _0x103874;};return _0x32c6();}