@univerjs-pro/collaboration-client-ui 0.10.7-nightly.202509130618 → 0.10.7-nightly.202509130703

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(_0x3d8e92,_0x17a13c){const _0x3f2150=_0x106e,_0x2102af=_0x3d8e92();while(!![]){try{const _0x2ef8fc=-parseInt(_0x3f2150(0x27d))/0x1+-parseInt(_0x3f2150(0x3cb))/0x2*(parseInt(_0x3f2150(0x13d))/0x3)+parseInt(_0x3f2150(0x2a2))/0x4*(parseInt(_0x3f2150(0x392))/0x5)+parseInt(_0x3f2150(0x39d))/0x6*(parseInt(_0x3f2150(0x37d))/0x7)+-parseInt(_0x3f2150(0x154))/0x8+parseInt(_0x3f2150(0x2c2))/0x9*(parseInt(_0x3f2150(0x33e))/0xa)+parseInt(_0x3f2150(0x381))/0xb*(-parseInt(_0x3f2150(0x2a9))/0xc);if(_0x2ef8fc===_0x17a13c)break;else _0x2102af['push'](_0x2102af['shift']());}catch(_0x4ad100){_0x2102af['push'](_0x2102af['shift']());}}}(_0x11b5,0xc3ea2),function(_0x51cd83,_0x1bb64d){const _0x1c7027=_0x106e;typeof exports=='object'&&typeof module<'u'?_0x1bb64d(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==_0x1c7027(0x263)&&define[_0x1c7027(0x2dd)]?define([_0x1c7027(0x1e4),'react/jsx-runtime',_0x1c7027(0x14f),_0x1c7027(0x1e5),'@univerjs/ui',_0x1c7027(0x32a),'@univerjs/design',_0x1c7027(0x348),'@univerjs/rpc',_0x1c7027(0x1a7),'@univerjs/engine-render',_0x1c7027(0x146),_0x1c7027(0x395),'@univerjs/drawing',_0x1c7027(0x2e0),'@univerjs/docs',_0x1c7027(0x28e),_0x1c7027(0x225),_0x1c7027(0x2c8)],_0x1bb64d):(_0x51cd83=typeof globalThis<'u'?globalThis:_0x51cd83||self,_0x1bb64d(_0x51cd83['UniverProCollaborationClientUi']={},_0x51cd83[_0x1c7027(0x229)],_0x51cd83[_0x1c7027(0x3a5)],_0x51cd83['UniverCore'],_0x51cd83[_0x1c7027(0x189)],_0x51cd83[_0x1c7027(0x32a)],_0x51cd83[_0x1c7027(0x302)],_0x51cd83[_0x1c7027(0x229)],_0x51cd83[_0x1c7027(0x1d7)],_0x51cd83[_0x1c7027(0x355)],_0x51cd83['UniverEngineRender'],_0x51cd83[_0x1c7027(0x1cf)],_0x51cd83['UniverDocsUi'],_0x51cd83[_0x1c7027(0x35c)],_0x51cd83[_0x1c7027(0x3b9)],_0x51cd83[_0x1c7027(0x252)],_0x51cd83[_0x1c7027(0x2c9)],_0x51cd83['rxjs'][_0x1c7027(0x2c0)],_0x51cd83['UniverSheetsUi']));}(this,function(_0x32312a,_0x16b037,_0x367c63,_0x58f6c8,_0x570ef0,_0x1578c2,_0x2023b2,_0x34d825,_0x5a1fe7,_0x606422,_0x41c725,_0x53e9e6,_0x21c652,_0x320ecf,_0x44e0d0,_0x4cf100,_0xae4619,_0x6ea371,_0x578b8a){'use strict';const _0x191796=_0x106e;var _0x4bd2f7=Object[_0x191796(0x31d)],_0x45289e=(_0x3cbddc,_0x1d6074,_0x569da2)=>_0x1d6074 in _0x3cbddc?_0x4bd2f7(_0x3cbddc,_0x1d6074,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x569da2}):_0x3cbddc[_0x1d6074]=_0x569da2,_0x27b740=(_0xbd89b5,_0x234ae6,_0x278221)=>_0x45289e(_0xbd89b5,typeof _0x234ae6!=_0x191796(0x235)?_0x234ae6+'':_0x234ae6,_0x278221),_0x214ed0=function(){const _0x5db894=_0x191796;return _0x214ed0=Object['assign']||function(_0x32f921){const _0x560e7a=_0x106e;for(var _0x33cf8f,_0x74e2a9=0x1,_0x526479=arguments[_0x560e7a(0x262)];_0x74e2a9<_0x526479;_0x74e2a9++){_0x33cf8f=arguments[_0x74e2a9];for(var _0x6ed364 in _0x33cf8f)Object[_0x560e7a(0x274)][_0x560e7a(0x320)][_0x560e7a(0x15b)](_0x33cf8f,_0x6ed364)&&(_0x32f921[_0x6ed364]=_0x33cf8f[_0x6ed364]);}return _0x32f921;},_0x214ed0[_0x5db894(0x3cc)](this,arguments);},_0x4332ec=function(_0x1d8f73,_0x432db1){const _0x3d7fd2=_0x191796;var _0x568596={};for(var _0x44f702 in _0x1d8f73)Object[_0x3d7fd2(0x274)][_0x3d7fd2(0x320)][_0x3d7fd2(0x15b)](_0x1d8f73,_0x44f702)&&_0x432db1['indexOf'](_0x44f702)<0x0&&(_0x568596[_0x44f702]=_0x1d8f73[_0x44f702]);if(_0x1d8f73!=null&&typeof Object[_0x3d7fd2(0x35a)]==_0x3d7fd2(0x263)){for(var _0xd987d2=0x0,_0x44f702=Object[_0x3d7fd2(0x35a)](_0x1d8f73);_0xd987d2<_0x44f702[_0x3d7fd2(0x262)];_0xd987d2++)_0x432db1[_0x3d7fd2(0x236)](_0x44f702[_0xd987d2])<0x0&&Object['prototype'][_0x3d7fd2(0x20e)][_0x3d7fd2(0x15b)](_0x1d8f73,_0x44f702[_0xd987d2])&&(_0x568596[_0x44f702[_0xd987d2]]=_0x1d8f73[_0x44f702[_0xd987d2]]);}return _0x568596;},_0x35c402=_0x34d825[_0x191796(0x2f5)](function(_0x38b8ad,_0x159f70){const _0x3c0584=_0x191796;var _0x3250c0=_0x38b8ad[_0x3c0584(0x294)],_0x2f7893=_0x38b8ad['id'],_0x277d74=_0x38b8ad[_0x3c0584(0x167)],_0x4230d4=_0x38b8ad[_0x3c0584(0x2be)],_0x50a39a=_0x4332ec(_0x38b8ad,[_0x3c0584(0x294),'id','className',_0x3c0584(0x2be)]),_0x295174=_0x3c0584(0x33a)[_0x3c0584(0x1f6)](_0x2f7893,'\x20')[_0x3c0584(0x1f6)](_0x277d74||'')[_0x3c0584(0x1b2)](),_0x4bbbe8=_0x34d825[_0x3c0584(0x141)]('_'['concat'](_0x4ca8e8()));return _0x1ad75f(_0x3250c0,''[_0x3c0584(0x1f6)](_0x2f7893),{'defIds':_0x3250c0[_0x3c0584(0x178)],'idSuffix':_0x4bbbe8[_0x3c0584(0x2fc)]},_0x214ed0({'ref':_0x159f70,'className':_0x295174},_0x50a39a),_0x4230d4);});function _0x1ad75f(_0x330edf,_0x2b39d8,_0x54c6fd,_0x40f132,_0x2af477){const _0x332513=_0x191796;return _0x34d825[_0x332513(0x300)](_0x330edf[_0x332513(0x285)],_0x214ed0(_0x214ed0({'key':_0x2b39d8},_0x2e6447(_0x330edf,_0x54c6fd,_0x2af477)),_0x40f132),(_0x4f73c9(_0x330edf,_0x54c6fd)[_0x332513(0x237)]||[])[_0x332513(0x286)](function(_0x444468,_0x40783b){const _0x342897=_0x332513;return _0x1ad75f(_0x444468,''[_0x342897(0x1f6)](_0x2b39d8,'-')[_0x342897(0x1f6)](_0x330edf['tag'],'-')['concat'](_0x40783b),_0x54c6fd,void 0x0,_0x2af477);}));}function _0x2e6447(_0x31db9a,_0x4659e0,_0x56191d){const _0x22f949=_0x191796;var _0x4ca040=_0x214ed0({},_0x31db9a['attrs']);_0x56191d!=null&&_0x56191d[_0x22f949(0x39a)]&&_0x4ca040[_0x22f949(0x2e8)]===_0x22f949(0x39a)&&(_0x4ca040[_0x22f949(0x2e8)]=_0x56191d[_0x22f949(0x39a)]),_0x31db9a[_0x22f949(0x285)]===_0x22f949(0x140)&&_0x4ca040['id']&&(_0x4ca040['id']=_0x4ca040['id']+_0x4659e0[_0x22f949(0x1b0)]),Object[_0x22f949(0x27c)](_0x4ca040)['forEach'](function(_0xf91e3e){const _0x249d18=_0x22f949;var _0x5b4ac7=_0xf91e3e[0x0],_0xe6a7b0=_0xf91e3e[0x1];_0x5b4ac7===_0x249d18(0x140)&&typeof _0xe6a7b0==_0x249d18(0x28f)&&(_0x4ca040[_0x5b4ac7]=_0xe6a7b0[_0x249d18(0x1ba)](/url\(#(.*)\)/,_0x249d18(0x37f)[_0x249d18(0x1f6)](_0x4659e0['idSuffix'],')')));});var _0x2f27c4=_0x4659e0['defIds'];return!_0x2f27c4||_0x2f27c4[_0x22f949(0x262)]===0x0||(_0x31db9a[_0x22f949(0x285)]==='use'&&_0x4ca040['xlink:href']&&(_0x4ca040[_0x22f949(0x2c7)]=_0x4ca040['xlink:href']+_0x4659e0['idSuffix']),Object['entries'](_0x4ca040)[_0x22f949(0x238)](function(_0x29aea0){const _0x422099=_0x22f949;var _0x44d4e0=_0x29aea0[0x0],_0x6353c3=_0x29aea0[0x1];typeof _0x6353c3==_0x422099(0x28f)&&(_0x4ca040[_0x44d4e0]=_0x6353c3[_0x422099(0x1ba)](/url\(#(.*)\)/,_0x422099(0x37f)[_0x422099(0x1f6)](_0x4659e0[_0x422099(0x1b0)],')')));})),_0x4ca040;}function _0x4f73c9(_0x203fd2,_0x32974b){const _0x3efde4=_0x191796;var _0x28f756,_0x5a9f15=_0x32974b['defIds'];return!_0x5a9f15||_0x5a9f15[_0x3efde4(0x262)]===0x0?_0x203fd2:_0x203fd2[_0x3efde4(0x285)]==='defs'&&(!((_0x28f756=_0x203fd2['children'])===null||_0x28f756===void 0x0)&&_0x28f756[_0x3efde4(0x262)])?_0x214ed0(_0x214ed0({},_0x203fd2),{'children':_0x203fd2[_0x3efde4(0x237)][_0x3efde4(0x286)](function(_0x4f10ae){const _0x19cab2=_0x3efde4;return typeof _0x4f10ae['attrs']['id']==_0x19cab2(0x28f)&&_0x5a9f15&&_0x5a9f15[_0x19cab2(0x193)](_0x4f10ae[_0x19cab2(0x35e)]['id'])?_0x214ed0(_0x214ed0({},_0x4f10ae),{'attrs':_0x214ed0(_0x214ed0({},_0x4f10ae[_0x19cab2(0x35e)]),{'id':_0x4f10ae[_0x19cab2(0x35e)]['id']+_0x32974b[_0x19cab2(0x1b0)]})}):_0x4f10ae;})}):_0x203fd2;}function _0x4ca8e8(){const _0x4eac67=_0x191796;return Math[_0x4eac67(0x279)]()['toString'](0x24)[_0x4eac67(0x214)](0x2,0x8);}_0x35c402[_0x191796(0x1e9)]=_0x191796(0x35d);var _0x193bff={'tag':_0x191796(0x3b8),'attrs':{'xmlns':_0x191796(0x345),'fill':'none','viewBox':_0x191796(0x171),'width':'1em','height':_0x191796(0x163)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x191796(0x194),'attrs':{'stroke':_0x191796(0x188),'d':_0x191796(0x3a3),'strokeLinecap':_0x191796(0x149),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x191796(0x1d4),'attrs':{'id':_0x191796(0x399)},'children':[{'tag':_0x191796(0x194),'attrs':{'fill':'white','d':_0x191796(0x346)}}]}]}],'defIds':[_0x191796(0x399)]},_0x433177=_0x34d825[_0x191796(0x2f5)](function(_0xb86d4d,_0x22f7ec){const _0x26c9ca=_0x191796;return _0x34d825[_0x26c9ca(0x300)](_0x35c402,Object['assign']({},_0xb86d4d,{'id':'off-line-icon','ref':_0x22f7ec,'icon':_0x193bff}));});_0x433177['displayName']=_0x191796(0x2bb);var _0x2318c0={'tag':'svg','attrs':{'xmlns':_0x191796(0x345),'fill':_0x191796(0x1e0),'viewBox':_0x191796(0x24d),'width':_0x191796(0x163),'height':_0x191796(0x163)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x191796(0x194),'attrs':{'stroke':_0x191796(0x188),'d':_0x191796(0x17c),'strokeLinecap':_0x191796(0x149),'strokeLinejoin':_0x191796(0x149),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x191796(0x2fd)},'children':[{'tag':_0x191796(0x194),'attrs':{'fill':_0x191796(0x166),'d':_0x191796(0x346),'transform':_0x191796(0x2df)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x32ad4a=_0x34d825[_0x191796(0x2f5)](function(_0x2488a4,_0xccde14){const _0x239b8c=_0x191796;return _0x34d825['createElement'](_0x35c402,Object['assign']({},_0x2488a4,{'id':_0x239b8c(0x1d2),'ref':_0xccde14,'icon':_0x2318c0}));});_0x32ad4a['displayName']=_0x191796(0x3d3);function _0x6b8020(_0x284cb8){const _0x1a5f3f=_0x191796;switch(_0x284cb8){case _0x367c63[_0x1a5f3f(0x3c6)][_0x1a5f3f(0x391)]:return _0x1a5f3f(0x17e);case _0x367c63['CollaborationStatus'][_0x1a5f3f(0x23e)]:return _0x1a5f3f(0x153);case _0x367c63[_0x1a5f3f(0x3c6)][_0x1a5f3f(0x209)]:return'collabStatus.fetchMiss';case _0x367c63['CollaborationStatus'][_0x1a5f3f(0x245)]:return _0x1a5f3f(0x15c);case _0x367c63[_0x1a5f3f(0x3c6)][_0x1a5f3f(0x1e2)]:case _0x367c63[_0x1a5f3f(0x3c6)][_0x1a5f3f(0x366)]:return'collabStatus.syncing';case _0x367c63['CollaborationStatus'][_0x1a5f3f(0x3d2)]:case _0x367c63[_0x1a5f3f(0x3c6)][_0x1a5f3f(0x2cd)]:return _0x1a5f3f(0x3cf);}}function _0x3a723a(_0x597299){const _0x48ab0c=_0x191796,{status$:_0x245d7c}=_0x597299,_0x224969=_0x570ef0[_0x48ab0c(0x17f)](_0x245d7c,_0x367c63[_0x48ab0c(0x3c6)][_0x48ab0c(0x245)]),_0x4fedc7=_0x570ef0[_0x48ab0c(0x246)](_0x58f6c8['LocaleService']),_0x1f5e14=_0x570ef0[_0x48ab0c(0x246)](_0x367c63[_0x48ab0c(0x303)]),_0x4367f2=_0x224969!==_0x367c63[_0x48ab0c(0x3c6)][_0x48ab0c(0x391)],_0x5ac932=_0x4fedc7['t'](_0x6b8020(_0x224969)),_0x505f7f=_0x4367f2?_0x16b037[_0x48ab0c(0x265)](_0x32ad4a,{}):_0x16b037[_0x48ab0c(0x265)](_0x433177,{}),_0x5b26af=_0x34d825[_0x48ab0c(0x382)](()=>{const _0xa47786=_0x48ab0c;_0x4367f2||_0x1f5e14[_0xa47786(0x34b)]();},[_0x4367f2,_0x1f5e14]);function _0x5b0fc8(){const _0x12d6ee=_0x48ab0c;return _0x16b037[_0x12d6ee(0x307)](_0x12d6ee(0x329),{'className':_0x12d6ee(0x24a),'onClick':_0x5b26af,'children':[_0x16b037['jsx'](_0x12d6ee(0x329),{'className':_0x2023b2[_0x12d6ee(0x37c)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4367f2,'univer-text-red-500':!_0x4367f2}),'children':_0x505f7f}),_0x16b037[_0x12d6ee(0x265)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5ac932})]});}return _0x4367f2?_0x5b0fc8():_0x16b037[_0x48ab0c(0x265)](_0x2023b2[_0x48ab0c(0x3af)],{'title':_0x4fedc7['t'](_0x48ab0c(0x297)),'children':_0x5b0fc8()});}var _0x29653a=Object[_0x191796(0x1e8)],_0x291a3a=(_0x43c68f,_0x51cb67,_0xee70ad,_0x410fc8)=>{const _0x4a9c34=_0x191796;for(var _0x3b28a0=_0x410fc8>0x1?void 0x0:_0x410fc8?_0x29653a(_0x51cb67,_0xee70ad):_0x51cb67,_0x48a377=_0x43c68f[_0x4a9c34(0x262)]-0x1,_0x34ef4c;_0x48a377>=0x0;_0x48a377--)(_0x34ef4c=_0x43c68f[_0x48a377])&&(_0x3b28a0=_0x34ef4c(_0x3b28a0)||_0x3b28a0);return _0x3b28a0;},_0x1b1f47=(_0x35613b,_0x256663)=>(_0x244c60,_0x461c5f)=>_0x256663(_0x244c60,_0x461c5f,_0x35613b);_0x32312a['DesktopCollaborationStatusDisplayController']=class extends _0x58f6c8[_0x191796(0x384)]{constructor(_0x1211cc,_0x49f991,_0x58c5b0,_0x11f61f){const _0x3fa0d3=_0x191796;super(),_0x27b740(this,_0x3fa0d3(0x3a8),new _0x1578c2[(_0x3fa0d3(0x204))](_0x367c63[_0x3fa0d3(0x3c6)]['NOT_COLLAB'])),(this[_0x3fa0d3(0x18a)]=_0x1211cc,this['_injector']=_0x49f991,this['_collaborationController']=_0x58c5b0,this[_0x3fa0d3(0x1a8)]=_0x11f61f,this['_initStatusComponent'](),this[_0x3fa0d3(0x2d0)]());}[_0x191796(0x2d0)](){const _0x1bb258=_0x191796;this[_0x1bb258(0x1dc)](this['_univerInstanceService'][_0x1bb258(0x1a4)][_0x1bb258(0x31a)](_0x1578c2[_0x1bb258(0x1ac)](()=>{const _0x6a6631=_0x1bb258,_0x3935fd=this[_0x6a6631(0x18a)][_0x6a6631(0x2fa)]();return _0x3935fd?this['_collaborationController'][_0x6a6631(0x2eb)](_0x3935fd[_0x6a6631(0x1c5)]()):_0x1578c2['of'](null);}),_0x1578c2[_0x1bb258(0x1ac)](_0x8a593f=>_0x8a593f?_0x8a593f[_0x1bb258(0x34f)]:_0x1578c2['of'](_0x367c63['CollaborationStatus'][_0x1bb258(0x245)])))[_0x1bb258(0x2a4)](_0x2462cc=>{const _0xdcd1e8=_0x1bb258;this[_0xdcd1e8(0x3a8)]['next'](_0x2462cc);}));}[_0x191796(0x3ae)](){const _0x590f01=_0x191796;this[_0x590f01(0x1dc)](this[_0x590f01(0x1a8)][_0x590f01(0x3b0)](_0x570ef0[_0x590f01(0x3cd)]['HEADER_MENU'],()=>_0x570ef0[_0x590f01(0x325)](_0xf3fddd({'status$':this[_0x590f01(0x3a8)][_0x590f01(0x374)]()}),this[_0x590f01(0x3d4)])));}},_0x32312a[_0x191796(0x33c)]=_0x291a3a([_0x1b1f47(0x0,_0x58f6c8[_0x191796(0x1bc)]),_0x1b1f47(0x1,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x1cb)])),_0x1b1f47(0x2,_0x58f6c8[_0x191796(0x330)](_0x367c63[_0x191796(0x2b9)])),_0x1b1f47(0x3,_0x570ef0[_0x191796(0x1bf)])],_0x32312a[_0x191796(0x33c)]);function _0xf3fddd(_0x14c54c){const {status$:_0x16e145}=_0x14c54c;return function(){const _0x2186e5=_0x106e;return _0x16b037[_0x2186e5(0x265)](_0x3a723a,{'status$':_0x16e145});};}const _0x68c4f9=_0x58f6c8[_0x191796(0x25e)](_0x191796(0x243));var _0x93e340=Object[_0x191796(0x1e8)],_0x68d238=(_0x521c14,_0x106493,_0x48fe69,_0x2c4639)=>{const _0x4f8e99=_0x191796;for(var _0x487811=_0x2c4639>0x1?void 0x0:_0x2c4639?_0x93e340(_0x106493,_0x48fe69):_0x106493,_0x5a0839=_0x521c14[_0x4f8e99(0x262)]-0x1,_0x362e73;_0x5a0839>=0x0;_0x5a0839--)(_0x362e73=_0x521c14[_0x5a0839])&&(_0x487811=_0x362e73(_0x487811)||_0x487811);return _0x487811;},_0x16c111=(_0x14b2b3,_0x51c2fb)=>(_0x816c3,_0x369d06)=>_0x51c2fb(_0x816c3,_0x369d06,_0x14b2b3);_0x32312a[_0x191796(0x183)]=class extends _0x58f6c8[_0x191796(0x1dd)]{constructor(_0x3b2ac0,_0x25bad3,_0x8e1669,_0x5e5923,_0x237fbd){const _0x57971c=_0x191796;super(),this[_0x57971c(0x36b)]=_0x3b2ac0,this[_0x57971c(0x311)]=_0x25bad3,this[_0x57971c(0x172)]=_0x8e1669,this[_0x57971c(0x143)]=_0x5e5923,_0x237fbd?_0x237fbd==null||_0x237fbd['whenReady']()[_0x57971c(0x3bc)](()=>this['_init']()):(this['_logService'][_0x57971c(0x26e)](_0x57971c(0x3a7),_0x57971c(0x1eb)),this[_0x57971c(0x254)]());}async[_0x191796(0x254)](){const _0x4d6664=_0x191796,_0x323803=this[_0x4d6664(0x36b)][_0x4d6664(0x3b5)](_0x4d6664(0x29d)),_0x2ad7cd=this[_0x4d6664(0x36b)][_0x4d6664(0x3b5)](_0x4d6664(0x199)),_0x3fea85=this['_urlService']['getParam']('subunit');if(!_0x323803||!_0x2ad7cd){this[_0x4d6664(0x311)][_0x4d6664(0x26e)]('[CollaborationDataLoaderController]',_0x4d6664(0x2b6));return;}const _0x3187e8=await this['_dataLoaderService']['loadUnit'](_0x323803,Number(_0x2ad7cd),_0x3fea85);_0x3187e8&&_0x3187e8 instanceof _0x58f6c8[_0x4d6664(0x1f2)]&&this['_setupSubUnitSync'](_0x3187e8);}async[_0x191796(0x22b)](_0x48d4ad){const _0x269c4e=_0x191796;await this[_0x269c4e(0x28a)](_0x48d4ad),_0x48d4ad[_0x269c4e(0x25d)]['pipe'](_0x1578c2[_0x269c4e(0x1b3)](this['dispose$']))[_0x269c4e(0x2a4)](_0x1420fb=>{const _0x8e5a30=_0x269c4e;_0x1420fb&&this[_0x8e5a30(0x38b)](_0x1420fb);}),this[_0x269c4e(0x36b)]['urlChange$'][_0x269c4e(0x31a)](_0x1578c2[_0x269c4e(0x1b3)](this[_0x269c4e(0x2da)]))['subscribe'](()=>this[_0x269c4e(0x28a)](_0x48d4ad));}[_0x191796(0x38b)](_0x216192,_0x5253aa=!0x1){const _0xc6f7b0=_0x191796,_0x13566f=this[_0xc6f7b0(0x36b)]['getParam'](_0xc6f7b0(0x1b5));_0x216192['getSheetId']()!==_0x13566f&&this['_urlService'][_0xc6f7b0(0x323)](_0xc6f7b0(0x1b5),_0x216192[_0xc6f7b0(0x23d)](),_0x5253aa);}async[_0x191796(0x28a)](_0x359cd1){const _0x331dd3=_0x191796;var _0x2a4959;const _0x147328=this['_urlService'][_0x331dd3(0x3b5)](_0x331dd3(0x1b5));if(!_0x147328||!_0x359cd1[_0x331dd3(0x247)](_0x147328)){const _0x2581e3=_0x359cd1[_0x331dd3(0x21b)]()[0x0],_0x7ffb2e=_0x359cd1[_0x331dd3(0x247)](_0x2581e3);if(!_0x7ffb2e)return;this[_0x331dd3(0x38b)](_0x7ffb2e,!0x0),await this[_0x331dd3(0x172)]['executeCommand'](_0x606422[_0x331dd3(0x24e)]['id'],{'unitId':_0x359cd1[_0x331dd3(0x1c5)](),'subUnitId':_0x2581e3});return;}((_0x2a4959=_0x359cd1[_0x331dd3(0x357)]())==null?void 0x0:_0x2a4959[_0x331dd3(0x23d)]())!==_0x147328&&await this[_0x331dd3(0x172)][_0x331dd3(0x38a)](_0x606422['SetWorksheetActivateCommand']['id'],{'unitId':_0x359cd1[_0x331dd3(0x1c5)](),'subUnitId':_0x147328});}},_0x32312a[_0x191796(0x183)]=_0x68d238([_0x16c111(0x0,_0x68c4f9),_0x16c111(0x1,_0x58f6c8[_0x191796(0x21c)]),_0x16c111(0x2,_0x58f6c8[_0x191796(0x1a1)]),_0x16c111(0x3,_0x58f6c8[_0x191796(0x330)](_0x367c63[_0x191796(0x2d8)])),_0x16c111(0x4,_0x58f6c8[_0x191796(0x2f3)](_0x5a1fe7[_0x191796(0x30b)]))],_0x32312a[_0x191796(0x183)]);var _0x2547c4=Object[_0x191796(0x1e8)],_0x57c79c=(_0x323c03,_0x1be6ab,_0x434800,_0x1adb44)=>{const _0x49e079=_0x191796;for(var _0x4115e1=_0x1adb44>0x1?void 0x0:_0x1adb44?_0x2547c4(_0x1be6ab,_0x434800):_0x1be6ab,_0x5788c=_0x323c03[_0x49e079(0x262)]-0x1,_0x4b4cf3;_0x5788c>=0x0;_0x5788c--)(_0x4b4cf3=_0x323c03[_0x5788c])&&(_0x4115e1=_0x4b4cf3(_0x4115e1)||_0x4115e1);return _0x4115e1;},_0x4cb7e3=(_0x3f472e,_0x931da)=>(_0x2a2477,_0x9456d9)=>_0x931da(_0x2a2477,_0x9456d9,_0x3f472e);let _0x5a2fa8=class extends _0x58f6c8['RxDisposable']{constructor(_0x3cc118,_0x20031b){const _0x2a347a=_0x191796;super(),this[_0x2a347a(0x394)]=_0x3cc118,this[_0x2a347a(0x20f)]=_0x20031b,this['_init']();}[_0x191796(0x254)](){const _0x1f961d=_0x191796,_0x325266=this;this[_0x1f961d(0x1dc)](this[_0x1f961d(0x394)][_0x1f961d(0x3b2)]({'onBeforePasteImage':async _0x9410d9=>{const _0x173102=_0x1f961d,_0x1e1f2b=await _0x325266[_0x173102(0x20f)][_0x173102(0x2c3)](_0x9410d9);return _0x1e1f2b?{'source':_0x1e1f2b[_0x173102(0x26f)],'imageSourceType':_0x1e1f2b[_0x173102(0x241)]}:null;}}));}};_0x5a2fa8=_0x57c79c([_0x4cb7e3(0x0,_0x21c652[_0x191796(0x35b)]),_0x4cb7e3(0x1,_0x320ecf['IImageIoService'])],_0x5a2fa8);const _0x41fdb4=[_0x191796(0x313),_0x191796(0x1b6),_0x191796(0x332),'red.300',_0x191796(0x19d),_0x191796(0x390)];class _0x49f086 extends _0x58f6c8[_0x191796(0x384)]{constructor(){const _0x30b124=_0x191796;super(...arguments),_0x27b740(this,_0x30b124(0x14b),new Map()),_0x27b740(this,_0x30b124(0x2b3),0x0);}['assignAColorForMemberID'](_0x348c72){const _0x210af7=_0x191796;if(this[_0x210af7(0x14b)][_0x210af7(0x1f3)](_0x348c72))return this[_0x210af7(0x14b)]['get'](_0x348c72);const _0x545be9=_0x41fdb4[this[_0x210af7(0x2b3)]];return this[_0x210af7(0x2b3)]=(this[_0x210af7(0x2b3)]+0x1)%_0x41fdb4['length'],this[_0x210af7(0x14b)][_0x210af7(0x338)](_0x348c72,_0x545be9),_0x545be9;}}function _0x11eeeb(_0x3e7b8a){const _0x2796c5=_0x191796;let _0x384640='';for(const _0x5c309a of _0x3e7b8a){const {startOffset:_0x3b073b,endOffset:_0x1ca743,isActive:_0x94dafc,rangeType:_0x3ac846,segmentId:_0x5d73fc,segmentPage:_0xb28f}=_0x5c309a;_0x384640[_0x2796c5(0x262)]&&(_0x384640+=','),_0x384640+=_0x3b073b+':'+_0x1ca743+':'+(_0x94dafc?'1':'0')+':'+_0x3ac846+':'+_0x5d73fc+':'+_0xb28f;}return _0x384640;}function _0x2388de(_0x32260e){const _0x3401e0=_0x191796,_0x4c4d09=_0x32260e[_0x3401e0(0x365)](','),_0x4e595d=[];for(const _0x4937ae of _0x4c4d09){const [_0x15553b,_0x375f76,_0x5d5b3e,_0x1060d8,_0x5e421f,_0x426185]=_0x4937ae[_0x3401e0(0x365)](':');_0x4e595d[_0x3401e0(0x1c3)]({'startOffset':Number(_0x15553b),'endOffset':Number(_0x375f76),'collapsed':_0x15553b===_0x375f76,'isActive':_0x5d5b3e==='1','rangeType':_0x1060d8===_0x58f6c8[_0x3401e0(0x16c)][_0x3401e0(0x1ff)]?_0x58f6c8[_0x3401e0(0x16c)][_0x3401e0(0x1ff)]:_0x58f6c8[_0x3401e0(0x16c)][_0x3401e0(0x1a2)],'segmentId':typeof _0x5e421f==_0x3401e0(0x28f)?String(_0x5e421f):'','segmentPage':Number(_0x426185!=null?_0x426185:-0x1)});}return _0x4e595d['some'](_0x693731=>_0x693731['isActive'])||(_0x4e595d[0x0][_0x3401e0(0x2c1)]=!0x0),_0x4e595d;}class _0x3ba835 extends _0x58f6c8['RxDisposable']{constructor(){const _0x38ba67=_0x191796;super(...arguments),_0x27b740(this,'_collabCursorState$',new _0x1578c2[(_0x38ba67(0x204))](null)),_0x27b740(this,_0x38ba67(0x3d0),this['_collabCursorState$'][_0x38ba67(0x374)]());}[_0x191796(0x276)](_0x443db3){const _0x24de46=_0x191796,{unitID:_0xe93911,memberID:_0x1238d1,textRanges:_0x5913b7}=_0x443db3,_0x4c380a=_0x11eeeb(_0x5913b7);if(_0x4c380a==='')return;const _0x1c18f4={'unitID':_0xe93911,'memberID':_0x1238d1,'selection':_0x4c380a};this['_collabCursorState$'][_0x24de46(0x39b)](_0x1c18f4);}}var _0x488f6d=Object['getOwnPropertyDescriptor'],_0x55a891=(_0x2ba222,_0x4ec2a5,_0x3ba782,_0x22e444)=>{const _0x15fcfd=_0x191796;for(var _0x488ab5=_0x22e444>0x1?void 0x0:_0x22e444?_0x488f6d(_0x4ec2a5,_0x3ba782):_0x4ec2a5,_0x345e68=_0x2ba222[_0x15fcfd(0x262)]-0x1,_0x23a896;_0x345e68>=0x0;_0x345e68--)(_0x23a896=_0x2ba222[_0x345e68])&&(_0x488ab5=_0x23a896(_0x488ab5)||_0x488ab5);return _0x488ab5;},_0x63eea4=(_0xbcef8d,_0x2b672b)=>(_0x46e7d9,_0x56e360)=>_0x2b672b(_0x46e7d9,_0x56e360,_0xbcef8d);const _0x8d6b5c=0x12c,_0x4d47e3=0x64;let _0x3593cc=class extends _0x58f6c8[_0x191796(0x1dd)]{constructor(_0x5262b8,_0x1c5c79,_0x3cca9f,_0xcd5af7,_0x4e680a,_0x4a0831,_0x4e63a9,_0x16529d,_0x25f0e6){const _0x336ea6=_0x191796;super(),_0x27b740(this,_0x336ea6(0x3c3),!0x1),_0x27b740(this,_0x336ea6(0x254),!0x1),_0x27b740(this,'_cursorInfo$',new _0x1578c2[(_0x336ea6(0x204))](new Map())),_0x27b740(this,_0x336ea6(0x2ab),this[_0x336ea6(0x267)][_0x336ea6(0x374)]()),_0x27b740(this,_0x336ea6(0x354),new _0x1578c2[(_0x336ea6(0x204))]([])),_0x27b740(this,'roomMembers$',this['_roomMembers$'][_0x336ea6(0x31a)](_0x1578c2[_0x336ea6(0x1d1)](_0x8d6b5c))),_0x27b740(this,'_updateLocalCursor',_0x58f6c8[_0x336ea6(0x2d4)](_0x2803d8=>{const _0x4f9b84=_0x336ea6,_0x5641f9={'eventID':_0x44e0d0[_0x4f9b84(0x287)][_0x4f9b84(0x1e7)],'data':{'unitID':this[_0x4f9b84(0x26d)],'memberID':this[_0x4f9b84(0x1fe)][_0x4f9b84(0x363)](),'selection':_0x11eeeb(_0x2803d8)}};this[_0x4f9b84(0x1fe)][_0x4f9b84(0x202)](_0x5641f9,this['unitID']);},_0x4d47e3)),(this[_0x336ea6(0x26d)]=_0x5262b8,this[_0x336ea6(0x1fe)]=_0x1c5c79,this[_0x336ea6(0x3d4)]=_0x3cca9f,this[_0x336ea6(0x3b4)]=_0xcd5af7,this[_0x336ea6(0x1af)]=_0x4e680a,this[_0x336ea6(0x2d1)]=_0x4a0831,this[_0x336ea6(0x21e)]=_0x4e63a9,this['_univerInstanceService']=_0x16529d,this['_commandService']=_0x25f0e6);}get[_0x191796(0x232)](){const _0x8b9fb3=_0x191796;return this[_0x8b9fb3(0x267)][_0x8b9fb3(0x3d6)]();}get[_0x191796(0x38c)](){const _0x47d159=_0x191796;return this['_roomMembers$'][_0x47d159(0x3d6)]();}['dispose'](){const _0xa098b4=_0x191796;super[_0xa098b4(0x211)](),this[_0xa098b4(0x267)][_0xa098b4(0x39b)](new Map()),this[_0xa098b4(0x267)][_0xa098b4(0x210)](),this[_0xa098b4(0x354)]['next']([]),this['_roomMembers$'][_0xa098b4(0x210)]();}[_0x191796(0x29e)](){const _0x47cd80=_0x191796;this['_init']||(this[_0x47cd80(0x254)]=!0x0,this['_session']['sessionStatus$'][_0x47cd80(0x31a)](_0x1578c2[_0x47cd80(0x1b3)](this[_0x47cd80(0x2da)]))[_0x47cd80(0x2a4)](_0x2ab230=>{const _0x6c642f=_0x47cd80;_0x2ab230===_0x367c63[_0x6c642f(0x197)][_0x6c642f(0x182)]?this[_0x6c642f(0x180)]():this[_0x6c642f(0x37b)]();}),this[_0x47cd80(0x1fe)][_0x47cd80(0x18e)][_0x47cd80(0x31a)](_0x1578c2[_0x47cd80(0x1b3)](this['dispose$']))[_0x47cd80(0x2a4)](_0x5b63b2=>{const _0x1755e7=_0x47cd80,_0xe3c7c=_0x5b63b2[_0x1755e7(0x1b8)];_0xe3c7c===_0x44e0d0['CollaborationEvent'][_0x1755e7(0x1e7)]&&this[_0x1755e7(0x339)](_0x5b63b2),_0xe3c7c===_0x44e0d0['CollaborationEvent'][_0x1755e7(0x397)]&&this[_0x1755e7(0x181)](_0x5b63b2);}),this[_0x47cd80(0x1dc)](this[_0x47cd80(0x172)][_0x47cd80(0x31c)](_0x3513bb=>{const _0x5d5f44=_0x47cd80,_0x2e33a4=_0x3513bb[_0x5d5f44(0x26c)];_0x2e33a4!=null&&this[_0x5d5f44(0x3c3)]&&_0x3513bb['id']===_0x4cf100['SetTextSelectionsOperation']['id']&&_0x2e33a4['unitId']===this['unitID']&&_0x2e33a4[_0x5d5f44(0x33f)]===!0x1&&_0x2e33a4[_0x5d5f44(0x18b)]['length']>0x0&&this[_0x5d5f44(0x30c)](_0x2e33a4[_0x5d5f44(0x18b)]);})),this[_0x47cd80(0x2d1)]['collabCursorState$'][_0x47cd80(0x31a)](_0x1578c2['takeUntil'](this[_0x47cd80(0x2da)]))[_0x47cd80(0x2a4)](_0x89220a=>{const _0x57e4a9=_0x47cd80;if((_0x89220a==null?void 0x0:_0x89220a[_0x57e4a9(0x26d)])!==this['unitID'])return;const _0x5cfbef={'eventID':_0x44e0d0[_0x57e4a9(0x287)][_0x57e4a9(0x1e7)],'data':_0x89220a};this[_0x57e4a9(0x339)](_0x5cfbef);}),this[_0x47cd80(0x1dc)](this[_0x47cd80(0x172)][_0x47cd80(0x31c)](_0x4d7597=>{const _0x1a223c=_0x47cd80;if(_0x4d7597[_0x1a223c(0x26c)]==null)return;const _0x3ee24c=_0x4d7597[_0x1a223c(0x26c)];if(_0x4d7597['id']!==_0x4cf100[_0x1a223c(0x217)]['id']||_0x3ee24c[_0x1a223c(0x1f4)]!==this['unitID'])return;const _0xf4e064={'id':_0x1a223c(0x13f),'params':_0x3ee24c},_0x49241f=this[_0x1a223c(0x232)];for(const [_0x558fd8,_0x5d4fc1]of _0x49241f){const _0x42f20a={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1a223c(0x26d)],'actions':null,'textRanges':_0x5d4fc1['ranges']}},_0x2b7967=this['_transformService'][_0x1a223c(0x280)](_0xf4e064,_0x42f20a,!0x1);if(_0x44e0d0[_0x1a223c(0x388)](_0x2b7967))throw _0x2b7967[_0x1a223c(0x2a8)];_0x49241f['set'](_0x558fd8,{..._0x5d4fc1,'ranges':_0x2b7967[_0x1a223c(0x1b4)][_0x1a223c(0x26c)][_0x1a223c(0x372)]});}queueMicrotask(()=>{const _0x5d46d7=_0x1a223c;this[_0x5d46d7(0x267)][_0x5d46d7(0x39b)](_0x49241f);});})));}['_onCursorUpdate'](_0x2d6c39){const _0x1fb3e3=_0x191796;var _0x6ff69c,_0xc9ecb0;const {memberID:_0x4e91ba,selection:_0xee0f49}=_0x2d6c39[_0x1fb3e3(0x340)],_0x2b3c5a=_0x2388de(_0xee0f49),_0x5e2c78=(_0xc9ecb0=(_0x6ff69c=this[_0x1fb3e3(0x1af)][_0x1fb3e3(0x3bd)](this[_0x1fb3e3(0x26d)],_0x4e91ba))==null?void 0x0:_0x6ff69c['name'])!=null?_0xc9ecb0:_0x1fb3e3(0x151),_0x3eb301={'color':this[_0x1fb3e3(0x3b4)]['assignAColorForMemberID'](_0x4e91ba),'name':_0x5e2c78,'ranges':_0x2b3c5a},_0x24a322=this[_0x1fb3e3(0x232)];_0x24a322['set'](_0x4e91ba,_0x3eb301),this['_cursorInfo$']['next'](_0x24a322);}[_0x191796(0x181)](_0x1bf7f1){const _0xb7db54=_0x191796,{memberID:_0x2f1a63}=_0x1bf7f1[_0xb7db54(0x340)],_0x5c1b43=this['cursorInfo'];_0x5c1b43[_0xb7db54(0x2b2)](_0x2f1a63),this[_0xb7db54(0x267)][_0xb7db54(0x39b)](_0x5c1b43);}[_0x191796(0x180)](){const _0x4c0450=_0x191796;var _0x3448df;if(this['_online']=!0x0,((_0x3448df=this[_0x4c0450(0x18a)]['getFocusedUnit']())==null?void 0x0:_0x3448df[_0x4c0450(0x1c5)]())!==this[_0x4c0450(0x26d)])return;const _0x3c1efa=this[_0x4c0450(0x3d4)][_0x4c0450(0x364)](_0x4cf100[_0x4c0450(0x191)])[_0x4c0450(0x2d3)]();Array['isArray'](_0x3c1efa)&&_0x3c1efa[_0x4c0450(0x262)]>0x0&&this['_updateLocalCursor'](_0x3c1efa);}['_toggleOffline'](){const _0xdf39bd=_0x191796;this[_0xdf39bd(0x3c3)]=!0x1;}};_0x3593cc=_0x55a891([_0x63eea4(0x2,_0x58f6c8['Inject'](_0x58f6c8[_0x191796(0x1cb)])),_0x63eea4(0x3,_0x58f6c8[_0x191796(0x330)](_0x49f086)),_0x63eea4(0x4,_0x58f6c8[_0x191796(0x330)](_0x367c63[_0x191796(0x349)])),_0x63eea4(0x5,_0x58f6c8[_0x191796(0x330)](_0x3ba835)),_0x63eea4(0x6,_0x44e0d0['ITransformService']),_0x63eea4(0x7,_0x58f6c8[_0x191796(0x1bc)]),_0x63eea4(0x8,_0x58f6c8[_0x191796(0x1a1)])],_0x3593cc);var _0x1c2c52=Object[_0x191796(0x1e8)],_0x444966=(_0x1ecebe,_0x21c1e6,_0xe882f3,_0x2f7bf0)=>{const _0xbe6c3c=_0x191796;for(var _0x493965=_0x2f7bf0>0x1?void 0x0:_0x2f7bf0?_0x1c2c52(_0x21c1e6,_0xe882f3):_0x21c1e6,_0x20887d=_0x1ecebe[_0xbe6c3c(0x262)]-0x1,_0x4a7991;_0x20887d>=0x0;_0x20887d--)(_0x4a7991=_0x1ecebe[_0x20887d])&&(_0x493965=_0x4a7991(_0x493965)||_0x493965);return _0x493965;},_0x1c21d2=(_0x422a37,_0x2fbae9)=>(_0x1422fa,_0x31160b)=>_0x2fbae9(_0x1422fa,_0x31160b,_0x422a37);const _0x897bf8=0x12c,_0x2d1980=0x64,_0x2db046=()=>{let _0x2a01ad=[],_0x29d5dc=!0x1;return _0x1f733b=>{const _0x56415c=_0x106e;_0x2a01ad[_0x56415c(0x1c3)](_0x1f733b),_0x29d5dc||(_0x29d5dc=!0x0,setTimeout(()=>{const _0x25b2b2=_0x56415c;_0x2a01ad[_0x25b2b2(0x238)](_0x22240e=>_0x22240e()),_0x2a01ad=[],_0x29d5dc=!0x1;}));};};let _0x400b20=class extends _0x58f6c8[_0x191796(0x1dd)]{constructor(_0x722987,_0x28c45e,_0x1f0380,_0x1e1cfb,_0x44fceb,_0x9ae1d3,_0x3cf3f5,_0x1a5582){const _0x2371c1=_0x191796;super(),_0x27b740(this,_0x2371c1(0x3c3),!0x1),_0x27b740(this,_0x2371c1(0x254),!0x1),_0x27b740(this,_0x2371c1(0x267),new _0x1578c2['BehaviorSubject'](new Map())),_0x27b740(this,'cursorInfo$',this[_0x2371c1(0x267)][_0x2371c1(0x374)]()),_0x27b740(this,_0x2371c1(0x354),new _0x1578c2[(_0x2371c1(0x204))]([])),_0x27b740(this,'roomMembers$',this[_0x2371c1(0x354)][_0x2371c1(0x31a)](_0x1578c2[_0x2371c1(0x1d1)](_0x897bf8))),_0x27b740(this,_0x2371c1(0x30c),_0x58f6c8[_0x2371c1(0x2d4)]((_0xbe1df1,_0x51d4c6)=>{const _0x593ef6=_0x2371c1,_0x2ae5b9={'eventID':_0x44e0d0['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x593ef6(0x26d)],'memberID':this[_0x593ef6(0x1fe)][_0x593ef6(0x363)](),'selection':_0xae4619[_0x593ef6(0x2cc)](_0xbe1df1,_0x51d4c6[_0x593ef6(0x21d)])}};this[_0x593ef6(0x1fe)][_0x593ef6(0x202)](_0x2ae5b9,this[_0x593ef6(0x26d)]);},_0x2d1980)),(this['unitID']=_0x722987,this[_0x2371c1(0x1fe)]=_0x28c45e,this[_0x2371c1(0x3d4)]=_0x1f0380,this[_0x2371c1(0x3b4)]=_0x1e1cfb,this[_0x2371c1(0x1af)]=_0x44fceb,this[_0x2371c1(0x18a)]=_0x9ae1d3,this[_0x2371c1(0x172)]=_0x3cf3f5,this['_refRangeService']=_0x1a5582);}get['cursorInfo'](){const _0x25f2c6=_0x191796;return this[_0x25f2c6(0x267)][_0x25f2c6(0x3d6)]();}get[_0x191796(0x38c)](){const _0x31903c=_0x191796;return this[_0x31903c(0x354)][_0x31903c(0x3d6)]();}[_0x191796(0x211)](){const _0x52d3d3=_0x191796;super['dispose'](),this[_0x52d3d3(0x267)][_0x52d3d3(0x39b)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x52d3d3(0x39b)]([]),this[_0x52d3d3(0x354)][_0x52d3d3(0x210)]();}[_0x191796(0x29e)](){const _0x390388=_0x191796;this[_0x390388(0x254)]||(this[_0x390388(0x254)]=!0x0,this['_session'][_0x390388(0x184)][_0x390388(0x31a)](_0x1578c2[_0x390388(0x1b3)](this[_0x390388(0x2da)]))['subscribe'](_0x378571=>{const _0x190c61=_0x390388;_0x378571===_0x367c63[_0x190c61(0x197)][_0x190c61(0x182)]?this[_0x190c61(0x180)]():this['_toggleOffline']();}),this[_0x390388(0x1fe)]['event$'][_0x390388(0x31a)](_0x1578c2[_0x390388(0x1b3)](this[_0x390388(0x2da)]))[_0x390388(0x2a4)](_0x4c4550=>{const _0x4ccea5=_0x390388,_0x2ac508=_0x4c4550['eventID'];_0x2ac508===_0x44e0d0[_0x4ccea5(0x287)]['UPDATE_CURSOR']&&this[_0x4ccea5(0x339)](_0x4c4550),_0x2ac508===_0x44e0d0[_0x4ccea5(0x287)]['USERS_LEAVE']&&this[_0x4ccea5(0x181)](_0x4c4550);}),this['_onRefRangeChange'](),this[_0x390388(0x1dc)](this['_commandService'][_0x390388(0x31c)](_0x14a080=>{const _0xc1419c=_0x390388;if(this['_online']&&_0x14a080['id']===_0x606422['SetSelectionsOperation']['id']&&_0x14a080['params'][_0xc1419c(0x1f4)]===this[_0xc1419c(0x26d)]){const _0x18593c=_0x14a080[_0xc1419c(0x26c)];this[_0xc1419c(0x30c)](_0x18593c[_0xc1419c(0x192)],_0x18593c[_0xc1419c(0x14e)][0x0]);}})));}[_0x191796(0x339)](_0x3f0681){const _0x446fa7=_0x191796;var _0x39ae95,_0x152149;const {memberID:_0x3ab1be,selection:_0x33b461}=_0x3f0681['data'],{sheetName:_0x2a99dc,range:_0x23bb60}=_0xae4619[_0x446fa7(0x321)](_0x33b461),_0x22053a={'name':(_0x152149=(_0x39ae95=this['_memberService'][_0x446fa7(0x3bd)](this[_0x446fa7(0x26d)],_0x3ab1be))==null?void 0x0:_0x39ae95[_0x446fa7(0x1e3)])!=null?_0x152149:_0x446fa7(0x151),'range':this[_0x446fa7(0x37a)](_0x2a99dc,_0x23bb60),'sheetID':_0x2a99dc,'color':this[_0x446fa7(0x3b4)]['assignAColorForMemberID'](_0x3ab1be),'selection':_0x33b461},_0xc2a5bc=this['cursorInfo'];_0xc2a5bc[_0x446fa7(0x338)](_0x3ab1be,_0x22053a),this[_0x446fa7(0x267)][_0x446fa7(0x39b)](_0xc2a5bc);}['_onCursorDelete'](_0x1ab303){const _0x57db8e=_0x191796,{memberID:_0x3434d8}=_0x1ab303['data'],_0x22a12f=this[_0x57db8e(0x232)];_0x22a12f[_0x57db8e(0x2b2)](_0x3434d8),this[_0x57db8e(0x267)][_0x57db8e(0x39b)](_0x22a12f);}[_0x191796(0x37a)](_0x562841,_0x244999){const _0x329abc=_0x191796;var _0x2e95f2,_0x32eee8;const _0x4e6724=(_0x32eee8=(_0x2e95f2=this[_0x329abc(0x18a)][_0x329abc(0x288)](this['unitID']))==null?void 0x0:_0x2e95f2['getSheetBySheetId'](_0x562841))==null?void 0x0:_0x32eee8[_0x329abc(0x270)]();return(_0x4e6724==null?void 0x0:_0x4e6724[_0x329abc(0x1ec)](_0x9b1164=>_0x58f6c8[_0x329abc(0x222)]['contains'](_0x9b1164,_0x244999)))||_0x244999;}[_0x191796(0x1f1)](){const _0x11249d=_0x191796,_0x35e32c=new _0x58f6c8[(_0x11249d(0x387))](),_0x422450=_0x2db046(),_0x12172d=()=>{const _0x3db5ef=_0x11249d;_0x35e32c[_0x3db5ef(0x211)]();const _0x5caf68=(_0x1e58ed,_0x3b2067,_0x30d0cd,_0x8529f6)=>{const _0x47c49b=_0x3db5ef;let _0x5b1a2d=[];switch(_0x1e58ed['id']){case _0x606422[_0x47c49b(0x39e)]['DeleteRangeMoveLeftCommandId']:{_0x5b1a2d=_0x606422['handleDeleteRangeMoveLeft'](_0x1e58ed,_0x8529f6);break;}case _0x606422['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x5b1a2d=_0x606422['handleDeleteRangeMoveUp'](_0x1e58ed,_0x8529f6);break;}case _0x606422[_0x47c49b(0x39e)][_0x47c49b(0x16d)]:{_0x5b1a2d=_0x606422[_0x47c49b(0x335)](_0x1e58ed,_0x8529f6);break;}case _0x606422[_0x47c49b(0x39e)][_0x47c49b(0x16f)]:{_0x5b1a2d=_0x606422[_0x47c49b(0x1a0)](_0x1e58ed,_0x8529f6);break;}case _0x606422[_0x47c49b(0x39e)][_0x47c49b(0x316)]:{_0x5b1a2d=_0x606422[_0x47c49b(0x1fd)](_0x1e58ed,_0x8529f6);break;}case _0x606422[_0x47c49b(0x39e)][_0x47c49b(0x367)]:{_0x5b1a2d=_0x606422['handleInsertRow'](_0x1e58ed,_0x8529f6);break;}case _0x606422['EffectRefRangId'][_0x47c49b(0x370)]:{_0x5b1a2d=_0x606422[_0x47c49b(0x2f0)](_0x1e58ed,_0x8529f6);break;}case _0x606422['EffectRefRangId'][_0x47c49b(0x219)]:{_0x5b1a2d=_0x606422['handleIRemoveCol'](_0x1e58ed,_0x8529f6);break;}case _0x606422[_0x47c49b(0x39e)][_0x47c49b(0x21a)]:{_0x5b1a2d=_0x606422['handleIRemoveRow'](_0x1e58ed,_0x8529f6);break;}}const _0x21bb60=_0x606422[_0x47c49b(0x1be)](_0x5b1a2d,_0x8529f6),_0x214108=this['cursorInfo']['get'](_0x3b2067);if(_0x214108&&_0x21bb60){const _0x5222f2={..._0x214108,'range':_0x21bb60};this[_0x47c49b(0x232)][_0x47c49b(0x338)](_0x3b2067,_0x5222f2),_0x422450(()=>{const _0x3c1925=_0x47c49b,_0x1de57c=this[_0x3c1925(0x258)][_0x3c1925(0x2e3)](_0x21bb60,_0x1d8ef1=>(_0x1de57c[_0x3c1925(0x211)](),_0x5caf68(_0x1d8ef1,_0x3b2067,_0x30d0cd,_0x21bb60)));_0x35e32c[_0x3c1925(0x273)](_0x1de57c);});}return{'redos':[],'undos':[]};};this[_0x3db5ef(0x232)][_0x3db5ef(0x238)]((_0x4e0a4,_0x30befc)=>{const _0x5026b7=_0x3db5ef,{range:_0x278aba,sheetID:_0x1bbd77}=_0x4e0a4,_0xcf2985=this[_0x5026b7(0x258)][_0x5026b7(0x2e3)](_0x278aba,_0x5ee4e8=>(_0xcf2985[_0x5026b7(0x211)](),_0x5caf68(_0x5ee4e8,_0x30befc,_0x1bbd77,_0x278aba)));_0x35e32c[_0x5026b7(0x273)](_0xcf2985);});};this['disposeWithMe'](_0x58f6c8[_0x11249d(0x1df)](this[_0x11249d(0x267)][_0x11249d(0x2a4)](()=>{_0x12172d();})));}[_0x191796(0x180)](){const _0x4c2e89=_0x191796;var _0x10c079,_0x32e9a4;if(this[_0x4c2e89(0x3c3)]=!0x0,((_0x10c079=this[_0x4c2e89(0x18a)][_0x4c2e89(0x2fa)]())==null?void 0x0:_0x10c079[_0x4c2e89(0x1c5)]())!==this[_0x4c2e89(0x26d)])return;const _0x46df03=(_0x32e9a4=this[_0x4c2e89(0x3d4)][_0x4c2e89(0x364)](_0x606422[_0x4c2e89(0x278)])[_0x4c2e89(0x24b)]())==null?void 0x0:_0x32e9a4[0x0],_0x259eaa=this[_0x4c2e89(0x18a)][_0x4c2e89(0x31f)](_0x58f6c8['UniverInstanceType']['UNIVER_SHEET'])[_0x4c2e89(0x357)]();_0x46df03&&_0x259eaa&&this['_updateLocalCursor'](_0x259eaa[_0x4c2e89(0x23d)](),_0x46df03);}[_0x191796(0x37b)](){this['_online']=!0x1;}};_0x400b20=_0x444966([_0x1c21d2(0x2,_0x58f6c8[_0x191796(0x330)](_0x58f6c8['Injector'])),_0x1c21d2(0x3,_0x58f6c8['Inject'](_0x49f086)),_0x1c21d2(0x4,_0x58f6c8[_0x191796(0x330)](_0x367c63[_0x191796(0x349)])),_0x1c21d2(0x5,_0x58f6c8[_0x191796(0x1bc)]),_0x1c21d2(0x6,_0x58f6c8[_0x191796(0x1a1)]),_0x1c21d2(0x7,_0x58f6c8[_0x191796(0x330)](_0x606422['RefRangeService']))],_0x400b20);var _0x90c3e5=Object[_0x191796(0x1e8)],_0xd47c55=(_0x111216,_0x59ed26,_0x20a436,_0x276d45)=>{const _0x10a581=_0x191796;for(var _0x5a94a4=_0x276d45>0x1?void 0x0:_0x276d45?_0x90c3e5(_0x59ed26,_0x20a436):_0x59ed26,_0xc1697d=_0x111216[_0x10a581(0x262)]-0x1,_0x3c6c06;_0xc1697d>=0x0;_0xc1697d--)(_0x3c6c06=_0x111216[_0xc1697d])&&(_0x5a94a4=_0x3c6c06(_0x5a94a4)||_0x5a94a4);return _0x5a94a4;},_0x231fe9=(_0x3a4bc9,_0x14ce4a)=>(_0x334851,_0x3269a4)=>_0x14ce4a(_0x334851,_0x3269a4,_0x3a4bc9);let _0xe9a56d=class extends _0x58f6c8[_0x191796(0x1dd)]{constructor(_0x31cc84,_0x171f9d,_0x175ce9){const _0x1130f3=_0x191796;super(),_0x27b740(this,_0x1130f3(0x380),new Map()),_0x27b740(this,_0x1130f3(0x240),new _0x1578c2['Subject']()),(this[_0x1130f3(0x18a)]=_0x31cc84,this[_0x1130f3(0x3d4)]=_0x171f9d,this[_0x1130f3(0x164)]=_0x175ce9,this[_0x1130f3(0x254)]());}[_0x191796(0x211)](){const _0x55a1cf=_0x191796;super[_0x55a1cf(0x211)](),this[_0x55a1cf(0x240)][_0x55a1cf(0x210)](),this[_0x55a1cf(0x380)][_0x55a1cf(0x238)](_0x58311b=>_0x58311b[_0x55a1cf(0x211)]());}[_0x191796(0x1ed)](_0x26c234){const _0x3d68fa=_0x191796;return this[_0x3d68fa(0x380)][_0x3d68fa(0x1f3)](_0x26c234)?this['_entities'][_0x3d68fa(0x364)](_0x26c234)[_0x3d68fa(0x2ab)]:this[_0x3d68fa(0x240)]['pipe'](_0x1578c2[_0x3d68fa(0x3a0)](_0x19f814=>_0x19f814[_0x3d68fa(0x26d)]===_0x26c234),_0x1578c2['switchMap'](_0x581b56=>_0x581b56['cursorInfo$']));}[_0x191796(0x254)](){const _0x496bf9=_0x191796;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x58f6c8[_0x496bf9(0x2cb)][_0x496bf9(0x144)])['pipe'](_0x1578c2[_0x496bf9(0x1b3)](this[_0x496bf9(0x2da)]))['subscribe'](async _0x1d3d31=>{const _0x5dbfd6=_0x496bf9,_0x3d242d=_0x1d3d31[_0x5dbfd6(0x1c5)](),_0x58c8ba=await this[_0x5dbfd6(0x203)](_0x3d242d);this[_0x5dbfd6(0x240)][_0x5dbfd6(0x39b)](_0x58c8ba),this['_entities'][_0x5dbfd6(0x338)](_0x3d242d,_0x58c8ba);}),this[_0x496bf9(0x18a)][_0x496bf9(0x1fa)](_0x58f6c8[_0x496bf9(0x2cb)][_0x496bf9(0x396)])[_0x496bf9(0x31a)](_0x1578c2['takeUntil'](this[_0x496bf9(0x2da)]))[_0x496bf9(0x31a)](_0x1578c2[_0x496bf9(0x3a0)](_0x158e49=>!_0x158e49['getUnitId']()[_0x496bf9(0x1ef)]('__')))[_0x496bf9(0x2a4)](async _0x58b97a=>{const _0x115c42=_0x496bf9,_0x3a51d1=_0x58b97a[_0x115c42(0x1c5)](),_0x377d18=await this[_0x115c42(0x2cf)](_0x3a51d1);this[_0x115c42(0x240)]['next'](_0x377d18),this[_0x115c42(0x380)][_0x115c42(0x338)](_0x3a51d1,_0x377d18);}),_0x1578c2['merge'](this[_0x496bf9(0x18a)][_0x496bf9(0x2d2)](_0x58f6c8[_0x496bf9(0x2cb)][_0x496bf9(0x396)]),this[_0x496bf9(0x18a)][_0x496bf9(0x2d2)](_0x58f6c8['UniverInstanceType'][_0x496bf9(0x144)]))[_0x496bf9(0x31a)](_0x1578c2[_0x496bf9(0x1b3)](this[_0x496bf9(0x2da)]))[_0x496bf9(0x2a4)](_0x5230bb=>{const _0x362a3e=_0x496bf9,_0x1c0d4d=_0x5230bb['getUnitId'](),_0x5b8c55=this[_0x362a3e(0x380)][_0x362a3e(0x364)](_0x1c0d4d);_0x5b8c55&&(_0x5b8c55[_0x362a3e(0x211)](),this[_0x362a3e(0x380)][_0x362a3e(0x2b2)](_0x1c0d4d));});}async['_startSheetCollabCursor'](_0x2bf279){const _0x3934a6=_0x191796,_0x29ad61=await this[_0x3934a6(0x164)][_0x3934a6(0x227)](_0x2bf279),_0x1696dc=this[_0x3934a6(0x3d4)]['createInstance'](_0x400b20,_0x2bf279,_0x29ad61);return _0x1696dc[_0x3934a6(0x29e)](),_0x1696dc;}async[_0x191796(0x2cf)](_0x3ee8c5){const _0x3d6253=_0x191796,_0x547d8d=await this[_0x3d6253(0x164)][_0x3d6253(0x227)](_0x3ee8c5),_0x264067=this[_0x3d6253(0x3d4)][_0x3d6253(0x3c9)](_0x3593cc,_0x3ee8c5,_0x547d8d);return _0x264067[_0x3d6253(0x29e)](),_0x264067;}};_0xe9a56d=_0xd47c55([_0x231fe9(0x0,_0x58f6c8[_0x191796(0x1bc)]),_0x231fe9(0x1,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x1cb)])),_0x231fe9(0x2,_0x58f6c8[_0x191796(0x330)](_0x367c63[_0x191796(0x303)]))],_0xe9a56d);const _0x498cb4=0x14,_0x22f2f7=0xc8,_0x1bb032=0x4,_0x264ed1=0x5;function _0xa63b92(_0x5d7988,_0x9290a8){const _0x3aa6a4=_0x191796;let {radius:_0xed90d7,width:_0x9812e8,height:_0x393534}=_0x9290a8;_0xed90d7=_0xed90d7!=null?_0xed90d7:0x0,_0x9812e8=_0x9812e8!=null?_0x9812e8:0x1e,_0x393534=_0x393534!=null?_0x393534:0x1e;let _0x539a83=0x0,_0x2fb7d6=0x0,_0x2f5b0e=0x0;_0x539a83=_0x2fb7d6=_0x2f5b0e=Math['min'](_0xed90d7,_0x9812e8/0x2,_0x393534/0x2),_0x5d7988[_0x3aa6a4(0x3bb)](),_0x5d7988['moveTo'](_0x539a83,0x0),_0x5d7988[_0x3aa6a4(0x1da)](_0x9812e8-_0x2fb7d6,0x0),_0x5d7988[_0x3aa6a4(0x327)](_0x9812e8-_0x2fb7d6,_0x2fb7d6,_0x2fb7d6,Math['PI']*0x3/0x2,0x0,!0x1),_0x5d7988['lineTo'](_0x9812e8,_0x393534-_0x2f5b0e),_0x5d7988[_0x3aa6a4(0x327)](_0x9812e8-_0x2f5b0e,_0x393534-_0x2f5b0e,_0x2f5b0e,0x0,Math['PI']/0x2,!0x1),_0x5d7988['lineTo'](0x0,_0x393534),_0x5d7988['lineTo'](0x0,_0x539a83),_0x5d7988[_0x3aa6a4(0x327)](_0x539a83,_0x539a83,_0x539a83,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5d7988[_0x3aa6a4(0x299)](),_0x9290a8[_0x3aa6a4(0x2e8)]&&(_0x5d7988[_0x3aa6a4(0x20d)](),_0x5d7988['fillStyle']=_0x9290a8[_0x3aa6a4(0x2e8)],_0x9290a8[_0x3aa6a4(0x2ee)]===_0x3aa6a4(0x341)?_0x5d7988[_0x3aa6a4(0x2e8)]('evenodd'):_0x5d7988[_0x3aa6a4(0x2e8)](),_0x5d7988[_0x3aa6a4(0x368)]());}class _0x2afa13 extends _0x41c725[_0x191796(0x23b)]{constructor(_0x1f56be,_0x26ab1f){const _0x39058f=_0x191796;super(_0x1f56be,_0x26ab1f),_0x27b740(this,_0x39058f(0x1fc)),_0x27b740(this,_0x39058f(0x2ba)),(this[_0x39058f(0x1fc)]=_0x26ab1f==null?void 0x0:_0x26ab1f['color'],this[_0x39058f(0x2ba)]=_0x26ab1f==null?void 0x0:_0x26ab1f[_0x39058f(0x2ba)]);}static[_0x191796(0x376)](_0x5187c1,_0x1511ab){const _0x2181dc=_0x191796,{text:_0xd98725,color:_0x29357c}=_0x1511ab;_0x5187c1[_0x2181dc(0x20d)](),_0x5187c1[_0x2181dc(0x2de)]=_0x2181dc(0x2a0);const _0x558d35=_0x5187c1['measureText'](_0xd98725)['width'],_0x48c840=Math[_0x2181dc(0x1d3)](_0x558d35+0x2*_0x1bb032,_0x22f2f7);_0xa63b92(_0x5187c1,{'height':_0x498cb4,'radius':0x4,'width':_0x48c840,'fill':_0x29357c}),_0x5187c1[_0x2181dc(0x190)]='#FFF';const _0x5d05e6=_0x1bb032,_0x71701f=_0x498cb4-_0x264ed1,_0x439d96=_0x22f2f7-0x2*_0x1bb032;if(_0x558d35>_0x439d96){let _0x25d31a='',_0x11f945=0x0;for(const _0x18a2be of _0xd98725){const _0x195e11=_0x5187c1[_0x2181dc(0x3c4)](_0x18a2be)[_0x2181dc(0x177)];if(_0x11f945+_0x195e11<=_0x439d96-_0x5187c1['measureText'](_0x2181dc(0x23a))[_0x2181dc(0x177)])_0x25d31a+=_0x18a2be,_0x11f945+=_0x195e11;else{_0x25d31a+=_0x2181dc(0x23a);break;}}_0x5187c1[_0x2181dc(0x239)](_0x25d31a,_0x5d05e6,_0x71701f);}else _0x5187c1['fillText'](_0xd98725,_0x5d05e6,_0x71701f);_0x5187c1[_0x2181dc(0x368)]();}[_0x191796(0x1ea)](_0x1db0e0){const _0x22c65e=_0x191796;_0x2afa13[_0x22c65e(0x376)](_0x1db0e0,this);}}const _0x176d9c=_0x191796(0x356),_0x15fae2=_0x191796(0x30f),_0x1efd1a=_0x191796(0x160),_0x2a553f=0x6,_0x4c9e64=1.5,_0x95d677=0x4,_0x22c171=1.5,_0x1bba2f=_0x191796(0x2d6);class _0x23be51{constructor(_0x1f0f93,_0x18521d,_0x135a4c,_0x18239b){const _0x457e52=_0x191796;_0x27b740(this,_0x457e52(0x269),[]),_0x27b740(this,_0x457e52(0x218),null),_0x27b740(this,_0x457e52(0x1f7),null),_0x27b740(this,'_anchorDot',null),_0x27b740(this,_0x457e52(0x32b),null),_0x27b740(this,'_eventUnsubscribe',null),(this['_cursor']=_0x1f0f93,this[_0x457e52(0x1ee)]=_0x18521d,this[_0x457e52(0x2e9)]=_0x135a4c,this[_0x457e52(0x1db)]=_0x18239b,this[_0x457e52(0x29f)]());}set[_0x191796(0x310)](_0x95d7ef){const _0xd38fd4=_0x191796;_0x95d7ef?(this[_0xd38fd4(0x213)]&&this[_0xd38fd4(0x213)]['hide'](),this[_0xd38fd4(0x1f7)]&&this[_0xd38fd4(0x1f7)]['show']()):(this[_0xd38fd4(0x213)]&&this[_0xd38fd4(0x213)][_0xd38fd4(0x158)](),this[_0xd38fd4(0x1f7)]&&this[_0xd38fd4(0x1f7)][_0xd38fd4(0x196)]());}[_0x191796(0x211)](){const _0x5519fe=_0x191796;for(const _0x4e0b89 of this['_shapes'])_0x4e0b89[_0x5519fe(0x211)]();this[_0x5519fe(0x1f7)]&&this[_0x5519fe(0x1f7)][_0x5519fe(0x211)](),this[_0x5519fe(0x213)]&&this['_anchorDot']['dispose'](),this[_0x5519fe(0x218)]&&this[_0x5519fe(0x218)][_0x5519fe(0x211)](),this[_0x5519fe(0x22f)]&&this[_0x5519fe(0x22f)]();}['_render'](){const _0x301dfa=_0x191796;var _0x28b72b;const {_docSkeleton:_0x37505b,_document:_0x4254d8}=this,{color:_0x38e438,name:_0x59090e,ranges:_0x450827}=this['_cursor'],_0x8a22bd=_0x4254d8[_0x301dfa(0x2bd)](),{docsLeft:_0x2330f8,docsTop:_0x521556}=_0x8a22bd,_0x108a37=new _0x21c652['NodePositionConvertToCursor'](_0x8a22bd,_0x37505b);for(const {startOffset:_0x4c227b,endOffset:_0x432663,rangeType:_0xc799c8,segmentId:_0x2ab13c,segmentPage:_0xc5757,collapsed:_0x2e0c7b,isActive:_0x18d877}of _0x450827){const _0x426778=_0x37505b[_0x301dfa(0x2ef)](_0x4c227b,!0x0,_0x2ab13c,_0xc5757);let _0x2a2267=_0x37505b[_0x301dfa(0x2ef)](_0x432663,!0x0,_0x2ab13c,_0xc5757);if(_0x2a2267==null&&(_0x2a2267=_0x37505b['findNodePositionByCharIndex'](_0x432663-0x1,!0x1,_0x2ab13c,_0xc5757)),_0x18d877){const {contentBoxPointGroup:_0x3e8e18}=_0x108a37[_0x301dfa(0x1e6)](_0x2a2267,_0x2a2267);if(_0x3e8e18['length']===0x0)continue;this[_0x301dfa(0x18c)](_0x38e438,_0x3e8e18,_0x2330f8,_0x521556,_0x59090e),this[_0x301dfa(0x22f)]=this['_handleHover']();}if(_0x426778&&_0x2a2267){if(_0xc799c8===_0x58f6c8[_0x301dfa(0x16c)][_0x301dfa(0x1a2)]){const _0x412e08=new _0x21c652[(_0x301dfa(0x228))](_0x8a22bd,_0x37505b),{pointGroup:_0x2bf9a1}=(_0x28b72b=_0x412e08['getRangePointData'](_0x426778,_0x2a2267))!=null?_0x28b72b:{};if(_0x2bf9a1==null||_0x2bf9a1[_0x301dfa(0x262)]===0x0)continue;this['_drawRectRange'](_0x38e438,_0x2bf9a1,_0x2330f8,_0x521556);}else{if(!_0x2e0c7b){const {borderBoxPointGroup:_0x517b80}=_0x108a37[_0x301dfa(0x1e6)](_0x426778,_0x2a2267);if(_0x517b80[_0x301dfa(0x262)]===0x0)continue;this[_0x301dfa(0x19f)](_0x38e438,_0x517b80,_0x2330f8,_0x521556);}}}}}[_0x191796(0x18c)](_0x537c75,_0x1fab88,_0xdd88f5,_0x4ea3eb,_0x39ae10){const _0x2e3bc9=_0x191796,_0x2f13f4=this['_getAnchorBounding'](_0x1fab88),{left:_0xd991f5,top:_0x3582c8,height:_0x3123c9}=_0x2f13f4,_0x40c4ab=this[_0x2e3bc9(0x2d7)](),_0x5100a4=_0x22c171/_0x40c4ab,_0x36d165=new _0x41c725[(_0x2e3bc9(0x1c6))](_0x176d9c+_0x58f6c8[_0x2e3bc9(0x295)](_0x2a553f),{'left':_0xd991f5+_0xdd88f5-_0x5100a4,'top':_0x3582c8+_0x4ea3eb,'height':_0x3123c9,'width':_0x4c9e64,'fill':_0x537c75||_0x41c725[_0x2e3bc9(0x2af)](_0x58f6c8['COLORS'][_0x2e3bc9(0x223)],0x0),'strokeWidth':_0x5100a4,'stroke':_0x1bba2f,'evented':!0x0});this['_anchor']=_0x36d165,this[_0x2e3bc9(0x1ee)][_0x2e3bc9(0x251)](_0x36d165,_0x21c652['TEXT_RANGE_LAYER_INDEX']);const _0x3f4c4e=new _0x41c725[(_0x2e3bc9(0x1c6))](_0x176d9c+_0x58f6c8['generateRandomId'](_0x2a553f),{'left':_0xd991f5+_0xdd88f5-_0x5100a4,'top':_0x3582c8+_0x4ea3eb-_0x95d677/0x2,'height':_0x95d677,'width':_0x95d677,'fill':_0x537c75||_0x41c725[_0x2e3bc9(0x2af)](_0x58f6c8[_0x2e3bc9(0x281)][_0x2e3bc9(0x223)],0x0),'strokeWidth':0x0,'stroke':_0x537c75||_0x41c725[_0x2e3bc9(0x2af)](_0x58f6c8['COLORS'][_0x2e3bc9(0x223)],0x0),'evented':!0x1});this[_0x2e3bc9(0x213)]=_0x3f4c4e,this[_0x2e3bc9(0x1ee)]['addObject'](_0x3f4c4e,_0x21c652[_0x2e3bc9(0x3b6)]);const _0x2c6c09=new _0x2afa13(_0x176d9c+_0x58f6c8[_0x2e3bc9(0x295)](_0x2a553f),{'left':_0xd991f5+_0xdd88f5-_0x5100a4,'top':_0x3582c8+_0x4ea3eb-_0x498cb4,'text':_0x39ae10,'color':_0x537c75});this[_0x2e3bc9(0x1f7)]=_0x2c6c09,this[_0x2e3bc9(0x1ee)][_0x2e3bc9(0x251)](_0x2c6c09,_0x21c652[_0x2e3bc9(0x3b6)]),this[_0x2e3bc9(0x310)]=!0x1;}[_0x191796(0x28b)](){const _0x4da944=_0x191796,_0x2b84ac=this[_0x4da944(0x218)][_0x4da944(0x3ca)]['subscribeEvent'](()=>{const _0x280055=_0x4da944;this[_0x280055(0x310)]=!0x0;}),_0x597828=this[_0x4da944(0x218)][_0x4da944(0x1d8)][_0x4da944(0x336)](()=>{const _0x4143c9=_0x4da944;this[_0x4143c9(0x32b)]&&clearTimeout(this[_0x4143c9(0x32b)]),this[_0x4143c9(0x32b)]=setTimeout(()=>{const _0x21c030=_0x4143c9;this[_0x21c030(0x310)]=!0x1;},0x7d0);});return()=>{const _0x274640=_0x4da944;_0x2b84ac['unsubscribe'](),_0x597828[_0x274640(0x1c9)]();};}[_0x191796(0x19f)](_0x2e81d2,_0x20dc8b,_0x5f1ff4,_0x5e00ca){const _0xfed328=_0x191796,_0x1fcd43=new _0x58f6c8['ColorKit'](_0x2e81d2)['setAlpha'](0.2)[_0xfed328(0x208)](),_0x4cdb6f=new _0x41c725['RegularPolygon'](_0x15fae2+_0x58f6c8[_0xfed328(0x295)](_0x2a553f),{'pointsGroup':_0x20dc8b,'fill':_0x1fcd43||_0x41c725[_0xfed328(0x2af)](_0x58f6c8[_0xfed328(0x281)]['black'],0.2),'left':_0x5f1ff4,'top':_0x5e00ca,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xfed328(0x1c3)](_0x4cdb6f),this[_0xfed328(0x1ee)]['addObject'](_0x4cdb6f,_0x21c652['TEXT_RANGE_LAYER_INDEX']);}[_0x191796(0x30e)](_0x332591,_0x1967eb,_0x1c6585,_0x5b139c){const _0x3cb367=_0x191796,_0x4db2df=new _0x58f6c8['ColorKit'](_0x332591)['setAlpha'](0.2)[_0x3cb367(0x208)](),_0xa1de91=new _0x41c725[(_0x3cb367(0x2ff))](_0x1efd1a+_0x58f6c8[_0x3cb367(0x295)](_0x2a553f),{'pointsGroup':_0x1967eb,'fill':_0x4db2df||_0x41c725['getColor'](_0x58f6c8[_0x3cb367(0x281)]['black'],0.2),'left':_0x1c6585,'top':_0x5b139c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3cb367(0x269)][_0x3cb367(0x1c3)](_0xa1de91),this['_scene']['addObject'](_0xa1de91,_0x21c652[_0x3cb367(0x3b6)]);}[_0x191796(0x3c8)](_0x452a24){const _0xb8f8a6=_0x452a24[0x0],_0x51b615=_0xb8f8a6[0x0],_0x1a7520=_0xb8f8a6[0x2],{x:_0xe4f011,y:_0x2d7dbc}=_0x51b615,{x:_0xda6e9d,y:_0x5f256b}=_0x1a7520;return{'left':_0xe4f011,'top':_0x2d7dbc,'width':_0xda6e9d-_0xe4f011,'height':_0x5f256b-_0x2d7dbc};}[_0x191796(0x2d7)](){const _0x23f789=_0x191796,{scaleX:_0x2e1bfe,scaleY:_0x15572d}=this['_scene'][_0x23f789(0x1bd)]();return Math['max'](_0x2e1bfe,_0x15572d);}}var _0x394238=Object[_0x191796(0x1e8)],_0x1bcb0c=(_0x223201,_0x419646,_0x4641b1,_0x25550b)=>{const _0x251a54=_0x191796;for(var _0x2c1410=_0x25550b>0x1?void 0x0:_0x25550b?_0x394238(_0x419646,_0x4641b1):_0x419646,_0x4409af=_0x223201[_0x251a54(0x262)]-0x1,_0x509b0e;_0x4409af>=0x0;_0x4409af--)(_0x509b0e=_0x223201[_0x4409af])&&(_0x2c1410=_0x509b0e(_0x2c1410)||_0x2c1410);return _0x2c1410;},_0x570ce8=(_0x53017a,_0x360843)=>(_0x1e2e7c,_0x369e4a)=>_0x360843(_0x1e2e7c,_0x369e4a,_0x53017a);let _0x2c6f2b=class extends _0x58f6c8[_0x191796(0x1dd)]{constructor(_0x568dc6,_0x73dff5,_0x116b9e,_0x1f8d16,_0x42c01e){const _0x5cdbf4=_0x191796;super(),_0x27b740(this,'_cursorShapes',[]),_0x27b740(this,_0x5cdbf4(0x2f4),[]),(this[_0x5cdbf4(0x244)]=_0x568dc6,this['_docSkeletonManagerService']=_0x73dff5,this[_0x5cdbf4(0x19a)]=_0x116b9e,this['_commandService']=_0x1f8d16,this[_0x5cdbf4(0x19e)]=_0x42c01e,this['_init']());}[_0x191796(0x254)](){const _0x222feb=_0x191796,_0x5e2615=this['_context'][_0x222feb(0x1f4)],_0x5d188a=this[_0x222feb(0x36c)];this[_0x222feb(0x1dc)](_0x1578c2[_0x222feb(0x224)]([this[_0x222feb(0x19a)]['getCollabCursors$'](_0x5e2615),this[_0x222feb(0x19e)][_0x222feb(0x2c4)]])[_0x222feb(0x31a)](_0x6ea371['map'](([_0x107893,_0x2c8616])=>({'skeleton':_0x5d188a['getSkeleton'](),'cursors':[..._0x107893[_0x222feb(0x195)]()][_0x222feb(0x2f6)](_0x57a31e=>({..._0x57a31e,'color':this[_0x222feb(0x19e)][_0x222feb(0x324)](_0x57a31e[_0x222feb(0x1fc)])}))})))[_0x222feb(0x2a4)](_0x3a6fb0=>{const _0x4a47e3=_0x222feb;if(this[_0x4a47e3(0x2c5)](),_0x3a6fb0){const {skeleton:_0x3810d3,cursors:_0x47beed}=_0x3a6fb0;this['_updateCollabCursors'](_0x3810d3,_0x47beed);}})),this['_initResize'](),this[_0x222feb(0x315)]();}[_0x191796(0x1c7)](_0x2f37fe,_0x54d7e2){const _0x135927=_0x191796,{scene:_0xbb8a44,mainComponent:_0x8f0c9e}=this[_0x135927(0x244)],_0x54c39c=_0x54d7e2[_0x135927(0x286)](_0x2a7595=>new _0x23be51(_0x2a7595,_0xbb8a44,_0x2f37fe,_0x8f0c9e));this[_0x135927(0x186)]=_0x54c39c,this[_0x135927(0x2f4)]=_0x54d7e2;}[_0x191796(0x2e7)](){const _0x3c280c=_0x191796;this[_0x3c280c(0x2c5)]();const {scene:_0x27ea55,mainComponent:_0x191582}=this[_0x3c280c(0x244)],_0x54be3b=this[_0x3c280c(0x36c)][_0x3c280c(0x28c)](),_0x5e2181=this[_0x3c280c(0x2f4)]['map'](_0x1f49f6=>new _0x23be51(_0x1f49f6,_0x27ea55,_0x54be3b,_0x191582));this[_0x3c280c(0x186)]=_0x5e2181;}[_0x191796(0x2c5)](){const _0xa8beae=_0x191796;this[_0xa8beae(0x186)][_0xa8beae(0x238)](_0x43510d=>_0x43510d[_0xa8beae(0x211)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x2b0bd6=_0x191796,_0x32dcfe=[_0x21c652[_0x2b0bd6(0x2ca)]['id']];this[_0x2b0bd6(0x1dc)](this[_0x2b0bd6(0x172)][_0x2b0bd6(0x31c)](_0x274231=>{const _0xde237b=_0x2b0bd6;_0x32dcfe[_0xde237b(0x193)](_0x274231['id'])&&_0x274231[_0xde237b(0x26c)]['unitId']===this[_0xde237b(0x244)][_0xde237b(0x1f4)]&&this[_0xde237b(0x2e7)]();}));}[_0x191796(0x389)](){const _0x3d8c78=_0x191796;this[_0x3d8c78(0x1dc)](_0x58f6c8['fromEventSubject'](this[_0x3d8c78(0x244)][_0x3d8c78(0x170)]['onTransformChange$'])[_0x3d8c78(0x31a)](_0x6ea371[_0x3d8c78(0x3a0)](_0x3076f2=>_0x3076f2[_0x3d8c78(0x199)]===_0x41c725['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x6ea371[_0x3d8c78(0x3ac)](0x10))[_0x3d8c78(0x2a4)](()=>{this['_refreshCollabCursors']();}));}};_0x2c6f2b=_0x1bcb0c([_0x570ce8(0x1,_0x58f6c8[_0x191796(0x330)](_0x4cf100[_0x191796(0x169)])),_0x570ce8(0x2,_0x58f6c8[_0x191796(0x330)](_0xe9a56d)),_0x570ce8(0x3,_0x58f6c8[_0x191796(0x1a1)]),_0x570ce8(0x4,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x331)]))],_0x2c6f2b);const _0x56f935=0x1,_0x2bf5c4=1.5;class _0x1a6a3b extends _0x41c725[_0x191796(0x23b)]{constructor(_0x429581,_0x4d4070){const _0x5e0ded=_0x191796;super(_0x429581,_0x4d4070),_0x27b740(this,_0x5e0ded(0x20a)),_0x27b740(this,_0x5e0ded(0x358),!0x1),_0x27b740(this,_0x5e0ded(0x33d)),_0x27b740(this,_0x5e0ded(0x2ac),''),_0x27b740(this,'_labelPosition','top'),_0x27b740(this,_0x5e0ded(0x34e)),(_0x4d4070&&this[_0x5e0ded(0x168)](_0x4d4070),this[_0x5e0ded(0x3ca)][_0x5e0ded(0x336)](()=>this[_0x5e0ded(0x168)]({'hovered':!0x0})),this[_0x5e0ded(0x1d8)][_0x5e0ded(0x336)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x7e8e79){const _0x1a0194=_0x191796;var _0x428077,_0x543fe8,_0x186bbc,_0x34db69,_0x3a570c,_0x15eab6;this[_0x1a0194(0x20a)]=(_0x428077=_0x7e8e79[_0x1a0194(0x1fc)])!=null?_0x428077:this[_0x1a0194(0x20a)],this['_hovered']=(_0x543fe8=_0x7e8e79[_0x1a0194(0x29a)])!=null?_0x543fe8:this[_0x1a0194(0x358)],this[_0x1a0194(0x33d)]=(_0x186bbc=_0x7e8e79[_0x1a0194(0x21d)])!=null?_0x186bbc:this[_0x1a0194(0x33d)],this[_0x1a0194(0x2ac)]=(_0x34db69=_0x7e8e79[_0x1a0194(0x1e3)])!=null?_0x34db69:this[_0x1a0194(0x2ac)],this[_0x1a0194(0x25b)]=(_0x3a570c=_0x7e8e79[_0x1a0194(0x206)])!=null?_0x3a570c:this[_0x1a0194(0x25b)],this[_0x1a0194(0x34e)]=(_0x15eab6=_0x7e8e79[_0x1a0194(0x215)])!=null?_0x15eab6:this['_backgroundColor'],this['transformByState']({'width':_0x7e8e79[_0x1a0194(0x177)],'height':_0x7e8e79[_0x1a0194(0x350)]});}[_0x191796(0x3c0)](_0xa790a8){const _0x1e4bcb=_0x191796,{row:_0x1043f1,column:_0x36cbb3}=_0xa790a8;if(_0x1043f1>=this[_0x1e4bcb(0x33d)][_0x1e4bcb(0x1b7)]&&_0x1043f1<=this[_0x1e4bcb(0x33d)][_0x1e4bcb(0x220)]&&_0x36cbb3>=this[_0x1e4bcb(0x33d)][_0x1e4bcb(0x18d)]&&_0x36cbb3<=this[_0x1e4bcb(0x33d)][_0x1e4bcb(0x1d6)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1e4bcb(0x168)]({'hovered':!0x1});}[_0x191796(0x375)](_0xcee3e5){return!0x1;}[_0x191796(0x1ea)](_0x5ee58c){const _0x34f7f3=_0x191796;_0x41c725['Rect'][_0x34f7f3(0x376)](_0x5ee58c,{'width':this['width'],'height':this[_0x34f7f3(0x350)],'strokeWidth':_0x2bf5c4,'stroke':this[_0x34f7f3(0x20a)],'evented':!0x1,'fill':this[_0x34f7f3(0x34e)]}),this[_0x34f7f3(0x358)]&&(_0x5ee58c[_0x34f7f3(0x20d)](),_0x5ee58c[_0x34f7f3(0x32e)](0x1,0x0,0x0,0x1,this['width'],this[_0x34f7f3(0x25b)]===_0x34f7f3(0x226)?0x0:-_0x498cb4),_0x2afa13[_0x34f7f3(0x376)](_0x5ee58c,{'text':this[_0x34f7f3(0x2ac)],'color':this['_color']}),_0x5ee58c[_0x34f7f3(0x368)]());}}var _0x3e4388=Object[_0x191796(0x1e8)],_0x321997=(_0x2c892b,_0x31cac3,_0x58b3b8,_0x4ab32d)=>{const _0x2c5d81=_0x191796;for(var _0x168585=_0x4ab32d>0x1?void 0x0:_0x4ab32d?_0x3e4388(_0x31cac3,_0x58b3b8):_0x31cac3,_0x8ab825=_0x2c892b[_0x2c5d81(0x262)]-0x1,_0xe9f0aa;_0x8ab825>=0x0;_0x8ab825--)(_0xe9f0aa=_0x2c892b[_0x8ab825])&&(_0x168585=_0xe9f0aa(_0x168585)||_0x168585);return _0x168585;},_0x28b684=(_0x4f5a23,_0x5f0beb)=>(_0x18c3d1,_0x430e67)=>_0x5f0beb(_0x18c3d1,_0x430e67,_0x4f5a23);const _0x2dc0c1=0x1389;let _0x4e02c2=class extends _0x58f6c8['RxDisposable']{constructor(_0x57c5a9,_0x3f20c9,_0x5cf423,_0x5824e3){const _0x476b32=_0x191796;super(),_0x27b740(this,_0x476b32(0x2f4),new Set()),_0x27b740(this,_0x476b32(0x38f),null),(this[_0x476b32(0x244)]=_0x57c5a9,this[_0x476b32(0x22d)]=_0x3f20c9,this['_collabCursorController']=_0x5cf423,this[_0x476b32(0x19e)]=_0x5824e3,this[_0x476b32(0x254)]());}[_0x191796(0x254)](){const _0x69f9f=_0x191796;this['_sheetSkeletonManagerService'][_0x69f9f(0x13e)][_0x69f9f(0x31a)](_0x6ea371[_0x69f9f(0x1b3)](this[_0x69f9f(0x2da)]),_0x6ea371['switchMap'](_0x4c1de9=>{const _0x130064=_0x69f9f;if(_0x4c1de9){const _0x267ff9=_0x4c1de9[_0x130064(0x2e5)];return _0x1578c2['combineLatest'](this['_collabCursorController'][_0x130064(0x1ed)](this[_0x130064(0x244)][_0x130064(0x1f4)]),this[_0x130064(0x19e)]['currentTheme$'])[_0x130064(0x31a)](_0x6ea371[_0x130064(0x286)](([_0x3e7991,_0x1324f5])=>{const _0x3919fa=_0x130064,_0x4ac985=new Map();return _0x3e7991[_0x3919fa(0x238)]((_0xf0087d,_0x200f20)=>{const _0x466566=_0x3919fa;if(_0xf0087d[_0x466566(0x20b)]===_0x267ff9){const _0xbab920={..._0xf0087d};_0xbab920['color']=this[_0x466566(0x19e)][_0x466566(0x324)](_0xf0087d[_0x466566(0x1fc)]),_0x4ac985[_0x466566(0x338)](_0x200f20,_0xbab920);}}),{'skeleton':_0x4c1de9,'cursors':_0x4ac985};}));}return _0x1578c2['of']({'skeleton':null,'cursors':new Map()});}))[_0x69f9f(0x2a4)](({skeleton:_0x18be27,cursors:_0x7a4318})=>{const _0x278383=_0x69f9f;this[_0x278383(0x2c5)](),_0x18be27&&this['_updateCollabCursors'](_0x18be27,_0x7a4318);}),this[_0x69f9f(0x22d)]['currentSkeleton$'][_0x69f9f(0x2a4)](_0x2318e8=>{const _0x293cde=_0x69f9f;if(_0x2318e8==null)return;const {skeleton:_0x120d3a}=_0x2318e8,{scene:_0x2a5a07}=this['_context'];_0x2a5a07[_0x293cde(0x266)][_0x293cde(0x336)](_0x58f6c8['debounce'](_0x59bfba=>{const _0x4f8654=_0x293cde;var _0x4ef2ed,_0x721df7;const {offsetX:_0x123640,offsetY:_0x12fdb3}=_0x59bfba,{x:_0x4f41c1,y:_0x1bc8e8}=_0x2a5a07['getRelativeToViewportCoord'](_0x41c725[_0x4f8654(0x2dc)]['FromArray']([_0x123640,_0x12fdb3])),{scaleX:_0x2bf8b6,scaleY:_0x192476}=_0x2a5a07[_0x4f8654(0x1bd)](),_0x35f637=_0x2a5a07[_0x4f8654(0x283)](_0x41c725[_0x4f8654(0x26a)][_0x4f8654(0x275)]),_0x383fa8=_0x2a5a07[_0x4f8654(0x25f)](_0x41c725[_0x4f8654(0x2dc)][_0x4f8654(0x2aa)]([_0x4f41c1,_0x1bc8e8]),_0x35f637),_0x47813b=_0x120d3a['getCellPositionByOffset'](_0x123640,_0x12fdb3,_0x2bf8b6,_0x192476,_0x383fa8);((_0x4ef2ed=this['_lastPointer'])==null?void 0x0:_0x4ef2ed[_0x4f8654(0x361)])===_0x47813b[_0x4f8654(0x361)]&&((_0x721df7=this[_0x4f8654(0x38f)])==null?void 0x0:_0x721df7[_0x4f8654(0x319)])===_0x47813b[_0x4f8654(0x319)]||this[_0x4f8654(0x2f4)][_0x4f8654(0x238)](_0x455270=>{const _0x11029a=_0x4f8654;_0x455270[_0x11029a(0x3c0)](_0x47813b);});},0x64));});}['_updateCollabCursors'](_0xed9b82,_0x17bfcd){const _0x34026a=_0x191796;var _0x111a29;const _0x3fd994=(_0x111a29=this[_0x34026a(0x22d)][_0x34026a(0x157)]())==null?void 0x0:_0x111a29[_0x34026a(0x337)];if(!_0x3fd994)return;const _0x232517=this[_0x34026a(0x282)]();if(!_0x232517)return;this['_cursors'][_0x34026a(0x238)](_0x5b4fe6=>{const _0x3cb1fc=_0x34026a;_0x5b4fe6[_0x3cb1fc(0x322)]();});const {scene:_0x3439af}=_0x232517,_0x351812=_0x1ac589(Array[_0x34026a(0x1a9)](_0x17bfcd[_0x34026a(0x195)]()))[_0x34026a(0x286)](_0x2e402e=>{const _0x13b932=_0x34026a,{color:_0xb9db69,range:_0x1e9ea1,name:_0x18f445,selection:_0x491a33,sheetID:_0xbc215f}=_0x2e402e,{startColumn:_0x3bc5a9,startRow:_0x262c4f,endColumn:_0xef60c4,endRow:_0x5132b8}=_0x1e9ea1,_0x456f70=_0x578b8a[_0x13b932(0x3b7)](_0x262c4f,_0x3bc5a9,_0x3439af,_0x3fd994),_0xdb6622=_0x578b8a[_0x13b932(0x3b7)](_0x5132b8,_0xef60c4,_0x3439af,_0x3fd994),{columnHeaderHeightAndMarginTop:_0x2b2735}=_0x3fd994,{startX:_0x22b0f4,startY:_0x340755}=_0x456f70,{endX:_0x310f0c,endY:_0x34f1d0}=_0xdb6622,_0x464ca2=_0x310f0c-_0x22b0f4,_0x5d9a5a=_0x34f1d0-_0x340755,_0x789c4d={'labelPosition':_0x340755-_0x2b2735>=_0x498cb4?_0x13b932(0x152):'bottom','sheetID':_0xbc215f,'range':_0x1e9ea1,'color':_0xb9db69,'name':_0x18f445,'selection':_0x491a33,'left':_0x22b0f4,'top':_0x340755,'width':_0x464ca2,'height':_0x5d9a5a,'evented':!0x1,'zIndex':_0x2dc0c1};return new _0x1a6a3b(_0x18f445,_0x789c4d);});_0x3439af[_0x34026a(0x3c5)](_0x351812,_0x56f935),this['_cursors']=new Set(_0x351812);}[_0x191796(0x2c5)](){var _0x597d28;(_0x597d28=this['_cursors'])==null||_0x597d28['forEach'](_0x2f61b3=>_0x2f61b3['dispose']());}[_0x191796(0x282)](){const _0x49f42e=_0x191796;return _0x578b8a[_0x49f42e(0x162)](this['_context']['unit'],this['_context']);}};_0x4e02c2=_0x321997([_0x28b684(0x1,_0x58f6c8[_0x191796(0x330)](_0x578b8a['SheetSkeletonManagerService'])),_0x28b684(0x2,_0x58f6c8[_0x191796(0x330)](_0xe9a56d)),_0x28b684(0x3,_0x58f6c8[_0x191796(0x330)](_0x58f6c8['ThemeService']))],_0x4e02c2);function _0x1ac589(_0x6ed1b8){const _0xe12d49=new Map();return _0x6ed1b8['forEach'](_0x525ff8=>{const _0x3fb0ec=_0x106e;if(_0xe12d49[_0x3fb0ec(0x1f3)](_0x525ff8[_0x3fb0ec(0x3a6)])){const _0x14f16a=_0xe12d49[_0x3fb0ec(0x364)](_0x525ff8[_0x3fb0ec(0x3a6)]);_0x14f16a[_0x3fb0ec(0x1e3)]+=',\x20'+_0x525ff8[_0x3fb0ec(0x1e3)];}else _0xe12d49[_0x3fb0ec(0x338)](_0x525ff8['selection'],_0x525ff8);}),Array['from'](_0xe12d49['values']());}var _0x2a47cf=Object[_0x191796(0x1e8)],_0x39e3cd=(_0xed2a8f,_0x3d0d2a,_0x526dc4,_0x2e331d)=>{const _0x491250=_0x191796;for(var _0x23504e=_0x2e331d>0x1?void 0x0:_0x2e331d?_0x2a47cf(_0x3d0d2a,_0x526dc4):_0x3d0d2a,_0x50f428=_0xed2a8f[_0x491250(0x262)]-0x1,_0x32597d;_0x50f428>=0x0;_0x50f428--)(_0x32597d=_0xed2a8f[_0x50f428])&&(_0x23504e=_0x32597d(_0x23504e)||_0x23504e);return _0x23504e;},_0x1fdfc9=(_0xc759b6,_0x4c9c35)=>(_0x116249,_0x4237ac)=>_0x4c9c35(_0x116249,_0x4237ac,_0xc759b6);let _0x5bac2c=class extends _0x58f6c8[_0x191796(0x384)]{constructor(_0x146f0d,_0x56cf24,_0x2b3bd9,_0x47956f,_0x9c861a,_0x3dd6f8){const _0x5f3976=_0x191796;super(),this['_beforeCloseService']=_0x146f0d,this[_0x5f3976(0x36f)]=_0x56cf24,this[_0x5f3976(0x16a)]=_0x2b3bd9,this[_0x5f3976(0x344)]=_0x47956f,this[_0x5f3976(0x201)]=_0x9c861a,this[_0x5f3976(0x1ce)]=_0x3dd6f8,this[_0x5f3976(0x2b8)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0xb8cf55=_0x191796;this[_0xb8cf55(0x1dc)](this[_0xb8cf55(0x3a2)][_0xb8cf55(0x3be)](()=>{const _0x10e073=_0xb8cf55;if(this[_0x10e073(0x36f)]['saveTaskMap'][_0x10e073(0x2fe)])return this[_0x10e073(0x1ce)]['t'](_0x10e073(0x24c));}));}[_0x191796(0x176)](){const _0x5ad17f=_0x191796;this[_0x5ad17f(0x1dc)](this[_0x5ad17f(0x16a)][_0x5ad17f(0x18e)][_0x5ad17f(0x2a4)](_0x26e557=>{const _0x48fd42=_0x5ad17f;_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)][_0x48fd42(0x14c)]&&this[_0x48fd42(0x344)][_0x48fd42(0x158)]({'type':_0x2023b2[_0x48fd42(0x1aa)][_0x48fd42(0x32d)],'content':this[_0x48fd42(0x1ce)]['t'](_0x48fd42(0x20c))}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)]['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x2023b2[_0x48fd42(0x1aa)][_0x48fd42(0x32d)],'content':this[_0x48fd42(0x1ce)]['t']('collaboration.closeRoom')}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)][_0x48fd42(0x293)]&&this['_notificationService']['show']({'title':this[_0x48fd42(0x1ce)]['t'](_0x48fd42(0x37e)),'content':this['_localeService']['t']('permission.content'),'type':_0x48fd42(0x2a8),'duration':0x0}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)][_0x48fd42(0x23e)]&&this[_0x48fd42(0x344)][_0x48fd42(0x158)]({'type':_0x2023b2[_0x48fd42(0x1aa)]['Error'],'content':this[_0x48fd42(0x1ce)]['t'](_0x48fd42(0x2b7))+'('+_0x26e557[_0x48fd42(0x340)]+')'}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)]['JOIN_ROOM_FAILED']&&this[_0x48fd42(0x344)][_0x48fd42(0x158)]({'type':_0x2023b2[_0x48fd42(0x1aa)][_0x48fd42(0x32d)],'content':this[_0x48fd42(0x1ce)]['t'](_0x26e557['data']||'')}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)][_0x48fd42(0x260)]&&this[_0x48fd42(0x344)][_0x48fd42(0x158)]({'type':_0x2023b2[_0x48fd42(0x1aa)][_0x48fd42(0x32d)],'content':this['_localeService']['t'](_0x48fd42(0x1c2))}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)][_0x48fd42(0x271)]&&this[_0x48fd42(0x344)][_0x48fd42(0x158)]({'type':_0x2023b2[_0x48fd42(0x1aa)][_0x48fd42(0x2c6)],'content':this[_0x48fd42(0x1ce)]['t']('session.connection-failed')}),_0x26e557['id']===_0x367c63[_0x48fd42(0x3bf)][_0x48fd42(0x2b5)]&&this[_0x48fd42(0x344)]['show']({'type':_0x2023b2[_0x48fd42(0x1aa)][_0x48fd42(0x2c6)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x5bac2c=_0x39e3cd([_0x1fdfc9(0x0,_0x570ef0[_0x191796(0x2f7)]),_0x1fdfc9(0x1,_0x367c63[_0x191796(0x326)]),_0x1fdfc9(0x2,_0x58f6c8[_0x191796(0x330)](_0x367c63[_0x191796(0x353)])),_0x1fdfc9(0x3,_0x570ef0[_0x191796(0x36a)]),_0x1fdfc9(0x4,_0x570ef0[_0x191796(0x306)]),_0x1fdfc9(0x5,_0x58f6c8['Inject'](_0x58f6c8['LocaleService']))],_0x5bac2c);const _0x1c3d00=_0x191796(0x292),_0x30447a={};var _0x4267d7=Object[_0x191796(0x1e8)],_0x1e278e=(_0x164f3b,_0x40b535,_0x1c6e88,_0x99a967)=>{for(var _0x197567=_0x99a967>0x1?void 0x0:_0x99a967?_0x4267d7(_0x40b535,_0x1c6e88):_0x40b535,_0xca5ec6=_0x164f3b['length']-0x1,_0x570d2c;_0xca5ec6>=0x0;_0xca5ec6--)(_0x570d2c=_0x164f3b[_0xca5ec6])&&(_0x197567=_0x570d2c(_0x197567)||_0x197567);return _0x197567;},_0x1669a7=(_0x55fde2,_0x32a1e3)=>(_0xd7b1e1,_0x4642b5)=>_0x32a1e3(_0xd7b1e1,_0x4642b5,_0x55fde2);let _0x3fc0f6=class{constructor(_0xb4289,_0xad290c){const _0x2f7643=_0x191796;this[_0x2f7643(0x21e)]=_0xb4289,this[_0x2f7643(0x2f9)]=_0xad290c;}['transformIMECache'](_0x57a25b){const _0x3e3a3a=_0x191796;this[_0x3e3a3a(0x18f)](_0x57a25b),this[_0x3e3a3a(0x398)](_0x57a25b);}[_0x191796(0x3ad)](_0x1bf055){const _0x4ea380=_0x191796,{unitID:_0x7e9b06}=_0x1bf055,_0x3ae21f=this[_0x4ea380(0x2f9)][_0x4ea380(0x1a3)](_0x7e9b06)[_0x4ea380(0x165)](_0x21c652[_0x4ea380(0x2a6)]),{redoCache:_0x4dd32b}=_0x3ae21f[_0x4ea380(0x3b1)]();if(_0x4dd32b['length']===0x0)return _0x1bf055;let _0x55086c=_0x58f6c8['Tools'][_0x4ea380(0x1cd)](_0x1bf055[_0x4ea380(0x26b)][0x0]);for(let _0x36baea=0x0;_0x36baea<_0x4dd32b['length'];_0x36baea++){const _0x5cd104={'id':_0x4ea380(0x13f),'params':{..._0x4dd32b[_0x36baea]}},_0x42ea77=this[_0x4ea380(0x21e)][_0x4ea380(0x280)](_0x55086c,_0x5cd104,!0x1);if(_0x44e0d0['isTransformMutationFailure'](_0x42ea77))throw _0x42ea77[_0x4ea380(0x2a8)];_0x55086c=_0x42ea77[_0x4ea380(0x308)];}return{..._0x58f6c8[_0x4ea380(0x24f)][_0x4ea380(0x1cd)](_0x1bf055),'mutations':[_0x55086c]};}[_0x191796(0x18f)](_0x42ffd8){const _0xcdc74=_0x191796,{unitID:_0x390b87}=_0x42ffd8,_0x5a3093=this[_0xcdc74(0x2f9)][_0xcdc74(0x1a3)](_0x390b87)[_0xcdc74(0x165)](_0x21c652['DocIMEInputManagerService']),{undoCache:_0x3ff32a,redoCache:_0x336dbd}=_0x5a3093['getUndoRedoMutationParamsCache']();if(_0x3ff32a[_0xcdc74(0x262)]===0x0||_0x336dbd[_0xcdc74(0x262)]===0x0)return;const _0x238a4d=[],_0x39c235=[];let _0x2b16e8=_0x58f6c8[_0xcdc74(0x24f)][_0xcdc74(0x1cd)](_0x42ffd8[_0xcdc74(0x26b)][0x0]),_0x5d6270=_0x58f6c8['Tools'][_0xcdc74(0x1cd)](_0x42ffd8['mutations'][0x0]);for(let _0x3a5591=_0x3ff32a[_0xcdc74(0x262)]-0x1;_0x3a5591>=0x0;_0x3a5591--){const _0x48658b={'id':_0xcdc74(0x13f),'params':{..._0x3ff32a[_0x3a5591]}},_0x2449fb={'id':'doc.mutation.rich-text-editing','params':{..._0x336dbd[_0x3a5591]}},_0x5efde8=this[_0xcdc74(0x21e)][_0xcdc74(0x280)](_0x2b16e8,_0x48658b,!0x1),_0x1a26e5=this[_0xcdc74(0x21e)][_0xcdc74(0x280)](_0x5d6270,_0x2449fb,!0x1);if(_0x44e0d0[_0xcdc74(0x388)](_0x5efde8))throw _0x5efde8[_0xcdc74(0x2a8)];if(_0x44e0d0[_0xcdc74(0x388)](_0x1a26e5))throw _0x1a26e5[_0xcdc74(0x2a8)];_0x238a4d[_0xcdc74(0x16b)](_0x5efde8[_0xcdc74(0x1b4)][_0xcdc74(0x26c)]),_0x39c235['unshift'](_0x1a26e5['m2Prime'][_0xcdc74(0x26c)]),_0x2b16e8=_0x5efde8[_0xcdc74(0x308)],_0x5d6270=_0x1a26e5[_0xcdc74(0x308)];}_0x5a3093[_0xcdc74(0x25c)]({'undoCache':_0x238a4d,'redoCache':_0x39c235});}['_transformPreviousActiveRange'](_0x522528){const _0x732c41=_0x191796,{unitID:_0x411d92}=_0x522528,_0x349e6d=this[_0x732c41(0x2f9)][_0x732c41(0x1a3)](_0x411d92)[_0x732c41(0x165)](_0x21c652[_0x732c41(0x2a6)]),_0x4f2ffb=_0x349e6d[_0x732c41(0x1d9)]();if(_0x4f2ffb==null)return;const _0x2e96af=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x522528['unitID'],'actions':null,'textRanges':[_0x4f2ffb]}}],_0x193289=this[_0x732c41(0x21e)][_0x732c41(0x261)](_0x522528,_0x2e96af);if(!_0x44e0d0[_0x732c41(0x2a5)](_0x193289))throw _0x193289[_0x732c41(0x2a8)];const _0x2e9b8e=_0x193289[_0x732c41(0x1b4)][0x0][_0x732c41(0x26c)][_0x732c41(0x372)];Array['isArray'](_0x2e9b8e)&&_0x2e9b8e['length']&&_0x349e6d[_0x732c41(0x3c1)](_0x2e9b8e[0x0]);}};_0x3fc0f6=_0x1e278e([_0x1669a7(0x0,_0x44e0d0[_0x191796(0x30d)]),_0x1669a7(0x1,_0x41c725['IRenderManagerService'])],_0x3fc0f6);var _0x36bd3f=Object[_0x191796(0x1e8)],_0x3f3162=(_0x4f3c25,_0x176a35,_0x662116,_0x1668dc)=>{const _0x282a04=_0x191796;for(var _0x4edd9c=_0x1668dc>0x1?void 0x0:_0x1668dc?_0x36bd3f(_0x176a35,_0x662116):_0x176a35,_0x281222=_0x4f3c25[_0x282a04(0x262)]-0x1,_0x44a450;_0x281222>=0x0;_0x281222--)(_0x44a450=_0x4f3c25[_0x281222])&&(_0x4edd9c=_0x44a450(_0x4edd9c)||_0x4edd9c);return _0x4edd9c;},_0x333f1e=(_0x137288,_0x488c60)=>(_0x4dfbf5,_0x2ecdff)=>_0x488c60(_0x4dfbf5,_0x2ecdff,_0x137288);let _0x3ceb89=class{constructor(_0x39d925,_0x1694ec,_0x4e48c4){const _0x43603a=_0x191796;this[_0x43603a(0x3d4)]=_0x39d925,this[_0x43603a(0x21e)]=_0x1694ec,this['_docStateChangeManagerService']=_0x4e48c4;}[_0x191796(0x27f)](_0x349a9a){const _0x87cd25=_0x191796;this[_0x87cd25(0x27e)](_0x349a9a);}[_0x191796(0x3ad)](_0x28373c){const _0x1e4ba9=_0x191796,{unitID:_0xb1f2e5}=_0x28373c,{collaboration:_0x163f36}=this['_docStateChangeManagerService'][_0x1e4ba9(0x1a6)](_0xb1f2e5);if(_0x163f36['length']===0x0)return _0x28373c;let _0x2a5d3e=_0x58f6c8[_0x1e4ba9(0x24f)][_0x1e4ba9(0x1cd)](_0x28373c[_0x1e4ba9(0x26b)][0x0]);for(let _0x4de42d=0x0;_0x4de42d<_0x163f36[_0x1e4ba9(0x262)];_0x4de42d++){const _0x391409={'id':_0x1e4ba9(0x13f),'params':{'unitId':_0x163f36[_0x4de42d][_0x1e4ba9(0x1f4)],..._0x163f36[_0x4de42d][_0x1e4ba9(0x253)]}},_0x2ec5b6=this['_transformService']['transformMutation'](_0x2a5d3e,_0x391409,!0x1);if(_0x44e0d0[_0x1e4ba9(0x388)](_0x2ec5b6))throw _0x2ec5b6[_0x1e4ba9(0x2a8)];_0x2a5d3e=_0x2ec5b6['m1Prime'];}return{..._0x58f6c8[_0x1e4ba9(0x24f)][_0x1e4ba9(0x1cd)](_0x28373c),'mutations':[_0x2a5d3e]};}[_0x191796(0x27e)](_0x4e4ebf){const _0x34bb76=_0x191796,{unitID:_0x1d5cbb}=_0x4e4ebf,{history:_0x227f01,collaboration:_0x5afbd5}=this[_0x34bb76(0x328)][_0x34bb76(0x1a6)](_0x1d5cbb);if(_0x227f01[_0x34bb76(0x262)]===0x0&&_0x5afbd5['length']===0x0)return;const _0xd4ef5f=[],_0x52928c=[];let _0x50c46e=_0x58f6c8[_0x34bb76(0x24f)]['deepClone'](_0x4e4ebf[_0x34bb76(0x26b)][0x0]),_0x5c509c=_0x58f6c8[_0x34bb76(0x24f)][_0x34bb76(0x1cd)](_0x4e4ebf[_0x34bb76(0x26b)][0x0]);for(let _0x3ae0db=_0x227f01['length']-0x1;_0x3ae0db>=0x0;_0x3ae0db--){const _0x59942a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x227f01[_0x3ae0db]['unitId'],..._0x227f01[_0x3ae0db][_0x34bb76(0x22a)]}},_0x5caf04={'id':_0x34bb76(0x13f),'params':{'unitId':_0x227f01[_0x3ae0db][_0x34bb76(0x1f4)],..._0x227f01[_0x3ae0db]['redoState']}},_0x2b514e=this[_0x34bb76(0x21e)]['transformMutation'](_0x50c46e,_0x59942a,!0x1),_0x4500d7=this[_0x34bb76(0x21e)][_0x34bb76(0x280)](_0x5c509c,_0x5caf04,!0x1);if(_0x44e0d0['isTransformMutationFailure'](_0x2b514e))throw _0x2b514e[_0x34bb76(0x2a8)];if(_0x44e0d0[_0x34bb76(0x388)](_0x4500d7))throw _0x4500d7[_0x34bb76(0x2a8)];_0xd4ef5f[_0x34bb76(0x16b)]({..._0x227f01[_0x3ae0db],'undoState':_0x2b514e['m2Prime'][_0x34bb76(0x26c)],'redoState':_0x4500d7[_0x34bb76(0x1b4)]['params']}),_0x50c46e=_0x2b514e['m1Prime'],_0x5c509c=_0x4500d7[_0x34bb76(0x308)];}_0x50c46e=_0x58f6c8[_0x34bb76(0x24f)]['deepClone'](_0x4e4ebf['mutations'][0x0]),_0x5c509c=_0x58f6c8[_0x34bb76(0x24f)][_0x34bb76(0x1cd)](_0x4e4ebf[_0x34bb76(0x26b)][0x0]);for(let _0xd7b98a=_0x5afbd5[_0x34bb76(0x262)]-0x1;_0xd7b98a>=0x0;_0xd7b98a--){const _0x194b37={'id':_0x34bb76(0x13f),'params':{'unitId':_0x5afbd5[_0xd7b98a][_0x34bb76(0x1f4)],..._0x5afbd5[_0xd7b98a][_0x34bb76(0x22a)]}},_0x32d73c={'id':_0x34bb76(0x13f),'params':{'unitId':_0x5afbd5[_0xd7b98a][_0x34bb76(0x1f4)],..._0x5afbd5[_0xd7b98a][_0x34bb76(0x253)]}},_0x408c8f=this[_0x34bb76(0x21e)][_0x34bb76(0x280)](_0x50c46e,_0x194b37,!0x1),_0xc78a4=this[_0x34bb76(0x21e)][_0x34bb76(0x280)](_0x5c509c,_0x32d73c,!0x1);if(_0x44e0d0['isTransformMutationFailure'](_0x408c8f))throw _0x408c8f[_0x34bb76(0x2a8)];if(_0x44e0d0['isTransformMutationFailure'](_0xc78a4))throw _0xc78a4['error'];_0x52928c[_0x34bb76(0x16b)]({..._0x5afbd5[_0xd7b98a],'undoState':_0x408c8f[_0x34bb76(0x1b4)][_0x34bb76(0x26c)],'redoState':_0xc78a4['m2Prime'][_0x34bb76(0x26c)]}),_0x50c46e=_0x408c8f[_0x34bb76(0x308)],_0x5c509c=_0xc78a4[_0x34bb76(0x308)];}this[_0x34bb76(0x328)][_0x34bb76(0x298)](_0x1d5cbb,{'history':_0xd4ef5f,'collaboration':_0x52928c});}};_0x3ceb89=_0x3f3162([_0x333f1e(0x0,_0x58f6c8['Inject'](_0x58f6c8['Injector'])),_0x333f1e(0x1,_0x44e0d0[_0x191796(0x30d)]),_0x333f1e(0x2,_0x58f6c8['Inject'](_0x21c652[_0x191796(0x38d)]))],_0x3ceb89);var _0x3a0f13=Object[_0x191796(0x1e8)],_0x4f4d47=(_0x518a6e,_0x309549,_0x345761,_0x2e64ac)=>{const _0x38907c=_0x191796;for(var _0x5552b9=_0x2e64ac>0x1?void 0x0:_0x2e64ac?_0x3a0f13(_0x309549,_0x345761):_0x309549,_0xc66fbf=_0x518a6e[_0x38907c(0x262)]-0x1,_0xb83e10;_0xc66fbf>=0x0;_0xc66fbf--)(_0xb83e10=_0x518a6e[_0xc66fbf])&&(_0x5552b9=_0xb83e10(_0x5552b9)||_0x5552b9);return _0x5552b9;},_0x1550b5=(_0xcbd17c,_0x298141)=>(_0x3398ce,_0x14269f)=>_0x298141(_0x3398ce,_0x14269f,_0xcbd17c);let _0x8796d8=class{constructor(_0x5cc5d5,_0x492f6e){const _0x37c8b3=_0x191796;this[_0x37c8b3(0x3d4)]=_0x5cc5d5,this['_transformService']=_0x492f6e;}[_0x191796(0x15e)](_0x3d9975){const _0x7200cb=_0x191796;var _0x13e11e;const _0x26d6e0=this[_0x7200cb(0x3d4)][_0x7200cb(0x364)](_0x4cf100[_0x7200cb(0x191)]),_0x2cc724=(_0x13e11e=_0x26d6e0[_0x7200cb(0x2d3)]())!=null?_0x13e11e:[];if(_0x2cc724['length']===0x0)return;const _0x5314aa=_0x3d9975[_0x7200cb(0x26d)],_0x532622=[{'id':_0x7200cb(0x13f),'params':{'unitId':_0x5314aa,'actions':null,'textRanges':_0x2cc724}}],_0x3409da=this[_0x7200cb(0x21e)][_0x7200cb(0x261)](_0x3d9975,_0x532622);if(!_0x44e0d0[_0x7200cb(0x2a5)](_0x3409da))throw _0x3409da[_0x7200cb(0x2a8)];const _0x44652d=_0x3409da[_0x7200cb(0x1b4)][0x0][_0x7200cb(0x26c)][_0x7200cb(0x372)];Array[_0x7200cb(0x312)](_0x44652d)&&_0x44652d['length']&&_0x26d6e0['replaceDocRanges'](_0x44652d,{'unitId':_0x5314aa,'subUnitId':_0x5314aa},!0x1);}};_0x8796d8=_0x4f4d47([_0x1550b5(0x0,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x1cb)])),_0x1550b5(0x1,_0x44e0d0[_0x191796(0x30d)])],_0x8796d8);var _0x4b4371=Object['getOwnPropertyDescriptor'],_0x4c5ce2=(_0x1418a0,_0xa5e613,_0x505afe,_0x21b76c)=>{for(var _0x5e50c8=_0x21b76c>0x1?void 0x0:_0x21b76c?_0x4b4371(_0xa5e613,_0x505afe):_0xa5e613,_0x12f0a8=_0x1418a0['length']-0x1,_0x3c61cd;_0x12f0a8>=0x0;_0x12f0a8--)(_0x3c61cd=_0x1418a0[_0x12f0a8])&&(_0x5e50c8=_0x3c61cd(_0x5e50c8)||_0x5e50c8);return _0x5e50c8;},_0x5a8e6f=(_0x38e131,_0xae2e6e)=>(_0x21c0d0,_0x186b8e)=>_0xae2e6e(_0x21c0d0,_0x186b8e,_0x38e131);let _0x31c538=class extends _0x58f6c8[_0x191796(0x384)]{constructor(_0x425532,_0x20ef2a,_0x35bd1e,_0x1f1991,_0x226f03,_0x490663,_0x218de6,_0x16e170){const _0x5d9f39=_0x191796;super(),_0x27b740(this,'_status$',new _0x1578c2[(_0x5d9f39(0x204))](_0x367c63[_0x5d9f39(0x3c6)][_0x5d9f39(0x245)])),(this[_0x5d9f39(0x328)]=_0x425532,this[_0x5d9f39(0x1ae)]=_0x20ef2a,this[_0x5d9f39(0x373)]=_0x35bd1e,this[_0x5d9f39(0x2bc)]=_0x1f1991,this[_0x5d9f39(0x1f9)]=_0x226f03,this[_0x5d9f39(0x2ed)]=_0x490663,this[_0x5d9f39(0x344)]=_0x218de6,this[_0x5d9f39(0x1ce)]=_0x16e170,this[_0x5d9f39(0x23f)]());}[_0x191796(0x23f)](){const _0x1b340c=_0x191796;this['disposeWithMe'](this[_0x1b340c(0x1ae)][_0x1b340c(0x1e1)][_0x1b340c(0x2a4)](_0xa2f9db=>{const _0x29ed3e=_0x1b340c,_0x3cbd26=this[_0x29ed3e(0x328)][_0x29ed3e(0x305)][_0x29ed3e(0x2a4)](_0x2512b1=>{const _0x3bbe27=_0x29ed3e;if(_0x2512b1==null)return;const {unitId:_0x2969c3,redoState:_0x2caa19,commandId:_0x996300}=_0x2512b1;if(_0x2969c3!==_0xa2f9db[_0x3bbe27(0x26d)])return;const _0x4a9510={'id':_0x996300,'type':_0x58f6c8[_0x3bbe27(0x150)][_0x3bbe27(0x317)],'params':{'unitId':_0x2969c3,'actions':_0x2caa19['actions'],'textRanges':null}};_0xa2f9db['onLocalMutation'](_0x4a9510);});if(_0xa2f9db[_0x29ed3e(0x1dc)](_0x3cbd26),_0xa2f9db instanceof _0x367c63[_0x29ed3e(0x2b1)]){const _0x4a9f85={'onTransformIME':_0xc1ba4d=>this[_0x29ed3e(0x373)][_0x29ed3e(0x272)](_0xc1ba4d),'onTransformState':_0x38b918=>this['_docTransformStateCacheService']['transformStateCache'](_0x38b918),'onTransformSelections':_0x245ba7=>this[_0x29ed3e(0x1f9)][_0x29ed3e(0x15e)](_0x245ba7),'onSyncEditingCollabCursor':_0x1e9c34=>this[_0x29ed3e(0x2ed)][_0x29ed3e(0x276)](_0x1e9c34),'onTransformRemoteChangesetByIMECache':_0x4b9795=>this[_0x29ed3e(0x373)]['transformRemoteChangeset'](_0x4b9795),'onTransformRemoteChangesetByStateCache':_0x211b4e=>this[_0x29ed3e(0x2bc)]['transformRemoteChangeset'](_0x211b4e)};_0xa2f9db[_0x29ed3e(0x2d5)](_0x4a9f85);}}));}};_0x31c538=_0x4c5ce2([_0x5a8e6f(0x0,_0x58f6c8[_0x191796(0x330)](_0x21c652[_0x191796(0x38d)])),_0x5a8e6f(0x1,_0x58f6c8['Inject'](_0x367c63['CollaborationController'])),_0x5a8e6f(0x2,_0x58f6c8[_0x191796(0x330)](_0x3fc0f6)),_0x5a8e6f(0x3,_0x58f6c8['Inject'](_0x3ceb89)),_0x5a8e6f(0x4,_0x58f6c8[_0x191796(0x330)](_0x8796d8)),_0x5a8e6f(0x5,_0x58f6c8['Inject'](_0x3ba835)),_0x5a8e6f(0x6,_0x570ef0['IMessageService']),_0x5a8e6f(0x7,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x2ce)]))],_0x31c538);var _0x537153=Object[_0x191796(0x1e8)],_0x12baf2=(_0x131ffc,_0x114b17,_0x57c804,_0x4a7fcc)=>{for(var _0x3dd07c=_0x4a7fcc>0x1?void 0x0:_0x4a7fcc?_0x537153(_0x114b17,_0x57c804):_0x114b17,_0x3bafb5=_0x131ffc['length']-0x1,_0x50acc8;_0x3bafb5>=0x0;_0x3bafb5--)(_0x50acc8=_0x131ffc[_0x3bafb5])&&(_0x3dd07c=_0x50acc8(_0x3dd07c)||_0x3dd07c);return _0x3dd07c;},_0x830515=(_0x385bc6,_0x5cdbd9)=>(_0x289ca8,_0x4af1ff)=>_0x5cdbd9(_0x289ca8,_0x4af1ff,_0x385bc6);let _0x328bf8=class extends _0x58f6c8['Disposable']{constructor(_0x4f990d,_0x470083,_0x2f455a){const _0x1d7691=_0x191796;super(),_0x27b740(this,'_cachedData',new Map()),_0x27b740(this,'_saveTaskMap',new Map()),_0x27b740(this,_0x1d7691(0x383),!0x1),(this[_0x1d7691(0x212)]=_0x4f990d,this['_localStorageService']=_0x470083,this['_revisionService']=_0x2f455a);}[_0x191796(0x3a1)](){const _0x27d61f=_0x191796;this[_0x27d61f(0x383)]=!0x0;}['enableLocalCache'](){const _0x2e2548=_0x191796;this[_0x2e2548(0x383)]=!0x1;}get[_0x191796(0x1d0)](){const _0x23de38=_0x191796;return this[_0x23de38(0x250)];}[_0x191796(0x211)](){const _0x443e45=_0x191796;this[_0x443e45(0x34d)]()[_0x443e45(0x3bc)](()=>super[_0x443e45(0x211)]());}async[_0x191796(0x257)](_0x2ad841){const _0x5eeb27=_0x191796;return this[_0x5eeb27(0x383)]?null:this['_localStorageService']['getItem'](_0x367c63[_0x5eeb27(0x2f2)](_0x2ad841));}async[_0x191796(0x304)](_0x2dbe1e,_0x559ae9){const _0x5e925c=_0x191796;return!!this[_0x5e925c(0x256)][_0x5e925c(0x290)](_0x2dbe1e,_0x559ae9);}[_0x191796(0x205)](_0x4a18b8,_0x4602c8,_0xda0bec,_0x10efe7){const _0xdfb174=_0x191796,_0x431291=this[_0xdfb174(0x15a)][_0xdfb174(0x36e)](_0x4a18b8);this[_0xdfb174(0x2ec)][_0xdfb174(0x338)](_0x4a18b8,{'unitID':_0x4a18b8,'type':_0x4602c8,'awaitingChangeset':_0xda0bec,'mutations':_0x10efe7,'rev':_0x431291}),this[_0xdfb174(0x250)][_0xdfb174(0x1f3)](_0x4a18b8)||this[_0xdfb174(0x1b9)](_0x4a18b8);}[_0x191796(0x1b9)](_0x451bc4){const _0x40a3a4=_0x191796,_0x513342=this[_0x40a3a4(0x3a4)]();_0x513342===0x0?this[_0x40a3a4(0x1a5)](_0x451bc4):this[_0x40a3a4(0x250)][_0x40a3a4(0x338)](_0x451bc4,setTimeout(()=>this[_0x40a3a4(0x1a5)](_0x451bc4),_0x513342));}['_getSaveTimeout'](){const _0x3026a4=_0x191796;var _0x3c2e7f;return(_0x3c2e7f=this['_configService'][_0x3026a4(0x359)](_0x367c63[_0x3026a4(0x2ea)]))!=null?_0x3c2e7f:_0x367c63['LOCAL_CACHE_INTERVAL'];}[_0x191796(0x1a5)](_0xa3f588){const _0x4f7877=_0x191796,_0x2278e3=this[_0x4f7877(0x250)]['get'](_0xa3f588);return _0x2278e3!==void 0x0&&window[_0x4f7877(0x296)](_0x2278e3),this[_0x4f7877(0x256)][_0x4f7877(0x290)](_0x367c63[_0x4f7877(0x2f2)](_0xa3f588),this[_0x4f7877(0x2ec)]['get'](_0xa3f588))['then'](()=>this['_saveTaskMap'][_0x4f7877(0x2b2)](_0xa3f588));}async[_0x191796(0x34d)](){const _0x149049=_0x191796,_0x4c53e3=[];this[_0x149049(0x250)]['forEach']((_0xdc66a7,_0x1f70ac)=>{const _0x595ebf=_0x149049;window[_0x595ebf(0x296)](_0xdc66a7),_0x4c53e3[_0x595ebf(0x1c3)](this[_0x595ebf(0x1a5)](_0x1f70ac)['then'](()=>{const _0x211653=_0x595ebf;this[_0x211653(0x250)][_0x211653(0x2b2)](_0x1f70ac);}));}),await Promise[_0x149049(0x28d)](_0x4c53e3);}};_0x328bf8=_0x12baf2([_0x830515(0x0,_0x58f6c8['IConfigService']),_0x830515(0x1,_0x58f6c8[_0x191796(0x3ba)]),_0x830515(0x2,_0x58f6c8[_0x191796(0x330)](_0x44e0d0[_0x191796(0x1de)]))],_0x328bf8);class _0x989686 extends _0x58f6c8[_0x191796(0x1dd)]{constructor(){const _0x4f1e70=_0x191796;super(),_0x27b740(this,_0x4f1e70(0x27b)),this[_0x4f1e70(0x27b)]=_0x1578c2[_0x4f1e70(0x142)](window,_0x4f1e70(0x1b1))['pipe'](_0x1578c2['takeUntil'](this[_0x4f1e70(0x2da)]),_0x1578c2['shareReplay'](0x1),_0x1578c2['mapTo'](void 0x0));}[_0x191796(0x323)](_0x89e5a7,_0xb39e63,_0xdcb3a3=!0x1){const _0x401af7=_0x191796,_0x452143=new URL(window[_0x401af7(0x35f)][_0x401af7(0x14d)]);_0x452143[_0x401af7(0x233)][_0x401af7(0x338)](_0x89e5a7,_0xb39e63),_0xdcb3a3?window[_0x401af7(0x2bf)][_0x401af7(0x221)]('','',_0x452143[_0x401af7(0x284)]()):window[_0x401af7(0x2bf)][_0x401af7(0x3a9)]('','',_0x452143[_0x401af7(0x284)]());}[_0x191796(0x393)](_0x19c352,_0x4b7f40=!0x1){const _0x150085=_0x191796,_0x23b401=new URL(window['location']['href']);_0x23b401[_0x150085(0x233)][_0x150085(0x2b2)](_0x19c352),_0x4b7f40?window[_0x150085(0x2bf)][_0x150085(0x221)]('','',_0x23b401['toString']()):window[_0x150085(0x2bf)][_0x150085(0x3a9)]('','',_0x23b401['toString']());}[_0x191796(0x3b5)](_0x29aff6){const _0x1a3ae2=_0x191796;var _0x49cdd6;return(_0x49cdd6=new URL(window[_0x1a3ae2(0x35f)][_0x1a3ae2(0x14d)])[_0x1a3ae2(0x233)][_0x1a3ae2(0x364)](_0x29aff6))!=null?_0x49cdd6:void 0x0;}}var _0x1868b4=Object[_0x191796(0x31d)],_0xcf6a5b=Object[_0x191796(0x1e8)],_0x1aedd6=(_0x231e2e,_0x24ba2b,_0x1ff13b)=>_0x24ba2b in _0x231e2e?_0x1868b4(_0x231e2e,_0x24ba2b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ff13b}):_0x231e2e[_0x24ba2b]=_0x1ff13b,_0x3402cf=(_0x3311cd,_0x3c789f,_0x109883,_0x19562d)=>{for(var _0x23fba2=_0x19562d>0x1?void 0x0:_0x19562d?_0xcf6a5b(_0x3c789f,_0x109883):_0x3c789f,_0x51d6fb=_0x3311cd['length']-0x1,_0x80fff5;_0x51d6fb>=0x0;_0x51d6fb--)(_0x80fff5=_0x3311cd[_0x51d6fb])&&(_0x23fba2=_0x80fff5(_0x23fba2)||_0x23fba2);return _0x23fba2;},_0x1261b9=(_0x4b0318,_0x79cf88)=>(_0x597593,_0x445f9b)=>_0x79cf88(_0x597593,_0x445f9b,_0x4b0318),_0x5daf17=(_0x34af63,_0x31e165,_0x53fb24)=>_0x1aedd6(_0x34af63,_0x31e165+'',_0x53fb24);const _0x656c71='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x32312a[_0x191796(0x333)]=class extends _0x58f6c8['Plugin']{constructor(_0x94ddd4=_0x30447a,_0x3a40e0,_0x451b9e,_0x1e2a99){const _0x5096a9=_0x191796;super(),this['_config']=_0x94ddd4,this['_renderManagerService']=_0x3a40e0,this['_injector']=_0x451b9e,this[_0x5096a9(0x212)]=_0x1e2a99;const {..._0x4029c4}=_0x58f6c8[_0x5096a9(0x242)]({},_0x30447a,this[_0x5096a9(0x2a3)]);this[_0x5096a9(0x212)][_0x5096a9(0x2db)](_0x1c3d00,_0x4029c4);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x191796(0x159)](){const _0x168de5=_0x191796;this[_0x168de5(0x3b3)]();}['_registerDependencies'](){const _0x30851d=_0x191796;var _0x3034d7;const _0x22c37f=[[_0x49f086],[_0x8796d8],[_0x3fc0f6],[_0x3ceb89],[_0x3ba835],[_0x68c4f9,{'useClass':_0x989686}],[_0x53e9e6[_0x30851d(0x1c0)],{'useClass':_0x53e9e6[_0x30851d(0x34c)]}],[_0x367c63[_0x30851d(0x326)],{'useClass':_0x328bf8}],[_0x32312a[_0x30851d(0x33c)]],[_0x31c538],[_0x5bac2c],[_0xe9a56d],[_0x5a2fa8],[_0x32312a[_0x30851d(0x183)]]];_0x58f6c8[_0x30851d(0x318)](this[_0x30851d(0x3d4)],_0x58f6c8['mergeOverrideWithDependencies'](_0x22c37f,(_0x3034d7=this[_0x30851d(0x2a3)])==null?void 0x0:_0x3034d7[_0x30851d(0x259)]));}['_registerRenderDependencies'](){const _0x5acb48=_0x191796;this[_0x5acb48(0x1dc)](this[_0x5acb48(0x2f9)][_0x5acb48(0x1cc)](_0x58f6c8[_0x5acb48(0x2cb)][_0x5acb48(0x396)],[_0x2c6f2b])),this[_0x5acb48(0x1dc)](this[_0x5acb48(0x2f9)][_0x5acb48(0x1cc)](_0x58f6c8['UniverInstanceType'][_0x5acb48(0x144)],[_0x4e02c2]));}[_0x191796(0x2d9)](){const _0x5804b5=_0x191796;_0x58f6c8['touchDependencies'](this['_injector'],[[_0xe9a56d],[_0x32312a[_0x5804b5(0x33c)]],[_0x31c538],[_0x5bac2c],[_0x32312a['CollaborationDataLoaderController']]]);}},_0x5daf17(_0x32312a[_0x191796(0x333)],'pluginName',_0x656c71),_0x32312a[_0x191796(0x333)]=_0x3402cf([_0x58f6c8[_0x191796(0x148)](_0x367c63[_0x191796(0x36d)]),_0x1261b9(0x1,_0x41c725[_0x191796(0x2a7)]),_0x1261b9(0x2,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x1cb)])),_0x1261b9(0x3,_0x58f6c8[_0x191796(0x30a)])],_0x32312a[_0x191796(0x333)]);var _0x3ca987=Object[_0x191796(0x1e8)],_0xf09c6c=(_0x30ee47,_0xea6bb3,_0x53ae62,_0x20512e)=>{const _0x43792c=_0x191796;for(var _0x9771f9=_0x20512e>0x1?void 0x0:_0x20512e?_0x3ca987(_0xea6bb3,_0x53ae62):_0xea6bb3,_0x17839c=_0x30ee47[_0x43792c(0x262)]-0x1,_0x1f452f;_0x17839c>=0x0;_0x17839c--)(_0x1f452f=_0x30ee47[_0x17839c])&&(_0x9771f9=_0x1f452f(_0x9771f9)||_0x9771f9);return _0x9771f9;},_0x3fc6bc=(_0x1ee380,_0x1a1cff)=>(_0xc880ac,_0x1aaf27)=>_0x1a1cff(_0xc880ac,_0x1aaf27,_0x1ee380);_0x32312a[_0x191796(0x39c)]=class extends _0x367c63[_0x191796(0x289)]{constructor(_0x568912,_0x1e5944,_0x4b18b0,_0x487c8a,_0x10c69a){super(_0x568912,_0x1e5944,_0x4b18b0,_0x487c8a,_0x10c69a);}async[_0x191796(0x379)](_0x48b07a){const _0x17eaf9=_0x191796,_0x39df45=await this[_0x17eaf9(0x2b4)](),_0x3b20b1=this[_0x17eaf9(0x22c)](_0x48b07a,_0x39df45);return this['_doCreateSocket'](_0x3b20b1);}[_0x191796(0x22c)](_0x50a20f,_0x37c832){const _0x67f557=_0x191796,_0x1b6e0f=typeof window>'u'?new URL(_0x50a20f):new URL(_0x50a20f,window[_0x67f557(0x35f)]['origin']);_0x1b6e0f['searchParams'][_0x67f557(0x338)](_0x67f557(0x198),_0x37c832);const _0xef64ee=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x67f557(0x35f)]['search']);return _0xef64ee[_0x67f557(0x364)](_0x67f557(0x31e))&&_0x1b6e0f[_0x67f557(0x233)][_0x67f557(0x338)](_0x67f557(0x31e),_0xef64ee[_0x67f557(0x364)](_0x67f557(0x31e))),_0x1b6e0f[_0x67f557(0x284)]();}async['_getSessionTicket'](){const _0x5b67b1=_0x191796;var _0x186676,_0x4d3dbf,_0x3c5596;const _0x4d22e5=this[_0x5b67b1(0x212)][_0x5b67b1(0x359)](_0x367c63[_0x5b67b1(0x200)]),_0x234e67=(_0x186676=_0x4d22e5==null?void 0x0:_0x4d22e5['wsSessionTicketUrl'])!=null?_0x186676:_0x367c63[_0x5b67b1(0x16e)];return(_0x3c5596=(_0x4d3dbf=(await this['_httpService'][_0x5b67b1(0x364)](_0x234e67,{'headers':{'Content-Type':_0x5b67b1(0x15f)}}))['body'])==null?void 0x0:_0x4d3dbf[_0x5b67b1(0x3ce)])!=null?_0x3c5596:'';}},_0x32312a[_0x191796(0x39c)]=_0xf09c6c([_0x3fc6bc(0x0,_0x58f6c8[_0x191796(0x330)](_0x58f6c8[_0x191796(0x1cb)])),_0x3fc6bc(0x1,_0x58f6c8[_0x191796(0x330)](_0x53e9e6['HTTPService'])),_0x3fc6bc(0x2,_0x58f6c8[_0x191796(0x30a)]),_0x3fc6bc(0x3,_0x58f6c8['ILogService']),_0x3fc6bc(0x4,_0x44e0d0[_0x191796(0x360)])],_0x32312a[_0x191796(0x39c)]);var _0x4bea21=(_0x32b254=>(_0x32b254[_0x32b254['UNDEFINED']=0x0]='UNDEFINED',_0x32b254[_0x32b254['OK']=0x1]='OK',_0x32b254[_0x32b254[_0x191796(0x175)]=0x2]=_0x191796(0x175),_0x32b254[_0x32b254['PERMISSION_DENIED']=0x3]=_0x191796(0x293),_0x32b254[_0x32b254['NOT_FOUND']=0x4]='NOT_FOUND',_0x32b254[_0x32b254[_0x191796(0x3c7)]=0x5]='UNAUTHENTICATED',_0x32b254[_0x32b254['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x32b254[_0x32b254[_0x191796(0x1fb)]=0x7]=_0x191796(0x1fb),_0x32b254[_0x32b254['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x32b254[_0x32b254[_0x191796(0x1bb)]=0x9]=_0x191796(0x1bb),_0x32b254[_0x32b254[_0x191796(0x2e6)]=0xa]=_0x191796(0x2e6),_0x32b254[_0x32b254[_0x191796(0x161)]=0xb]=_0x191796(0x161),_0x32b254[_0x32b254['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x32b254[_0x32b254[_0x191796(0x234)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x32b254[_0x32b254[_0x191796(0x249)]=0xe]=_0x191796(0x249),_0x32b254[_0x32b254['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x191796(0x174),_0x32b254[_0x32b254[_0x191796(0x1f0)]=0x1771]=_0x191796(0x1f0),_0x32b254[_0x32b254['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x191796(0x230),_0x32b254[_0x32b254[_0x191796(0x2ae)]=0x1773]=_0x191796(0x2ae),_0x32b254[_0x32b254[_0x191796(0x34a)]=0x1b59]=_0x191796(0x34a),_0x32b254[_0x32b254[_0x191796(0x314)]=0x1b5a]=_0x191796(0x314),_0x32b254[_0x32b254[_0x191796(0x255)]=0x1b5b]=_0x191796(0x255),_0x32b254[_0x32b254[_0x191796(0x334)]=0x1b5c]=_0x191796(0x334),_0x32b254[_0x32b254[_0x191796(0x15d)]=0x1b5d]=_0x191796(0x15d),_0x32b254[_0x32b254[_0x191796(0x1d5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x32b254[_0x32b254['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x32b254[_0x32b254[_0x191796(0x3ab)]=0x232a]=_0x191796(0x3ab),_0x32b254[_0x32b254[_0x191796(0x38e)]=0x232b]=_0x191796(0x38e),_0x32b254[_0x32b254[_0x191796(0x377)]=0x232c]=_0x191796(0x377),_0x32b254[_0x32b254[_0x191796(0x21f)]=0x232d]=_0x191796(0x21f),_0x32b254[_0x32b254[_0x191796(0x1ab)]=0x2711]=_0x191796(0x1ab),_0x32b254[_0x32b254[_0x191796(0x231)]=0x2712]=_0x191796(0x231),_0x32b254[_0x32b254[_0x191796(0x32c)]=0x2713]=_0x191796(0x32c),_0x32b254[_0x32b254[_0x191796(0x351)]=0x2714]=_0x191796(0x351),_0x32b254[_0x32b254['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x191796(0x155),_0x32b254[_0x32b254[_0x191796(0x1f5)]=0x271b]=_0x191796(0x1f5),_0x32b254[_0x32b254[_0x191796(0x2e4)]=0x271c]=_0x191796(0x2e4),_0x32b254[_0x32b254[_0x191796(0x31b)]=0x271d]=_0x191796(0x31b),_0x32b254[_0x32b254[_0x191796(0x378)]=0x271e]=_0x191796(0x378),_0x32b254[_0x32b254['YUUMI_AI_RUN_FAILED']=0x271f]=_0x191796(0x147),_0x32b254[_0x32b254['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x191796(0x291),_0x32b254[_0x32b254[_0x191796(0x352)]=0x2af9]=_0x191796(0x352),_0x32b254[_0x32b254[_0x191796(0x25a)]=0x2ee1]=_0x191796(0x25a),_0x32b254[_0x32b254['INVALID_INVITE_CODE']=0x2ee2]=_0x191796(0x1c1),_0x32b254[_0x32b254[_0x191796(0x14a)]=0x2ee3]=_0x191796(0x14a),_0x32b254[_0x32b254[_0x191796(0x2e1)]=0x2ee4]=_0x191796(0x2e1),_0x32b254[_0x32b254[_0x191796(0x362)]=0x2ee5]=_0x191796(0x362),_0x32b254[_0x32b254[_0x191796(0x268)]=0x32c9]=_0x191796(0x268),_0x32b254[_0x32b254['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x191796(0x277),_0x32b254[_0x32b254['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x191796(0x2b0),_0x32b254[_0x32b254[_0x191796(0x3aa)]=-0x1]=_0x191796(0x3aa),_0x32b254))(_0x4bea21||{}),_0x3b08ed=Object[_0x191796(0x1e8)],_0x4e5a59=(_0x531bb4,_0x4bb4f9,_0x5ec27c,_0x1e45e0)=>{const _0x3089e0=_0x191796;for(var _0x21cb99=_0x1e45e0>0x1?void 0x0:_0x1e45e0?_0x3b08ed(_0x4bb4f9,_0x5ec27c):_0x4bb4f9,_0x3c6aa5=_0x531bb4[_0x3089e0(0x262)]-0x1,_0x550735;_0x3c6aa5>=0x0;_0x3c6aa5--)(_0x550735=_0x531bb4[_0x3c6aa5])&&(_0x21cb99=_0x550735(_0x21cb99)||_0x21cb99);return _0x21cb99;},_0x192eeb=(_0x130105,_0x26c0e5)=>(_0x4cec79,_0xc78f69)=>_0x26c0e5(_0x4cec79,_0xc78f69,_0x130105);_0x32312a['RemoteUniscriptService']=class extends _0x58f6c8[_0x191796(0x384)]{constructor(_0x17bd8f,_0xb15615,_0x219380){const _0x480238=_0x191796;super(),this['_instanceService']=_0x17bd8f,this['_httpService']=_0xb15615,this[_0x480238(0x212)]=_0x219380;}async['runOnServer'](_0x3e6e11,_0xb9848d,_0x3a1051,..._0x2cd9e7){const _0x4a849d=_0x191796;var _0x17f668,_0x249e31,_0x5f1804,_0x47ee26;const _0x34e2d9=this[_0x4a849d(0x17a)][_0x4a849d(0x2fa)]();if(!_0x34e2d9)throw new Error(_0x4a849d(0x371));const _0x4dc7b1=((_0x17f668=this['_configService'][_0x4a849d(0x359)](_0x367c63[_0x4a849d(0x29c)]))!=null?_0x17f668:_0x367c63[_0x4a849d(0x369)])+'/'+_0x3e6e11+_0x4a849d(0x1f8)+_0xb9848d,_0x36794a=new URL(window[_0x4a849d(0x35f)][_0x4a849d(0x14d)]),_0x444007={'scriptId':_0x3e6e11,'runId':(_0x249e31=_0x36794a['searchParams'][_0x4a849d(0x364)](_0x4a849d(0x31e)))!=null?_0x249e31:'','function':_0xb9848d,'unitId':_0x34e2d9[_0x4a849d(0x1c5)](),'argsOfFunction':JSON[_0x4a849d(0x33b)](_0x2cd9e7),'invokeId':(_0x5f1804=_0x3a1051[_0x4a849d(0x343)])!=null?_0x5f1804:'','executionId':(_0x47ee26=_0x3a1051[_0x4a849d(0x29b)])!=null?_0x47ee26:''};try{const _0x543496=await this[_0x4a849d(0x385)][_0x4a849d(0x39f)](_0x4dc7b1,{'body':_0x444007});return _0x543496[_0x4a849d(0x19c)][_0x4a849d(0x2a8)]&&_0x543496[_0x4a849d(0x19c)][_0x4a849d(0x2a8)][_0x4a849d(0x2f8)]!==_0x4bea21['OK']?_0x4a849d(0x2ad):_0x543496[_0x4a849d(0x19c)][_0x4a849d(0x32f)];}catch{return'Failed';}}},_0x32312a[_0x191796(0x1c8)]=_0x4e5a59([_0x192eeb(0x0,_0x58f6c8[_0x191796(0x1bc)]),_0x192eeb(0x1,_0x58f6c8['Inject'](_0x53e9e6[_0x191796(0x3d1)])),_0x192eeb(0x2,_0x58f6c8['IConfigService'])],_0x32312a['RemoteUniscriptService']);const _0x55dfd7=0x7530,_0x5ba1e4='ACTIVE_UNIT_EVENT_CHANNEL';class _0x199c6b extends _0x58f6c8[_0x191796(0x384)]{constructor(){const _0x3ad280=_0x191796;super(),_0x27b740(this,'_id',_0x58f6c8['generateRandomId']()),_0x27b740(this,_0x3ad280(0x2a1),new Set()),_0x27b740(this,'_unitOnClients',new Map()),_0x27b740(this,'_heartbeatTimer',null),_0x27b740(this,'_clearOtherTimers',new Map()),_0x27b740(this,_0x3ad280(0x22e),new Map()),this[_0x3ad280(0x254)]();}[_0x191796(0x211)](){const _0x492b78=_0x191796;super['dispose'](),this[_0x492b78(0x264)][_0x492b78(0x238)]((_0x1ff5bc,_0x1ff4a5)=>this['_removeClearOtherTimer'](_0x1ff4a5)),this[_0x492b78(0x173)]&&window['clearInterval'](this[_0x492b78(0x173)]);}['getUnitStatus$'](_0x19094b){const _0x378df2=_0x191796;return this['_ensureSubject'](_0x19094b)[_0x378df2(0x31a)](_0x1578c2[_0x378df2(0x179)]());}['editingUnit'](_0x21c4cc){const _0x46a739=_0x191796;this[_0x46a739(0x2a1)][_0x46a739(0x2fe)]===0x0&&this['_scheduleHeartbeat'](),this[_0x46a739(0x2a1)][_0x46a739(0x273)](_0x21c4cc),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x21c4cc],'isForwarded':!0x1});}[_0x191796(0x2e2)](_0x100090){const _0x4e526a=_0x191796;this[_0x4e526a(0x2a1)]['delete'](_0x100090),this[_0x4e526a(0x2a1)]['size']===0x0&&this[_0x4e526a(0x173)]&&window[_0x4e526a(0x27a)](this['_heartbeatTimer']);}[_0x191796(0x254)](){const _0x2172ee=_0x191796;this[_0x2172ee(0x1dc)](_0x58f6c8[_0x2172ee(0x1df)](_0x1578c2[_0x2172ee(0x142)](window,_0x2172ee(0x187))[_0x2172ee(0x2a4)](_0x56a8eb=>{const _0x4a8092=_0x2172ee;if(_0x56a8eb[_0x4a8092(0x216)]!==_0x5ba1e4||!_0x56a8eb['newValue'])return;const _0x8b2862=JSON[_0x4a8092(0x301)](_0x56a8eb[_0x4a8092(0x2f1)]);this['_handleEvent'](_0x8b2862);}))),window[_0x2172ee(0x3c2)](_0x2172ee(0x17d),()=>this['_send']({'type':0x1,'memberID':this[_0x2172ee(0x386)],'unitIDs':Array['from'](this[_0x2172ee(0x2a1)])}));}[_0x191796(0x156)](_0x3eb005){const _0x44c035=_0x191796;switch(_0x3eb005[_0x44c035(0x199)]){case 0x0:this['_handleJoinEvent'](_0x3eb005);break;case 0x1:this[_0x44c035(0x309)](_0x3eb005);break;case 0x2:this[_0x44c035(0x145)](_0x3eb005);break;}}[_0x191796(0x1ca)](_0x15c5f2){const _0x1f45ab=_0x191796,{unitIDs:_0xd0efde,memberID:_0x531975,isForwarded:_0x5807c3}=_0x15c5f2;_0xd0efde['forEach'](_0x1a0b5d=>{const _0x15af0f=_0x106e;if(!_0x5807c3&&this[_0x15af0f(0x185)][_0x15af0f(0x1f3)](_0x1a0b5d)&&this[_0x15af0f(0x17b)](_0x1a0b5d)[_0x15af0f(0x39b)](_0x367c63[_0x15af0f(0x207)][_0x15af0f(0x23c)]),!this[_0x15af0f(0x185)][_0x15af0f(0x1f3)](_0x1a0b5d)||!this[_0x15af0f(0x185)][_0x15af0f(0x364)](_0x1a0b5d)[_0x15af0f(0x1f3)](_0x531975)){const _0x1574ab=this['_unitOnClients'][_0x15af0f(0x364)](_0x1a0b5d)||new Set();_0x1574ab[_0x15af0f(0x273)](_0x531975),this['_unitOnClients'][_0x15af0f(0x338)](_0x1a0b5d,_0x1574ab),this['_scheduleClearOtherTimer'](_0x531975);}}),_0x5807c3||this[_0x1f45ab(0x2fb)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1f45ab(0x2a1)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x454f95){const _0x574cf3=_0x191796;this['_removeClearOtherTimer'](_0x454f95);const _0x4b764a=window['setTimeout'](()=>{const _0x7a3eb9=_0x106e;this[_0x7a3eb9(0x185)][_0x7a3eb9(0x238)](_0x7cbf24=>{const _0x12c37f=_0x7a3eb9;_0x7cbf24[_0x12c37f(0x2b2)](_0x454f95);});},_0x55dfd7*0x2);this[_0x574cf3(0x264)][_0x574cf3(0x338)](_0x454f95,_0x4b764a);}[_0x191796(0x19b)](_0x1173f8){const _0x1c90e9=_0x191796;if(this['_clearOtherTimers'][_0x1c90e9(0x1f3)](_0x1173f8)){const _0x59c541=this[_0x1c90e9(0x264)][_0x1c90e9(0x364)](_0x1173f8);_0x59c541&&window[_0x1c90e9(0x296)](_0x59c541),this['_clearOtherTimers']['set'](_0x1173f8,null);}}[_0x191796(0x309)](_0x589716){const _0x42b856=_0x191796,{memberID:_0x432563,unitIDs:_0x23ee9a}=_0x589716;_0x23ee9a['forEach'](_0x879a1=>{const _0x2e4537=_0x106e;var _0x349d7f;const _0x33de75=this['_unitOnClients']['get'](_0x879a1);_0x33de75&&(_0x33de75[_0x2e4537(0x2b2)](_0x432563),(_0x349d7f=this[_0x2e4537(0x17b)](_0x879a1))==null||_0x349d7f[_0x2e4537(0x39b)](_0x33de75['size']===0x0?_0x367c63[_0x2e4537(0x207)][_0x2e4537(0x1ad)]:_0x367c63[_0x2e4537(0x207)]['OTHER_CLIENTS_EDITING']));}),this[_0x42b856(0x19b)](_0x432563);}[_0x191796(0x145)](_0x5e39a3){const _0xee3c64=_0x191796;this[_0xee3c64(0x3d5)](_0x5e39a3['memberID']);}[_0x191796(0x2fb)](_0x415dd8){const _0x355d5d=_0x191796;localStorage['setItem'](_0x5ba1e4,JSON[_0x355d5d(0x33b)](_0x415dd8));}[_0x191796(0x1c4)](){const _0x4bd1fb=_0x191796;this[_0x4bd1fb(0x173)]=window['setInterval'](()=>{const _0x3be077=_0x4bd1fb;this[_0x3be077(0x2fb)]({'type':0x2,'memberID':this[_0x3be077(0x386)]});},_0x55dfd7);}[_0x191796(0x17b)](_0x317017){const _0x4372c8=_0x191796;return this['_unitStatus']['has'](_0x317017)||this[_0x4372c8(0x22e)][_0x4372c8(0x338)](_0x317017,new _0x1578c2[(_0x4372c8(0x204))](_0x367c63[_0x4372c8(0x207)][_0x4372c8(0x1ad)])),this[_0x4372c8(0x22e)][_0x4372c8(0x364)](_0x317017);}}_0x32312a[_0x191796(0x347)]=_0x68c4f9,_0x32312a['SheetCollabCursorShape']=_0x1a6a3b,_0x32312a[_0x191796(0x248)]=_0x199c6b,_0x32312a['WebURLService']=_0x989686,Object[_0x191796(0x31d)](_0x32312a,Symbol[_0x191796(0x342)],{'value':'Module'});}));function _0x106e(_0x44bdae,_0xd050de){const _0x11b559=_0x11b5();return _0x106e=function(_0x106ec2,_0x3b13fe){_0x106ec2=_0x106ec2-0x13d;let _0x41293d=_0x11b559[_0x106ec2];return _0x41293d;},_0x106e(_0x44bdae,_0xd050de);}function _0x11b5(){const _0x1d121f=['_labelPosition','setUndoRedoMutationParamsCache','activeSheet$','createIdentifier','getVpScrollXYInfoByPosToVp','SOCKET_FAILED_RETRY','transformMutationsWithChangeset','length','function','_clearOtherTimers','jsx','onPointerMove$','_cursorInfo$','WECHAT_HAS_BEEN_BOUND','_shapes','SHEET_VIEWPORT_KEY','mutations','params','unitID','debug','source','getMergeData','SOCKET_FAILED','transformIMECache','add','prototype','VIEW_MAIN','syncEditingCollabCursor','MOBILE_HAS_BEEN_BOUND','SheetsSelectionsService','random','clearInterval','urlChange$','entries','764801snDivr','_transformHistoryAndStateStack','transformStateCache','transformMutation','COLORS','_getSheetObject','getViewport','toString','tag','map','CollaborationEvent','getUniverSheetInstance','CollaborationSocketService','_updateSubUnitFromURLParams','_handleHover','getSkeleton','all','@univerjs/engine-formula','string','setItem','YUUMI_CONNECTOR_URL_NOT_FOUND','collaboration-client-ui.config','PERMISSION_DENIED','icon','generateRandomId','clearTimeout','collab-client.tooltip.reconnect','setStateCache','closePath','hovered','executionId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','unit','init','_render','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_selfUnitIDs','5229356hSRvNC','_config','subscribe','isTransformMutationsWithChangesetSuccess','DocIMEInputManagerService','IRenderManagerService','error','13308ebBWcN','FromArray','cursorInfo$','_name','Failed','ENSURE_SNAPSHOT_EXECUTION','getColor','EMAIL_HAS_BEEN_BOUND','DocCollaborationEntity','delete','_colorIndex','_getSessionTicket','SUBMIT_CHANGESET_TIMEOUT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collaboration.closeRoom','_setupBeforeClosingHandler','CollaborationController','text','OffLineIcon','_docTransformStateCacheService','getOffsetConfig','extend','history','operators','isActive','13831641nYBLZT','saveImage','currentTheme$','_removeCollabCursors','Error','xlink:href','@univerjs/sheets-ui','UniverEngineFormula','SetDocZoomRatioOperation','UniverInstanceType','serializeRangeWithSheet','PENDING','LocaleService','_startDocCollabCursor','_initStatusListener','_syncEditingCollabCursorService','getTypeOfUnitDisposed$','getDocRanges','debounce','addHandlerCallback','rgba(255,\x20255,\x20255,\x200.01)','_getScale','DataLoaderService','_initDependencies','dispose$','setConfig','Vector2','amd','font','translate(.97)','@univerjs-pro/collaboration','USER_NOT_INVITED_CODE','disposeUnit','registerRefRange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','sheetId','LOGIN_FAILED','_refreshCollabCursors','fill','_docSkeleton','LOCAL_CACHE_INTERVAL_KEY','getCollabEntity$','_cachedData','_docSyncEditingCollabCursorService','fillRule','findNodePositionByCharIndex','handleMoveRange','newValue','getLocalCacheKey','Optional','_cursors','forwardRef','flatMap','IBeforeCloseService','code','_renderManagerService','getFocusedUnit','_send','current','on-line-icon_clip0_910_349','size','RegularPolygon','createElement','parse','UniverDesign','CollaborationSessionService','saveOfflineData','docStateChange$','INotificationService','jsxs','m1Prime','_handleLeaveEvent','IConfigService','IRemoteInstanceService','_updateLocalCursor','ITransformService','_drawRectRange','collab-text-range-','_hover','_logService','isArray','purple.300','APPLY_NON_SEQUENTIAL_REVISION','_initCommandExecutedListener','InsertRangeMoveRightCommandId','MUTATION','registerDependencies','row','pipe','YUUMI_ALL_TABLES_IS_INVALID','onCommandExecuted','defineProperty','runId','getCurrentUnitForType','hasOwnProperty','deserializeRangeWithSheet','makeDirty','setParam','getColorFromTheme','connectInjector','ILocalCacheService','arc','_docStateChangeManagerService','div','rxjs','_hideTimer','YUUMI_RATE_OVER_LIMIT','Warning','transform','result','Inject','ThemeService','green.600','UniverCollaborationClientUIPlugin','APPLY_PERMISSION_DENIED','handleInsertCol','subscribeEvent','skeleton','set','_onCursorUpdate','univerjs-icon\x20univerjs-icon-','stringify','DesktopCollaborationStatusDisplayController','_range','10NfzElf','isEditing','data','evenodd','toStringTag','invokeId','_messageService','http://www.w3.org/2000/svg','M0\x200H16V16H0z','IURLService','react','MemberService','APPLY_REJECT','reconnect','WebSocketService','exhaustSavingTask','_backgroundColor','status$','height','YUUMI_SUBSCRIPTION_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','CollaborationUIEventService','_roomMembers$','UniverSheets','collab-text-anchor-','getActiveSheet','_hovered','getConfig','getOwnPropertySymbols','IDocClipboardService','UniverDrawing','UniverIcon','attrs','location','ISnapshotServerService','column','INVITE_CODE_ALREADY_BOUND','getMemberID','get','split','AWAITING_WITH_PENDING','InsertRowCommandId','restore','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','IMessageService','_urlService','_docSkeletonManagerService','UniverCollaborationClientPlugin','getCurrentRevOfUnit','_localCacheService','MoveRangeCommandId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','textRanges','_docTransformIMECacheService','asObservable','triggerDblclick','drawWith','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','createSocket','_getMergeRange','_toggleOffline','clsx','7CIbpsR','permission.title','url(#$1','_entities','7667zXHFVb','useCallback','_disabled','Disposable','_httpService','_id','DisposableCollection','isTransformMutationFailure','_initResize','executeCommand','_updateURLWithCurrentState','roomMembers','DocStateChangeManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','_lastPointer','yellow.400','OFFLINE','5izZAGN','removeParam','_docClipboardService','@univerjs/docs-ui','UNIVER_DOC','USERS_LEAVE','_transformPreviousActiveRange','off-line-icon_clip0_910_343','colorChannel1','next','BrowserCollaborationSocketService','5763696SKVSYW','EffectRefRangId','post','filter','disableLocalCache','_beforeCloseService','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','_getSaveTimeout','UniverProCollaborationClient','selection','[CollaborationDataLoaderController]','_status$','pushState','UNRECOGNIZED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','throttleTime','transformRemoteChangeset','_initStatusComponent','Tooltip','registerComponent','getUndoRedoMutationParamsCache','addClipboardHook','_registerRenderDependencies','_colorAssignService','getParam','TEXT_RANGE_LAYER_INDEX','getCoordByCell','svg','UniverProCollaboration','ILocalStorageService','beginPath','then','getMember','registerBeforeClose','CollaborationUIEventId','onMouseMove','setActiveRange','addEventListener','_online','measureText','addObjects','CollaborationStatus','UNAUTHENTICATED','_getAnchorBounding','createInstance','onPointerEnter$','15854yjIUFg','apply','BuiltInUIPart','ticket','collabStatus.synced','collabCursorState$','HTTPService','SYNCED','OnLineIcon','_injector','_scheduleClearOtherTimer','getValue','318iEUYYc','currentSkeleton$','doc.mutation.rich-text-editing','mask','useRef','fromEvent','_dataLoaderService','UNIVER_SHEET','_handleHeartbeatEvent','@univerjs/network','YUUMI_AI_RUN_FAILED','DependentOn','round','INVITE_CODE_REQUIRED','_assignedColors','OTHER_CLIENT_EDITING','href','selections','@univerjs-pro/collaboration-client','CommandType','Unknown\x20user','top','collabStatus.conflict','4994416nPLSTc','YUUMI_NO_CUBOID_FOR_QUESTION','_handleEvent','getCurrent','show','onRendered','_revisionService','call','collabStatus.notCollab','APPLY_DUPLICATED','transformSelections','application/json','collab-rect-range-','MOBILE_VERIFY_CODE_MISMATCH','getSheetObject','1em','_collabSessionService','with','white','className','setShapeProps','DocSkeletonManagerService','_collaborationUIEventService','unshift','DOC_RANGE_TYPE','InsertColCommandId','DEFAULT_WS_SESSION_TICKET_URL','InsertRangeMoveDownCommandId','engine','0\x200\x2016\x2016','_commandService','_heartbeatTimer','CHANGESET_REVISION_CONFILICT','INTERNAL_ERROR','_initEvent','width','defIds','distinctUntilChanged','_instanceService','_ensureSubject','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','unload','collabStatus.offline','useObservable','_toggleOnline','_onCursorDelete','ONLINE','CollaborationDataLoaderController','sessionStatus$','_unitOnClients','_cursorShapes','storage','currentColor','UniverUi','_univerInstanceService','ranges','_drawAnchor','startColumn','event$','_transformUndoRedoStack','fillStyle','DocSelectionManagerService','subUnitId','includes','path','values','hide','SessionStatus','sessionTicket','type','_collabCursorController','_removeClearOtherTimer','body','blue.400','_themeService','_drawTextRange','handleInsertRangeMoveDown','ICommandService','RECT','getRenderById','focused$','_saveCache','getStateCache','@univerjs/sheets','_uiPartsService','from','MessageType','YUUMI_UNABLE_LOAD_URL','switchMap','NO_OTHER_CLIENTS_EDITING','_collaborationController','_memberService','idSuffix','popstate','trim','takeUntil','m2Prime','subunit','jiqing.500','startRow','eventID','_scheduleSaving','replace','COMPLETION_FINISHED','IUniverInstanceService','getAncestorScale','runRefRangeMutations','IUIPartsService','ISocketService','INVALID_INVITE_CODE','session.will-retry','push','_scheduleHeartbeat','getUnitId','Rect','_updateCollabCursors','RemoteUniscriptService','unsubscribe','_handleJoinEvent','Injector','registerRenderModule','deepClone','_localeService','UniverNetwork','saveTaskMap','debounceTime','on-line-icon','min','clipPath','CONNECTOR_DATA_TOO_LARGE','endColumn','UniverRpc','onPointerLeave$','getActiveRange','lineTo','_document','disposeWithMe','RxDisposable','RevisionService','toDisposable','none','entityInit$','AWAITING','name','exports','@univerjs/core','getRangePointData','UPDATE_CURSOR','getOwnPropertyDescriptor','displayName','_draw','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','find','getCollabCursors$','_scene','startsWith','SNAPSHOT_INVALID_SNAPSHOT','_onRefRangeChange','Workbook','has','unitId','YUUMI_ASYNCIO_CANCELLED','concat','_textBubble','/run/','_docTransformSelectionsService','getTypeOfUnitAdded$','INVALID_ARGUMENT','color','handleInsertRangeMoveRight','_session','TEXT','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_notificationService','send','_startSheetCollabCursor','BehaviorSubject','updateOfflineData','labelPosition','UnitStatus','toRgbString','FETCH_MISS','_color','sheetID','collaboration.single-unit.warning','save','propertyIsEnumerable','_imageIoService','complete','dispose','_configService','_anchorDot','substring','backgroundColor','key','RichTextEditingMutation','_anchor','RemoveColCommandId','RemoveRowCommandId','getUnhiddenWorksheets','ILogService','range','_transformService','LICENSE_DISTRO_REJECTED','endRow','replaceState','Rectangle','black','combineLatest','rxjs/operators','bottom','requireSession','NodePositionConvertToRectRange','React','undoState','_setupSubUnitSync','_createSocketURL','_sheetSkeletonManagerService','_unitStatus','_eventUnsubscribe','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_URL_COL_OUT_OF_RANGE','cursorInfo','searchParams','EMAIL_VERIFY_CODE_MISMATCH','symbol','indexOf','children','forEach','fillText','...','Shape','OTHER_CLIENTS_EDITING','getSheetId','CONFLICT','_initEntityListener','_entityInit$','imageSourceType','merge','uni.network.url-service','_context','NOT_COLLAB','useDependency','getSheetBySheetId','WebBrowserSingleActiveUnitService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','univer-flex\x20univer-items-center','getCurrentSelections','collaboration-client.offline-data-not-saved','0\x200\x2017\x2016','SetWorksheetActivateCommand','Tools','_saveTaskMap','addObject','UniverDocs','redoState','_init','APPLY_REVISION_CONFILICT','_localStorageService','loadOfflineData','_refRangeService','override','INVITE_CODE_HAS_BEEN_UES'];_0x11b5=function(){return _0x1d121f;};return _0x11b5();}
1
+ function _0x43db(_0x4842aa,_0x1c0e0c){const _0x419948=_0x4199();return _0x43db=function(_0x43db9c,_0x44ec98){_0x43db9c=_0x43db9c-0x1d5;let _0x3164ff=_0x419948[_0x43db9c];return _0x3164ff;},_0x43db(_0x4842aa,_0x1c0e0c);}(function(_0x2befa0,_0x532fdb){const _0x4e398c=_0x43db,_0x4ec39e=_0x2befa0();while(!![]){try{const _0x22b5eb=-parseInt(_0x4e398c(0x2ae))/0x1+-parseInt(_0x4e398c(0x2c7))/0x2*(-parseInt(_0x4e398c(0x44a))/0x3)+parseInt(_0x4e398c(0x395))/0x4+-parseInt(_0x4e398c(0x27e))/0x5*(-parseInt(_0x4e398c(0x3bc))/0x6)+parseInt(_0x4e398c(0x262))/0x7+-parseInt(_0x4e398c(0x363))/0x8+-parseInt(_0x4e398c(0x279))/0x9;if(_0x22b5eb===_0x532fdb)break;else _0x4ec39e['push'](_0x4ec39e['shift']());}catch(_0x40a0ba){_0x4ec39e['push'](_0x4ec39e['shift']());}}}(_0x4199,0x815d0),function(_0x52c667,_0x4c8fde){const _0x5059d4=_0x43db;typeof exports==_0x5059d4(0x2c1)&&typeof module<'u'?_0x4c8fde(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==_0x5059d4(0x248)&&define[_0x5059d4(0x236)]?define([_0x5059d4(0x284),_0x5059d4(0x405),_0x5059d4(0x417),_0x5059d4(0x2b0),'@univerjs/ui',_0x5059d4(0x373),_0x5059d4(0x311),_0x5059d4(0x2ef),_0x5059d4(0x32b),_0x5059d4(0x2a9),_0x5059d4(0x443),'@univerjs/network',_0x5059d4(0x219),_0x5059d4(0x3c1),_0x5059d4(0x43c),_0x5059d4(0x41e),'@univerjs/engine-formula','rxjs/operators',_0x5059d4(0x2db)],_0x4c8fde):(_0x52c667=typeof globalThis<'u'?globalThis:_0x52c667||self,_0x4c8fde(_0x52c667[_0x5059d4(0x36d)]={},_0x52c667[_0x5059d4(0x462)],_0x52c667[_0x5059d4(0x37d)],_0x52c667[_0x5059d4(0x461)],_0x52c667[_0x5059d4(0x305)],_0x52c667[_0x5059d4(0x373)],_0x52c667[_0x5059d4(0x428)],_0x52c667['React'],_0x52c667[_0x5059d4(0x3c9)],_0x52c667['UniverSheets'],_0x52c667['UniverEngineRender'],_0x52c667[_0x5059d4(0x37a)],_0x52c667[_0x5059d4(0x26d)],_0x52c667[_0x5059d4(0x3ed)],_0x52c667[_0x5059d4(0x232)],_0x52c667['UniverDocs'],_0x52c667[_0x5059d4(0x2d3)],_0x52c667[_0x5059d4(0x373)]['operators'],_0x52c667['UniverSheetsUi']));}(this,function(_0x2245a1,_0x447c69,_0x1ac61a,_0x3d05ee,_0x1c4740,_0x353c21,_0xaeffda,_0x729dd1,_0x42cb63,_0x401d6b,_0x1eb76f,_0x4cfd05,_0x50ffa0,_0x372151,_0x4876d5,_0x427dab,_0x447c02,_0x41ab20,_0x316114){'use strict';const _0x52f010=_0x43db;var _0x4ffcaf=Object[_0x52f010(0x41c)],_0x2c9240=(_0x573270,_0x354886,_0x51c11c)=>_0x354886 in _0x573270?_0x4ffcaf(_0x573270,_0x354886,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51c11c}):_0x573270[_0x354886]=_0x51c11c,_0x544075=(_0x44bb42,_0x4fcb7b,_0x9f012f)=>_0x2c9240(_0x44bb42,typeof _0x4fcb7b!='symbol'?_0x4fcb7b+'':_0x4fcb7b,_0x9f012f),_0x18b41f=function(){const _0x5801ab=_0x52f010;return _0x18b41f=Object[_0x5801ab(0x410)]||function(_0x2dc9ae){const _0x5a9f6e=_0x5801ab;for(var _0x329558,_0x20d20e=0x1,_0x2ebfe7=arguments[_0x5a9f6e(0x2d4)];_0x20d20e<_0x2ebfe7;_0x20d20e++){_0x329558=arguments[_0x20d20e];for(var _0x2b0dc5 in _0x329558)Object[_0x5a9f6e(0x415)]['hasOwnProperty'][_0x5a9f6e(0x302)](_0x329558,_0x2b0dc5)&&(_0x2dc9ae[_0x2b0dc5]=_0x329558[_0x2b0dc5]);}return _0x2dc9ae;},_0x18b41f[_0x5801ab(0x41a)](this,arguments);},_0x32c777=function(_0x45c59e,_0x22cde5){const _0x3e560f=_0x52f010;var _0x4c8a88={};for(var _0x3d2c60 in _0x45c59e)Object[_0x3e560f(0x415)][_0x3e560f(0x290)][_0x3e560f(0x302)](_0x45c59e,_0x3d2c60)&&_0x22cde5[_0x3e560f(0x296)](_0x3d2c60)<0x0&&(_0x4c8a88[_0x3d2c60]=_0x45c59e[_0x3d2c60]);if(_0x45c59e!=null&&typeof Object[_0x3e560f(0x45d)]=='function'){for(var _0x3681f1=0x0,_0x3d2c60=Object[_0x3e560f(0x45d)](_0x45c59e);_0x3681f1<_0x3d2c60['length'];_0x3681f1++)_0x22cde5[_0x3e560f(0x296)](_0x3d2c60[_0x3681f1])<0x0&&Object[_0x3e560f(0x415)][_0x3e560f(0x38d)]['call'](_0x45c59e,_0x3d2c60[_0x3681f1])&&(_0x4c8a88[_0x3d2c60[_0x3681f1]]=_0x45c59e[_0x3d2c60[_0x3681f1]]);}return _0x4c8a88;},_0x24443e=_0x729dd1[_0x52f010(0x2f7)](function(_0x5cba90,_0x4c6c8d){const _0x2c2e7a=_0x52f010;var _0xff7ef2=_0x5cba90[_0x2c2e7a(0x2e8)],_0x2187cb=_0x5cba90['id'],_0x47ea4f=_0x5cba90[_0x2c2e7a(0x35b)],_0x2eada9=_0x5cba90[_0x2c2e7a(0x369)],_0x130075=_0x32c777(_0x5cba90,['icon','id',_0x2c2e7a(0x35b),_0x2c2e7a(0x369)]),_0x5d50c3=_0x2c2e7a(0x3ef)[_0x2c2e7a(0x273)](_0x2187cb,'\x20')[_0x2c2e7a(0x273)](_0x47ea4f||'')['trim'](),_0x3ec332=_0x729dd1[_0x2c2e7a(0x299)]('_'[_0x2c2e7a(0x273)](_0x4cff3e()));return _0x497fc9(_0xff7ef2,''['concat'](_0x2187cb),{'defIds':_0xff7ef2[_0x2c2e7a(0x249)],'idSuffix':_0x3ec332[_0x2c2e7a(0x2ac)]},_0x18b41f({'ref':_0x4c6c8d,'className':_0x5d50c3},_0x130075),_0x2eada9);});function _0x497fc9(_0x32e82d,_0x2245b1,_0x5821db,_0x5772ae,_0x3016f4){const _0x4fe177=_0x52f010;return _0x729dd1[_0x4fe177(0x31f)](_0x32e82d[_0x4fe177(0x319)],_0x18b41f(_0x18b41f({'key':_0x2245b1},_0x554717(_0x32e82d,_0x5821db,_0x3016f4)),_0x5772ae),(_0x5315e3(_0x32e82d,_0x5821db)[_0x4fe177(0x230)]||[])['map'](function(_0x43c61d,_0x3eddd2){const _0x44bd38=_0x4fe177;return _0x497fc9(_0x43c61d,''[_0x44bd38(0x273)](_0x2245b1,'-')[_0x44bd38(0x273)](_0x32e82d[_0x44bd38(0x319)],'-')[_0x44bd38(0x273)](_0x3eddd2),_0x5821db,void 0x0,_0x3016f4);}));}function _0x554717(_0xf48a30,_0x255496,_0x1b4243){const _0x2617fd=_0x52f010;var _0x10ec7c=_0x18b41f({},_0xf48a30[_0x2617fd(0x24d)]);_0x1b4243!=null&&_0x1b4243['colorChannel1']&&_0x10ec7c['fill']===_0x2617fd(0x2c5)&&(_0x10ec7c['fill']=_0x1b4243[_0x2617fd(0x2c5)]),_0xf48a30[_0x2617fd(0x319)]===_0x2617fd(0x250)&&_0x10ec7c['id']&&(_0x10ec7c['id']=_0x10ec7c['id']+_0x255496[_0x2617fd(0x3b4)]),Object[_0x2617fd(0x25d)](_0x10ec7c)[_0x2617fd(0x2ce)](function(_0x3f1e3c){const _0x3d0672=_0x2617fd;var _0x568aae=_0x3f1e3c[0x0],_0x5f0eae=_0x3f1e3c[0x1];_0x568aae===_0x3d0672(0x250)&&typeof _0x5f0eae==_0x3d0672(0x339)&&(_0x10ec7c[_0x568aae]=_0x5f0eae['replace'](/url\(#(.*)\)/,_0x3d0672(0x37b)[_0x3d0672(0x273)](_0x255496['idSuffix'],')')));});var _0x222c56=_0x255496[_0x2617fd(0x249)];return!_0x222c56||_0x222c56[_0x2617fd(0x2d4)]===0x0||(_0xf48a30[_0x2617fd(0x319)]===_0x2617fd(0x242)&&_0x10ec7c[_0x2617fd(0x251)]&&(_0x10ec7c['xlink:href']=_0x10ec7c[_0x2617fd(0x251)]+_0x255496[_0x2617fd(0x3b4)]),Object[_0x2617fd(0x25d)](_0x10ec7c)['forEach'](function(_0x5eb728){const _0x47b3ca=_0x2617fd;var _0x563dec=_0x5eb728[0x0],_0x4768f0=_0x5eb728[0x1];typeof _0x4768f0=='string'&&(_0x10ec7c[_0x563dec]=_0x4768f0[_0x47b3ca(0x3ea)](/url\(#(.*)\)/,_0x47b3ca(0x37b)['concat'](_0x255496[_0x47b3ca(0x3b4)],')')));})),_0x10ec7c;}function _0x5315e3(_0x33a770,_0x28455b){const _0x374340=_0x52f010;var _0x16820e,_0x10e841=_0x28455b[_0x374340(0x249)];return!_0x10e841||_0x10e841['length']===0x0?_0x33a770:_0x33a770[_0x374340(0x319)]===_0x374340(0x268)&&(!((_0x16820e=_0x33a770[_0x374340(0x230)])===null||_0x16820e===void 0x0)&&_0x16820e[_0x374340(0x2d4)])?_0x18b41f(_0x18b41f({},_0x33a770),{'children':_0x33a770[_0x374340(0x230)][_0x374340(0x2c4)](function(_0x5117b1){const _0x19705d=_0x374340;return typeof _0x5117b1['attrs']['id']==_0x19705d(0x339)&&_0x10e841&&_0x10e841[_0x19705d(0x261)](_0x5117b1[_0x19705d(0x24d)]['id'])?_0x18b41f(_0x18b41f({},_0x5117b1),{'attrs':_0x18b41f(_0x18b41f({},_0x5117b1[_0x19705d(0x24d)]),{'id':_0x5117b1[_0x19705d(0x24d)]['id']+_0x28455b['idSuffix']})}):_0x5117b1;})}):_0x33a770;}function _0x4cff3e(){const _0xb21da9=_0x52f010;return Math[_0xb21da9(0x3a7)]()[_0xb21da9(0x434)](0x24)[_0xb21da9(0x2e0)](0x2,0x8);}_0x24443e['displayName']='UniverIcon';var _0x5cefde={'tag':_0x52f010(0x414),'attrs':{'xmlns':_0x52f010(0x46e),'fill':'none','viewBox':_0x52f010(0x422),'width':_0x52f010(0x1d8),'height':_0x52f010(0x1d8)},'children':[{'tag':'g','attrs':{'clipPath':_0x52f010(0x35a)},'children':[{'tag':_0x52f010(0x2b7),'attrs':{'stroke':'currentColor','d':_0x52f010(0x42d),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x52f010(0x367)},'children':[{'tag':_0x52f010(0x2b7),'attrs':{'fill':_0x52f010(0x2fb),'d':_0x52f010(0x28e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x3c7f05=_0x729dd1[_0x52f010(0x2f7)](function(_0x540fc7,_0x5217f5){const _0x5ba635=_0x52f010;return _0x729dd1[_0x5ba635(0x31f)](_0x24443e,Object[_0x5ba635(0x410)]({},_0x540fc7,{'id':'off-line-icon','ref':_0x5217f5,'icon':_0x5cefde}));});_0x3c7f05[_0x52f010(0x451)]='OffLineIcon';var _0x4e410b={'tag':_0x52f010(0x414),'attrs':{'xmlns':_0x52f010(0x46e),'fill':_0x52f010(0x30d),'viewBox':_0x52f010(0x46b),'width':_0x52f010(0x1d8),'height':_0x52f010(0x1d8)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x52f010(0x2b7),'attrs':{'stroke':'currentColor','d':_0x52f010(0x1ef),'strokeLinecap':_0x52f010(0x347),'strokeLinejoin':_0x52f010(0x347),'strokeWidth':1.2}}]},{'tag':_0x52f010(0x268),'attrs':{},'children':[{'tag':_0x52f010(0x310),'attrs':{'id':_0x52f010(0x2df)},'children':[{'tag':'path','attrs':{'fill':_0x52f010(0x2fb),'d':'M0\x200H16V16H0z','transform':_0x52f010(0x26c)}}]}]}],'defIds':[_0x52f010(0x2df)]},_0x2e4b47=_0x729dd1[_0x52f010(0x2f7)](function(_0x5127fe,_0x3b246f){const _0x201cae=_0x52f010;return _0x729dd1[_0x201cae(0x31f)](_0x24443e,Object['assign']({},_0x5127fe,{'id':_0x201cae(0x386),'ref':_0x3b246f,'icon':_0x4e410b}));});_0x2e4b47[_0x52f010(0x451)]=_0x52f010(0x2c3);function _0x2544ea(_0xbfb6e9){const _0x66152e=_0x52f010;switch(_0xbfb6e9){case _0x1ac61a[_0x66152e(0x30b)]['OFFLINE']:return _0x66152e(0x2f0);case _0x1ac61a['CollaborationStatus']['CONFLICT']:return'collabStatus.conflict';case _0x1ac61a['CollaborationStatus'][_0x66152e(0x2e3)]:return _0x66152e(0x1ec);case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x335)]:return _0x66152e(0x209);case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x274)]:case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x1e5)]:return _0x66152e(0x3df);case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x308)]:case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x1d7)]:return'collabStatus.synced';}}function _0x1864d4(_0x4166f6){const _0x4e8366=_0x52f010,{status$:_0x205d64}=_0x4166f6,_0x2a3bc1=_0x1c4740[_0x4e8366(0x28b)](_0x205d64,_0x1ac61a[_0x4e8366(0x30b)][_0x4e8366(0x335)]),_0x1b1a27=_0x1c4740['useDependency'](_0x3d05ee[_0x4e8366(0x2a2)]),_0xf6062c=_0x1c4740[_0x4e8366(0x28c)](_0x1ac61a[_0x4e8366(0x265)]),_0x595443=_0x2a3bc1!==_0x1ac61a['CollaborationStatus'][_0x4e8366(0x206)],_0x21314c=_0x1b1a27['t'](_0x2544ea(_0x2a3bc1)),_0xda432b=_0x595443?_0x447c69[_0x4e8366(0x22a)](_0x2e4b47,{}):_0x447c69[_0x4e8366(0x22a)](_0x3c7f05,{}),_0x5ee5b6=_0x729dd1[_0x4e8366(0x269)](()=>{_0x595443||_0xf6062c['reconnect']();},[_0x595443,_0xf6062c]);function _0x2e7e44(){const _0x32625e=_0x4e8366;return _0x447c69[_0x32625e(0x288)](_0x32625e(0x390),{'className':_0x32625e(0x3c3),'onClick':_0x5ee5b6,'children':[_0x447c69['jsx'](_0x32625e(0x390),{'className':_0xaeffda['clsx'](_0x32625e(0x2eb),{'univer-text-green-500':_0x595443,'univer-text-red-500':!_0x595443}),'children':_0xda432b}),_0x447c69[_0x32625e(0x22a)](_0x32625e(0x390),{'className':_0x32625e(0x247),'children':_0x21314c})]});}return _0x595443?_0x2e7e44():_0x447c69['jsx'](_0xaeffda[_0x4e8366(0x2d2)],{'title':_0x1b1a27['t'](_0x4e8366(0x416)),'children':_0x2e7e44()});}var _0xe6669b=Object[_0x52f010(0x3d4)],_0x5a169c=(_0x81bf31,_0x221eaa,_0x1c89d0,_0x142ba5)=>{const _0x334a30=_0x52f010;for(var _0x22ff16=_0x142ba5>0x1?void 0x0:_0x142ba5?_0xe6669b(_0x221eaa,_0x1c89d0):_0x221eaa,_0x1bb55a=_0x81bf31[_0x334a30(0x2d4)]-0x1,_0x5447a6;_0x1bb55a>=0x0;_0x1bb55a--)(_0x5447a6=_0x81bf31[_0x1bb55a])&&(_0x22ff16=_0x5447a6(_0x22ff16)||_0x22ff16);return _0x22ff16;},_0x17c005=(_0x658c53,_0x283e6c)=>(_0x3cefc7,_0x1482bd)=>_0x283e6c(_0x3cefc7,_0x1482bd,_0x658c53);_0x2245a1[_0x52f010(0x42f)]=class extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(_0x35b5dd,_0xba616d,_0x17931d,_0xa686da){const _0xe79239=_0x52f010;super(),_0x544075(this,_0xe79239(0x2f4),new _0x353c21['BehaviorSubject'](_0x1ac61a[_0xe79239(0x30b)][_0xe79239(0x335)])),(this[_0xe79239(0x40e)]=_0x35b5dd,this[_0xe79239(0x2c9)]=_0xba616d,this[_0xe79239(0x445)]=_0x17931d,this[_0xe79239(0x35d)]=_0xa686da,this[_0xe79239(0x3fe)](),this[_0xe79239(0x44f)]());}[_0x52f010(0x44f)](){const _0x5c42d2=_0x52f010;this['disposeWithMe'](this[_0x5c42d2(0x40e)][_0x5c42d2(0x25e)][_0x5c42d2(0x38c)](_0x353c21[_0x5c42d2(0x2af)](()=>{const _0x28d292=_0x5c42d2,_0x28c4e7=this['_univerInstanceService'][_0x28d292(0x218)]();return _0x28c4e7?this['_collaborationController'][_0x28d292(0x3b9)](_0x28c4e7[_0x28d292(0x272)]()):_0x353c21['of'](null);}),_0x353c21[_0x5c42d2(0x2af)](_0x537322=>_0x537322?_0x537322[_0x5c42d2(0x2d9)]:_0x353c21['of'](_0x1ac61a['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x58215f=>{const _0xce6e4e=_0x5c42d2;this[_0xce6e4e(0x2f4)][_0xce6e4e(0x1fd)](_0x58215f);}));}[_0x52f010(0x3fe)](){const _0x327aaa=_0x52f010;this[_0x327aaa(0x2ba)](this[_0x327aaa(0x35d)][_0x327aaa(0x40f)](_0x1c4740[_0x327aaa(0x34e)]['HEADER_MENU'],()=>_0x1c4740[_0x327aaa(0x2fe)](_0x5e1139({'status$':this['_status$'][_0x327aaa(0x46d)]()}),this['_injector'])));}},_0x2245a1[_0x52f010(0x42f)]=_0x5a169c([_0x17c005(0x0,_0x3d05ee['IUniverInstanceService']),_0x17c005(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x17c005(0x2,_0x3d05ee['Inject'](_0x1ac61a[_0x52f010(0x315)])),_0x17c005(0x3,_0x1c4740['IUIPartsService'])],_0x2245a1[_0x52f010(0x42f)]);function _0x5e1139(_0x373e59){const {status$:_0x3c6684}=_0x373e59;return function(){const _0x1c2737=_0x43db;return _0x447c69[_0x1c2737(0x22a)](_0x1864d4,{'status$':_0x3c6684});};}const _0x40ca0b=_0x3d05ee[_0x52f010(0x43d)]('uni.network.url-service');var _0x5316cc=Object[_0x52f010(0x3d4)],_0x4e7f63=(_0x58f83d,_0x404526,_0x5d15f9,_0x437e6f)=>{const _0x5edce6=_0x52f010;for(var _0x101952=_0x437e6f>0x1?void 0x0:_0x437e6f?_0x5316cc(_0x404526,_0x5d15f9):_0x404526,_0x30ed1d=_0x58f83d[_0x5edce6(0x2d4)]-0x1,_0x2a2fbf;_0x30ed1d>=0x0;_0x30ed1d--)(_0x2a2fbf=_0x58f83d[_0x30ed1d])&&(_0x101952=_0x2a2fbf(_0x101952)||_0x101952);return _0x101952;},_0x25cda5=(_0x1ae7fb,_0x2a213e)=>(_0x344259,_0x58b2fb)=>_0x2a213e(_0x344259,_0x58b2fb,_0x1ae7fb);_0x2245a1[_0x52f010(0x364)]=class extends _0x3d05ee['RxDisposable']{constructor(_0x3eda1f,_0x429d9b,_0x1a4291,_0x55f2f5,_0x8a46c){const _0x434a40=_0x52f010;super(),this[_0x434a40(0x3d9)]=_0x3eda1f,this[_0x434a40(0x456)]=_0x429d9b,this['_commandService']=_0x1a4291,this[_0x434a40(0x454)]=_0x55f2f5,_0x8a46c?_0x8a46c==null||_0x8a46c[_0x434a40(0x298)]()[_0x434a40(0x277)](()=>this[_0x434a40(0x36a)]()):(this[_0x434a40(0x456)]['debug']('[CollaborationDataLoaderController]',_0x434a40(0x40d)),this[_0x434a40(0x36a)]());}async['_init'](){const _0x5977f0=_0x52f010,_0x336a67=this[_0x5977f0(0x3d9)][_0x5977f0(0x3e1)](_0x5977f0(0x293)),_0xd1306e=this['_urlService'][_0x5977f0(0x3e1)](_0x5977f0(0x39d)),_0x44c931=this['_urlService'][_0x5977f0(0x3e1)](_0x5977f0(0x270));if(!_0x336a67||!_0xd1306e){this[_0x5977f0(0x456)][_0x5977f0(0x3e7)](_0x5977f0(0x379),_0x5977f0(0x406));return;}const _0x322504=await this['_dataLoaderService'][_0x5977f0(0x276)](_0x336a67,Number(_0xd1306e),_0x44c931);_0x322504&&_0x322504 instanceof _0x3d05ee['Workbook']&&this[_0x5977f0(0x436)](_0x322504);}async[_0x52f010(0x436)](_0x4cde0d){const _0x41fd9c=_0x52f010;await this['_updateSubUnitFromURLParams'](_0x4cde0d),_0x4cde0d['activeSheet$'][_0x41fd9c(0x38c)](_0x353c21[_0x41fd9c(0x25f)](this['dispose$']))[_0x41fd9c(0x222)](_0x1390b4=>{const _0x23df47=_0x41fd9c;_0x1390b4&&this[_0x23df47(0x2f9)](_0x1390b4);}),this[_0x41fd9c(0x3d9)][_0x41fd9c(0x38f)][_0x41fd9c(0x38c)](_0x353c21['takeUntil'](this[_0x41fd9c(0x43b)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4cde0d));}[_0x52f010(0x2f9)](_0x543b4e,_0x2fe301=!0x1){const _0x3cce6f=_0x52f010,_0x59f1fc=this[_0x3cce6f(0x3d9)][_0x3cce6f(0x3e1)]('subunit');_0x543b4e[_0x3cce6f(0x399)]()!==_0x59f1fc&&this[_0x3cce6f(0x3d9)][_0x3cce6f(0x40a)](_0x3cce6f(0x270),_0x543b4e[_0x3cce6f(0x399)](),_0x2fe301);}async[_0x52f010(0x43e)](_0x2b3d00){const _0x5dbee9=_0x52f010;var _0x4fe502;const _0x97ff66=this[_0x5dbee9(0x3d9)][_0x5dbee9(0x3e1)]('subunit');if(!_0x97ff66||!_0x2b3d00[_0x5dbee9(0x3b6)](_0x97ff66)){const _0x51ea04=_0x2b3d00[_0x5dbee9(0x204)]()[0x0],_0xb12f23=_0x2b3d00[_0x5dbee9(0x3b6)](_0x51ea04);if(!_0xb12f23)return;this[_0x5dbee9(0x2f9)](_0xb12f23,!0x0),await this['_commandService'][_0x5dbee9(0x3cd)](_0x401d6b[_0x5dbee9(0x278)]['id'],{'unitId':_0x2b3d00['getUnitId'](),'subUnitId':_0x51ea04});return;}((_0x4fe502=_0x2b3d00['getActiveSheet']())==null?void 0x0:_0x4fe502[_0x5dbee9(0x399)]())!==_0x97ff66&&await this[_0x5dbee9(0x448)][_0x5dbee9(0x3cd)](_0x401d6b[_0x5dbee9(0x278)]['id'],{'unitId':_0x2b3d00[_0x5dbee9(0x272)](),'subUnitId':_0x97ff66});}},_0x2245a1[_0x52f010(0x364)]=_0x4e7f63([_0x25cda5(0x0,_0x40ca0b),_0x25cda5(0x1,_0x3d05ee[_0x52f010(0x3ae)]),_0x25cda5(0x2,_0x3d05ee[_0x52f010(0x375)]),_0x25cda5(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x27d)])),_0x25cda5(0x4,_0x3d05ee[_0x52f010(0x452)](_0x42cb63[_0x52f010(0x3a0)]))],_0x2245a1[_0x52f010(0x364)]);var _0x3689ae=Object[_0x52f010(0x3d4)],_0x2c9bfd=(_0x97b461,_0x2df871,_0x4f7277,_0x1899ff)=>{for(var _0x3d7073=_0x1899ff>0x1?void 0x0:_0x1899ff?_0x3689ae(_0x2df871,_0x4f7277):_0x2df871,_0x15afeb=_0x97b461['length']-0x1,_0x313da3;_0x15afeb>=0x0;_0x15afeb--)(_0x313da3=_0x97b461[_0x15afeb])&&(_0x3d7073=_0x313da3(_0x3d7073)||_0x3d7073);return _0x3d7073;},_0x40b5cf=(_0x1a0b7b,_0x430e80)=>(_0x418d60,_0x55bccf)=>_0x430e80(_0x418d60,_0x55bccf,_0x1a0b7b);let _0x2d6ba0=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x337705,_0x54034c){const _0x44308e=_0x52f010;super(),this[_0x44308e(0x1e4)]=_0x337705,this[_0x44308e(0x258)]=_0x54034c,this['_init']();}[_0x52f010(0x36a)](){const _0x4041b5=_0x52f010,_0x5bd3db=this;this[_0x4041b5(0x2ba)](this[_0x4041b5(0x1e4)][_0x4041b5(0x1f9)]({'onBeforePasteImage':async _0x1f6202=>{const _0x135e60=_0x4041b5,_0x43ec66=await _0x5bd3db[_0x135e60(0x258)]['saveImage'](_0x1f6202);return _0x43ec66?{'source':_0x43ec66[_0x135e60(0x384)],'imageSourceType':_0x43ec66[_0x135e60(0x259)]}:null;}}));}};_0x2d6ba0=_0x2c9bfd([_0x40b5cf(0x0,_0x50ffa0[_0x52f010(0x24f)]),_0x40b5cf(0x1,_0x372151[_0x52f010(0x22c)])],_0x2d6ba0);const _0x5e8ada=[_0x52f010(0x31b),_0x52f010(0x3ab),_0x52f010(0x271),'red.300','blue.400',_0x52f010(0x38a)];class _0x27e238 extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(){const _0x413236=_0x52f010;super(...arguments),_0x544075(this,_0x413236(0x3a3),new Map()),_0x544075(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x173b69){const _0x35f2d6=_0x52f010;if(this[_0x35f2d6(0x3a3)][_0x35f2d6(0x350)](_0x173b69))return this[_0x35f2d6(0x3a3)][_0x35f2d6(0x25b)](_0x173b69);const _0x5b4fc9=_0x5e8ada[this[_0x35f2d6(0x460)]];return this[_0x35f2d6(0x460)]=(this[_0x35f2d6(0x460)]+0x1)%_0x5e8ada[_0x35f2d6(0x2d4)],this[_0x35f2d6(0x3a3)][_0x35f2d6(0x3f1)](_0x173b69,_0x5b4fc9),_0x5b4fc9;}}function _0x328dc8(_0x2de6ec){const _0x5c306e=_0x52f010;let _0xfabcc1='';for(const _0x1d6b65 of _0x2de6ec){const {startOffset:_0x4cf36a,endOffset:_0x2af8b3,isActive:_0x1c589b,rangeType:_0x4b3644,segmentId:_0x3b1dd1,segmentPage:_0x4dd824}=_0x1d6b65;_0xfabcc1[_0x5c306e(0x2d4)]&&(_0xfabcc1+=','),_0xfabcc1+=_0x4cf36a+':'+_0x2af8b3+':'+(_0x1c589b?'1':'0')+':'+_0x4b3644+':'+_0x3b1dd1+':'+_0x4dd824;}return _0xfabcc1;}function _0x15082b(_0x1f7d58){const _0x3665c6=_0x52f010,_0x467c24=_0x1f7d58[_0x3665c6(0x3bb)](','),_0x5277af=[];for(const _0x1144cb of _0x467c24){const [_0x423693,_0x45ec85,_0x24ee3a,_0x5df098,_0x4aa5b9,_0x3b43f2]=_0x1144cb[_0x3665c6(0x3bb)](':');_0x5277af[_0x3665c6(0x404)]({'startOffset':Number(_0x423693),'endOffset':Number(_0x45ec85),'collapsed':_0x423693===_0x45ec85,'isActive':_0x24ee3a==='1','rangeType':_0x5df098===_0x3d05ee[_0x3665c6(0x368)][_0x3665c6(0x304)]?_0x3d05ee[_0x3665c6(0x368)][_0x3665c6(0x304)]:_0x3d05ee[_0x3665c6(0x368)]['RECT'],'segmentId':typeof _0x4aa5b9==_0x3665c6(0x339)?String(_0x4aa5b9):'','segmentPage':Number(_0x3b43f2!=null?_0x3b43f2:-0x1)});}return _0x5277af['some'](_0x5c3f75=>_0x5c3f75['isActive'])||(_0x5277af[0x0]['isActive']=!0x0),_0x5277af;}class _0x4e98a8 extends _0x3d05ee['RxDisposable']{constructor(){const _0x3368da=_0x52f010;super(...arguments),_0x544075(this,'_collabCursorState$',new _0x353c21[(_0x3368da(0x411))](null)),_0x544075(this,_0x3368da(0x327),this[_0x3368da(0x20d)][_0x3368da(0x46d)]());}[_0x52f010(0x2e1)](_0x1d9826){const _0x591e9e=_0x52f010,{unitID:_0x2f8022,memberID:_0x7889f6,textRanges:_0x406d59}=_0x1d9826,_0x3f6bee=_0x328dc8(_0x406d59);if(_0x3f6bee==='')return;const _0x414d5b={'unitID':_0x2f8022,'memberID':_0x7889f6,'selection':_0x3f6bee};this['_collabCursorState$'][_0x591e9e(0x1fd)](_0x414d5b);}}var _0x30c976=Object[_0x52f010(0x3d4)],_0x285bee=(_0x2adb23,_0xb8cdfe,_0x262f73,_0xc23f4a)=>{const _0x3505e2=_0x52f010;for(var _0x48971b=_0xc23f4a>0x1?void 0x0:_0xc23f4a?_0x30c976(_0xb8cdfe,_0x262f73):_0xb8cdfe,_0x56cbaf=_0x2adb23[_0x3505e2(0x2d4)]-0x1,_0x447ee9;_0x56cbaf>=0x0;_0x56cbaf--)(_0x447ee9=_0x2adb23[_0x56cbaf])&&(_0x48971b=_0x447ee9(_0x48971b)||_0x48971b);return _0x48971b;},_0x2b1627=(_0x40e525,_0x2ec84b)=>(_0x1f09da,_0x53f746)=>_0x2ec84b(_0x1f09da,_0x53f746,_0x40e525);const _0x272ace=0x12c,_0x346fd=0x64;let _0x35be9d=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x3a8caf,_0x27860a,_0x3dbb12,_0x37cb73,_0x4a8800,_0x1e0df8,_0x2446c9,_0x5df840,_0x448fe3){const _0x569b38=_0x52f010;super(),_0x544075(this,'_online',!0x1),_0x544075(this,'_init',!0x1),_0x544075(this,_0x569b38(0x3dd),new _0x353c21[(_0x569b38(0x411))](new Map())),_0x544075(this,'cursorInfo$',this[_0x569b38(0x3dd)]['asObservable']()),_0x544075(this,_0x569b38(0x21a),new _0x353c21['BehaviorSubject']([])),_0x544075(this,_0x569b38(0x34a),this[_0x569b38(0x21a)][_0x569b38(0x38c)](_0x353c21[_0x569b38(0x33d)](_0x272ace))),_0x544075(this,_0x569b38(0x40b),_0x3d05ee[_0x569b38(0x46a)](_0x3317df=>{const _0x254c55=_0x569b38,_0x39a4ba={'eventID':_0x4876d5[_0x254c55(0x2d1)][_0x254c55(0x256)],'data':{'unitID':this[_0x254c55(0x412)],'memberID':this[_0x254c55(0x27a)][_0x254c55(0x360)](),'selection':_0x328dc8(_0x3317df)}};this[_0x254c55(0x27a)][_0x254c55(0x1e1)](_0x39a4ba,this[_0x254c55(0x412)]);},_0x346fd)),(this[_0x569b38(0x412)]=_0x3a8caf,this[_0x569b38(0x27a)]=_0x27860a,this[_0x569b38(0x2c9)]=_0x3dbb12,this[_0x569b38(0x238)]=_0x37cb73,this['_memberService']=_0x4a8800,this[_0x569b38(0x2c8)]=_0x1e0df8,this[_0x569b38(0x27f)]=_0x2446c9,this['_univerInstanceService']=_0x5df840,this['_commandService']=_0x448fe3);}get['cursorInfo'](){const _0x124c31=_0x52f010;return this[_0x124c31(0x3dd)]['getValue']();}get['roomMembers'](){const _0x5890d8=_0x52f010;return this[_0x5890d8(0x21a)]['getValue']();}['dispose'](){const _0x3352e8=_0x52f010;super[_0x3352e8(0x244)](),this['_cursorInfo$'][_0x3352e8(0x1fd)](new Map()),this['_cursorInfo$'][_0x3352e8(0x237)](),this[_0x3352e8(0x21a)]['next']([]),this['_roomMembers$'][_0x3352e8(0x237)]();}[_0x52f010(0x39b)](){const _0x13c467=_0x52f010;this[_0x13c467(0x36a)]||(this[_0x13c467(0x36a)]=!0x0,this['_session'][_0x13c467(0x1dc)][_0x13c467(0x38c)](_0x353c21[_0x13c467(0x25f)](this['dispose$']))[_0x13c467(0x222)](_0x534371=>{const _0x4a95e5=_0x13c467;_0x534371===_0x1ac61a[_0x4a95e5(0x20e)]['ONLINE']?this[_0x4a95e5(0x3b2)]():this[_0x4a95e5(0x1f5)]();}),this['_session'][_0x13c467(0x444)][_0x13c467(0x38c)](_0x353c21[_0x13c467(0x25f)](this[_0x13c467(0x43b)]))[_0x13c467(0x222)](_0x294c71=>{const _0xec7056=_0x13c467,_0x4f863f=_0x294c71['eventID'];_0x4f863f===_0x4876d5[_0xec7056(0x2d1)][_0xec7056(0x256)]&&this[_0xec7056(0x391)](_0x294c71),_0x4f863f===_0x4876d5[_0xec7056(0x2d1)][_0xec7056(0x362)]&&this['_onCursorDelete'](_0x294c71);}),this[_0x13c467(0x2ba)](this[_0x13c467(0x448)][_0x13c467(0x2d7)](_0xa55485=>{const _0x26c366=_0x13c467,_0x569763=_0xa55485[_0x26c366(0x21c)];_0x569763!=null&&this[_0x26c366(0x26b)]&&_0xa55485['id']===_0x427dab[_0x26c366(0x3c7)]['id']&&_0x569763[_0x26c366(0x32e)]===this[_0x26c366(0x412)]&&_0x569763['isEditing']===!0x1&&_0x569763[_0x26c366(0x313)][_0x26c366(0x2d4)]>0x0&&this['_updateLocalCursor'](_0x569763[_0x26c366(0x313)]);})),this[_0x13c467(0x2c8)][_0x13c467(0x327)][_0x13c467(0x38c)](_0x353c21['takeUntil'](this[_0x13c467(0x43b)]))['subscribe'](_0x169b0a=>{const _0x4a6532=_0x13c467;if((_0x169b0a==null?void 0x0:_0x169b0a['unitID'])!==this[_0x4a6532(0x412)])return;const _0x36c6a9={'eventID':_0x4876d5['CollaborationEvent'][_0x4a6532(0x256)],'data':_0x169b0a};this[_0x4a6532(0x391)](_0x36c6a9);}),this[_0x13c467(0x2ba)](this[_0x13c467(0x448)][_0x13c467(0x2d7)](_0x105f4e=>{const _0xc7007=_0x13c467;if(_0x105f4e[_0xc7007(0x21c)]==null)return;const _0xf5004b=_0x105f4e['params'];if(_0x105f4e['id']!==_0x427dab[_0xc7007(0x223)]['id']||_0xf5004b['unitId']!==this['unitID'])return;const _0xa4eeae={'id':_0xc7007(0x23d),'params':_0xf5004b},_0x57f9f1=this[_0xc7007(0x267)];for(const [_0x1faacc,_0x2253ec]of _0x57f9f1){const _0x25877c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xc7007(0x412)],'actions':null,'textRanges':_0x2253ec['ranges']}},_0x5313c4=this[_0xc7007(0x27f)]['transformMutation'](_0xa4eeae,_0x25877c,!0x1);if(_0x4876d5[_0xc7007(0x453)](_0x5313c4))throw _0x5313c4[_0xc7007(0x1e8)];_0x57f9f1[_0xc7007(0x3f1)](_0x1faacc,{..._0x2253ec,'ranges':_0x5313c4[_0xc7007(0x43f)][_0xc7007(0x21c)][_0xc7007(0x301)]});}queueMicrotask(()=>{const _0x564796=_0xc7007;this[_0x564796(0x3dd)][_0x564796(0x1fd)](_0x57f9f1);});})));}[_0x52f010(0x391)](_0x2402bc){const _0x473119=_0x52f010;var _0x4e69b7,_0x2d0453;const {memberID:_0x26f856,selection:_0x286d04}=_0x2402bc[_0x473119(0x3f9)],_0x514126=_0x15082b(_0x286d04),_0x39d969=(_0x2d0453=(_0x4e69b7=this[_0x473119(0x2e7)][_0x473119(0x2b2)](this[_0x473119(0x412)],_0x26f856))==null?void 0x0:_0x4e69b7[_0x473119(0x234)])!=null?_0x2d0453:_0x473119(0x2a6),_0x5da18e={'color':this[_0x473119(0x238)][_0x473119(0x387)](_0x26f856),'name':_0x39d969,'ranges':_0x514126},_0x3dee3f=this[_0x473119(0x267)];_0x3dee3f['set'](_0x26f856,_0x5da18e),this[_0x473119(0x3dd)]['next'](_0x3dee3f);}[_0x52f010(0x3c6)](_0x3405e5){const _0x55c0d5=_0x52f010,{memberID:_0x4142c1}=_0x3405e5[_0x55c0d5(0x3f9)],_0x51903d=this['cursorInfo'];_0x51903d[_0x55c0d5(0x3d1)](_0x4142c1),this[_0x55c0d5(0x3dd)][_0x55c0d5(0x1fd)](_0x51903d);}['_toggleOnline'](){const _0x20879c=_0x52f010;var _0x1d2b92;if(this[_0x20879c(0x26b)]=!0x0,((_0x1d2b92=this[_0x20879c(0x40e)]['getFocusedUnit']())==null?void 0x0:_0x1d2b92[_0x20879c(0x272)]())!==this['unitID'])return;const _0x88e9e7=this[_0x20879c(0x2c9)][_0x20879c(0x25b)](_0x427dab[_0x20879c(0x1d5)])[_0x20879c(0x36b)]();Array[_0x20879c(0x3fb)](_0x88e9e7)&&_0x88e9e7['length']>0x0&&this[_0x20879c(0x40b)](_0x88e9e7);}['_toggleOffline'](){const _0x2f29dc=_0x52f010;this[_0x2f29dc(0x26b)]=!0x1;}};_0x35be9d=_0x285bee([_0x2b1627(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x2b1627(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x27e238)),_0x2b1627(0x4,_0x3d05ee['Inject'](_0x1ac61a[_0x52f010(0x24b)])),_0x2b1627(0x5,_0x3d05ee[_0x52f010(0x1e7)](_0x4e98a8)),_0x2b1627(0x6,_0x4876d5[_0x52f010(0x1dd)]),_0x2b1627(0x7,_0x3d05ee[_0x52f010(0x365)]),_0x2b1627(0x8,_0x3d05ee[_0x52f010(0x375)])],_0x35be9d);var _0x4b6a17=Object['getOwnPropertyDescriptor'],_0x7a6911=(_0x1e4ef9,_0x552467,_0x4cfecf,_0x3ea00f)=>{const _0x43ccf0=_0x52f010;for(var _0x4b2431=_0x3ea00f>0x1?void 0x0:_0x3ea00f?_0x4b6a17(_0x552467,_0x4cfecf):_0x552467,_0x5c95b4=_0x1e4ef9[_0x43ccf0(0x2d4)]-0x1,_0x3bf6b8;_0x5c95b4>=0x0;_0x5c95b4--)(_0x3bf6b8=_0x1e4ef9[_0x5c95b4])&&(_0x4b2431=_0x3bf6b8(_0x4b2431)||_0x4b2431);return _0x4b2431;},_0x407587=(_0x477b97,_0x568aea)=>(_0x1673a6,_0x30e05b)=>_0x568aea(_0x1673a6,_0x30e05b,_0x477b97);const _0x478ef6=0x12c,_0x22bf90=0x64,_0x286b72=()=>{let _0x57651e=[],_0x390ad1=!0x1;return _0x3d56e1=>{const _0x19f1cc=_0x43db;_0x57651e[_0x19f1cc(0x404)](_0x3d56e1),_0x390ad1||(_0x390ad1=!0x0,setTimeout(()=>{const _0x1a2d55=_0x19f1cc;_0x57651e[_0x1a2d55(0x2ce)](_0x4480c4=>_0x4480c4()),_0x57651e=[],_0x390ad1=!0x1;}));};};let _0x283ab6=class extends _0x3d05ee['RxDisposable']{constructor(_0x101195,_0x33d840,_0x12aad3,_0x18f985,_0x3f698b,_0x2b2abd,_0x1934e7,_0x10a5b6){const _0x5dd1da=_0x52f010;super(),_0x544075(this,_0x5dd1da(0x26b),!0x1),_0x544075(this,_0x5dd1da(0x36a),!0x1),_0x544075(this,_0x5dd1da(0x3dd),new _0x353c21['BehaviorSubject'](new Map())),_0x544075(this,_0x5dd1da(0x3c5),this['_cursorInfo$'][_0x5dd1da(0x46d)]()),_0x544075(this,_0x5dd1da(0x21a),new _0x353c21['BehaviorSubject']([])),_0x544075(this,_0x5dd1da(0x34a),this[_0x5dd1da(0x21a)][_0x5dd1da(0x38c)](_0x353c21[_0x5dd1da(0x33d)](_0x478ef6))),_0x544075(this,_0x5dd1da(0x40b),_0x3d05ee[_0x5dd1da(0x46a)]((_0x5d30c6,_0x52990a)=>{const _0x2dfe87=_0x5dd1da,_0x58b5ac={'eventID':_0x4876d5['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x2dfe87(0x412)],'memberID':this[_0x2dfe87(0x27a)][_0x2dfe87(0x360)](),'selection':_0x447c02['serializeRangeWithSheet'](_0x5d30c6,_0x52990a[_0x2dfe87(0x3fd)])}};this[_0x2dfe87(0x27a)]['send'](_0x58b5ac,this['unitID']);},_0x22bf90)),(this[_0x5dd1da(0x412)]=_0x101195,this['_session']=_0x33d840,this[_0x5dd1da(0x2c9)]=_0x12aad3,this[_0x5dd1da(0x238)]=_0x18f985,this[_0x5dd1da(0x2e7)]=_0x3f698b,this[_0x5dd1da(0x40e)]=_0x2b2abd,this[_0x5dd1da(0x448)]=_0x1934e7,this[_0x5dd1da(0x427)]=_0x10a5b6);}get[_0x52f010(0x267)](){const _0x5734f3=_0x52f010;return this[_0x5734f3(0x3dd)][_0x5734f3(0x3a4)]();}get[_0x52f010(0x338)](){const _0x4e32a1=_0x52f010;return this[_0x4e32a1(0x21a)][_0x4e32a1(0x3a4)]();}['dispose'](){const _0x6a77f2=_0x52f010;super['dispose'](),this[_0x6a77f2(0x3dd)][_0x6a77f2(0x1fd)](new Map()),this[_0x6a77f2(0x3dd)][_0x6a77f2(0x237)](),this[_0x6a77f2(0x21a)][_0x6a77f2(0x1fd)]([]),this[_0x6a77f2(0x21a)]['complete']();}['init'](){const _0x3cd749=_0x52f010;this[_0x3cd749(0x36a)]||(this[_0x3cd749(0x36a)]=!0x0,this[_0x3cd749(0x27a)][_0x3cd749(0x1dc)]['pipe'](_0x353c21[_0x3cd749(0x25f)](this[_0x3cd749(0x43b)]))[_0x3cd749(0x222)](_0x1a0e7c=>{const _0x1d5cd8=_0x3cd749;_0x1a0e7c===_0x1ac61a[_0x1d5cd8(0x20e)]['ONLINE']?this[_0x1d5cd8(0x3b2)]():this['_toggleOffline']();}),this[_0x3cd749(0x27a)]['event$']['pipe'](_0x353c21['takeUntil'](this[_0x3cd749(0x43b)]))[_0x3cd749(0x222)](_0x4d394b=>{const _0x180512=_0x3cd749,_0x278b5c=_0x4d394b[_0x180512(0x397)];_0x278b5c===_0x4876d5[_0x180512(0x2d1)][_0x180512(0x256)]&&this['_onCursorUpdate'](_0x4d394b),_0x278b5c===_0x4876d5[_0x180512(0x2d1)][_0x180512(0x362)]&&this[_0x180512(0x3c6)](_0x4d394b);}),this[_0x3cd749(0x329)](),this[_0x3cd749(0x2ba)](this[_0x3cd749(0x448)][_0x3cd749(0x2d7)](_0x4c8f23=>{const _0xe37091=_0x3cd749;if(this['_online']&&_0x4c8f23['id']===_0x401d6b['SetSelectionsOperation']['id']&&_0x4c8f23['params'][_0xe37091(0x32e)]===this[_0xe37091(0x412)]){const _0x2eb286=_0x4c8f23[_0xe37091(0x21c)];this[_0xe37091(0x40b)](_0x2eb286[_0xe37091(0x3a9)],_0x2eb286['selections'][0x0]);}})));}[_0x52f010(0x391)](_0xb6367b){const _0x9b0bf5=_0x52f010;var _0x1754e7,_0x2863dd;const {memberID:_0x551eaa,selection:_0x50f6dc}=_0xb6367b[_0x9b0bf5(0x3f9)],{sheetName:_0x4f4eaa,range:_0x534fdc}=_0x447c02['deserializeRangeWithSheet'](_0x50f6dc),_0x1f794b={'name':(_0x2863dd=(_0x1754e7=this[_0x9b0bf5(0x2e7)][_0x9b0bf5(0x2b2)](this[_0x9b0bf5(0x412)],_0x551eaa))==null?void 0x0:_0x1754e7['name'])!=null?_0x2863dd:_0x9b0bf5(0x2a6),'range':this[_0x9b0bf5(0x21b)](_0x4f4eaa,_0x534fdc),'sheetID':_0x4f4eaa,'color':this[_0x9b0bf5(0x238)][_0x9b0bf5(0x387)](_0x551eaa),'selection':_0x50f6dc},_0x519937=this[_0x9b0bf5(0x267)];_0x519937[_0x9b0bf5(0x3f1)](_0x551eaa,_0x1f794b),this[_0x9b0bf5(0x3dd)][_0x9b0bf5(0x1fd)](_0x519937);}[_0x52f010(0x3c6)](_0x1830fd){const _0x57f6cc=_0x52f010,{memberID:_0x2481e5}=_0x1830fd[_0x57f6cc(0x3f9)],_0x19519d=this[_0x57f6cc(0x267)];_0x19519d['delete'](_0x2481e5),this[_0x57f6cc(0x3dd)][_0x57f6cc(0x1fd)](_0x19519d);}[_0x52f010(0x21b)](_0x3d152f,_0x333343){const _0x5e00f1=_0x52f010;var _0x3b45f4,_0x656abc;const _0x510de2=(_0x656abc=(_0x3b45f4=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x5e00f1(0x412)]))==null?void 0x0:_0x3b45f4[_0x5e00f1(0x3b6)](_0x3d152f))==null?void 0x0:_0x656abc[_0x5e00f1(0x1fc)]();return(_0x510de2==null?void 0x0:_0x510de2[_0x5e00f1(0x22d)](_0x321175=>_0x3d05ee[_0x5e00f1(0x292)][_0x5e00f1(0x326)](_0x321175,_0x333343)))||_0x333343;}[_0x52f010(0x329)](){const _0x229353=_0x52f010,_0x53c40e=new _0x3d05ee[(_0x229353(0x3e8))](),_0x32c2ee=_0x286b72(),_0x4552a7=()=>{const _0x66799=_0x229353;_0x53c40e[_0x66799(0x244)]();const _0x98ffd7=(_0x1d6186,_0x4e795b,_0x1bd9c0,_0x5c5ceb)=>{const _0x3ee9ec=_0x66799;let _0x59be15=[];switch(_0x1d6186['id']){case _0x401d6b[_0x3ee9ec(0x2be)]['DeleteRangeMoveLeftCommandId']:{_0x59be15=_0x401d6b['handleDeleteRangeMoveLeft'](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x2fc)]:{_0x59be15=_0x401d6b['handleDeleteRangeMoveUp'](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)]['InsertColCommandId']:{_0x59be15=_0x401d6b[_0x3ee9ec(0x241)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)]['InsertRangeMoveDownCommandId']:{_0x59be15=_0x401d6b[_0x3ee9ec(0x30a)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x3ce)]:{_0x59be15=_0x401d6b[_0x3ee9ec(0x408)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x2fa)]:{_0x59be15=_0x401d6b[_0x3ee9ec(0x2bf)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x32c)]:{_0x59be15=_0x401d6b['handleMoveRange'](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b['EffectRefRangId'][_0x3ee9ec(0x225)]:{_0x59be15=_0x401d6b[_0x3ee9ec(0x228)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)]['RemoveRowCommandId']:{_0x59be15=_0x401d6b['handleIRemoveRow'](_0x1d6186,_0x5c5ceb);break;}}const _0x4c0887=_0x401d6b[_0x3ee9ec(0x2a3)](_0x59be15,_0x5c5ceb),_0x20f8ce=this[_0x3ee9ec(0x267)][_0x3ee9ec(0x25b)](_0x4e795b);if(_0x20f8ce&&_0x4c0887){const _0x35e288={..._0x20f8ce,'range':_0x4c0887};this[_0x3ee9ec(0x267)]['set'](_0x4e795b,_0x35e288),_0x32c2ee(()=>{const _0x42831d=_0x3ee9ec,_0x1e984b=this[_0x42831d(0x427)][_0x42831d(0x2e2)](_0x4c0887,_0x24ccf9=>(_0x1e984b[_0x42831d(0x244)](),_0x98ffd7(_0x24ccf9,_0x4e795b,_0x1bd9c0,_0x4c0887)));_0x53c40e[_0x42831d(0x46c)](_0x1e984b);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x66799(0x2ce)]((_0xfc775,_0xdbfb1d)=>{const _0x53be25=_0x66799,{range:_0x32194a,sheetID:_0x11958c}=_0xfc775,_0xf9e3e3=this[_0x53be25(0x427)][_0x53be25(0x2e2)](_0x32194a,_0x5cf9ce=>(_0xf9e3e3[_0x53be25(0x244)](),_0x98ffd7(_0x5cf9ce,_0xdbfb1d,_0x11958c,_0x32194a)));_0x53c40e[_0x53be25(0x46c)](_0xf9e3e3);});};this[_0x229353(0x2ba)](_0x3d05ee[_0x229353(0x20a)](this[_0x229353(0x3dd)][_0x229353(0x222)](()=>{_0x4552a7();})));}['_toggleOnline'](){const _0x38cac3=_0x52f010;var _0x3c76af,_0x4ad02f;if(this['_online']=!0x0,((_0x3c76af=this[_0x38cac3(0x40e)][_0x38cac3(0x218)]())==null?void 0x0:_0x3c76af['getUnitId']())!==this[_0x38cac3(0x412)])return;const _0x58647b=(_0x4ad02f=this[_0x38cac3(0x2c9)][_0x38cac3(0x25b)](_0x401d6b[_0x38cac3(0x323)])[_0x38cac3(0x1db)]())==null?void 0x0:_0x4ad02f[0x0],_0x48fd59=this[_0x38cac3(0x40e)]['getCurrentUnitForType'](_0x3d05ee['UniverInstanceType'][_0x38cac3(0x44b)])[_0x38cac3(0x257)]();_0x58647b&&_0x48fd59&&this['_updateLocalCursor'](_0x48fd59[_0x38cac3(0x399)](),_0x58647b);}[_0x52f010(0x1f5)](){const _0x54b15c=_0x52f010;this[_0x54b15c(0x26b)]=!0x1;}};_0x283ab6=_0x7a6911([_0x407587(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x407587(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x27e238)),_0x407587(0x4,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x24b)])),_0x407587(0x5,_0x3d05ee[_0x52f010(0x365)]),_0x407587(0x6,_0x3d05ee[_0x52f010(0x375)]),_0x407587(0x7,_0x3d05ee[_0x52f010(0x1e7)](_0x401d6b[_0x52f010(0x345)]))],_0x283ab6);var _0x165df=Object['getOwnPropertyDescriptor'],_0x306517=(_0x2b992a,_0xff6d7f,_0x2939b4,_0x5d7a16)=>{const _0x4a2b36=_0x52f010;for(var _0x57f913=_0x5d7a16>0x1?void 0x0:_0x5d7a16?_0x165df(_0xff6d7f,_0x2939b4):_0xff6d7f,_0x5e79eb=_0x2b992a[_0x4a2b36(0x2d4)]-0x1,_0x27984a;_0x5e79eb>=0x0;_0x5e79eb--)(_0x27984a=_0x2b992a[_0x5e79eb])&&(_0x57f913=_0x27984a(_0x57f913)||_0x57f913);return _0x57f913;},_0x3a59a5=(_0x480bc2,_0xee8d99)=>(_0x3ac10e,_0x5b1c55)=>_0xee8d99(_0x3ac10e,_0x5b1c55,_0x480bc2);let _0x5d58f9=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x523bb2,_0x1981c2,_0x58e0ec){const _0x17a264=_0x52f010;super(),_0x544075(this,_0x17a264(0x1f8),new Map()),_0x544075(this,_0x17a264(0x1ed),new _0x353c21[(_0x17a264(0x221))]()),(this[_0x17a264(0x40e)]=_0x523bb2,this['_injector']=_0x1981c2,this[_0x17a264(0x465)]=_0x58e0ec,this[_0x17a264(0x36a)]());}[_0x52f010(0x244)](){const _0x5e30ad=_0x52f010;super[_0x5e30ad(0x244)](),this[_0x5e30ad(0x1ed)][_0x5e30ad(0x237)](),this['_entities'][_0x5e30ad(0x2ce)](_0x5113b5=>_0x5113b5[_0x5e30ad(0x244)]());}[_0x52f010(0x2d5)](_0x229fa9){const _0x4e0854=_0x52f010;return this[_0x4e0854(0x1f8)][_0x4e0854(0x350)](_0x229fa9)?this['_entities'][_0x4e0854(0x25b)](_0x229fa9)['cursorInfo$']:this['_entityInit$'][_0x4e0854(0x38c)](_0x353c21[_0x4e0854(0x1d9)](_0x304705=>_0x304705['unitID']===_0x229fa9),_0x353c21[_0x4e0854(0x2af)](_0x34923c=>_0x34923c[_0x4e0854(0x3c5)]));}['_init'](){const _0x5b226c=_0x52f010;this['_univerInstanceService'][_0x5b226c(0x33f)](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x44b)])['pipe'](_0x353c21['takeUntil'](this['dispose$']))[_0x5b226c(0x222)](async _0x5b02d7=>{const _0x239c5d=_0x5b226c,_0x355c75=_0x5b02d7[_0x239c5d(0x272)](),_0x56b466=await this[_0x239c5d(0x3de)](_0x355c75);this['_entityInit$']['next'](_0x56b466),this['_entities'][_0x239c5d(0x3f1)](_0x355c75,_0x56b466);}),this[_0x5b226c(0x40e)][_0x5b226c(0x33f)](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x2dc)])['pipe'](_0x353c21['takeUntil'](this[_0x5b226c(0x43b)]))[_0x5b226c(0x38c)](_0x353c21[_0x5b226c(0x1d9)](_0x38d66b=>!_0x38d66b['getUnitId']()[_0x5b226c(0x2cd)]('__')))[_0x5b226c(0x222)](async _0x12c10a=>{const _0x363059=_0x5b226c,_0x2a1d5e=_0x12c10a[_0x363059(0x272)](),_0x19d79c=await this[_0x363059(0x372)](_0x2a1d5e);this[_0x363059(0x1ed)][_0x363059(0x1fd)](_0x19d79c),this[_0x363059(0x1f8)][_0x363059(0x3f1)](_0x2a1d5e,_0x19d79c);}),_0x353c21[_0x5b226c(0x36c)](this[_0x5b226c(0x40e)][_0x5b226c(0x1e0)](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x2dc)]),this[_0x5b226c(0x40e)]['getTypeOfUnitDisposed$'](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x44b)]))['pipe'](_0x353c21['takeUntil'](this[_0x5b226c(0x43b)]))[_0x5b226c(0x222)](_0x5aa6a8=>{const _0x4596ab=_0x5b226c,_0x41660b=_0x5aa6a8[_0x4596ab(0x272)](),_0x4a30f0=this[_0x4596ab(0x1f8)][_0x4596ab(0x25b)](_0x41660b);_0x4a30f0&&(_0x4a30f0[_0x4596ab(0x244)](),this[_0x4596ab(0x1f8)][_0x4596ab(0x3d1)](_0x41660b));});}async[_0x52f010(0x3de)](_0x3f4398){const _0x54fb71=_0x52f010,_0x1c1f21=await this[_0x54fb71(0x465)][_0x54fb71(0x2bd)](_0x3f4398),_0x4c132c=this[_0x54fb71(0x2c9)]['createInstance'](_0x283ab6,_0x3f4398,_0x1c1f21);return _0x4c132c[_0x54fb71(0x39b)](),_0x4c132c;}async[_0x52f010(0x372)](_0x1e7c35){const _0x1b27f=_0x52f010,_0x2c55e3=await this['_collabSessionService'][_0x1b27f(0x2bd)](_0x1e7c35),_0x216a52=this[_0x1b27f(0x2c9)][_0x1b27f(0x437)](_0x35be9d,_0x1e7c35,_0x2c55e3);return _0x216a52[_0x1b27f(0x39b)](),_0x216a52;}};_0x5d58f9=_0x306517([_0x3a59a5(0x0,_0x3d05ee[_0x52f010(0x365)]),_0x3a59a5(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x3a59a5(0x2,_0x3d05ee['Inject'](_0x1ac61a[_0x52f010(0x265)]))],_0x5d58f9);const _0x4c4c6b=0x14,_0x4e87c8=0xc8,_0x2ddf94=0x4,_0x448ef8=0x5;function _0x40e5c5(_0x11c48e,_0x1bce0e){const _0x3b968b=_0x52f010;let {radius:_0x35820b,width:_0x51a2a1,height:_0x3bbfdc}=_0x1bce0e;_0x35820b=_0x35820b!=null?_0x35820b:0x0,_0x51a2a1=_0x51a2a1!=null?_0x51a2a1:0x1e,_0x3bbfdc=_0x3bbfdc!=null?_0x3bbfdc:0x1e;let _0x43dbda=0x0,_0x3680a6=0x0,_0x5f11bf=0x0;_0x43dbda=_0x3680a6=_0x5f11bf=Math[_0x3b968b(0x3dc)](_0x35820b,_0x51a2a1/0x2,_0x3bbfdc/0x2),_0x11c48e[_0x3b968b(0x447)](),_0x11c48e[_0x3b968b(0x1e9)](_0x43dbda,0x0),_0x11c48e[_0x3b968b(0x330)](_0x51a2a1-_0x3680a6,0x0),_0x11c48e[_0x3b968b(0x254)](_0x51a2a1-_0x3680a6,_0x3680a6,_0x3680a6,Math['PI']*0x3/0x2,0x0,!0x1),_0x11c48e['lineTo'](_0x51a2a1,_0x3bbfdc-_0x5f11bf),_0x11c48e['arc'](_0x51a2a1-_0x5f11bf,_0x3bbfdc-_0x5f11bf,_0x5f11bf,0x0,Math['PI']/0x2,!0x1),_0x11c48e[_0x3b968b(0x330)](0x0,_0x3bbfdc),_0x11c48e[_0x3b968b(0x330)](0x0,_0x43dbda),_0x11c48e[_0x3b968b(0x254)](_0x43dbda,_0x43dbda,_0x43dbda,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x11c48e[_0x3b968b(0x325)](),_0x1bce0e[_0x3b968b(0x286)]&&(_0x11c48e[_0x3b968b(0x23b)](),_0x11c48e[_0x3b968b(0x31e)]=_0x1bce0e[_0x3b968b(0x286)],_0x1bce0e[_0x3b968b(0x2b8)]===_0x3b968b(0x464)?_0x11c48e[_0x3b968b(0x286)](_0x3b968b(0x464)):_0x11c48e[_0x3b968b(0x286)](),_0x11c48e['restore']());}class _0x1d7753 extends _0x1eb76f['Shape']{constructor(_0x5aa2cd,_0x3e65f4){const _0x39db7c=_0x52f010;super(_0x5aa2cd,_0x3e65f4),_0x544075(this,_0x39db7c(0x253)),_0x544075(this,_0x39db7c(0x3f7)),(this[_0x39db7c(0x253)]=_0x3e65f4==null?void 0x0:_0x3e65f4[_0x39db7c(0x253)],this['text']=_0x3e65f4==null?void 0x0:_0x3e65f4[_0x39db7c(0x3f7)]);}static[_0x52f010(0x29c)](_0xda5c66,_0x3b77b5){const _0x1f29a1=_0x52f010,{text:_0x5d679a,color:_0x46469b}=_0x3b77b5;_0xda5c66[_0x1f29a1(0x23b)](),_0xda5c66[_0x1f29a1(0x245)]=_0x1f29a1(0x2a8);const _0x2b031a=_0xda5c66[_0x1f29a1(0x3d7)](_0x5d679a)[_0x1f29a1(0x354)],_0x34aaba=Math[_0x1f29a1(0x3dc)](_0x2b031a+0x2*_0x2ddf94,_0x4e87c8);_0x40e5c5(_0xda5c66,{'height':_0x4c4c6b,'radius':0x4,'width':_0x34aaba,'fill':_0x46469b}),_0xda5c66['fillStyle']=_0x1f29a1(0x449);const _0x5453d0=_0x2ddf94,_0x5a59b1=_0x4c4c6b-_0x448ef8,_0x2f66f2=_0x4e87c8-0x2*_0x2ddf94;if(_0x2b031a>_0x2f66f2){let _0x17230c='',_0x3fbb3=0x0;for(const _0x43d4e0 of _0x5d679a){const _0xc7dbca=_0xda5c66[_0x1f29a1(0x3d7)](_0x43d4e0)['width'];if(_0x3fbb3+_0xc7dbca<=_0x2f66f2-_0xda5c66[_0x1f29a1(0x3d7)](_0x1f29a1(0x25c))[_0x1f29a1(0x354)])_0x17230c+=_0x43d4e0,_0x3fbb3+=_0xc7dbca;else{_0x17230c+=_0x1f29a1(0x25c);break;}}_0xda5c66[_0x1f29a1(0x3b5)](_0x17230c,_0x5453d0,_0x5a59b1);}else _0xda5c66[_0x1f29a1(0x3b5)](_0x5d679a,_0x5453d0,_0x5a59b1);_0xda5c66[_0x1f29a1(0x1fa)]();}[_0x52f010(0x341)](_0x4394bd){_0x1d7753['drawWith'](_0x4394bd,this);}}const _0x47706c=_0x52f010(0x243),_0x4ea2f3=_0x52f010(0x2d8),_0x5d216f=_0x52f010(0x37f),_0x276c29=0x6,_0x4a9d48=1.5,_0x4a2eb5=0x4,_0x7c790c=1.5,_0x1a8a5a=_0x52f010(0x2b4);class _0x2a616a{constructor(_0x1bd953,_0x4a6c6d,_0x3a4c56,_0x15541f){const _0x55658f=_0x52f010;_0x544075(this,_0x55658f(0x23e),[]),_0x544075(this,'_anchor',null),_0x544075(this,_0x55658f(0x44e),null),_0x544075(this,'_anchorDot',null),_0x544075(this,_0x55658f(0x42b),null),_0x544075(this,_0x55658f(0x44d),null),(this[_0x55658f(0x2a5)]=_0x1bd953,this[_0x55658f(0x300)]=_0x4a6c6d,this[_0x55658f(0x440)]=_0x3a4c56,this['_document']=_0x15541f,this['_render']());}set[_0x52f010(0x41b)](_0x29387a){const _0x143a9b=_0x52f010;_0x29387a?(this['_anchorDot']&&this[_0x143a9b(0x285)][_0x143a9b(0x396)](),this[_0x143a9b(0x44e)]&&this['_textBubble']['show']()):(this[_0x143a9b(0x285)]&&this[_0x143a9b(0x285)][_0x143a9b(0x32f)](),this[_0x143a9b(0x44e)]&&this[_0x143a9b(0x44e)]['hide']());}[_0x52f010(0x244)](){const _0x4eb5ee=_0x52f010;for(const _0x278011 of this[_0x4eb5ee(0x23e)])_0x278011[_0x4eb5ee(0x244)]();this['_textBubble']&&this[_0x4eb5ee(0x44e)][_0x4eb5ee(0x244)](),this[_0x4eb5ee(0x285)]&&this[_0x4eb5ee(0x285)][_0x4eb5ee(0x244)](),this[_0x4eb5ee(0x36e)]&&this['_anchor'][_0x4eb5ee(0x244)](),this[_0x4eb5ee(0x44d)]&&this[_0x4eb5ee(0x44d)]();}['_render'](){const _0x5c68a0=_0x52f010;var _0x1d73e6;const {_docSkeleton:_0x15512b,_document:_0x1ccad6}=this,{color:_0xe1dc6b,name:_0x17f3c2,ranges:_0x170657}=this[_0x5c68a0(0x2a5)],_0x532a3b=_0x1ccad6[_0x5c68a0(0x3ff)](),{docsLeft:_0x2da8f3,docsTop:_0x41349b}=_0x532a3b,_0x3ad2bd=new _0x50ffa0[(_0x5c68a0(0x1f6))](_0x532a3b,_0x15512b);for(const {startOffset:_0x389939,endOffset:_0x4c68ee,rangeType:_0x28a6b4,segmentId:_0x228c49,segmentPage:_0x2c12cc,collapsed:_0x8cbae4,isActive:_0x320877}of _0x170657){const _0x3e84fe=_0x15512b[_0x5c68a0(0x3da)](_0x389939,!0x0,_0x228c49,_0x2c12cc);let _0x919338=_0x15512b[_0x5c68a0(0x3da)](_0x4c68ee,!0x0,_0x228c49,_0x2c12cc);if(_0x919338==null&&(_0x919338=_0x15512b[_0x5c68a0(0x3da)](_0x4c68ee-0x1,!0x1,_0x228c49,_0x2c12cc)),_0x320877){const {contentBoxPointGroup:_0x2d3ae7}=_0x3ad2bd[_0x5c68a0(0x227)](_0x919338,_0x919338);if(_0x2d3ae7[_0x5c68a0(0x2d4)]===0x0)continue;this[_0x5c68a0(0x328)](_0xe1dc6b,_0x2d3ae7,_0x2da8f3,_0x41349b,_0x17f3c2),this[_0x5c68a0(0x44d)]=this[_0x5c68a0(0x26e)]();}if(_0x3e84fe&&_0x919338){if(_0x28a6b4===_0x3d05ee['DOC_RANGE_TYPE']['RECT']){const _0xaa15bf=new _0x50ffa0[(_0x5c68a0(0x3e3))](_0x532a3b,_0x15512b),{pointGroup:_0xc86b3c}=(_0x1d73e6=_0xaa15bf[_0x5c68a0(0x227)](_0x3e84fe,_0x919338))!=null?_0x1d73e6:{};if(_0xc86b3c==null||_0xc86b3c['length']===0x0)continue;this['_drawRectRange'](_0xe1dc6b,_0xc86b3c,_0x2da8f3,_0x41349b);}else{if(!_0x8cbae4){const {borderBoxPointGroup:_0x5da154}=_0x3ad2bd[_0x5c68a0(0x227)](_0x3e84fe,_0x919338);if(_0x5da154['length']===0x0)continue;this[_0x5c68a0(0x1f0)](_0xe1dc6b,_0x5da154,_0x2da8f3,_0x41349b);}}}}}[_0x52f010(0x328)](_0x2d9d80,_0x2b6fac,_0x2de296,_0x4ed8d2,_0x5ce66d){const _0x1f58ec=_0x52f010,_0x2376d1=this[_0x1f58ec(0x281)](_0x2b6fac),{left:_0x36628c,top:_0x26b0d1,height:_0x2fc7db}=_0x2376d1,_0x77803a=this['_getScale'](),_0x269fae=_0x7c790c/_0x77803a,_0x386431=new _0x1eb76f[(_0x1f58ec(0x2b5))](_0x47706c+_0x3d05ee[_0x1f58ec(0x426)](_0x276c29),{'left':_0x36628c+_0x2de296-_0x269fae,'top':_0x26b0d1+_0x4ed8d2,'height':_0x2fc7db,'width':_0x4a9d48,'fill':_0x2d9d80||_0x1eb76f[_0x1f58ec(0x33c)](_0x3d05ee['COLORS'][_0x1f58ec(0x371)],0x0),'strokeWidth':_0x269fae,'stroke':_0x1a8a5a,'evented':!0x0});this['_anchor']=_0x386431,this[_0x1f58ec(0x300)][_0x1f58ec(0x381)](_0x386431,_0x50ffa0[_0x1f58ec(0x21e)]);const _0x483bc0=new _0x1eb76f[(_0x1f58ec(0x2b5))](_0x47706c+_0x3d05ee['generateRandomId'](_0x276c29),{'left':_0x36628c+_0x2de296-_0x269fae,'top':_0x26b0d1+_0x4ed8d2-_0x4a2eb5/0x2,'height':_0x4a2eb5,'width':_0x4a2eb5,'fill':_0x2d9d80||_0x1eb76f[_0x1f58ec(0x33c)](_0x3d05ee['COLORS'][_0x1f58ec(0x371)],0x0),'strokeWidth':0x0,'stroke':_0x2d9d80||_0x1eb76f['getColor'](_0x3d05ee[_0x1f58ec(0x3fc)][_0x1f58ec(0x371)],0x0),'evented':!0x1});this[_0x1f58ec(0x285)]=_0x483bc0,this['_scene'][_0x1f58ec(0x381)](_0x483bc0,_0x50ffa0['TEXT_RANGE_LAYER_INDEX']);const _0x70c895=new _0x1d7753(_0x47706c+_0x3d05ee[_0x1f58ec(0x426)](_0x276c29),{'left':_0x36628c+_0x2de296-_0x269fae,'top':_0x26b0d1+_0x4ed8d2-_0x4c4c6b,'text':_0x5ce66d,'color':_0x2d9d80});this[_0x1f58ec(0x44e)]=_0x70c895,this[_0x1f58ec(0x300)][_0x1f58ec(0x381)](_0x70c895,_0x50ffa0[_0x1f58ec(0x21e)]),this[_0x1f58ec(0x41b)]=!0x1;}[_0x52f010(0x26e)](){const _0x6563bd=_0x52f010,_0x22b045=this[_0x6563bd(0x36e)]['onPointerEnter$'][_0x6563bd(0x3cc)](()=>{const _0x131223=_0x6563bd;this[_0x131223(0x41b)]=!0x0;}),_0x33e879=this[_0x6563bd(0x36e)][_0x6563bd(0x235)][_0x6563bd(0x3cc)](()=>{const _0xf1b9da=_0x6563bd;this[_0xf1b9da(0x42b)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x46a341=_0xf1b9da;this[_0x46a341(0x41b)]=!0x1;},0x7d0);});return()=>{const _0x3b3fc9=_0x6563bd;_0x22b045[_0x3b3fc9(0x401)](),_0x33e879[_0x3b3fc9(0x401)]();};}[_0x52f010(0x1f0)](_0x2b0267,_0x121d76,_0x276d4b,_0x58adc4){const _0x3ddec3=_0x52f010,_0x5aa732=new _0x3d05ee[(_0x3ddec3(0x34d))](_0x2b0267)[_0x3ddec3(0x2cb)](0.2)[_0x3ddec3(0x3f2)](),_0x29d377=new _0x1eb76f['RegularPolygon'](_0x4ea2f3+_0x3d05ee['generateRandomId'](_0x276c29),{'pointsGroup':_0x121d76,'fill':_0x5aa732||_0x1eb76f['getColor'](_0x3d05ee[_0x3ddec3(0x3fc)][_0x3ddec3(0x371)],0.2),'left':_0x276d4b,'top':_0x58adc4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ddec3(0x23e)][_0x3ddec3(0x404)](_0x29d377),this['_scene']['addObject'](_0x29d377,_0x50ffa0['TEXT_RANGE_LAYER_INDEX']);}[_0x52f010(0x46f)](_0x1e3045,_0x192444,_0x1c0e3c,_0x1351da){const _0x3154c0=_0x52f010,_0x2a7dfd=new _0x3d05ee[(_0x3154c0(0x34d))](_0x1e3045)[_0x3154c0(0x2cb)](0.2)[_0x3154c0(0x3f2)](),_0x36d728=new _0x1eb76f[(_0x3154c0(0x2f6))](_0x5d216f+_0x3d05ee['generateRandomId'](_0x276c29),{'pointsGroup':_0x192444,'fill':_0x2a7dfd||_0x1eb76f[_0x3154c0(0x33c)](_0x3d05ee[_0x3154c0(0x3fc)][_0x3154c0(0x371)],0.2),'left':_0x1c0e3c,'top':_0x1351da,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3154c0(0x23e)][_0x3154c0(0x404)](_0x36d728),this[_0x3154c0(0x300)][_0x3154c0(0x381)](_0x36d728,_0x50ffa0[_0x3154c0(0x21e)]);}[_0x52f010(0x281)](_0x117184){const _0x277e8c=_0x117184[0x0],_0x7f08c8=_0x277e8c[0x0],_0xa0d173=_0x277e8c[0x2],{x:_0x2ce671,y:_0x274147}=_0x7f08c8,{x:_0x5d7d0b,y:_0x3e5822}=_0xa0d173;return{'left':_0x2ce671,'top':_0x274147,'width':_0x5d7d0b-_0x2ce671,'height':_0x3e5822-_0x274147};}[_0x52f010(0x425)](){const _0x212268=_0x52f010,{scaleX:_0x34bd53,scaleY:_0xe4e7cf}=this[_0x212268(0x300)][_0x212268(0x421)]();return Math[_0x212268(0x1fb)](_0x34bd53,_0xe4e7cf);}}var _0x2005e9=Object[_0x52f010(0x3d4)],_0x1e06b5=(_0x21e589,_0x700958,_0x53fe87,_0x32c10f)=>{const _0x4939c2=_0x52f010;for(var _0x57591a=_0x32c10f>0x1?void 0x0:_0x32c10f?_0x2005e9(_0x700958,_0x53fe87):_0x700958,_0x4e1267=_0x21e589[_0x4939c2(0x2d4)]-0x1,_0x2c65f3;_0x4e1267>=0x0;_0x4e1267--)(_0x2c65f3=_0x21e589[_0x4e1267])&&(_0x57591a=_0x2c65f3(_0x57591a)||_0x57591a);return _0x57591a;},_0x2c8015=(_0x29c4bb,_0x3fa9b5)=>(_0x3d6af2,_0x2b8b4a)=>_0x3fa9b5(_0x3d6af2,_0x2b8b4a,_0x29c4bb);let _0xf7a1a5=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0xb63731,_0xc7ce95,_0x47b790,_0x484f68,_0x100cc3){const _0x393db6=_0x52f010;super(),_0x544075(this,_0x393db6(0x3ee),[]),_0x544075(this,_0x393db6(0x3d0),[]),(this[_0x393db6(0x3e0)]=_0xb63731,this[_0x393db6(0x214)]=_0xc7ce95,this['_collabCursorController']=_0x47b790,this[_0x393db6(0x448)]=_0x484f68,this[_0x393db6(0x312)]=_0x100cc3,this[_0x393db6(0x36a)]());}[_0x52f010(0x36a)](){const _0x5d4cca=_0x52f010,_0x230c6f=this[_0x5d4cca(0x3e0)][_0x5d4cca(0x32e)],_0x4ba153=this['_docSkeletonManagerService'];this[_0x5d4cca(0x2ba)](_0x353c21[_0x5d4cca(0x400)]([this['_collabCursorController'][_0x5d4cca(0x2d5)](_0x230c6f),this[_0x5d4cca(0x312)]['currentTheme$']])[_0x5d4cca(0x38c)](_0x41ab20['map'](([_0x5e788b,_0x1f5f8d])=>({'skeleton':_0x4ba153[_0x5d4cca(0x450)](),'cursors':[..._0x5e788b['values']()][_0x5d4cca(0x2cf)](_0x25d36e=>({..._0x25d36e,'color':this[_0x5d4cca(0x312)][_0x5d4cca(0x3f8)](_0x25d36e[_0x5d4cca(0x253)])}))})))[_0x5d4cca(0x222)](_0x585ed1=>{const _0x266a7b=_0x5d4cca;if(this[_0x266a7b(0x260)](),_0x585ed1){const {skeleton:_0x3f6566,cursors:_0x15d2f5}=_0x585ed1;this[_0x266a7b(0x432)](_0x3f6566,_0x15d2f5);}})),this[_0x5d4cca(0x3fa)](),this[_0x5d4cca(0x357)]();}['_updateCollabCursors'](_0x579e87,_0x132cb1){const _0xec0327=_0x52f010,{scene:_0x5bf09d,mainComponent:_0x2585d7}=this[_0xec0327(0x3e0)],_0x136951=_0x132cb1[_0xec0327(0x2c4)](_0x22b017=>new _0x2a616a(_0x22b017,_0x5bf09d,_0x579e87,_0x2585d7));this[_0xec0327(0x3ee)]=_0x136951,this[_0xec0327(0x3d0)]=_0x132cb1;}[_0x52f010(0x3ac)](){const _0x4306ae=_0x52f010;this[_0x4306ae(0x260)]();const {scene:_0x2ed6c3,mainComponent:_0x93886e}=this[_0x4306ae(0x3e0)],_0x116804=this[_0x4306ae(0x214)][_0x4306ae(0x450)](),_0x1bbcc6=this[_0x4306ae(0x3d0)][_0x4306ae(0x2c4)](_0x506ade=>new _0x2a616a(_0x506ade,_0x2ed6c3,_0x116804,_0x93886e));this['_cursorShapes']=_0x1bbcc6;}['_removeCollabCursors'](){const _0x18f240=_0x52f010;this[_0x18f240(0x3ee)]['forEach'](_0x112582=>_0x112582['dispose']()),this[_0x18f240(0x3ee)]=[];}[_0x52f010(0x357)](){const _0x4c664e=_0x52f010,_0x471fb1=[_0x50ffa0['SetDocZoomRatioOperation']['id']];this[_0x4c664e(0x2ba)](this[_0x4c664e(0x448)]['onCommandExecuted'](_0x1f8911=>{const _0x596a3b=_0x4c664e;_0x471fb1[_0x596a3b(0x261)](_0x1f8911['id'])&&_0x1f8911['params'][_0x596a3b(0x32e)]===this[_0x596a3b(0x3e0)][_0x596a3b(0x32e)]&&this[_0x596a3b(0x3ac)]();}));}[_0x52f010(0x3fa)](){const _0x39c332=_0x52f010;this[_0x39c332(0x2ba)](_0x3d05ee[_0x39c332(0x3d8)](this[_0x39c332(0x3e0)]['engine']['onTransformChange$'])[_0x39c332(0x38c)](_0x41ab20[_0x39c332(0x1d9)](_0x1fdba6=>_0x1fdba6[_0x39c332(0x39d)]===_0x1eb76f[_0x39c332(0x215)][_0x39c332(0x3ec)]),_0x41ab20[_0x39c332(0x33e)](0x10))[_0x39c332(0x222)](()=>{const _0x6cb293=_0x39c332;this[_0x6cb293(0x3ac)]();}));}};_0xf7a1a5=_0x1e06b5([_0x2c8015(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x427dab[_0x52f010(0x29b)])),_0x2c8015(0x2,_0x3d05ee['Inject'](_0x5d58f9)),_0x2c8015(0x3,_0x3d05ee['ICommandService']),_0x2c8015(0x4,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a7)]))],_0xf7a1a5);const _0xeec2f8=0x1,_0x4452ce=1.5;class _0x184912 extends _0x1eb76f['Shape']{constructor(_0x1a2215,_0x528ab6){const _0x578f27=_0x52f010;super(_0x1a2215,_0x528ab6),_0x544075(this,_0x578f27(0x3f5)),_0x544075(this,'_hovered',!0x1),_0x544075(this,_0x578f27(0x1ea)),_0x544075(this,_0x578f27(0x23a),''),_0x544075(this,_0x578f27(0x20c),'top'),_0x544075(this,'_backgroundColor'),(_0x528ab6&&this[_0x578f27(0x3db)](_0x528ab6),this['onPointerEnter$'][_0x578f27(0x3cc)](()=>this[_0x578f27(0x3db)]({'hovered':!0x0})),this[_0x578f27(0x235)][_0x578f27(0x3cc)](()=>this[_0x578f27(0x3db)]({'hovered':!0x1})));}[_0x52f010(0x3db)](_0xe7360d){const _0x4c34d9=_0x52f010;var _0x1b61d3,_0x48de2a,_0x204653,_0x41d422,_0x36edd3,_0x59328b;this['_color']=(_0x1b61d3=_0xe7360d[_0x4c34d9(0x253)])!=null?_0x1b61d3:this[_0x4c34d9(0x3f5)],this[_0x4c34d9(0x419)]=(_0x48de2a=_0xe7360d[_0x4c34d9(0x2d6)])!=null?_0x48de2a:this['_hovered'],this[_0x4c34d9(0x1ea)]=(_0x204653=_0xe7360d[_0x4c34d9(0x3fd)])!=null?_0x204653:this[_0x4c34d9(0x1ea)],this[_0x4c34d9(0x23a)]=(_0x41d422=_0xe7360d['name'])!=null?_0x41d422:this['_name'],this[_0x4c34d9(0x20c)]=(_0x36edd3=_0xe7360d[_0x4c34d9(0x264)])!=null?_0x36edd3:this[_0x4c34d9(0x20c)],this[_0x4c34d9(0x351)]=(_0x59328b=_0xe7360d[_0x4c34d9(0x446)])!=null?_0x59328b:this[_0x4c34d9(0x351)],this[_0x4c34d9(0x2b6)]({'width':_0xe7360d[_0x4c34d9(0x354)],'height':_0xe7360d[_0x4c34d9(0x403)]});}[_0x52f010(0x358)](_0x153ff9){const _0x17a9d0=_0x52f010,{row:_0x5f1416,column:_0x1b25bb}=_0x153ff9;if(_0x5f1416>=this['_range'][_0x17a9d0(0x233)]&&_0x5f1416<=this['_range'][_0x17a9d0(0x366)]&&_0x1b25bb>=this['_range'][_0x17a9d0(0x340)]&&_0x1b25bb<=this[_0x17a9d0(0x1ea)]['endColumn']){this[_0x17a9d0(0x3db)]({'hovered':!0x0});return;}this[_0x17a9d0(0x3db)]({'hovered':!0x1});}[_0x52f010(0x240)](_0x21d723){return!0x1;}[_0x52f010(0x341)](_0x1c4796){const _0x5c699e=_0x52f010;_0x1eb76f[_0x5c699e(0x2b5)][_0x5c699e(0x29c)](_0x1c4796,{'width':this[_0x5c699e(0x354)],'height':this[_0x5c699e(0x403)],'strokeWidth':_0x4452ce,'stroke':this[_0x5c699e(0x3f5)],'evented':!0x1,'fill':this[_0x5c699e(0x351)]}),this[_0x5c699e(0x419)]&&(_0x1c4796['save'](),_0x1c4796[_0x5c699e(0x2e9)](0x1,0x0,0x0,0x1,this['width'],this[_0x5c699e(0x20c)]===_0x5c699e(0x36f)?0x0:-_0x4c4c6b),_0x1d7753[_0x5c699e(0x29c)](_0x1c4796,{'text':this[_0x5c699e(0x23a)],'color':this['_color']}),_0x1c4796[_0x5c699e(0x1fa)]());}}var _0xeba64a=Object['getOwnPropertyDescriptor'],_0x55787c=(_0x427aa7,_0x3a50f1,_0x322aef,_0xa3088a)=>{const _0x2edc33=_0x52f010;for(var _0xe87e04=_0xa3088a>0x1?void 0x0:_0xa3088a?_0xeba64a(_0x3a50f1,_0x322aef):_0x3a50f1,_0x489ec0=_0x427aa7[_0x2edc33(0x2d4)]-0x1,_0x1af9a8;_0x489ec0>=0x0;_0x489ec0--)(_0x1af9a8=_0x427aa7[_0x489ec0])&&(_0xe87e04=_0x1af9a8(_0xe87e04)||_0xe87e04);return _0xe87e04;},_0x1bda8=(_0x154a79,_0x14cd2f)=>(_0x109e34,_0x485ca4)=>_0x14cd2f(_0x109e34,_0x485ca4,_0x154a79);const _0x2e46d4=0x1389;let _0x31a600=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x37b5dd,_0x3b85e5,_0x471e0e,_0x5aab1c){const _0x5a8f15=_0x52f010;super(),_0x544075(this,_0x5a8f15(0x3d0),new Set()),_0x544075(this,'_lastPointer',null),(this['_context']=_0x37b5dd,this[_0x5a8f15(0x409)]=_0x3b85e5,this[_0x5a8f15(0x356)]=_0x471e0e,this['_themeService']=_0x5aab1c,this[_0x5a8f15(0x36a)]());}[_0x52f010(0x36a)](){const _0x2dfa18=_0x52f010;this['_sheetSkeletonManagerService'][_0x2dfa18(0x226)][_0x2dfa18(0x38c)](_0x41ab20[_0x2dfa18(0x25f)](this[_0x2dfa18(0x43b)]),_0x41ab20[_0x2dfa18(0x2af)](_0x1a96a2=>{const _0x543763=_0x2dfa18;if(_0x1a96a2){const _0x5c1dbf=_0x1a96a2[_0x543763(0x383)];return _0x353c21[_0x543763(0x400)](this[_0x543763(0x356)][_0x543763(0x2d5)](this['_context'][_0x543763(0x32e)]),this['_themeService'][_0x543763(0x205)])[_0x543763(0x38c)](_0x41ab20[_0x543763(0x2c4)](([_0x1bd957,_0x27ecae])=>{const _0x450767=_0x543763,_0x4ce036=new Map();return _0x1bd957[_0x450767(0x2ce)]((_0xff4bba,_0x3dd83f)=>{const _0x30c221=_0x450767;if(_0xff4bba[_0x30c221(0x3b8)]===_0x5c1dbf){const _0xb62a49={..._0xff4bba};_0xb62a49['color']=this[_0x30c221(0x312)][_0x30c221(0x3f8)](_0xff4bba[_0x30c221(0x253)]),_0x4ce036['set'](_0x3dd83f,_0xb62a49);}}),{'skeleton':_0x1a96a2,'cursors':_0x4ce036};}));}return _0x353c21['of']({'skeleton':null,'cursors':new Map()});}))[_0x2dfa18(0x222)](({skeleton:_0x146133,cursors:_0x50a822})=>{this['_removeCollabCursors'](),_0x146133&&this['_updateCollabCursors'](_0x146133,_0x50a822);}),this[_0x2dfa18(0x409)]['currentSkeleton$'][_0x2dfa18(0x222)](_0x3a8109=>{const _0x2d687b=_0x2dfa18;if(_0x3a8109==null)return;const {skeleton:_0x4b5bb3}=_0x3a8109,{scene:_0x56ea12}=this[_0x2d687b(0x3e0)];_0x56ea12[_0x2d687b(0x467)]['subscribeEvent'](_0x3d05ee[_0x2d687b(0x46a)](_0x10cc38=>{const _0x1c30ef=_0x2d687b;var _0x23af21,_0x2cba86;const {offsetX:_0x7d047e,offsetY:_0x38a8d2}=_0x10cc38,{x:_0x2fce01,y:_0x4b1a4e}=_0x56ea12[_0x1c30ef(0x355)](_0x1eb76f['Vector2'][_0x1c30ef(0x3ad)]([_0x7d047e,_0x38a8d2])),{scaleX:_0x40e559,scaleY:_0x48ae40}=_0x56ea12['getAncestorScale'](),_0x38677a=_0x56ea12[_0x1c30ef(0x37c)](_0x1eb76f[_0x1c30ef(0x27c)][_0x1c30ef(0x1e6)]),_0x31424b=_0x56ea12[_0x1c30ef(0x2ea)](_0x1eb76f['Vector2'][_0x1c30ef(0x3ad)]([_0x2fce01,_0x4b1a4e]),_0x38677a),_0x55e3f0=_0x4b5bb3[_0x1c30ef(0x2de)](_0x7d047e,_0x38a8d2,_0x40e559,_0x48ae40,_0x31424b);((_0x23af21=this[_0x1c30ef(0x352)])==null?void 0x0:_0x23af21[_0x1c30ef(0x30e)])===_0x55e3f0[_0x1c30ef(0x30e)]&&((_0x2cba86=this[_0x1c30ef(0x352)])==null?void 0x0:_0x2cba86[_0x1c30ef(0x246)])===_0x55e3f0[_0x1c30ef(0x246)]||this[_0x1c30ef(0x3d0)][_0x1c30ef(0x2ce)](_0x303651=>{const _0x10d2d5=_0x1c30ef;_0x303651[_0x10d2d5(0x358)](_0x55e3f0);});},0x64));});}[_0x52f010(0x432)](_0x343b4c,_0x17b4f9){const _0x25ed09=_0x52f010;var _0x1ee74b;const _0x5b855a=(_0x1ee74b=this[_0x25ed09(0x409)][_0x25ed09(0x322)]())==null?void 0x0:_0x1ee74b[_0x25ed09(0x28d)];if(!_0x5b855a)return;const _0x1608bc=this['_getSheetObject']();if(!_0x1608bc)return;this[_0x25ed09(0x3d0)][_0x25ed09(0x2ce)](_0x13dcd5=>{_0x13dcd5['makeDirty']();});const {scene:_0x5891e7}=_0x1608bc,_0x507a83=_0x5f2c70(Array['from'](_0x17b4f9['values']()))[_0x25ed09(0x2c4)](_0x372a7e=>{const _0x2f1223=_0x25ed09,{color:_0x9d2976,range:_0x100531,name:_0x25c208,selection:_0xb79cd5,sheetID:_0x3d9be8}=_0x372a7e,{startColumn:_0x5e76fe,startRow:_0x2619ef,endColumn:_0x38ac0e,endRow:_0xd5ea90}=_0x100531,_0x16fde0=_0x316114['getCoordByCell'](_0x2619ef,_0x5e76fe,_0x5891e7,_0x5b855a),_0x3a01ea=_0x316114[_0x2f1223(0x2cc)](_0xd5ea90,_0x38ac0e,_0x5891e7,_0x5b855a),{columnHeaderHeightAndMarginTop:_0x35b8d9}=_0x5b855a,{startX:_0x4b2935,startY:_0x3ea3c5}=_0x16fde0,{endX:_0x39352c,endY:_0x41eb8c}=_0x3a01ea,_0x375915=_0x39352c-_0x4b2935,_0x4a43c4=_0x41eb8c-_0x3ea3c5,_0x51ea6a={'labelPosition':_0x3ea3c5-_0x35b8d9>=_0x4c4c6b?_0x2f1223(0x3af):_0x2f1223(0x36f),'sheetID':_0x3d9be8,'range':_0x100531,'color':_0x9d2976,'name':_0x25c208,'selection':_0xb79cd5,'left':_0x4b2935,'top':_0x3ea3c5,'width':_0x375915,'height':_0x4a43c4,'evented':!0x1,'zIndex':_0x2e46d4};return new _0x184912(_0x25c208,_0x51ea6a);});_0x5891e7[_0x25ed09(0x22f)](_0x507a83,_0xeec2f8),this[_0x25ed09(0x3d0)]=new Set(_0x507a83);}[_0x52f010(0x260)](){const _0x501225=_0x52f010;var _0x5b37c6;(_0x5b37c6=this[_0x501225(0x3d0)])==null||_0x5b37c6['forEach'](_0x50e88e=>_0x50e88e['dispose']());}['_getSheetObject'](){const _0x2f8b40=_0x52f010;return _0x316114[_0x2f8b40(0x24a)](this[_0x2f8b40(0x3e0)][_0x2f8b40(0x293)],this[_0x2f8b40(0x3e0)]);}};_0x31a600=_0x55787c([_0x1bda8(0x1,_0x3d05ee['Inject'](_0x316114[_0x52f010(0x45e)])),_0x1bda8(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x5d58f9)),_0x1bda8(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a7)]))],_0x31a600);function _0x5f2c70(_0x3ce77a){const _0x1e1222=_0x52f010,_0x5c6770=new Map();return _0x3ce77a['forEach'](_0x3142ed=>{const _0x178dbc=_0x43db;if(_0x5c6770['has'](_0x3142ed[_0x178dbc(0x32d)])){const _0x9cbfa9=_0x5c6770[_0x178dbc(0x25b)](_0x3142ed[_0x178dbc(0x32d)]);_0x9cbfa9['name']+=',\x20'+_0x3142ed[_0x178dbc(0x234)];}else _0x5c6770['set'](_0x3142ed['selection'],_0x3142ed);}),Array[_0x1e1222(0x22b)](_0x5c6770[_0x1e1222(0x42c)]());}var _0x533767=Object['getOwnPropertyDescriptor'],_0x56a8a7=(_0x227ee9,_0x3de404,_0x11e77d,_0x3f4016)=>{const _0x104dee=_0x52f010;for(var _0x1a69a2=_0x3f4016>0x1?void 0x0:_0x3f4016?_0x533767(_0x3de404,_0x11e77d):_0x3de404,_0x5309b8=_0x227ee9[_0x104dee(0x2d4)]-0x1,_0x19d8de;_0x5309b8>=0x0;_0x5309b8--)(_0x19d8de=_0x227ee9[_0x5309b8])&&(_0x1a69a2=_0x19d8de(_0x1a69a2)||_0x1a69a2);return _0x1a69a2;},_0x207ac4=(_0x26ae16,_0x47873e)=>(_0x3f7a44,_0x3d16d0)=>_0x47873e(_0x3f7a44,_0x3d16d0,_0x26ae16);let _0x57280f=class extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(_0x150ccc,_0x49ff9c,_0x113c54,_0x356a6c,_0x489e81,_0x3f6136){const _0x521de1=_0x52f010;super(),this['_beforeCloseService']=_0x150ccc,this[_0x521de1(0x224)]=_0x49ff9c,this[_0x521de1(0x307)]=_0x113c54,this[_0x521de1(0x23f)]=_0x356a6c,this[_0x521de1(0x21f)]=_0x489e81,this[_0x521de1(0x275)]=_0x3f6136,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x52f010(0x343)](){const _0x40ea10=_0x52f010;this[_0x40ea10(0x2ba)](this[_0x40ea10(0x39a)][_0x40ea10(0x42a)](()=>{const _0x522fe5=_0x40ea10;if(this[_0x522fe5(0x224)][_0x522fe5(0x200)][_0x522fe5(0x41d)])return this[_0x522fe5(0x275)]['t'](_0x522fe5(0x45f));}));}['_initEvent'](){const _0x530f65=_0x52f010;this['disposeWithMe'](this['_collaborationUIEventService'][_0x530f65(0x444)][_0x530f65(0x222)](_0x4c84b1=>{const _0x4d4b8e=_0x530f65;_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x3cf)]&&this[_0x4d4b8e(0x23f)][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)][_0x4d4b8e(0x457)],'content':this['_localeService']['t'](_0x4d4b8e(0x213))}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x3ca)]&&this['_messageService'][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)][_0x4d4b8e(0x457)],'content':this[_0x4d4b8e(0x275)]['t']('collaboration.closeRoom')}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)]['PERMISSION_DENIED']&&this[_0x4d4b8e(0x21f)][_0x4d4b8e(0x32f)]({'title':this[_0x4d4b8e(0x275)]['t'](_0x4d4b8e(0x35f)),'content':this[_0x4d4b8e(0x275)]['t'](_0x4d4b8e(0x2d0)),'type':_0x4d4b8e(0x1e8),'duration':0x0}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)]['CONFLICT']&&this['_messageService'][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)]['Error'],'content':this[_0x4d4b8e(0x275)]['t']('collaboration.closeRoom')+'('+_0x4c84b1['data']+')'}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)]['JOIN_ROOM_FAILED']&&this[_0x4d4b8e(0x23f)][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)][_0x4d4b8e(0x457)],'content':this[_0x4d4b8e(0x275)]['t'](_0x4c84b1[_0x4d4b8e(0x3f9)]||'')}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x20b)]&&this['_messageService']['show']({'type':_0xaeffda['MessageType']['Warning'],'content':this['_localeService']['t'](_0x4d4b8e(0x370))}),_0x4c84b1['id']===_0x1ac61a['CollaborationUIEventId'][_0x4d4b8e(0x23c)]&&this[_0x4d4b8e(0x23f)][_0x4d4b8e(0x32f)]({'type':_0xaeffda['MessageType'][_0x4d4b8e(0x441)],'content':this[_0x4d4b8e(0x275)]['t'](_0x4d4b8e(0x2f1))}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x2ed)]&&this['_messageService'][_0x4d4b8e(0x32f)]({'type':_0xaeffda['MessageType'][_0x4d4b8e(0x441)],'content':this[_0x4d4b8e(0x275)]['t']('session.collaboration-timeout')});}));}};_0x57280f=_0x56a8a7([_0x207ac4(0x0,_0x1c4740['IBeforeCloseService']),_0x207ac4(0x1,_0x1ac61a[_0x52f010(0x2a1)]),_0x207ac4(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x229)])),_0x207ac4(0x3,_0x1c4740[_0x52f010(0x3c2)]),_0x207ac4(0x4,_0x1c4740[_0x52f010(0x3f0)]),_0x207ac4(0x5,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a2)]))],_0x57280f);const _0x42725f=_0x52f010(0x469),_0x215384={};var _0xf04de0=Object[_0x52f010(0x3d4)],_0xae68d0=(_0x609013,_0x57c227,_0x1cc7b2,_0x265077)=>{const _0x32ceff=_0x52f010;for(var _0x5963a3=_0x265077>0x1?void 0x0:_0x265077?_0xf04de0(_0x57c227,_0x1cc7b2):_0x57c227,_0x3cc179=_0x609013[_0x32ceff(0x2d4)]-0x1,_0x2018e0;_0x3cc179>=0x0;_0x3cc179--)(_0x2018e0=_0x609013[_0x3cc179])&&(_0x5963a3=_0x2018e0(_0x5963a3)||_0x5963a3);return _0x5963a3;},_0x4743ea=(_0x2eebda,_0x2bfbce)=>(_0xb30017,_0xd7eb7b)=>_0x2bfbce(_0xb30017,_0xd7eb7b,_0x2eebda);let _0x3d9de0=class{constructor(_0x1565e,_0x43e724){const _0x5591b0=_0x52f010;this[_0x5591b0(0x27f)]=_0x1565e,this['_renderManagerService']=_0x43e724;}['transformIMECache'](_0x3f85f9){const _0x2832e7=_0x52f010;this[_0x2832e7(0x283)](_0x3f85f9),this['_transformPreviousActiveRange'](_0x3f85f9);}['transformRemoteChangeset'](_0x23988c){const _0x4d4cf9=_0x52f010,{unitID:_0x28fd4e}=_0x23988c,_0x3bbd61=this['_renderManagerService'][_0x4d4cf9(0x280)](_0x28fd4e)[_0x4d4cf9(0x42e)](_0x50ffa0[_0x4d4cf9(0x463)]),{redoCache:_0x347025}=_0x3bbd61[_0x4d4cf9(0x1f3)]();if(_0x347025[_0x4d4cf9(0x2d4)]===0x0)return _0x23988c;let _0x5efa64=_0x3d05ee['Tools'][_0x4d4cf9(0x433)](_0x23988c[_0x4d4cf9(0x306)][0x0]);for(let _0x2cff19=0x0;_0x2cff19<_0x347025[_0x4d4cf9(0x2d4)];_0x2cff19++){const _0xcfc923={'id':'doc.mutation.rich-text-editing','params':{..._0x347025[_0x2cff19]}},_0x52276a=this['_transformService'][_0x4d4cf9(0x470)](_0x5efa64,_0xcfc923,!0x1);if(_0x4876d5['isTransformMutationFailure'](_0x52276a))throw _0x52276a['error'];_0x5efa64=_0x52276a[_0x4d4cf9(0x43a)];}return{..._0x3d05ee[_0x4d4cf9(0x382)][_0x4d4cf9(0x433)](_0x23988c),'mutations':[_0x5efa64]};}[_0x52f010(0x283)](_0x2838f9){const _0x1d8696=_0x52f010,{unitID:_0x21f1b0}=_0x2838f9,_0xb8e75=this['_renderManagerService'][_0x1d8696(0x280)](_0x21f1b0)['with'](_0x50ffa0['DocIMEInputManagerService']),{undoCache:_0x291c72,redoCache:_0x2e8a20}=_0xb8e75['getUndoRedoMutationParamsCache']();if(_0x291c72[_0x1d8696(0x2d4)]===0x0||_0x2e8a20[_0x1d8696(0x2d4)]===0x0)return;const _0x329e5f=[],_0x2f2c5a=[];let _0x527980=_0x3d05ee[_0x1d8696(0x382)][_0x1d8696(0x433)](_0x2838f9[_0x1d8696(0x306)][0x0]),_0x2cf947=_0x3d05ee[_0x1d8696(0x382)][_0x1d8696(0x433)](_0x2838f9['mutations'][0x0]);for(let _0x4848a4=_0x291c72[_0x1d8696(0x2d4)]-0x1;_0x4848a4>=0x0;_0x4848a4--){const _0x17b43d={'id':_0x1d8696(0x23d),'params':{..._0x291c72[_0x4848a4]}},_0x394ca4={'id':'doc.mutation.rich-text-editing','params':{..._0x2e8a20[_0x4848a4]}},_0x110a7b=this['_transformService'][_0x1d8696(0x470)](_0x527980,_0x17b43d,!0x1),_0x104b3a=this[_0x1d8696(0x27f)][_0x1d8696(0x470)](_0x2cf947,_0x394ca4,!0x1);if(_0x4876d5[_0x1d8696(0x453)](_0x110a7b))throw _0x110a7b[_0x1d8696(0x1e8)];if(_0x4876d5[_0x1d8696(0x453)](_0x104b3a))throw _0x104b3a['error'];_0x329e5f[_0x1d8696(0x438)](_0x110a7b[_0x1d8696(0x43f)][_0x1d8696(0x21c)]),_0x2f2c5a[_0x1d8696(0x438)](_0x104b3a[_0x1d8696(0x43f)][_0x1d8696(0x21c)]),_0x527980=_0x110a7b['m1Prime'],_0x2cf947=_0x104b3a[_0x1d8696(0x43a)];}_0xb8e75[_0x1d8696(0x29d)]({'undoCache':_0x329e5f,'redoCache':_0x2f2c5a});}[_0x52f010(0x2f8)](_0x24bc91){const _0x1cd729=_0x52f010,{unitID:_0x2042c2}=_0x24bc91,_0x4ec23f=this[_0x1cd729(0x334)][_0x1cd729(0x280)](_0x2042c2)[_0x1cd729(0x42e)](_0x50ffa0[_0x1cd729(0x463)]),_0x44c5fc=_0x4ec23f[_0x1cd729(0x39f)]();if(_0x44c5fc==null)return;const _0x5cec30=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24bc91[_0x1cd729(0x412)],'actions':null,'textRanges':[_0x44c5fc]}}],_0x1f339a=this[_0x1cd729(0x27f)]['transformMutationsWithChangeset'](_0x24bc91,_0x5cec30);if(!_0x4876d5['isTransformMutationsWithChangesetSuccess'](_0x1f339a))throw _0x1f339a['error'];const _0x7a6eab=_0x1f339a[_0x1cd729(0x43f)][0x0][_0x1cd729(0x21c)][_0x1cd729(0x301)];Array['isArray'](_0x7a6eab)&&_0x7a6eab[_0x1cd729(0x2d4)]&&_0x4ec23f[_0x1cd729(0x1f2)](_0x7a6eab[0x0]);}};_0x3d9de0=_0xae68d0([_0x4743ea(0x0,_0x4876d5['ITransformService']),_0x4743ea(0x1,_0x1eb76f[_0x52f010(0x3d3)])],_0x3d9de0);var _0x4f1ea3=Object[_0x52f010(0x3d4)],_0xc64858=(_0x1fafba,_0xcebd0d,_0x40bb66,_0x58062d)=>{const _0x1c0c24=_0x52f010;for(var _0x11869d=_0x58062d>0x1?void 0x0:_0x58062d?_0x4f1ea3(_0xcebd0d,_0x40bb66):_0xcebd0d,_0x240be2=_0x1fafba[_0x1c0c24(0x2d4)]-0x1,_0x270324;_0x240be2>=0x0;_0x240be2--)(_0x270324=_0x1fafba[_0x240be2])&&(_0x11869d=_0x270324(_0x11869d)||_0x11869d);return _0x11869d;},_0x40a272=(_0x1fb32c,_0x8aed05)=>(_0x41166e,_0x307f1b)=>_0x8aed05(_0x41166e,_0x307f1b,_0x1fb32c);let _0x422d1f=class{constructor(_0x39e1b3,_0x2e3098,_0x4bd4c2){const _0xdc247=_0x52f010;this[_0xdc247(0x2c9)]=_0x39e1b3,this[_0xdc247(0x27f)]=_0x2e3098,this[_0xdc247(0x291)]=_0x4bd4c2;}[_0x52f010(0x3ba)](_0x5c2b76){const _0x36f8a2=_0x52f010;this[_0x36f8a2(0x2e4)](_0x5c2b76);}[_0x52f010(0x24c)](_0x3e3f3c){const _0x103707=_0x52f010,{unitID:_0x36f2f0}=_0x3e3f3c,{collaboration:_0x46e41e}=this['_docStateChangeManagerService'][_0x103707(0x22e)](_0x36f2f0);if(_0x46e41e['length']===0x0)return _0x3e3f3c;let _0x39a4f6=_0x3d05ee[_0x103707(0x382)][_0x103707(0x433)](_0x3e3f3c[_0x103707(0x306)][0x0]);for(let _0x206158=0x0;_0x206158<_0x46e41e['length'];_0x206158++){const _0x379312={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x46e41e[_0x206158]['unitId'],..._0x46e41e[_0x206158][_0x103707(0x468)]}},_0xe1dd82=this[_0x103707(0x27f)][_0x103707(0x470)](_0x39a4f6,_0x379312,!0x1);if(_0x4876d5[_0x103707(0x453)](_0xe1dd82))throw _0xe1dd82[_0x103707(0x1e8)];_0x39a4f6=_0xe1dd82[_0x103707(0x43a)];}return{..._0x3d05ee[_0x103707(0x382)][_0x103707(0x433)](_0x3e3f3c),'mutations':[_0x39a4f6]};}[_0x52f010(0x2e4)](_0x19898b){const _0x2469d8=_0x52f010,{unitID:_0x10784b}=_0x19898b,{history:_0x8e379d,collaboration:_0x167974}=this['_docStateChangeManagerService'][_0x2469d8(0x22e)](_0x10784b);if(_0x8e379d[_0x2469d8(0x2d4)]===0x0&&_0x167974[_0x2469d8(0x2d4)]===0x0)return;const _0x487c85=[],_0x5c0005=[];let _0x1dcbce=_0x3d05ee['Tools'][_0x2469d8(0x433)](_0x19898b['mutations'][0x0]),_0x20cc1b=_0x3d05ee['Tools'][_0x2469d8(0x433)](_0x19898b[_0x2469d8(0x306)][0x0]);for(let _0x16e4d6=_0x8e379d[_0x2469d8(0x2d4)]-0x1;_0x16e4d6>=0x0;_0x16e4d6--){const _0x5b99a5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8e379d[_0x16e4d6][_0x2469d8(0x32e)],..._0x8e379d[_0x16e4d6][_0x2469d8(0x459)]}},_0x3c8d20={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8e379d[_0x16e4d6][_0x2469d8(0x32e)],..._0x8e379d[_0x16e4d6]['redoState']}},_0x42082f=this['_transformService']['transformMutation'](_0x1dcbce,_0x5b99a5,!0x1),_0x55a0fb=this[_0x2469d8(0x27f)][_0x2469d8(0x470)](_0x20cc1b,_0x3c8d20,!0x1);if(_0x4876d5[_0x2469d8(0x453)](_0x42082f))throw _0x42082f[_0x2469d8(0x1e8)];if(_0x4876d5[_0x2469d8(0x453)](_0x55a0fb))throw _0x55a0fb[_0x2469d8(0x1e8)];_0x487c85[_0x2469d8(0x438)]({..._0x8e379d[_0x16e4d6],'undoState':_0x42082f[_0x2469d8(0x43f)]['params'],'redoState':_0x55a0fb[_0x2469d8(0x43f)]['params']}),_0x1dcbce=_0x42082f[_0x2469d8(0x43a)],_0x20cc1b=_0x55a0fb[_0x2469d8(0x43a)];}_0x1dcbce=_0x3d05ee['Tools'][_0x2469d8(0x433)](_0x19898b['mutations'][0x0]),_0x20cc1b=_0x3d05ee[_0x2469d8(0x382)]['deepClone'](_0x19898b[_0x2469d8(0x306)][0x0]);for(let _0x1a390e=_0x167974['length']-0x1;_0x1a390e>=0x0;_0x1a390e--){const _0x3097aa={'id':_0x2469d8(0x23d),'params':{'unitId':_0x167974[_0x1a390e][_0x2469d8(0x32e)],..._0x167974[_0x1a390e]['undoState']}},_0x441899={'id':_0x2469d8(0x23d),'params':{'unitId':_0x167974[_0x1a390e]['unitId'],..._0x167974[_0x1a390e]['redoState']}},_0x50ee7f=this[_0x2469d8(0x27f)]['transformMutation'](_0x1dcbce,_0x3097aa,!0x1),_0x1cf572=this[_0x2469d8(0x27f)][_0x2469d8(0x470)](_0x20cc1b,_0x441899,!0x1);if(_0x4876d5[_0x2469d8(0x453)](_0x50ee7f))throw _0x50ee7f[_0x2469d8(0x1e8)];if(_0x4876d5['isTransformMutationFailure'](_0x1cf572))throw _0x1cf572[_0x2469d8(0x1e8)];_0x5c0005[_0x2469d8(0x438)]({..._0x167974[_0x1a390e],'undoState':_0x50ee7f['m2Prime']['params'],'redoState':_0x1cf572[_0x2469d8(0x43f)][_0x2469d8(0x21c)]}),_0x1dcbce=_0x50ee7f[_0x2469d8(0x43a)],_0x20cc1b=_0x1cf572[_0x2469d8(0x43a)];}this['_docStateChangeManagerService'][_0x2469d8(0x34f)](_0x10784b,{'history':_0x487c85,'collaboration':_0x5c0005});}};_0x422d1f=_0xc64858([_0x40a272(0x0,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x40a272(0x1,_0x4876d5['ITransformService']),_0x40a272(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x50ffa0[_0x52f010(0x220)]))],_0x422d1f);var _0x4900ab=Object[_0x52f010(0x3d4)],_0xf2bc14=(_0x15c8b6,_0x43eaf3,_0x52873d,_0xb7bc40)=>{const _0xe33999=_0x52f010;for(var _0x264e3e=_0xb7bc40>0x1?void 0x0:_0xb7bc40?_0x4900ab(_0x43eaf3,_0x52873d):_0x43eaf3,_0x37d3ad=_0x15c8b6[_0xe33999(0x2d4)]-0x1,_0x2fa60d;_0x37d3ad>=0x0;_0x37d3ad--)(_0x2fa60d=_0x15c8b6[_0x37d3ad])&&(_0x264e3e=_0x2fa60d(_0x264e3e)||_0x264e3e);return _0x264e3e;},_0x14b888=(_0x3d0b42,_0x1449f6)=>(_0x3a46d5,_0x305fcf)=>_0x1449f6(_0x3a46d5,_0x305fcf,_0x3d0b42);let _0x1a0a2c=class{constructor(_0x395982,_0x3027c7){const _0x1ad7ed=_0x52f010;this['_injector']=_0x395982,this[_0x1ad7ed(0x27f)]=_0x3027c7;}[_0x52f010(0x252)](_0x14e6e0){const _0x2e889d=_0x52f010;var _0x3d7670;const _0x37ebe8=this[_0x2e889d(0x2c9)][_0x2e889d(0x25b)](_0x427dab[_0x2e889d(0x1d5)]),_0x3940bf=(_0x3d7670=_0x37ebe8[_0x2e889d(0x36b)]())!=null?_0x3d7670:[];if(_0x3940bf['length']===0x0)return;const _0x1198a0=_0x14e6e0['unitID'],_0x4eccfe=[{'id':_0x2e889d(0x23d),'params':{'unitId':_0x1198a0,'actions':null,'textRanges':_0x3940bf}}],_0x43e0a2=this[_0x2e889d(0x27f)][_0x2e889d(0x1df)](_0x14e6e0,_0x4eccfe);if(!_0x4876d5[_0x2e889d(0x3bd)](_0x43e0a2))throw _0x43e0a2[_0x2e889d(0x1e8)];const _0x189933=_0x43e0a2[_0x2e889d(0x43f)][0x0][_0x2e889d(0x21c)][_0x2e889d(0x301)];Array[_0x2e889d(0x3fb)](_0x189933)&&_0x189933[_0x2e889d(0x2d4)]&&_0x37ebe8[_0x2e889d(0x41f)](_0x189933,{'unitId':_0x1198a0,'subUnitId':_0x1198a0},!0x1);}};_0x1a0a2c=_0xf2bc14([_0x14b888(0x0,_0x3d05ee['Inject'](_0x3d05ee[_0x52f010(0x316)])),_0x14b888(0x1,_0x4876d5[_0x52f010(0x1dd)])],_0x1a0a2c);var _0x297c74=Object['getOwnPropertyDescriptor'],_0x50d072=(_0x1bf917,_0x5b3618,_0x431804,_0x28af21)=>{const _0x25eb11=_0x52f010;for(var _0x183631=_0x28af21>0x1?void 0x0:_0x28af21?_0x297c74(_0x5b3618,_0x431804):_0x5b3618,_0x441f8f=_0x1bf917[_0x25eb11(0x2d4)]-0x1,_0x5491e9;_0x441f8f>=0x0;_0x441f8f--)(_0x5491e9=_0x1bf917[_0x441f8f])&&(_0x183631=_0x5491e9(_0x183631)||_0x183631);return _0x183631;},_0x3eb141=(_0x1f567a,_0x312eba)=>(_0x1dda23,_0x25246f)=>_0x312eba(_0x1dda23,_0x25246f,_0x1f567a);let _0x1027a1=class extends _0x3d05ee['Disposable']{constructor(_0x15ece2,_0xd24945,_0x44ac2c,_0x4bea92,_0x199ab8,_0x4f5b42,_0x7d82e7,_0x3b3004){const _0x35672b=_0x52f010;super(),_0x544075(this,'_status$',new _0x353c21[(_0x35672b(0x411))](_0x1ac61a['CollaborationStatus'][_0x35672b(0x335)])),(this[_0x35672b(0x291)]=_0x15ece2,this['_collaborationController']=_0xd24945,this['_docTransformIMECacheService']=_0x44ac2c,this[_0x35672b(0x418)]=_0x4bea92,this[_0x35672b(0x1eb)]=_0x199ab8,this[_0x35672b(0x26f)]=_0x4f5b42,this[_0x35672b(0x23f)]=_0x7d82e7,this[_0x35672b(0x275)]=_0x3b3004,this[_0x35672b(0x29e)]());}[_0x52f010(0x29e)](){const _0x152c82=_0x52f010;this['disposeWithMe'](this[_0x152c82(0x445)][_0x152c82(0x439)][_0x152c82(0x222)](_0x2ad5fa=>{const _0x5a6b8a=_0x152c82,_0x84d252=this['_docStateChangeManagerService'][_0x5a6b8a(0x2ff)][_0x5a6b8a(0x222)](_0x192f8e=>{const _0x148c1c=_0x5a6b8a;if(_0x192f8e==null)return;const {unitId:_0x33ac9f,redoState:_0x200882,commandId:_0x230f61}=_0x192f8e;if(_0x33ac9f!==_0x2ad5fa[_0x148c1c(0x412)])return;const _0x54437c={'id':_0x230f61,'type':_0x3d05ee['CommandType'][_0x148c1c(0x377)],'params':{'unitId':_0x33ac9f,'actions':_0x200882['actions'],'textRanges':null}};_0x2ad5fa[_0x148c1c(0x398)](_0x54437c);});if(_0x2ad5fa[_0x5a6b8a(0x2ba)](_0x84d252),_0x2ad5fa instanceof _0x1ac61a[_0x5a6b8a(0x342)]){const _0xb08b92={'onTransformIME':_0x132d97=>this[_0x5a6b8a(0x2fd)]['transformIMECache'](_0x132d97),'onTransformState':_0x1666ac=>this[_0x5a6b8a(0x418)][_0x5a6b8a(0x3ba)](_0x1666ac),'onTransformSelections':_0x419ade=>this['_docTransformSelectionsService'][_0x5a6b8a(0x252)](_0x419ade),'onSyncEditingCollabCursor':_0x258fa4=>this[_0x5a6b8a(0x26f)][_0x5a6b8a(0x2e1)](_0x258fa4),'onTransformRemoteChangesetByIMECache':_0x1e9582=>this[_0x5a6b8a(0x2fd)]['transformRemoteChangeset'](_0x1e9582),'onTransformRemoteChangesetByStateCache':_0x3592bf=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x3592bf)};_0x2ad5fa[_0x5a6b8a(0x239)](_0xb08b92);}}));}};_0x1027a1=_0x50d072([_0x3eb141(0x0,_0x3d05ee['Inject'](_0x50ffa0[_0x52f010(0x220)])),_0x3eb141(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x315)])),_0x3eb141(0x2,_0x3d05ee['Inject'](_0x3d9de0)),_0x3eb141(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x422d1f)),_0x3eb141(0x4,_0x3d05ee['Inject'](_0x1a0a2c)),_0x3eb141(0x5,_0x3d05ee[_0x52f010(0x1e7)](_0x4e98a8)),_0x3eb141(0x6,_0x1c4740[_0x52f010(0x3c2)]),_0x3eb141(0x7,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a2)]))],_0x1027a1);var _0x2201c5=Object[_0x52f010(0x3d4)],_0x2726e3=(_0x2c155a,_0x349b6d,_0x28e992,_0x592e2f)=>{const _0x1af93d=_0x52f010;for(var _0x3b5d36=_0x592e2f>0x1?void 0x0:_0x592e2f?_0x2201c5(_0x349b6d,_0x28e992):_0x349b6d,_0x1ba198=_0x2c155a[_0x1af93d(0x2d4)]-0x1,_0x25d909;_0x1ba198>=0x0;_0x1ba198--)(_0x25d909=_0x2c155a[_0x1ba198])&&(_0x3b5d36=_0x25d909(_0x3b5d36)||_0x3b5d36);return _0x3b5d36;},_0x46583a=(_0x142d8f,_0x3655bb)=>(_0x148d4f,_0x83f604)=>_0x3655bb(_0x148d4f,_0x83f604,_0x142d8f);let _0x48d8ce=class extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(_0x2685c8,_0x5445f1,_0x191aa3){const _0x4fdf09=_0x52f010;super(),_0x544075(this,_0x4fdf09(0x30f),new Map()),_0x544075(this,_0x4fdf09(0x2f5),new Map()),_0x544075(this,_0x4fdf09(0x44c),!0x1),(this[_0x4fdf09(0x202)]=_0x2685c8,this['_localStorageService']=_0x5445f1,this[_0x4fdf09(0x3a2)]=_0x191aa3);}[_0x52f010(0x3c4)](){this['_disabled']=!0x0;}[_0x52f010(0x455)](){const _0x145c86=_0x52f010;this[_0x145c86(0x44c)]=!0x1;}get[_0x52f010(0x200)](){const _0x4b72cf=_0x52f010;return this[_0x4b72cf(0x2f5)];}['dispose'](){const _0x18533d=_0x52f010;this['exhaustSavingTask']()['then'](()=>super[_0x18533d(0x244)]());}async[_0x52f010(0x376)](_0x1d1053){const _0x553e5c=_0x52f010;return this['_disabled']?null:this[_0x553e5c(0x309)][_0x553e5c(0x31a)](_0x1ac61a[_0x553e5c(0x2b1)](_0x1d1053));}async[_0x52f010(0x40c)](_0x3008d4,_0x51c1e3){const _0x3fa0ce=_0x52f010;return!!this[_0x3fa0ce(0x309)][_0x3fa0ce(0x423)](_0x3008d4,_0x51c1e3);}[_0x52f010(0x380)](_0xe4f8ed,_0x107fa4,_0x4dc0eb,_0x4dc409){const _0xe97eb9=_0x52f010,_0x268857=this['_revisionService']['getCurrentRevOfUnit'](_0xe4f8ed);this[_0xe97eb9(0x30f)]['set'](_0xe4f8ed,{'unitID':_0xe4f8ed,'type':_0x107fa4,'awaitingChangeset':_0x4dc0eb,'mutations':_0x4dc409,'rev':_0x268857}),this['_saveTaskMap']['has'](_0xe4f8ed)||this[_0xe97eb9(0x297)](_0xe4f8ed);}[_0x52f010(0x297)](_0x6e28ae){const _0x202b9a=_0x52f010,_0x4fa1e6=this[_0x202b9a(0x3c0)]();_0x4fa1e6===0x0?this[_0x202b9a(0x324)](_0x6e28ae):this[_0x202b9a(0x2f5)][_0x202b9a(0x3f1)](_0x6e28ae,setTimeout(()=>this[_0x202b9a(0x324)](_0x6e28ae),_0x4fa1e6));}[_0x52f010(0x3c0)](){const _0x28dd29=_0x52f010;var _0x4b25ab;return(_0x4b25ab=this[_0x28dd29(0x202)][_0x28dd29(0x34b)](_0x1ac61a['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4b25ab:_0x1ac61a[_0x28dd29(0x394)];}[_0x52f010(0x324)](_0x5d8cee){const _0x58bd82=_0x52f010,_0x47953a=this[_0x58bd82(0x2f5)][_0x58bd82(0x25b)](_0x5d8cee);return _0x47953a!==void 0x0&&window[_0x58bd82(0x430)](_0x47953a),this[_0x58bd82(0x309)]['setItem'](_0x1ac61a[_0x58bd82(0x2b1)](_0x5d8cee),this['_cachedData']['get'](_0x5d8cee))['then'](()=>this[_0x58bd82(0x2f5)][_0x58bd82(0x3d1)](_0x5d8cee));}async[_0x52f010(0x424)](){const _0x543396=_0x52f010,_0x17b157=[];this[_0x543396(0x2f5)][_0x543396(0x2ce)]((_0xb8bd9b,_0x3435a9)=>{const _0x167b46=_0x543396;window[_0x167b46(0x430)](_0xb8bd9b),_0x17b157[_0x167b46(0x404)](this['_saveCache'](_0x3435a9)['then'](()=>{const _0x370287=_0x167b46;this[_0x370287(0x2f5)][_0x370287(0x3d1)](_0x3435a9);}));}),await Promise[_0x543396(0x2bc)](_0x17b157);}};_0x48d8ce=_0x2726e3([_0x46583a(0x0,_0x3d05ee[_0x52f010(0x3eb)]),_0x46583a(0x1,_0x3d05ee[_0x52f010(0x2f3)]),_0x46583a(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x4876d5[_0x52f010(0x1ee)]))],_0x48d8ce);class _0x353b3b extends _0x3d05ee[_0x52f010(0x442)]{constructor(){const _0x1669a5=_0x52f010;super(),_0x544075(this,_0x1669a5(0x38f)),this[_0x1669a5(0x38f)]=_0x353c21['fromEvent'](window,_0x1669a5(0x3f4))[_0x1669a5(0x38c)](_0x353c21[_0x1669a5(0x25f)](this['dispose$']),_0x353c21[_0x1669a5(0x3a8)](0x1),_0x353c21['mapTo'](void 0x0));}[_0x52f010(0x40a)](_0x128fb5,_0x4b50c8,_0x5030cf=!0x1){const _0x3a32bc=_0x52f010,_0x387f17=new URL(window[_0x3a32bc(0x266)][_0x3a32bc(0x344)]);_0x387f17[_0x3a32bc(0x24e)][_0x3a32bc(0x3f1)](_0x128fb5,_0x4b50c8),_0x5030cf?window['history'][_0x3a32bc(0x2b3)]('','',_0x387f17[_0x3a32bc(0x434)]()):window[_0x3a32bc(0x231)][_0x3a32bc(0x1da)]('','',_0x387f17[_0x3a32bc(0x434)]());}[_0x52f010(0x2f2)](_0x5c1cc5,_0x488a81=!0x1){const _0x5096ea=_0x52f010,_0x4bdd89=new URL(window[_0x5096ea(0x266)][_0x5096ea(0x344)]);_0x4bdd89[_0x5096ea(0x24e)][_0x5096ea(0x3d1)](_0x5c1cc5),_0x488a81?window['history']['replaceState']('','',_0x4bdd89[_0x5096ea(0x434)]()):window[_0x5096ea(0x231)][_0x5096ea(0x1da)]('','',_0x4bdd89[_0x5096ea(0x434)]());}[_0x52f010(0x3e1)](_0x4e0267){const _0x5039c8=_0x52f010;var _0x7e626e;return(_0x7e626e=new URL(window[_0x5039c8(0x266)]['href'])[_0x5039c8(0x24e)][_0x5039c8(0x25b)](_0x4e0267))!=null?_0x7e626e:void 0x0;}}var _0x15f48f=Object[_0x52f010(0x41c)],_0x5954ec=Object[_0x52f010(0x3d4)],_0x5a2563=(_0x27841e,_0x1a8f36,_0x113b3d)=>_0x1a8f36 in _0x27841e?_0x15f48f(_0x27841e,_0x1a8f36,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x113b3d}):_0x27841e[_0x1a8f36]=_0x113b3d,_0x4575a0=(_0x336f28,_0x426498,_0x2ea188,_0x32da92)=>{const _0x3fe821=_0x52f010;for(var _0x3d1a9a=_0x32da92>0x1?void 0x0:_0x32da92?_0x5954ec(_0x426498,_0x2ea188):_0x426498,_0x415660=_0x336f28[_0x3fe821(0x2d4)]-0x1,_0x4eca83;_0x415660>=0x0;_0x415660--)(_0x4eca83=_0x336f28[_0x415660])&&(_0x3d1a9a=_0x4eca83(_0x3d1a9a)||_0x3d1a9a);return _0x3d1a9a;},_0x57bd72=(_0x37e9be,_0x5ed492)=>(_0x39e148,_0x5be135)=>_0x5ed492(_0x39e148,_0x5be135,_0x37e9be),_0x363c2b=(_0x284bc2,_0x9fed8b,_0x3dcc69)=>_0x5a2563(_0x284bc2,_0x9fed8b+'',_0x3dcc69);const _0x5b0791=_0x52f010(0x331);_0x2245a1[_0x52f010(0x35e)]=class extends _0x3d05ee['Plugin']{constructor(_0x591b5c=_0x215384,_0x48817d,_0x5284a7,_0x988136){const _0x2cec20=_0x52f010;super(),this['_config']=_0x591b5c,this['_renderManagerService']=_0x48817d,this[_0x2cec20(0x2c9)]=_0x5284a7,this[_0x2cec20(0x202)]=_0x988136;const {..._0xbff6cf}=_0x3d05ee[_0x2cec20(0x36c)]({},_0x215384,this[_0x2cec20(0x25a)]);this[_0x2cec20(0x202)]['setConfig'](_0x42725f,_0xbff6cf);}[_0x52f010(0x431)](){const _0x980154=_0x52f010;this[_0x980154(0x2c0)](),this['_initDependencies']();}[_0x52f010(0x3d5)](){this['_registerRenderDependencies']();}[_0x52f010(0x2c0)](){const _0x3877d4=_0x52f010;var _0x84cf03;const _0x26030c=[[_0x27e238],[_0x1a0a2c],[_0x3d9de0],[_0x422d1f],[_0x4e98a8],[_0x40ca0b,{'useClass':_0x353b3b}],[_0x4cfd05[_0x3877d4(0x361)],{'useClass':_0x4cfd05[_0x3877d4(0x32a)]}],[_0x1ac61a[_0x3877d4(0x2a1)],{'useClass':_0x48d8ce}],[_0x2245a1[_0x3877d4(0x42f)]],[_0x1027a1],[_0x57280f],[_0x5d58f9],[_0x2d6ba0],[_0x2245a1[_0x3877d4(0x364)]]];_0x3d05ee[_0x3877d4(0x420)](this[_0x3877d4(0x2c9)],_0x3d05ee[_0x3877d4(0x337)](_0x26030c,(_0x84cf03=this[_0x3877d4(0x25a)])==null?void 0x0:_0x84cf03['override']));}[_0x52f010(0x3aa)](){const _0x5c3f7e=_0x52f010;this[_0x5c3f7e(0x2ba)](this[_0x5c3f7e(0x334)][_0x5c3f7e(0x217)](_0x3d05ee[_0x5c3f7e(0x287)][_0x5c3f7e(0x2dc)],[_0xf7a1a5])),this['disposeWithMe'](this[_0x5c3f7e(0x334)][_0x5c3f7e(0x217)](_0x3d05ee['UniverInstanceType'][_0x5c3f7e(0x44b)],[_0x31a600]));}[_0x52f010(0x435)](){const _0x21ea14=_0x52f010;_0x3d05ee[_0x21ea14(0x3c8)](this[_0x21ea14(0x2c9)],[[_0x5d58f9],[_0x2245a1['DesktopCollaborationStatusDisplayController']],[_0x1027a1],[_0x57280f],[_0x2245a1[_0x21ea14(0x364)]]]);}},_0x363c2b(_0x2245a1[_0x52f010(0x35e)],'pluginName',_0x5b0791),_0x2245a1[_0x52f010(0x35e)]=_0x4575a0([_0x3d05ee[_0x52f010(0x378)](_0x1ac61a[_0x52f010(0x318)]),_0x57bd72(0x1,_0x1eb76f[_0x52f010(0x3d3)]),_0x57bd72(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x57bd72(0x3,_0x3d05ee[_0x52f010(0x3eb)])],_0x2245a1['UniverCollaborationClientUIPlugin']);var _0x57b008=Object[_0x52f010(0x3d4)],_0x55c18f=(_0x57180f,_0xd1d2cc,_0x77d94c,_0x4354a2)=>{const _0x3a3d52=_0x52f010;for(var _0x3724cc=_0x4354a2>0x1?void 0x0:_0x4354a2?_0x57b008(_0xd1d2cc,_0x77d94c):_0xd1d2cc,_0x44024d=_0x57180f[_0x3a3d52(0x2d4)]-0x1,_0x32308e;_0x44024d>=0x0;_0x44024d--)(_0x32308e=_0x57180f[_0x44024d])&&(_0x3724cc=_0x32308e(_0x3724cc)||_0x3724cc);return _0x3724cc;},_0x51aa80=(_0x23c3bb,_0x5d1d89)=>(_0x14e7f5,_0x341318)=>_0x5d1d89(_0x14e7f5,_0x341318,_0x23c3bb);_0x2245a1[_0x52f010(0x255)]=class extends _0x1ac61a['CollaborationSocketService']{constructor(_0x43e21a,_0x239126,_0x236482,_0x26b17c,_0x3ffbe5){super(_0x43e21a,_0x239126,_0x236482,_0x26b17c,_0x3ffbe5);}async[_0x52f010(0x3b7)](_0x418eb1){const _0x166e46=_0x52f010,_0x33c396=await this[_0x166e46(0x216)](),_0x16a456=this[_0x166e46(0x374)](_0x418eb1,_0x33c396);return this['_doCreateSocket'](_0x16a456);}[_0x52f010(0x374)](_0xb918ec,_0x48ebb2){const _0x4937e0=_0x52f010,_0x3d5e88=typeof window>'u'?new URL(_0xb918ec):new URL(_0xb918ec,window[_0x4937e0(0x266)][_0x4937e0(0x413)]);_0x3d5e88[_0x4937e0(0x24e)][_0x4937e0(0x3f1)]('sessionTicket',_0x48ebb2);const _0x214653=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4937e0(0x266)][_0x4937e0(0x2c2)]);return _0x214653[_0x4937e0(0x25b)]('runId')&&_0x3d5e88[_0x4937e0(0x24e)][_0x4937e0(0x3f1)](_0x4937e0(0x45c),_0x214653['get']('runId')),_0x3d5e88[_0x4937e0(0x434)]();}async[_0x52f010(0x216)](){const _0x5e6edc=_0x52f010;var _0x437ecb,_0x507452,_0x3968ed;const _0x4ea848=this[_0x5e6edc(0x202)][_0x5e6edc(0x34b)](_0x1ac61a[_0x5e6edc(0x294)]),_0x36398e=(_0x437ecb=_0x4ea848==null?void 0x0:_0x4ea848[_0x5e6edc(0x2c6)])!=null?_0x437ecb:_0x1ac61a[_0x5e6edc(0x21d)];return(_0x3968ed=(_0x507452=(await this[_0x5e6edc(0x1e3)][_0x5e6edc(0x25b)](_0x36398e,{'headers':{'Content-Type':'application/json'}}))[_0x5e6edc(0x28a)])==null?void 0x0:_0x507452[_0x5e6edc(0x31d)])!=null?_0x3968ed:'';}},_0x2245a1[_0x52f010(0x255)]=_0x55c18f([_0x51aa80(0x0,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x51aa80(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x4cfd05[_0x52f010(0x320)])),_0x51aa80(0x2,_0x3d05ee[_0x52f010(0x3eb)]),_0x51aa80(0x3,_0x3d05ee[_0x52f010(0x3ae)]),_0x51aa80(0x4,_0x4876d5[_0x52f010(0x289)])],_0x2245a1['BrowserCollaborationSocketService']);var _0x592e89=(_0x92d219=>(_0x92d219[_0x92d219[_0x52f010(0x3b1)]=0x0]=_0x52f010(0x3b1),_0x92d219[_0x92d219['OK']=0x1]='OK',_0x92d219[_0x92d219['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x92d219[_0x92d219[_0x52f010(0x1e2)]=0x3]=_0x52f010(0x1e2),_0x92d219[_0x92d219[_0x52f010(0x458)]=0x4]=_0x52f010(0x458),_0x92d219[_0x92d219[_0x52f010(0x2ad)]=0x5]=_0x52f010(0x2ad),_0x92d219[_0x92d219[_0x52f010(0x1de)]=0x6]=_0x52f010(0x1de),_0x92d219[_0x92d219[_0x52f010(0x303)]=0x7]=_0x52f010(0x303),_0x92d219[_0x92d219[_0x52f010(0x429)]=0x8]='TOO_MANY_REQUESTS',_0x92d219[_0x92d219[_0x52f010(0x34c)]=0x9]=_0x52f010(0x34c),_0x92d219[_0x92d219['LOGIN_FAILED']=0xa]=_0x52f010(0x346),_0x92d219[_0x92d219[_0x52f010(0x207)]=0xb]=_0x52f010(0x207),_0x92d219[_0x92d219['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x52f010(0x3cb),_0x92d219[_0x92d219['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x52f010(0x29f),_0x92d219[_0x92d219['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x52f010(0x33b),_0x92d219[_0x92d219[_0x52f010(0x3e6)]=0x1389]=_0x52f010(0x3e6),_0x92d219[_0x92d219['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x92d219[_0x92d219[_0x52f010(0x3e5)]=0x1772]=_0x52f010(0x3e5),_0x92d219[_0x92d219[_0x52f010(0x2e6)]=0x1773]=_0x52f010(0x2e6),_0x92d219[_0x92d219[_0x52f010(0x353)]=0x1b59]=_0x52f010(0x353),_0x92d219[_0x92d219['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x52f010(0x201),_0x92d219[_0x92d219['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x92d219[_0x92d219[_0x52f010(0x31c)]=0x1b5c]=_0x52f010(0x31c),_0x92d219[_0x92d219['APPLY_DUPLICATED']=0x1b5d]=_0x52f010(0x407),_0x92d219[_0x92d219[_0x52f010(0x3b3)]=0x1f41]=_0x52f010(0x3b3),_0x92d219[_0x92d219['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x52f010(0x1f1),_0x92d219[_0x92d219[_0x52f010(0x28f)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x92d219[_0x92d219[_0x52f010(0x210)]=0x232b]=_0x52f010(0x210),_0x92d219[_0x92d219['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x52f010(0x38b),_0x92d219[_0x92d219['LICENSE_DISTRO_REJECTED']=0x232d]=_0x52f010(0x393),_0x92d219[_0x92d219['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x52f010(0x317),_0x92d219[_0x92d219[_0x52f010(0x211)]=0x2712]=_0x52f010(0x211),_0x92d219[_0x92d219['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x52f010(0x282),_0x92d219[_0x92d219['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x92d219[_0x92d219[_0x52f010(0x33a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x92d219[_0x92d219['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x52f010(0x39c),_0x92d219[_0x92d219[_0x52f010(0x39e)]=0x271c]=_0x52f010(0x39e),_0x92d219[_0x92d219[_0x52f010(0x45a)]=0x271d]=_0x52f010(0x45a),_0x92d219[_0x92d219['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x52f010(0x348),_0x92d219[_0x92d219[_0x52f010(0x321)]=0x271f]=_0x52f010(0x321),_0x92d219[_0x92d219[_0x52f010(0x3a1)]=0x2720]=_0x52f010(0x3a1),_0x92d219[_0x92d219['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x92d219[_0x92d219[_0x52f010(0x2e5)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x92d219[_0x92d219[_0x52f010(0x333)]=0x2ee2]=_0x52f010(0x333),_0x92d219[_0x92d219['INVITE_CODE_REQUIRED']=0x2ee3]=_0x52f010(0x2a0),_0x92d219[_0x92d219[_0x52f010(0x203)]=0x2ee4]=_0x52f010(0x203),_0x92d219[_0x92d219[_0x52f010(0x3a6)]=0x2ee5]=_0x52f010(0x3a6),_0x92d219[_0x92d219[_0x52f010(0x3f6)]=0x32c9]=_0x52f010(0x3f6),_0x92d219[_0x92d219['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x92d219[_0x92d219[_0x52f010(0x2ab)]=0x32cb]=_0x52f010(0x2ab),_0x92d219[_0x92d219[_0x52f010(0x263)]=-0x1]=_0x52f010(0x263),_0x92d219))(_0x592e89||{}),_0x31cc23=Object['getOwnPropertyDescriptor'],_0x52210f=(_0xe76f25,_0x215b89,_0x527207,_0x4590f4)=>{const _0x332bff=_0x52f010;for(var _0x551c49=_0x4590f4>0x1?void 0x0:_0x4590f4?_0x31cc23(_0x215b89,_0x527207):_0x215b89,_0x251c46=_0xe76f25[_0x332bff(0x2d4)]-0x1,_0x192808;_0x251c46>=0x0;_0x251c46--)(_0x192808=_0xe76f25[_0x251c46])&&(_0x551c49=_0x192808(_0x551c49)||_0x551c49);return _0x551c49;},_0x502bb0=(_0x30915d,_0x4a640b)=>(_0x1f8df6,_0x279350)=>_0x4a640b(_0x1f8df6,_0x279350,_0x30915d);_0x2245a1[_0x52f010(0x3a5)]=class extends _0x3d05ee['Disposable']{constructor(_0x2afeee,_0x52a3a2,_0x2396c7){const _0x5154c9=_0x52f010;super(),this[_0x5154c9(0x471)]=_0x2afeee,this[_0x5154c9(0x1e3)]=_0x52a3a2,this[_0x5154c9(0x202)]=_0x2396c7;}async['runOnServer'](_0x1171cd,_0x51b6d1,_0x57c474,..._0x105e6f){const _0x5094c0=_0x52f010;var _0x20bf84,_0x5f2b06,_0x327d69,_0x53c2d4;const _0x38536f=this['_instanceService'][_0x5094c0(0x218)]();if(!_0x38536f)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x38a698=((_0x20bf84=this[_0x5094c0(0x202)][_0x5094c0(0x34b)](_0x1ac61a[_0x5094c0(0x29a)]))!=null?_0x20bf84:_0x1ac61a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1171cd+_0x5094c0(0x212)+_0x51b6d1,_0x21a092=new URL(window[_0x5094c0(0x266)][_0x5094c0(0x344)]),_0x2dd84f={'scriptId':_0x1171cd,'runId':(_0x5f2b06=_0x21a092[_0x5094c0(0x24e)]['get'](_0x5094c0(0x45c)))!=null?_0x5f2b06:'','function':_0x51b6d1,'unitId':_0x38536f[_0x5094c0(0x272)](),'argsOfFunction':JSON[_0x5094c0(0x3f3)](_0x105e6f),'invokeId':(_0x327d69=_0x57c474[_0x5094c0(0x26a)])!=null?_0x327d69:'','executionId':(_0x53c2d4=_0x57c474[_0x5094c0(0x314)])!=null?_0x53c2d4:''};try{const _0xc10121=await this[_0x5094c0(0x1e3)][_0x5094c0(0x3b0)](_0x38a698,{'body':_0x2dd84f});return _0xc10121[_0x5094c0(0x28a)][_0x5094c0(0x1e8)]&&_0xc10121[_0x5094c0(0x28a)][_0x5094c0(0x1e8)][_0x5094c0(0x2ca)]!==_0x592e89['OK']?_0x5094c0(0x336):_0xc10121[_0x5094c0(0x28a)][_0x5094c0(0x2aa)];}catch{return _0x5094c0(0x336);}}},_0x2245a1[_0x52f010(0x3a5)]=_0x52210f([_0x502bb0(0x0,_0x3d05ee[_0x52f010(0x365)]),_0x502bb0(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x4cfd05[_0x52f010(0x320)])),_0x502bb0(0x2,_0x3d05ee[_0x52f010(0x3eb)])],_0x2245a1['RemoteUniscriptService']);const _0x44db39=0x7530,_0x4114e4='ACTIVE_UNIT_EVENT_CHANNEL';class _0xf1872b extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(){const _0x4dcc7d=_0x52f010;super(),_0x544075(this,_0x4dcc7d(0x332),_0x3d05ee[_0x4dcc7d(0x426)]()),_0x544075(this,_0x4dcc7d(0x3e4),new Set()),_0x544075(this,_0x4dcc7d(0x1f7),new Map()),_0x544075(this,_0x4dcc7d(0x3bf),null),_0x544075(this,'_clearOtherTimers',new Map()),_0x544075(this,_0x4dcc7d(0x388),new Map()),this[_0x4dcc7d(0x36a)]();}[_0x52f010(0x244)](){const _0xc6a512=_0x52f010;super['dispose'](),this[_0xc6a512(0x1d6)]['forEach']((_0x229427,_0x342cfe)=>this[_0xc6a512(0x208)](_0x342cfe)),this[_0xc6a512(0x3bf)]&&window[_0xc6a512(0x27b)](this[_0xc6a512(0x3bf)]);}[_0x52f010(0x38e)](_0x54d4aa){const _0x358729=_0x52f010;return this[_0x358729(0x2a4)](_0x54d4aa)[_0x358729(0x38c)](_0x353c21['distinctUntilChanged']());}['editingUnit'](_0x311bb9){const _0x29937b=_0x52f010;this[_0x29937b(0x3e4)][_0x29937b(0x41d)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x29937b(0x46c)](_0x311bb9),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x311bb9],'isForwarded':!0x1});}[_0x52f010(0x2ee)](_0x4734bc){const _0x38923d=_0x52f010;this[_0x38923d(0x3e4)][_0x38923d(0x3d1)](_0x4734bc),this[_0x38923d(0x3e4)]['size']===0x0&&this[_0x38923d(0x3bf)]&&window[_0x38923d(0x27b)](this[_0x38923d(0x3bf)]);}[_0x52f010(0x36a)](){const _0x310dde=_0x52f010;this[_0x310dde(0x2ba)](_0x3d05ee[_0x310dde(0x20a)](_0x353c21['fromEvent'](window,_0x310dde(0x2dd))['subscribe'](_0x418c80=>{const _0x2df1df=_0x310dde;if(_0x418c80['key']!==_0x4114e4||!_0x418c80[_0x2df1df(0x3d2)])return;const _0x5f8e8c=JSON[_0x2df1df(0x295)](_0x418c80[_0x2df1df(0x3d2)]);this[_0x2df1df(0x45b)](_0x5f8e8c);}))),window[_0x310dde(0x359)](_0x310dde(0x392),()=>this[_0x310dde(0x3e9)]({'type':0x1,'memberID':this[_0x310dde(0x332)],'unitIDs':Array[_0x310dde(0x22b)](this['_selfUnitIDs'])}));}[_0x52f010(0x45b)](_0x40db4b){const _0x176f9f=_0x52f010;switch(_0x40db4b[_0x176f9f(0x39d)]){case 0x0:this[_0x176f9f(0x30c)](_0x40db4b);break;case 0x1:this['_handleLeaveEvent'](_0x40db4b);break;case 0x2:this[_0x176f9f(0x349)](_0x40db4b);break;}}[_0x52f010(0x30c)](_0x2ec305){const _0x5a3c39=_0x52f010,{unitIDs:_0x1be541,memberID:_0x3596fa,isForwarded:_0x29efef}=_0x2ec305;_0x1be541[_0x5a3c39(0x2ce)](_0x35d9eb=>{const _0x106151=_0x5a3c39;if(!_0x29efef&&this['_unitOnClients']['has'](_0x35d9eb)&&this[_0x106151(0x2a4)](_0x35d9eb)['next'](_0x1ac61a[_0x106151(0x2bb)][_0x106151(0x35c)]),!this[_0x106151(0x1f7)][_0x106151(0x350)](_0x35d9eb)||!this['_unitOnClients']['get'](_0x35d9eb)[_0x106151(0x350)](_0x3596fa)){const _0x5cea91=this[_0x106151(0x1f7)][_0x106151(0x25b)](_0x35d9eb)||new Set();_0x5cea91[_0x106151(0x46c)](_0x3596fa),this[_0x106151(0x1f7)][_0x106151(0x3f1)](_0x35d9eb,_0x5cea91),this[_0x106151(0x1fe)](_0x3596fa);}}),_0x29efef||this[_0x5a3c39(0x3e9)]({'type':0x0,'memberID':this[_0x5a3c39(0x332)],'unitIDs':[...this[_0x5a3c39(0x3e4)]],'isForwarded':!0x0});}[_0x52f010(0x1fe)](_0x4ca056){const _0x385346=_0x52f010;this[_0x385346(0x208)](_0x4ca056);const _0x15b2ae=window[_0x385346(0x2b9)](()=>{const _0xdbc4d3=_0x385346;this[_0xdbc4d3(0x1f7)][_0xdbc4d3(0x2ce)](_0x5120f6=>{_0x5120f6['delete'](_0x4ca056);});},_0x44db39*0x2);this[_0x385346(0x1d6)][_0x385346(0x3f1)](_0x4ca056,_0x15b2ae);}['_removeClearOtherTimer'](_0x4fa05c){const _0x220659=_0x52f010;if(this['_clearOtherTimers'][_0x220659(0x350)](_0x4fa05c)){const _0x61c38=this['_clearOtherTimers'][_0x220659(0x25b)](_0x4fa05c);_0x61c38&&window[_0x220659(0x430)](_0x61c38),this[_0x220659(0x1d6)]['set'](_0x4fa05c,null);}}[_0x52f010(0x2ec)](_0x1a965d){const _0x20540a=_0x52f010,{memberID:_0x55a981,unitIDs:_0x29c0e8}=_0x1a965d;_0x29c0e8[_0x20540a(0x2ce)](_0x5addcb=>{const _0x14614a=_0x20540a;var _0x32d1aa;const _0x150180=this['_unitOnClients']['get'](_0x5addcb);_0x150180&&(_0x150180[_0x14614a(0x3d1)](_0x55a981),(_0x32d1aa=this['_ensureSubject'](_0x5addcb))==null||_0x32d1aa['next'](_0x150180[_0x14614a(0x41d)]===0x0?_0x1ac61a['UnitStatus'][_0x14614a(0x2da)]:_0x1ac61a['UnitStatus'][_0x14614a(0x35c)]));}),this[_0x20540a(0x208)](_0x55a981);}[_0x52f010(0x349)](_0x43e12a){const _0x32a9e4=_0x52f010;this[_0x32a9e4(0x1fe)](_0x43e12a[_0x32a9e4(0x1ff)]);}[_0x52f010(0x3e9)](_0xf0c8fa){localStorage['setItem'](_0x4114e4,JSON['stringify'](_0xf0c8fa));}[_0x52f010(0x389)](){const _0x2ada17=_0x52f010;this[_0x2ada17(0x3bf)]=window[_0x2ada17(0x37e)](()=>{const _0x3d1404=_0x2ada17;this[_0x3d1404(0x3e9)]({'type':0x2,'memberID':this[_0x3d1404(0x332)]});},_0x44db39);}['_ensureSubject'](_0x4b3bc1){const _0x4a07aa=_0x52f010;return this[_0x4a07aa(0x388)][_0x4a07aa(0x350)](_0x4b3bc1)||this[_0x4a07aa(0x388)][_0x4a07aa(0x3f1)](_0x4b3bc1,new _0x353c21[(_0x4a07aa(0x411))](_0x1ac61a[_0x4a07aa(0x2bb)][_0x4a07aa(0x2da)])),this[_0x4a07aa(0x388)]['get'](_0x4b3bc1);}}_0x2245a1['IURLService']=_0x40ca0b,_0x2245a1[_0x52f010(0x402)]=_0x184912,_0x2245a1[_0x52f010(0x20f)]=_0xf1872b,_0x2245a1[_0x52f010(0x1f4)]=_0x353b3b,Object[_0x52f010(0x41c)](_0x2245a1,Symbol[_0x52f010(0x3e2)],{'value':_0x52f010(0x3be)});}));function _0x4199(){const _0x1c2415=['type','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getActiveRange','IRemoteInstanceService','YUUMI_CONNECTOR_URL_NOT_FOUND','_revisionService','_assignedColors','getValue','RemoteUniscriptService','INVITE_CODE_ALREADY_BOUND','random','shareReplay','subUnitId','_registerRenderDependencies','jiqing.500','_refreshCollabCursors','FromArray','ILogService','top','post','UNDEFINED','_toggleOnline','CONNECTOR_DATA_TOO_LARGE','idSuffix','fillText','getSheetBySheetId','createSocket','sheetID','getCollabEntity$','transformStateCache','split','102066vuMPmb','isTransformMutationsWithChangesetSuccess','Module','_heartbeatTimer','_getSaveTimeout','@univerjs/drawing','IMessageService','univer-flex\x20univer-items-center','disableLocalCache','cursorInfo$','_onCursorDelete','SetTextSelectionsOperation','touchDependencies','UniverRpc','CLOSE_ROOM','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subscribeEvent','executeCommand','InsertRangeMoveRightCommandId','OTHER_CLIENT_EDITING','_cursors','delete','newValue','IRenderManagerService','getOwnPropertyDescriptor','onRendered','Disposable','measureText','fromEventSubject','_urlService','findNodePositionByCharIndex','setShapeProps','min','_cursorInfo$','_startSheetCollabCursor','collabStatus.syncing','_context','getParam','toStringTag','NodePositionConvertToRectRange','_selfUnitIDs','SNAPSHOT_HAS_BEEN_REMOVED','CHANGESET_REVISION_CONFILICT','debug','DisposableCollection','_send','replace','IConfigService','resize','UniverDrawing','_cursorShapes','univerjs-icon\x20univerjs-icon-','INotificationService','set','toRgbString','stringify','popstate','_color','WECHAT_HAS_BEEN_BOUND','text','getColorFromTheme','data','_initResize','isArray','COLORS','range','_initStatusComponent','getOffsetConfig','combineLatest','unsubscribe','SheetCollabCursorShape','height','push','react/jsx-runtime','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_DUPLICATED','handleInsertRangeMoveRight','_sheetSkeletonManagerService','setParam','_updateLocalCursor','saveOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_univerInstanceService','registerComponent','assign','BehaviorSubject','unitID','origin','svg','prototype','collab-client.tooltip.reconnect','@univerjs-pro/collaboration-client','_docTransformStateCacheService','_hovered','apply','_hover','defineProperty','size','@univerjs/docs','replaceDocRanges','registerDependencies','getAncestorScale','0\x200\x2016\x2016','setItem','exhaustSavingTask','_getScale','generateRandomId','_refRangeService','UniverDesign','TOO_MANY_REQUESTS','registerBeforeClose','_hideTimer','values','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','with','DesktopCollaborationStatusDisplayController','clearTimeout','onStarting','_updateCollabCursors','deepClone','toString','_initDependencies','_setupSubUnitSync','createInstance','unshift','entityInit$','m1Prime','dispose$','@univerjs-pro/collaboration','createIdentifier','_updateSubUnitFromURLParams','m2Prime','_docSkeleton','Error','RxDisposable','@univerjs/engine-render','event$','_collaborationController','backgroundColor','beginPath','_commandService','#FFF','4527LMxRyL','UNIVER_SHEET','_disabled','_eventUnsubscribe','_textBubble','_initStatusListener','getSkeleton','displayName','Optional','isTransformMutationFailure','_dataLoaderService','enableLocalCache','_logService','Warning','NOT_FOUND','undoState','YUUMI_ALL_TABLES_IS_INVALID','_handleEvent','runId','getOwnPropertySymbols','SheetSkeletonManagerService','collaboration-client.offline-data-not-saved','_colorIndex','UniverCore','React','DocIMEInputManagerService','evenodd','_collabSessionService','MessageType','onPointerMove$','redoState','collaboration-client-ui.config','debounce','0\x200\x2017\x2016','add','asObservable','http://www.w3.org/2000/svg','_drawRectRange','transformMutation','_instanceService','DocSelectionManagerService','_clearOtherTimers','PENDING','1em','filter','pushState','getCurrentSelections','sessionStatus$','ITransformService','ALREADY_EXISTS','transformMutationsWithChangeset','getTypeOfUnitDisposed$','send','PERMISSION_DENIED','_httpService','_docClipboardService','AWAITING_WITH_PENDING','VIEW_MAIN','Inject','error','moveTo','_range','_docTransformSelectionsService','collabStatus.fetchMiss','_entityInit$','RevisionService','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','_drawTextRange','LICENSE_MAX_UNITS_EXCEEDED','setActiveRange','getUndoRedoMutationParamsCache','WebURLService','_toggleOffline','NodePositionConvertToCursor','_unitOnClients','_entities','addClipboardHook','restore','max','getMergeData','next','_scheduleClearOtherTimer','memberID','saveTaskMap','APPLY_NON_SEQUENTIAL_REVISION','_configService','USER_NOT_INVITED_CODE','getUnhiddenWorksheets','currentTheme$','OFFLINE','MOBILE_VERIFY_CODE_MISMATCH','_removeClearOtherTimer','collabStatus.notCollab','toDisposable','SOCKET_FAILED_RETRY','_labelPosition','_collabCursorState$','SessionStatus','WebBrowserSingleActiveUnitService','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','/run/','collaboration.single-unit.warning','_docSkeletonManagerService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getSessionTicket','registerRenderModule','getFocusedUnit','@univerjs/docs-ui','_roomMembers$','_getMergeRange','params','DEFAULT_WS_SESSION_TICKET_URL','TEXT_RANGE_LAYER_INDEX','_notificationService','DocStateChangeManagerService','Subject','subscribe','RichTextEditingMutation','_localCacheService','RemoveColCommandId','currentSkeleton$','getRangePointData','handleIRemoveCol','CollaborationUIEventService','jsx','from','IImageIoService','find','getStateCache','addObjects','children','history','UniverProCollaboration','startRow','name','onPointerLeave$','amd','complete','_colorAssignService','addHandlerCallback','_name','save','SOCKET_FAILED','doc.mutation.rich-text-editing','_shapes','_messageService','triggerDblclick','handleInsertCol','use','collab-text-anchor-','dispose','font','row','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','function','defIds','getSheetObject','MemberService','transformRemoteChangeset','attrs','searchParams','IDocClipboardService','mask','xlink:href','transformSelections','color','arc','BrowserCollaborationSocketService','UPDATE_CURSOR','getActiveSheet','_imageIoService','imageSourceType','_config','get','...','entries','focused$','takeUntil','_removeCollabCursors','includes','2401805pojINa','UNRECOGNIZED','labelPosition','CollaborationSessionService','location','cursorInfo','defs','useCallback','invokeId','_online','translate(.97)','UniverDocsUi','_handleHover','_docSyncEditingCollabCursorService','subunit','green.600','getUnitId','concat','AWAITING','_localeService','loadUnit','then','SetWorksheetActivateCommand','2177568DIAZMK','_session','clearInterval','SHEET_VIEWPORT_KEY','DataLoaderService','95wEToaw','_transformService','getRenderById','_getAnchorBounding','YUUMI_RATE_OVER_LIMIT','_transformUndoRedoStack','exports','_anchorDot','fill','UniverInstanceType','jsxs','ISnapshotServerService','body','useObservable','useDependency','skeleton','M0\x200H16V16H0z','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hasOwnProperty','_docStateChangeManagerService','Rectangle','unit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','parse','indexOf','_scheduleSaving','whenReady','useRef','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DocSkeletonManagerService','drawWith','setUndoRedoMutationParamsCache','_initEntityListener','EMAIL_VERIFY_CODE_MISMATCH','INVITE_CODE_REQUIRED','ILocalCacheService','LocaleService','runRefRangeMutations','_ensureSubject','_cursor','Unknown\x20user','ThemeService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/sheets','result','EMAIL_HAS_BEEN_BOUND','current','UNAUTHENTICATED','34179cihvlX','switchMap','@univerjs/core','getLocalCacheKey','getMember','replaceState','rgba(255,\x20255,\x20255,\x200.01)','Rect','transformByState','path','fillRule','setTimeout','disposeWithMe','UnitStatus','all','requireSession','EffectRefRangId','handleInsertRow','_registerDependencies','object','search','OnLineIcon','map','colorChannel1','wsSessionTicketUrl','1086sIQlbb','_syncEditingCollabCursorService','_injector','code','setAlpha','getCoordByCell','startsWith','forEach','flatMap','permission.content','CollaborationEvent','Tooltip','UniverEngineFormula','length','getCollabCursors$','hovered','onCommandExecuted','collab-text-range-','status$','NO_OTHER_CLIENTS_EDITING','@univerjs/sheets-ui','UNIVER_DOC','storage','getCellPositionByOffset','on-line-icon_clip0_910_349','substring','syncEditingCollabCursor','registerRefRange','FETCH_MISS','_transformHistoryAndStateStack','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','_memberService','icon','transform','getVpScrollXYInfoByPosToVp','univer-mr-2\x20univer-flex\x20univer-text-xl','_handleLeaveEvent','SUBMIT_CHANGESET_TIMEOUT','disposeUnit','react','collabStatus.offline','session.connection-failed','removeParam','ILocalStorageService','_status$','_saveTaskMap','RegularPolygon','forwardRef','_transformPreviousActiveRange','_updateURLWithCurrentState','InsertRowCommandId','white','DeleteRangeMoveUpCommandId','_docTransformIMECacheService','connectInjector','docStateChange$','_scene','textRanges','call','INVALID_ARGUMENT','TEXT','UniverUi','mutations','_collaborationUIEventService','SYNCED','_localStorageService','handleInsertRangeMoveDown','CollaborationStatus','_handleJoinEvent','none','column','_cachedData','clipPath','@univerjs/design','_themeService','ranges','executionId','CollaborationController','Injector','YUUMI_UNABLE_LOAD_URL','UniverCollaborationClientPlugin','tag','getItem','purple.300','APPLY_PERMISSION_DENIED','ticket','fillStyle','createElement','HTTPService','YUUMI_AI_RUN_FAILED','getCurrent','SheetsSelectionsService','_saveCache','closePath','contains','collabCursorState$','_drawAnchor','_onRefRangeChange','WebSocketService','@univerjs/rpc','MoveRangeCommandId','selection','unitId','show','lineTo','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_id','INVALID_INVITE_CODE','_renderManagerService','NOT_COLLAB','Failed','mergeOverrideWithDependencies','roomMembers','string','YUUMI_NO_CUBOID_FOR_QUESTION','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getColor','debounceTime','throttleTime','getTypeOfUnitAdded$','startColumn','_draw','DocCollaborationEntity','_setupBeforeClosingHandler','href','RefRangeService','LOGIN_FAILED','round','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_handleHeartbeatEvent','roomMembers$','getConfig','COMPLETION_FINISHED','ColorKit','BuiltInUIPart','setStateCache','has','_backgroundColor','_lastPointer','APPLY_REJECT','width','getRelativeToViewportCoord','_collabCursorController','_initCommandExecutedListener','onMouseMove','addEventListener','url(#off-line-icon_clip0_910_343)','className','OTHER_CLIENTS_EDITING','_uiPartsService','UniverCollaborationClientUIPlugin','permission.title','getMemberID','ISocketService','USERS_LEAVE','8184832mRoVwR','CollaborationDataLoaderController','IUniverInstanceService','endRow','off-line-icon_clip0_910_343','DOC_RANGE_TYPE','extend','_init','getDocRanges','merge','UniverProCollaborationClientUi','_anchor','bottom','session.will-retry','black','_startDocCollabCursor','rxjs','_createSocketURL','ICommandService','loadOfflineData','MUTATION','DependentOn','[CollaborationDataLoaderController]','UniverNetwork','url(#$1','getViewport','UniverProCollaborationClient','setInterval','collab-rect-range-','updateOfflineData','addObject','Tools','sheetId','source','CollaborationUIEventId','on-line-icon','assignAColorForMemberID','_unitStatus','_scheduleHeartbeat','yellow.400','LICENSE_EXPORT_SIZE_EXCEEDED','pipe','propertyIsEnumerable','getUnitStatus$','urlChange$','div','_onCursorUpdate','unload','LICENSE_DISTRO_REJECTED','LOCAL_CACHE_INTERVAL','1373584TsqTLk','hide','eventID','onLocalMutation','getSheetId','_beforeCloseService','init','YUUMI_ASYNCIO_CANCELLED'];_0x4199=function(){return _0x1c2415;};return _0x4199();}