@univerjs-pro/collaboration-client-ui 0.10.8-nightly.202509200616 → 0.10.9

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 +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x111195,_0x1aed71){const _0x354718=_0x242f,_0x42550d=_0x111195();while(!![]){try{const _0xb0401a=-parseInt(_0x354718(0x268))/0x1+-parseInt(_0x354718(0x43e))/0x2+parseInt(_0x354718(0x2f8))/0x3*(-parseInt(_0x354718(0x3f4))/0x4)+parseInt(_0x354718(0x270))/0x5*(parseInt(_0x354718(0x406))/0x6)+-parseInt(_0x354718(0x2b9))/0x7+-parseInt(_0x354718(0x1df))/0x8*(-parseInt(_0x354718(0x397))/0x9)+-parseInt(_0x354718(0x305))/0xa*(-parseInt(_0x354718(0x329))/0xb);if(_0xb0401a===_0x1aed71)break;else _0x42550d['push'](_0x42550d['shift']());}catch(_0x423910){_0x42550d['push'](_0x42550d['shift']());}}}(_0x3ada,0x40706),function(_0x98e944,_0x17dff6){const _0x4c66b2=_0x242f;typeof exports==_0x4c66b2(0x2ce)&&typeof module<'u'?_0x17dff6(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==_0x4c66b2(0x2f5)&&define[_0x4c66b2(0x290)]?define([_0x4c66b2(0x259),_0x4c66b2(0x200),'@univerjs-pro/collaboration-client',_0x4c66b2(0x292),_0x4c66b2(0x2a1),'rxjs',_0x4c66b2(0x2fe),_0x4c66b2(0x2cb),'@univerjs/rpc',_0x4c66b2(0x2f1),_0x4c66b2(0x3a6),'@univerjs/network',_0x4c66b2(0x2e9),_0x4c66b2(0x2f7),_0x4c66b2(0x306),_0x4c66b2(0x3f3),_0x4c66b2(0x38c),_0x4c66b2(0x36e),_0x4c66b2(0x322)],_0x17dff6):(_0x98e944=typeof globalThis<'u'?globalThis:_0x98e944||self,_0x17dff6(_0x98e944[_0x4c66b2(0x3aa)]={},_0x98e944['React'],_0x98e944[_0x4c66b2(0x207)],_0x98e944[_0x4c66b2(0x42b)],_0x98e944[_0x4c66b2(0x3a7)],_0x98e944[_0x4c66b2(0x393)],_0x98e944['UniverDesign'],_0x98e944[_0x4c66b2(0x3ed)],_0x98e944['UniverRpc'],_0x98e944[_0x4c66b2(0x367)],_0x98e944[_0x4c66b2(0x1c4)],_0x98e944[_0x4c66b2(0x3ca)],_0x98e944['UniverDocsUi'],_0x98e944['UniverDrawing'],_0x98e944['UniverProCollaboration'],_0x98e944[_0x4c66b2(0x229)],_0x98e944[_0x4c66b2(0x315)],_0x98e944[_0x4c66b2(0x393)][_0x4c66b2(0x32a)],_0x98e944[_0x4c66b2(0x310)]));}(this,function(_0x96e8e,_0x237eed,_0x5e077a,_0x1690bf,_0x1887d4,_0x5f3a87,_0x3268b8,_0x5caa15,_0x96ba77,_0x15fec7,_0x33db0a,_0x1df59e,_0x47ddb5,_0x5c1b2d,_0x116245,_0xfb74c4,_0x14ad49,_0x47fb2a,_0xba4c08){'use strict';const _0x27b8a5=_0x242f;var _0x45e489=Object[_0x27b8a5(0x3f7)],_0x552d3e=(_0x58638d,_0x3d6eb9,_0x479932)=>_0x3d6eb9 in _0x58638d?_0x45e489(_0x58638d,_0x3d6eb9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x479932}):_0x58638d[_0x3d6eb9]=_0x479932,_0x42073c=(_0xf21df,_0x1bcc69,_0x55617d)=>_0x552d3e(_0xf21df,typeof _0x1bcc69!=_0x27b8a5(0x21d)?_0x1bcc69+'':_0x1bcc69,_0x55617d),_0x2e5abd=function(){return _0x2e5abd=Object['assign']||function(_0x5df10d){const _0x4d628b=_0x242f;for(var _0x412259,_0x1bb2a4=0x1,_0x2733aa=arguments[_0x4d628b(0x1ce)];_0x1bb2a4<_0x2733aa;_0x1bb2a4++){_0x412259=arguments[_0x1bb2a4];for(var _0x5e2596 in _0x412259)Object[_0x4d628b(0x439)][_0x4d628b(0x33a)][_0x4d628b(0x370)](_0x412259,_0x5e2596)&&(_0x5df10d[_0x5e2596]=_0x412259[_0x5e2596]);}return _0x5df10d;},_0x2e5abd['apply'](this,arguments);},_0x1ed90c=function(_0x5490a0,_0x85ff43){const _0x59c3d3=_0x27b8a5;var _0x42efc2={};for(var _0x4d0336 in _0x5490a0)Object['prototype'][_0x59c3d3(0x33a)][_0x59c3d3(0x370)](_0x5490a0,_0x4d0336)&&_0x85ff43[_0x59c3d3(0x2b7)](_0x4d0336)<0x0&&(_0x42efc2[_0x4d0336]=_0x5490a0[_0x4d0336]);if(_0x5490a0!=null&&typeof Object[_0x59c3d3(0x2b0)]=='function'){for(var _0x319c9c=0x0,_0x4d0336=Object[_0x59c3d3(0x2b0)](_0x5490a0);_0x319c9c<_0x4d0336[_0x59c3d3(0x1ce)];_0x319c9c++)_0x85ff43[_0x59c3d3(0x2b7)](_0x4d0336[_0x319c9c])<0x0&&Object[_0x59c3d3(0x439)][_0x59c3d3(0x1b3)][_0x59c3d3(0x370)](_0x5490a0,_0x4d0336[_0x319c9c])&&(_0x42efc2[_0x4d0336[_0x319c9c]]=_0x5490a0[_0x4d0336[_0x319c9c]]);}return _0x42efc2;},_0x3a8f2f=_0x5caa15[_0x27b8a5(0x1ed)](function(_0x472753,_0x444f59){const _0x5c794d=_0x27b8a5;var _0x3d562f=_0x472753[_0x5c794d(0x3dd)],_0xb03f06=_0x472753['id'],_0x1c2f26=_0x472753[_0x5c794d(0x365)],_0x1a9194=_0x472753[_0x5c794d(0x2d0)],_0x3a375d=_0x1ed90c(_0x472753,[_0x5c794d(0x3dd),'id',_0x5c794d(0x365),_0x5c794d(0x2d0)]),_0x551d0d=_0x5c794d(0x339)[_0x5c794d(0x3bf)](_0xb03f06,'\x20')[_0x5c794d(0x3bf)](_0x1c2f26||'')['trim'](),_0x1ba205=_0x5caa15[_0x5c794d(0x237)]('_'['concat'](_0x3beebb()));return _0xd1ff8(_0x3d562f,''[_0x5c794d(0x3bf)](_0xb03f06),{'defIds':_0x3d562f['defIds'],'idSuffix':_0x1ba205[_0x5c794d(0x228)]},_0x2e5abd({'ref':_0x444f59,'className':_0x551d0d},_0x3a375d),_0x1a9194);});function _0xd1ff8(_0x3f5498,_0x397574,_0x3b13cb,_0xdbaee8,_0x37b0b4){const _0x59fee6=_0x27b8a5;return _0x5caa15[_0x59fee6(0x1fd)](_0x3f5498[_0x59fee6(0x3b4)],_0x2e5abd(_0x2e5abd({'key':_0x397574},_0x3f2dcf(_0x3f5498,_0x3b13cb,_0x37b0b4)),_0xdbaee8),(_0x24e6b6(_0x3f5498,_0x3b13cb)[_0x59fee6(0x22f)]||[])[_0x59fee6(0x347)](function(_0x274637,_0x2c3364){const _0x3327eb=_0x59fee6;return _0xd1ff8(_0x274637,''[_0x3327eb(0x3bf)](_0x397574,'-')['concat'](_0x3f5498[_0x3327eb(0x3b4)],'-')[_0x3327eb(0x3bf)](_0x2c3364),_0x3b13cb,void 0x0,_0x37b0b4);}));}function _0x3f2dcf(_0x35df79,_0x510857,_0x1e0e01){const _0x260293=_0x27b8a5;var _0x19f6eb=_0x2e5abd({},_0x35df79[_0x260293(0x407)]);_0x1e0e01!=null&&_0x1e0e01['colorChannel1']&&_0x19f6eb[_0x260293(0x20a)]===_0x260293(0x296)&&(_0x19f6eb[_0x260293(0x20a)]=_0x1e0e01['colorChannel1']),_0x35df79['tag']==='mask'&&_0x19f6eb['id']&&(_0x19f6eb['id']=_0x19f6eb['id']+_0x510857[_0x260293(0x27b)]),Object[_0x260293(0x22a)](_0x19f6eb)[_0x260293(0x2ad)](function(_0x58e362){const _0x3bcb3b=_0x260293;var _0x1ce617=_0x58e362[0x0],_0x222761=_0x58e362[0x1];_0x1ce617===_0x3bcb3b(0x2ae)&&typeof _0x222761==_0x3bcb3b(0x42c)&&(_0x19f6eb[_0x1ce617]=_0x222761['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x510857['idSuffix'],')')));});var _0x5433ed=_0x510857[_0x260293(0x28e)];return!_0x5433ed||_0x5433ed['length']===0x0||(_0x35df79['tag']===_0x260293(0x328)&&_0x19f6eb['xlink:href']&&(_0x19f6eb[_0x260293(0x271)]=_0x19f6eb[_0x260293(0x271)]+_0x510857[_0x260293(0x27b)]),Object[_0x260293(0x22a)](_0x19f6eb)[_0x260293(0x2ad)](function(_0x45a7f9){const _0x2d0455=_0x260293;var _0x6206a3=_0x45a7f9[0x0],_0xf631e1=_0x45a7f9[0x1];typeof _0xf631e1==_0x2d0455(0x42c)&&(_0x19f6eb[_0x6206a3]=_0xf631e1[_0x2d0455(0x1bc)](/url\(#(.*)\)/,_0x2d0455(0x3fb)[_0x2d0455(0x3bf)](_0x510857['idSuffix'],')')));})),_0x19f6eb;}function _0x24e6b6(_0x5d4f78,_0x26a93d){const _0x333828=_0x27b8a5;var _0x5d7041,_0x349f8a=_0x26a93d[_0x333828(0x28e)];return!_0x349f8a||_0x349f8a[_0x333828(0x1ce)]===0x0?_0x5d4f78:_0x5d4f78[_0x333828(0x3b4)]===_0x333828(0x2b3)&&(!((_0x5d7041=_0x5d4f78['children'])===null||_0x5d7041===void 0x0)&&_0x5d7041[_0x333828(0x1ce)])?_0x2e5abd(_0x2e5abd({},_0x5d4f78),{'children':_0x5d4f78[_0x333828(0x22f)][_0x333828(0x347)](function(_0xf7824f){const _0x5af2e4=_0x333828;return typeof _0xf7824f[_0x5af2e4(0x407)]['id']==_0x5af2e4(0x42c)&&_0x349f8a&&_0x349f8a['includes'](_0xf7824f[_0x5af2e4(0x407)]['id'])?_0x2e5abd(_0x2e5abd({},_0xf7824f),{'attrs':_0x2e5abd(_0x2e5abd({},_0xf7824f[_0x5af2e4(0x407)]),{'id':_0xf7824f[_0x5af2e4(0x407)]['id']+_0x26a93d[_0x5af2e4(0x27b)]})}):_0xf7824f;})}):_0x5d4f78;}function _0x3beebb(){const _0xf05bf4=_0x27b8a5;return Math[_0xf05bf4(0x37e)]()[_0xf05bf4(0x412)](0x24)[_0xf05bf4(0x2c3)](0x2,0x8);}_0x3a8f2f[_0x27b8a5(0x266)]=_0x27b8a5(0x3c0);var _0xee401={'tag':_0x27b8a5(0x34f),'attrs':{'xmlns':_0x27b8a5(0x1eb),'fill':_0x27b8a5(0x32c),'viewBox':_0x27b8a5(0x1b7),'width':_0x27b8a5(0x368),'height':_0x27b8a5(0x368)},'children':[{'tag':'g','attrs':{'clipPath':_0x27b8a5(0x2b1)},'children':[{'tag':_0x27b8a5(0x22d),'attrs':{'stroke':_0x27b8a5(0x230),'d':_0x27b8a5(0x2e8),'strokeLinecap':_0x27b8a5(0x297),'strokeLinejoin':_0x27b8a5(0x297),'strokeWidth':1.2}}]},{'tag':_0x27b8a5(0x2b3),'attrs':{},'children':[{'tag':_0x27b8a5(0x391),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x27b8a5(0x22d),'attrs':{'fill':'white','d':_0x27b8a5(0x2ca)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x49b2f1=_0x5caa15[_0x27b8a5(0x1ed)](function(_0x3cd382,_0x30c742){const _0x52c5f6=_0x27b8a5;return _0x5caa15[_0x52c5f6(0x1fd)](_0x3a8f2f,Object[_0x52c5f6(0x42f)]({},_0x3cd382,{'id':_0x52c5f6(0x226),'ref':_0x30c742,'icon':_0xee401}));});_0x49b2f1[_0x27b8a5(0x266)]='OffLineIcon';var _0x39b149={'tag':_0x27b8a5(0x34f),'attrs':{'xmlns':_0x27b8a5(0x1eb),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x27b8a5(0x368),'height':_0x27b8a5(0x368)},'children':[{'tag':'g','attrs':{'clipPath':_0x27b8a5(0x33f)},'children':[{'tag':'path','attrs':{'stroke':_0x27b8a5(0x230),'d':_0x27b8a5(0x3ce),'strokeLinecap':_0x27b8a5(0x297),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x27b8a5(0x2b3),'attrs':{},'children':[{'tag':_0x27b8a5(0x391),'attrs':{'id':_0x27b8a5(0x3ff)},'children':[{'tag':_0x27b8a5(0x22d),'attrs':{'fill':'white','d':_0x27b8a5(0x2ca),'transform':_0x27b8a5(0x293)}}]}]}],'defIds':[_0x27b8a5(0x3ff)]},_0x398ad5=_0x5caa15[_0x27b8a5(0x1ed)](function(_0x214e32,_0x51ecf7){const _0x424295=_0x27b8a5;return _0x5caa15[_0x424295(0x1fd)](_0x3a8f2f,Object[_0x424295(0x42f)]({},_0x214e32,{'id':'on-line-icon','ref':_0x51ecf7,'icon':_0x39b149}));});_0x398ad5[_0x27b8a5(0x266)]=_0x27b8a5(0x32d);function _0x51d400(_0x46a569){const _0x39986b=_0x27b8a5;switch(_0x46a569){case _0x5e077a[_0x39986b(0x20e)]['OFFLINE']:return _0x39986b(0x324);case _0x5e077a[_0x39986b(0x20e)][_0x39986b(0x3e7)]:return _0x39986b(0x388);case _0x5e077a['CollaborationStatus']['FETCH_MISS']:return _0x39986b(0x3e9);case _0x5e077a[_0x39986b(0x20e)][_0x39986b(0x1fa)]:return _0x39986b(0x2d1);case _0x5e077a['CollaborationStatus'][_0x39986b(0x385)]:case _0x5e077a[_0x39986b(0x20e)][_0x39986b(0x378)]:return _0x39986b(0x386);case _0x5e077a[_0x39986b(0x20e)][_0x39986b(0x2bd)]:case _0x5e077a[_0x39986b(0x20e)][_0x39986b(0x3ea)]:return _0x39986b(0x1ea);}}function _0x1707f1(_0x40b93d){const _0x300a65=_0x27b8a5,{status$:_0x3c64bd}=_0x40b93d,_0x46d1e3=_0x1887d4[_0x300a65(0x3a4)](_0x3c64bd,_0x5e077a[_0x300a65(0x20e)][_0x300a65(0x1fa)]),_0x18170d=_0x1887d4[_0x300a65(0x26f)](_0x1690bf[_0x300a65(0x349)]),_0x19645d=_0x1887d4['useDependency'](_0x5e077a[_0x300a65(0x1bd)]),_0x56cf2f=_0x46d1e3!==_0x5e077a[_0x300a65(0x20e)][_0x300a65(0x233)],_0x457ec6=_0x18170d['t'](_0x51d400(_0x46d1e3)),_0x35a731=_0x56cf2f?_0x237eed[_0x300a65(0x2b4)](_0x398ad5,{}):_0x237eed['jsx'](_0x49b2f1,{}),_0x33870d=_0x5caa15[_0x300a65(0x3ab)](()=>{const _0x340516=_0x300a65;_0x56cf2f||_0x19645d[_0x340516(0x43f)]();},[_0x56cf2f,_0x19645d]);function _0x51a1c7(){const _0x55fd04=_0x300a65;return _0x237eed['jsxs'](_0x55fd04(0x1b9),{'className':_0x55fd04(0x3b1),'onClick':_0x33870d,'children':[_0x237eed[_0x55fd04(0x2b4)](_0x55fd04(0x1b9),{'className':_0x3268b8[_0x55fd04(0x418)](_0x55fd04(0x313),{'univer-text-green-500':_0x56cf2f,'univer-text-red-500':!_0x56cf2f}),'children':_0x35a731}),_0x237eed['jsx']('div',{'className':_0x55fd04(0x3b7),'children':_0x457ec6})]});}return _0x56cf2f?_0x51a1c7():_0x237eed['jsx'](_0x3268b8[_0x300a65(0x223)],{'title':_0x18170d['t']('collab-client.tooltip.reconnect'),'children':_0x51a1c7()});}var _0x21cbc2=Object['getOwnPropertyDescriptor'],_0x321c06=(_0xe26eb2,_0x3565b8,_0x19acb2,_0x3a7bca)=>{const _0x434197=_0x27b8a5;for(var _0x34e087=_0x3a7bca>0x1?void 0x0:_0x3a7bca?_0x21cbc2(_0x3565b8,_0x19acb2):_0x3565b8,_0x261d77=_0xe26eb2[_0x434197(0x1ce)]-0x1,_0x6e17b7;_0x261d77>=0x0;_0x261d77--)(_0x6e17b7=_0xe26eb2[_0x261d77])&&(_0x34e087=_0x6e17b7(_0x34e087)||_0x34e087);return _0x34e087;},_0x281dbf=(_0x108112,_0x276caa)=>(_0x248a95,_0x57ec8b)=>_0x276caa(_0x248a95,_0x57ec8b,_0x108112);_0x96e8e[_0x27b8a5(0x376)]=class extends _0x1690bf[_0x27b8a5(0x202)]{constructor(_0x13e7e5,_0x21e1ad,_0x51f4f3,_0x553775){const _0xe1207f=_0x27b8a5;super(),_0x42073c(this,_0xe1207f(0x1f8),new _0x5f3a87['BehaviorSubject'](_0x5e077a[_0xe1207f(0x20e)][_0xe1207f(0x1fa)])),(this[_0xe1207f(0x357)]=_0x13e7e5,this['_injector']=_0x21e1ad,this[_0xe1207f(0x1d8)]=_0x51f4f3,this[_0xe1207f(0x1e7)]=_0x553775,this[_0xe1207f(0x221)](),this[_0xe1207f(0x1b5)]());}[_0x27b8a5(0x1b5)](){const _0x117441=_0x27b8a5;this[_0x117441(0x41a)](this[_0x117441(0x357)]['focused$']['pipe'](_0x5f3a87[_0x117441(0x1bb)](()=>{const _0x471907=_0x117441,_0xe3d93d=this[_0x471907(0x357)]['getFocusedUnit']();return _0xe3d93d?this['_collaborationController']['getCollabEntity$'](_0xe3d93d[_0x471907(0x3a0)]()):_0x5f3a87['of'](null);}),_0x5f3a87[_0x117441(0x1bb)](_0x5b9eed=>_0x5b9eed?_0x5b9eed[_0x117441(0x2e7)]:_0x5f3a87['of'](_0x5e077a[_0x117441(0x20e)][_0x117441(0x1fa)])))['subscribe'](_0x2adf8b=>{const _0x1c0d17=_0x117441;this[_0x1c0d17(0x1f8)][_0x1c0d17(0x1b0)](_0x2adf8b);}));}['_initStatusComponent'](){const _0xe59899=_0x27b8a5;this[_0xe59899(0x41a)](this['_uiPartsService'][_0xe59899(0x421)](_0x1887d4[_0xe59899(0x387)][_0xe59899(0x224)],()=>_0x1887d4[_0xe59899(0x2ea)](_0x450017({'status$':this[_0xe59899(0x1f8)][_0xe59899(0x355)]()}),this['_injector'])));}},_0x96e8e[_0x27b8a5(0x376)]=_0x321c06([_0x281dbf(0x0,_0x1690bf[_0x27b8a5(0x236)]),_0x281dbf(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x238)])),_0x281dbf(0x2,_0x1690bf[_0x27b8a5(0x1fe)](_0x5e077a[_0x27b8a5(0x3f9)])),_0x281dbf(0x3,_0x1887d4['IUIPartsService'])],_0x96e8e[_0x27b8a5(0x376)]);function _0x450017(_0x52d308){const {status$:_0x5898cc}=_0x52d308;return function(){const _0x515f35=_0x242f;return _0x237eed[_0x515f35(0x2b4)](_0x1707f1,{'status$':_0x5898cc});};}const _0x42645a=_0x1690bf['createIdentifier']('uni.network.url-service');var _0x4a7c9e=Object[_0x27b8a5(0x23a)],_0x64976d=(_0x4d1ec2,_0xcb803a,_0x206ff0,_0xf82cfc)=>{for(var _0x213c7b=_0xf82cfc>0x1?void 0x0:_0xf82cfc?_0x4a7c9e(_0xcb803a,_0x206ff0):_0xcb803a,_0x489451=_0x4d1ec2['length']-0x1,_0x372d39;_0x489451>=0x0;_0x489451--)(_0x372d39=_0x4d1ec2[_0x489451])&&(_0x213c7b=_0x372d39(_0x213c7b)||_0x213c7b);return _0x213c7b;},_0x4a9544=(_0x1db6a3,_0x2e6b81)=>(_0x4d202a,_0x47d461)=>_0x2e6b81(_0x4d202a,_0x47d461,_0x1db6a3);_0x96e8e[_0x27b8a5(0x1ba)]=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x53033b,_0x1cfa3b,_0xef5c1e,_0x42d2b4,_0x14e270){const _0x26763f=_0x27b8a5;super(),this['_urlService']=_0x53033b,this[_0x26763f(0x35e)]=_0x1cfa3b,this['_commandService']=_0xef5c1e,this['_dataLoaderService']=_0x42d2b4,_0x14e270?_0x14e270==null||_0x14e270['whenReady']()['then'](()=>this[_0x26763f(0x26d)]()):(this['_logService'][_0x26763f(0x1e6)](_0x26763f(0x211),_0x26763f(0x2ff)),this[_0x26763f(0x26d)]());}async[_0x27b8a5(0x26d)](){const _0x1f4fa0=_0x27b8a5,_0x5df59d=this[_0x1f4fa0(0x3f1)][_0x1f4fa0(0x422)]('unit'),_0x169875=this[_0x1f4fa0(0x3f1)]['getParam'](_0x1f4fa0(0x2dd)),_0x15953a=this['_urlService']['getParam'](_0x1f4fa0(0x432));if(!_0x5df59d||!_0x169875){this[_0x1f4fa0(0x35e)][_0x1f4fa0(0x1e6)]('[CollaborationDataLoaderController]',_0x1f4fa0(0x1d5));return;}const _0x57bbf7=await this[_0x1f4fa0(0x245)]['loadUnit'](_0x5df59d,Number(_0x169875),_0x15953a);_0x57bbf7&&_0x57bbf7 instanceof _0x1690bf[_0x1f4fa0(0x431)]&&this['_setupSubUnitSync'](_0x57bbf7);}async[_0x27b8a5(0x343)](_0x52fb37){const _0x56251d=_0x27b8a5;await this[_0x56251d(0x2c0)](_0x52fb37),_0x52fb37[_0x56251d(0x3d9)][_0x56251d(0x424)](_0x5f3a87[_0x56251d(0x404)](this[_0x56251d(0x214)]))[_0x56251d(0x390)](_0x2ebf52=>{_0x2ebf52&&this['_updateURLWithCurrentState'](_0x2ebf52);}),this['_urlService'][_0x56251d(0x1e3)]['pipe'](_0x5f3a87[_0x56251d(0x404)](this[_0x56251d(0x214)]))['subscribe'](()=>this[_0x56251d(0x2c0)](_0x52fb37));}[_0x27b8a5(0x1ee)](_0x588481,_0xd4b6fd=!0x1){const _0x16efd3=_0x27b8a5,_0x5e8f82=this[_0x16efd3(0x3f1)][_0x16efd3(0x422)](_0x16efd3(0x432));_0x588481[_0x16efd3(0x3ac)]()!==_0x5e8f82&&this[_0x16efd3(0x3f1)][_0x16efd3(0x2fb)](_0x16efd3(0x432),_0x588481[_0x16efd3(0x3ac)](),_0xd4b6fd);}async[_0x27b8a5(0x2c0)](_0x317bb5){const _0x4d383c=_0x27b8a5;var _0x40c153;const _0x5e7f21=this[_0x4d383c(0x3f1)][_0x4d383c(0x422)](_0x4d383c(0x432));if(!_0x5e7f21||!_0x317bb5[_0x4d383c(0x212)](_0x5e7f21)){const _0x460489=_0x317bb5[_0x4d383c(0x3f6)]()[0x0],_0x550c67=_0x317bb5[_0x4d383c(0x212)](_0x460489);if(!_0x550c67)return;this[_0x4d383c(0x1ee)](_0x550c67,!0x0),await this[_0x4d383c(0x371)][_0x4d383c(0x341)](_0x15fec7['SetWorksheetActivateCommand']['id'],{'unitId':_0x317bb5[_0x4d383c(0x3a0)](),'subUnitId':_0x460489});return;}((_0x40c153=_0x317bb5['getActiveSheet']())==null?void 0x0:_0x40c153[_0x4d383c(0x3ac)]())!==_0x5e7f21&&await this[_0x4d383c(0x371)][_0x4d383c(0x341)](_0x15fec7[_0x4d383c(0x218)]['id'],{'unitId':_0x317bb5[_0x4d383c(0x3a0)](),'subUnitId':_0x5e7f21});}},_0x96e8e['CollaborationDataLoaderController']=_0x64976d([_0x4a9544(0x0,_0x42645a),_0x4a9544(0x1,_0x1690bf[_0x27b8a5(0x3c3)]),_0x4a9544(0x2,_0x1690bf['ICommandService']),_0x4a9544(0x3,_0x1690bf[_0x27b8a5(0x1fe)](_0x5e077a['DataLoaderService'])),_0x4a9544(0x4,_0x1690bf['Optional'](_0x96ba77[_0x27b8a5(0x287)]))],_0x96e8e[_0x27b8a5(0x1ba)]);var _0xc5280a=Object[_0x27b8a5(0x23a)],_0x544730=(_0x4fd709,_0x3628c4,_0xf0444f,_0x4256ca)=>{for(var _0x1a7f64=_0x4256ca>0x1?void 0x0:_0x4256ca?_0xc5280a(_0x3628c4,_0xf0444f):_0x3628c4,_0x4f60c1=_0x4fd709['length']-0x1,_0x55cca8;_0x4f60c1>=0x0;_0x4f60c1--)(_0x55cca8=_0x4fd709[_0x4f60c1])&&(_0x1a7f64=_0x55cca8(_0x1a7f64)||_0x1a7f64);return _0x1a7f64;},_0x35f262=(_0x3dc5b9,_0x3508f6)=>(_0x2c22c4,_0x153774)=>_0x3508f6(_0x2c22c4,_0x153774,_0x3dc5b9);let _0x24aa6a=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x544ef6,_0x50541e){const _0x34aade=_0x27b8a5;super(),this[_0x34aade(0x249)]=_0x544ef6,this['_imageIoService']=_0x50541e,this[_0x34aade(0x26d)]();}['_init'](){const _0x329579=_0x27b8a5,_0x449101=this;this[_0x329579(0x41a)](this[_0x329579(0x249)][_0x329579(0x29f)]({'onBeforePasteImage':async _0x58ef7b=>{const _0x83cc2f=_0x329579,_0x3c2f95=await _0x449101['_imageIoService'][_0x83cc2f(0x2c1)](_0x58ef7b);return _0x3c2f95?{'source':_0x3c2f95['source'],'imageSourceType':_0x3c2f95['imageSourceType']}:null;}}));}};_0x24aa6a=_0x544730([_0x35f262(0x0,_0x47ddb5['IDocClipboardService']),_0x35f262(0x1,_0x5c1b2d[_0x27b8a5(0x352)])],_0x24aa6a);const _0xa1b0c4=[_0x27b8a5(0x21e),'jiqing.500',_0x27b8a5(0x2af),_0x27b8a5(0x3ba),_0x27b8a5(0x2bb),'yellow.400'];class _0xade64f extends _0x1690bf[_0x27b8a5(0x202)]{constructor(){const _0x4e6058=_0x27b8a5;super(...arguments),_0x42073c(this,_0x4e6058(0x30d),new Map()),_0x42073c(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x4bc86d){const _0x5e35d9=_0x27b8a5;if(this['_assignedColors'][_0x5e35d9(0x288)](_0x4bc86d))return this[_0x5e35d9(0x30d)][_0x5e35d9(0x1e0)](_0x4bc86d);const _0x36bb41=_0xa1b0c4[this[_0x5e35d9(0x1b6)]];return this[_0x5e35d9(0x1b6)]=(this[_0x5e35d9(0x1b6)]+0x1)%_0xa1b0c4[_0x5e35d9(0x1ce)],this['_assignedColors'][_0x5e35d9(0x2eb)](_0x4bc86d,_0x36bb41),_0x36bb41;}}function _0x46aa80(_0xe63208){let _0x2922af='';for(const _0x3e69d0 of _0xe63208){const {startOffset:_0x777df5,endOffset:_0x46441f,isActive:_0x496216,rangeType:_0xc60654,segmentId:_0x364497,segmentPage:_0x388ab5}=_0x3e69d0;_0x2922af['length']&&(_0x2922af+=','),_0x2922af+=_0x777df5+':'+_0x46441f+':'+(_0x496216?'1':'0')+':'+_0xc60654+':'+_0x364497+':'+_0x388ab5;}return _0x2922af;}function _0x4fdb75(_0x359e10){const _0x20b66a=_0x27b8a5,_0x33a034=_0x359e10[_0x20b66a(0x361)](','),_0x498648=[];for(const _0x3528bf of _0x33a034){const [_0x218a77,_0x1e6a7a,_0x422ffc,_0x573e6d,_0x20e45e,_0x30f94a]=_0x3528bf[_0x20b66a(0x361)](':');_0x498648[_0x20b66a(0x2a7)]({'startOffset':Number(_0x218a77),'endOffset':Number(_0x1e6a7a),'collapsed':_0x218a77===_0x1e6a7a,'isActive':_0x422ffc==='1','rangeType':_0x573e6d===_0x1690bf['DOC_RANGE_TYPE'][_0x20b66a(0x316)]?_0x1690bf['DOC_RANGE_TYPE'][_0x20b66a(0x316)]:_0x1690bf[_0x20b66a(0x2da)][_0x20b66a(0x30b)],'segmentId':typeof _0x20e45e==_0x20b66a(0x42c)?String(_0x20e45e):'','segmentPage':Number(_0x30f94a!=null?_0x30f94a:-0x1)});}return _0x498648[_0x20b66a(0x216)](_0xa36811=>_0xa36811[_0x20b66a(0x2d7)])||(_0x498648[0x0][_0x20b66a(0x2d7)]=!0x0),_0x498648;}class _0x564128 extends _0x1690bf['RxDisposable']{constructor(){const _0x3bd650=_0x27b8a5;super(...arguments),_0x42073c(this,_0x3bd650(0x2f2),new _0x5f3a87[(_0x3bd650(0x1d9))](null)),_0x42073c(this,_0x3bd650(0x28b),this[_0x3bd650(0x2f2)][_0x3bd650(0x355)]());}[_0x27b8a5(0x37b)](_0x2e862c){const {unitID:_0x1ae4a1,memberID:_0x50c8a0,textRanges:_0x2ebe2c}=_0x2e862c,_0x48e70e=_0x46aa80(_0x2ebe2c);if(_0x48e70e==='')return;const _0x23a589={'unitID':_0x1ae4a1,'memberID':_0x50c8a0,'selection':_0x48e70e};this['_collabCursorState$']['next'](_0x23a589);}}var _0x4988b2=Object[_0x27b8a5(0x23a)],_0x26005c=(_0x421680,_0x548788,_0x147369,_0x5464c3)=>{const _0x18d7f2=_0x27b8a5;for(var _0x41ec12=_0x5464c3>0x1?void 0x0:_0x5464c3?_0x4988b2(_0x548788,_0x147369):_0x548788,_0x3fe158=_0x421680[_0x18d7f2(0x1ce)]-0x1,_0x55cb1b;_0x3fe158>=0x0;_0x3fe158--)(_0x55cb1b=_0x421680[_0x3fe158])&&(_0x41ec12=_0x55cb1b(_0x41ec12)||_0x41ec12);return _0x41ec12;},_0x3da567=(_0x394b2e,_0xf104a0)=>(_0x390ca3,_0x1938ec)=>_0xf104a0(_0x390ca3,_0x1938ec,_0x394b2e);const _0x5cd91b=0x12c,_0x249775=0x64;let _0x1aa1d7=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x3e8d2d,_0x526e56,_0x59d976,_0x3626ce,_0x1d692b,_0x3ff5cf,_0x1ee8f7,_0x3bb48f,_0x590868){const _0x57e6a1=_0x27b8a5;super(),_0x42073c(this,'_online',!0x1),_0x42073c(this,_0x57e6a1(0x26d),!0x1),_0x42073c(this,'_cursorInfo$',new _0x5f3a87[(_0x57e6a1(0x1d9))](new Map())),_0x42073c(this,'cursorInfo$',this[_0x57e6a1(0x281)][_0x57e6a1(0x355)]()),_0x42073c(this,_0x57e6a1(0x31c),new _0x5f3a87[(_0x57e6a1(0x1d9))]([])),_0x42073c(this,'roomMembers$',this[_0x57e6a1(0x31c)][_0x57e6a1(0x424)](_0x5f3a87[_0x57e6a1(0x419)](_0x5cd91b))),_0x42073c(this,_0x57e6a1(0x304),_0x1690bf['debounce'](_0x590071=>{const _0x11b36f=_0x57e6a1,_0x3ff42c={'eventID':_0x116245[_0x11b36f(0x430)][_0x11b36f(0x283)],'data':{'unitID':this[_0x11b36f(0x219)],'memberID':this[_0x11b36f(0x1e1)][_0x11b36f(0x384)](),'selection':_0x46aa80(_0x590071)}};this[_0x11b36f(0x1e1)][_0x11b36f(0x222)](_0x3ff42c,this[_0x11b36f(0x219)]);},_0x249775)),(this['unitID']=_0x3e8d2d,this[_0x57e6a1(0x1e1)]=_0x526e56,this['_injector']=_0x59d976,this[_0x57e6a1(0x358)]=_0x3626ce,this[_0x57e6a1(0x241)]=_0x1d692b,this[_0x57e6a1(0x27e)]=_0x3ff5cf,this[_0x57e6a1(0x3b0)]=_0x1ee8f7,this[_0x57e6a1(0x357)]=_0x3bb48f,this[_0x57e6a1(0x371)]=_0x590868);}get[_0x27b8a5(0x2aa)](){const _0x97e629=_0x27b8a5;return this[_0x97e629(0x281)][_0x97e629(0x331)]();}get[_0x27b8a5(0x35f)](){return this['_roomMembers$']['getValue']();}[_0x27b8a5(0x436)](){const _0x1a00c2=_0x27b8a5;super[_0x1a00c2(0x436)](),this[_0x1a00c2(0x281)][_0x1a00c2(0x1b0)](new Map()),this[_0x1a00c2(0x281)][_0x1a00c2(0x260)](),this[_0x1a00c2(0x31c)][_0x1a00c2(0x1b0)]([]),this[_0x1a00c2(0x31c)]['complete']();}['init'](){const _0x2c5c83=_0x27b8a5;this['_init']||(this[_0x2c5c83(0x26d)]=!0x0,this[_0x2c5c83(0x1e1)]['sessionStatus$'][_0x2c5c83(0x424)](_0x5f3a87[_0x2c5c83(0x404)](this[_0x2c5c83(0x214)]))[_0x2c5c83(0x390)](_0x455fe6=>{const _0x3d0ad1=_0x2c5c83;_0x455fe6===_0x5e077a[_0x3d0ad1(0x32e)][_0x3d0ad1(0x3f5)]?this[_0x3d0ad1(0x225)]():this['_toggleOffline']();}),this[_0x2c5c83(0x1e1)][_0x2c5c83(0x3da)][_0x2c5c83(0x424)](_0x5f3a87[_0x2c5c83(0x404)](this[_0x2c5c83(0x214)]))['subscribe'](_0x3a7dfc=>{const _0x215b5e=_0x2c5c83,_0x2318ea=_0x3a7dfc[_0x215b5e(0x289)];_0x2318ea===_0x116245[_0x215b5e(0x430)][_0x215b5e(0x283)]&&this[_0x215b5e(0x269)](_0x3a7dfc),_0x2318ea===_0x116245[_0x215b5e(0x430)]['USERS_LEAVE']&&this[_0x215b5e(0x33b)](_0x3a7dfc);}),this[_0x2c5c83(0x41a)](this['_commandService'][_0x2c5c83(0x3e0)](_0x4e0551=>{const _0x3bef4e=_0x2c5c83,_0x2a861d=_0x4e0551[_0x3bef4e(0x342)];_0x2a861d!=null&&this['_online']&&_0x4e0551['id']===_0xfb74c4[_0x3bef4e(0x3ae)]['id']&&_0x2a861d[_0x3bef4e(0x3ec)]===this['unitID']&&_0x2a861d[_0x3bef4e(0x338)]===!0x1&&_0x2a861d[_0x3bef4e(0x209)]['length']>0x0&&this[_0x3bef4e(0x304)](_0x2a861d[_0x3bef4e(0x209)]);})),this['_syncEditingCollabCursorService'][_0x2c5c83(0x28b)][_0x2c5c83(0x424)](_0x5f3a87[_0x2c5c83(0x404)](this[_0x2c5c83(0x214)]))[_0x2c5c83(0x390)](_0x53a2f6=>{const _0xce5659=_0x2c5c83;if((_0x53a2f6==null?void 0x0:_0x53a2f6[_0xce5659(0x219)])!==this[_0xce5659(0x219)])return;const _0x168cd3={'eventID':_0x116245[_0xce5659(0x430)]['UPDATE_CURSOR'],'data':_0x53a2f6};this[_0xce5659(0x269)](_0x168cd3);}),this[_0x2c5c83(0x41a)](this[_0x2c5c83(0x371)][_0x2c5c83(0x3e0)](_0x8ab102=>{const _0x2b9c80=_0x2c5c83;if(_0x8ab102['params']==null)return;const _0x3b1a84=_0x8ab102['params'];if(_0x8ab102['id']!==_0xfb74c4['RichTextEditingMutation']['id']||_0x3b1a84[_0x2b9c80(0x3ec)]!==this[_0x2b9c80(0x219)])return;const _0x1c1706={'id':_0x2b9c80(0x22e),'params':_0x3b1a84},_0x514142=this[_0x2b9c80(0x2aa)];for(const [_0x3613ff,_0x3c82c2]of _0x514142){const _0x5db0c9={'id':_0x2b9c80(0x22e),'params':{'unitId':this[_0x2b9c80(0x219)],'actions':null,'textRanges':_0x3c82c2[_0x2b9c80(0x209)]}},_0x29d517=this[_0x2b9c80(0x3b0)][_0x2b9c80(0x354)](_0x1c1706,_0x5db0c9,!0x1);if(_0x116245['isTransformMutationFailure'](_0x29d517))throw _0x29d517['error'];_0x514142[_0x2b9c80(0x2eb)](_0x3613ff,{..._0x3c82c2,'ranges':_0x29d517['m2Prime'][_0x2b9c80(0x342)]['textRanges']});}queueMicrotask(()=>{const _0xc7df56=_0x2b9c80;this[_0xc7df56(0x281)][_0xc7df56(0x1b0)](_0x514142);});})));}[_0x27b8a5(0x269)](_0xe6ba35){const _0x23839c=_0x27b8a5;var _0x576c63,_0x66774a;const {memberID:_0x44e26f,selection:_0x135f4a}=_0xe6ba35[_0x23839c(0x3af)],_0x297795=_0x4fdb75(_0x135f4a),_0x452d5d=(_0x66774a=(_0x576c63=this[_0x23839c(0x241)][_0x23839c(0x1f4)](this['unitID'],_0x44e26f))==null?void 0x0:_0x576c63[_0x23839c(0x254)])!=null?_0x66774a:_0x23839c(0x312),_0x1b20a1={'color':this[_0x23839c(0x358)]['assignAColorForMemberID'](_0x44e26f),'name':_0x452d5d,'ranges':_0x297795},_0x40cd0f=this[_0x23839c(0x2aa)];_0x40cd0f[_0x23839c(0x2eb)](_0x44e26f,_0x1b20a1),this[_0x23839c(0x281)][_0x23839c(0x1b0)](_0x40cd0f);}[_0x27b8a5(0x33b)](_0x34350f){const _0xa445f1=_0x27b8a5,{memberID:_0x49a613}=_0x34350f[_0xa445f1(0x3af)],_0x30f164=this[_0xa445f1(0x2aa)];_0x30f164[_0xa445f1(0x295)](_0x49a613),this[_0xa445f1(0x281)][_0xa445f1(0x1b0)](_0x30f164);}[_0x27b8a5(0x225)](){const _0x4356e0=_0x27b8a5;var _0xf9f860;if(this[_0x4356e0(0x1f5)]=!0x0,((_0xf9f860=this[_0x4356e0(0x357)][_0x4356e0(0x3e8)]())==null?void 0x0:_0xf9f860[_0x4356e0(0x3a0)]())!==this[_0x4356e0(0x219)])return;const _0x2a9d95=this[_0x4356e0(0x3fd)][_0x4356e0(0x1e0)](_0xfb74c4[_0x4356e0(0x258)])[_0x4356e0(0x21a)]();Array[_0x4356e0(0x3a5)](_0x2a9d95)&&_0x2a9d95[_0x4356e0(0x1ce)]>0x0&&this[_0x4356e0(0x304)](_0x2a9d95);}[_0x27b8a5(0x31b)](){const _0x3b8ea2=_0x27b8a5;this[_0x3b8ea2(0x1f5)]=!0x1;}};_0x1aa1d7=_0x26005c([_0x3da567(0x2,_0x1690bf['Inject'](_0x1690bf['Injector'])),_0x3da567(0x3,_0x1690bf['Inject'](_0xade64f)),_0x3da567(0x4,_0x1690bf[_0x27b8a5(0x1fe)](_0x5e077a[_0x27b8a5(0x3c2)])),_0x3da567(0x5,_0x1690bf[_0x27b8a5(0x1fe)](_0x564128)),_0x3da567(0x6,_0x116245[_0x27b8a5(0x41b)]),_0x3da567(0x7,_0x1690bf[_0x27b8a5(0x236)]),_0x3da567(0x8,_0x1690bf[_0x27b8a5(0x3fc)])],_0x1aa1d7);var _0x138c0a=Object['getOwnPropertyDescriptor'],_0x3f4288=(_0x2aad58,_0x5915c4,_0x3dff91,_0x3ae9ba)=>{const _0x2635e8=_0x27b8a5;for(var _0x302ea=_0x3ae9ba>0x1?void 0x0:_0x3ae9ba?_0x138c0a(_0x5915c4,_0x3dff91):_0x5915c4,_0x538ec0=_0x2aad58[_0x2635e8(0x1ce)]-0x1,_0x5cf308;_0x538ec0>=0x0;_0x538ec0--)(_0x5cf308=_0x2aad58[_0x538ec0])&&(_0x302ea=_0x5cf308(_0x302ea)||_0x302ea);return _0x302ea;},_0xa9bb7f=(_0x1fbe3b,_0x4bf5f6)=>(_0x3d5f47,_0x49e88e)=>_0x4bf5f6(_0x3d5f47,_0x49e88e,_0x1fbe3b);const _0x31c966=0x12c,_0x2ca678=0x64,_0xa13c37=()=>{let _0x3c5912=[],_0x388ccf=!0x1;return _0x8cd942=>{_0x3c5912['push'](_0x8cd942),_0x388ccf||(_0x388ccf=!0x0,setTimeout(()=>{const _0x1704ee=_0x242f;_0x3c5912[_0x1704ee(0x2ad)](_0x24bdf8=>_0x24bdf8()),_0x3c5912=[],_0x388ccf=!0x1;}));};};let _0x47113a=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x36afef,_0x2e9e3b,_0x448cb7,_0x5704bb,_0x4a3db4,_0x21c351,_0x3a523e,_0x4f5c01){const _0x53b045=_0x27b8a5;super(),_0x42073c(this,'_online',!0x1),_0x42073c(this,_0x53b045(0x26d),!0x1),_0x42073c(this,_0x53b045(0x281),new _0x5f3a87['BehaviorSubject'](new Map())),_0x42073c(this,_0x53b045(0x363),this[_0x53b045(0x281)][_0x53b045(0x355)]()),_0x42073c(this,_0x53b045(0x31c),new _0x5f3a87[(_0x53b045(0x1d9))]([])),_0x42073c(this,'roomMembers$',this[_0x53b045(0x31c)][_0x53b045(0x424)](_0x5f3a87[_0x53b045(0x419)](_0x31c966))),_0x42073c(this,_0x53b045(0x304),_0x1690bf[_0x53b045(0x3d7)]((_0x3ac6d0,_0x238580)=>{const _0x220ac9=_0x53b045,_0x5be967={'eventID':_0x116245[_0x220ac9(0x430)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x220ac9(0x219)],'memberID':this['_session'][_0x220ac9(0x384)](),'selection':_0x14ad49[_0x220ac9(0x34c)](_0x3ac6d0,_0x238580[_0x220ac9(0x337)])}};this[_0x220ac9(0x1e1)][_0x220ac9(0x222)](_0x5be967,this['unitID']);},_0x2ca678)),(this[_0x53b045(0x219)]=_0x36afef,this[_0x53b045(0x1e1)]=_0x2e9e3b,this['_injector']=_0x448cb7,this['_colorAssignService']=_0x5704bb,this[_0x53b045(0x241)]=_0x4a3db4,this[_0x53b045(0x357)]=_0x21c351,this[_0x53b045(0x371)]=_0x3a523e,this[_0x53b045(0x35a)]=_0x4f5c01);}get[_0x27b8a5(0x2aa)](){const _0x31f067=_0x27b8a5;return this[_0x31f067(0x281)][_0x31f067(0x331)]();}get[_0x27b8a5(0x35f)](){const _0x126daf=_0x27b8a5;return this['_roomMembers$'][_0x126daf(0x331)]();}[_0x27b8a5(0x436)](){const _0x2e28d7=_0x27b8a5;super[_0x2e28d7(0x436)](),this[_0x2e28d7(0x281)][_0x2e28d7(0x1b0)](new Map()),this[_0x2e28d7(0x281)][_0x2e28d7(0x260)](),this[_0x2e28d7(0x31c)]['next']([]),this[_0x2e28d7(0x31c)][_0x2e28d7(0x260)]();}[_0x27b8a5(0x3a3)](){const _0x14eb0c=_0x27b8a5;this[_0x14eb0c(0x26d)]||(this[_0x14eb0c(0x26d)]=!0x0,this['_session'][_0x14eb0c(0x23e)]['pipe'](_0x5f3a87['takeUntil'](this[_0x14eb0c(0x214)]))[_0x14eb0c(0x390)](_0x5edc0f=>{const _0x36b808=_0x14eb0c;_0x5edc0f===_0x5e077a[_0x36b808(0x32e)]['ONLINE']?this[_0x36b808(0x225)]():this[_0x36b808(0x31b)]();}),this[_0x14eb0c(0x1e1)][_0x14eb0c(0x3da)][_0x14eb0c(0x424)](_0x5f3a87[_0x14eb0c(0x404)](this['dispose$']))['subscribe'](_0x4f0959=>{const _0xbf7ac=_0x14eb0c,_0x4ba505=_0x4f0959[_0xbf7ac(0x289)];_0x4ba505===_0x116245['CollaborationEvent'][_0xbf7ac(0x283)]&&this[_0xbf7ac(0x269)](_0x4f0959),_0x4ba505===_0x116245[_0xbf7ac(0x430)][_0xbf7ac(0x2c2)]&&this[_0xbf7ac(0x33b)](_0x4f0959);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x14eb0c(0x371)][_0x14eb0c(0x3e0)](_0x2dc5d4=>{const _0x1efe51=_0x14eb0c;if(this[_0x1efe51(0x1f5)]&&_0x2dc5d4['id']===_0x15fec7['SetSelectionsOperation']['id']&&_0x2dc5d4['params'][_0x1efe51(0x3ec)]===this[_0x1efe51(0x219)]){const _0x167d03=_0x2dc5d4[_0x1efe51(0x342)];this[_0x1efe51(0x304)](_0x167d03[_0x1efe51(0x215)],_0x167d03[_0x1efe51(0x362)][0x0]);}})));}[_0x27b8a5(0x269)](_0x34633b){const _0x5856ce=_0x27b8a5;var _0x142c10,_0x37e40c;const {memberID:_0x4f79e5,selection:_0x591a7a}=_0x34633b[_0x5856ce(0x3af)],{sheetName:_0x587190,range:_0x1cd18b}=_0x14ad49[_0x5856ce(0x1d7)](_0x591a7a),_0xc1b9ed={'name':(_0x37e40c=(_0x142c10=this[_0x5856ce(0x241)][_0x5856ce(0x1f4)](this['unitID'],_0x4f79e5))==null?void 0x0:_0x142c10[_0x5856ce(0x254)])!=null?_0x37e40c:_0x5856ce(0x312),'range':this[_0x5856ce(0x274)](_0x587190,_0x1cd18b),'sheetID':_0x587190,'color':this[_0x5856ce(0x358)]['assignAColorForMemberID'](_0x4f79e5),'selection':_0x591a7a},_0x358d99=this[_0x5856ce(0x2aa)];_0x358d99[_0x5856ce(0x2eb)](_0x4f79e5,_0xc1b9ed),this[_0x5856ce(0x281)]['next'](_0x358d99);}[_0x27b8a5(0x33b)](_0x426280){const _0x539954=_0x27b8a5,{memberID:_0x353724}=_0x426280[_0x539954(0x3af)],_0x4e28e4=this[_0x539954(0x2aa)];_0x4e28e4['delete'](_0x353724),this[_0x539954(0x281)]['next'](_0x4e28e4);}[_0x27b8a5(0x274)](_0x1c7fb2,_0x3390ac){const _0xf331a3=_0x27b8a5;var _0x194b3c,_0x3d91ee;const _0x6e07d9=(_0x3d91ee=(_0x194b3c=this[_0xf331a3(0x357)][_0xf331a3(0x242)](this[_0xf331a3(0x219)]))==null?void 0x0:_0x194b3c[_0xf331a3(0x212)](_0x1c7fb2))==null?void 0x0:_0x3d91ee[_0xf331a3(0x39f)]();return(_0x6e07d9==null?void 0x0:_0x6e07d9[_0xf331a3(0x1b4)](_0x19b22f=>_0x1690bf['Rectangle'][_0xf331a3(0x33e)](_0x19b22f,_0x3390ac)))||_0x3390ac;}[_0x27b8a5(0x252)](){const _0x3ffbbf=_0x27b8a5,_0x16b4b6=new _0x1690bf[(_0x3ffbbf(0x1d6))](),_0x254afc=_0xa13c37(),_0x545992=()=>{const _0x44503e=_0x3ffbbf;_0x16b4b6[_0x44503e(0x436)]();const _0x5bc125=(_0x39ae5a,_0x407266,_0x2f41da,_0xa12110)=>{const _0x569624=_0x44503e;let _0x106e3d=[];switch(_0x39ae5a['id']){case _0x15fec7[_0x569624(0x1e9)][_0x569624(0x348)]:{_0x106e3d=_0x15fec7[_0x569624(0x3b9)](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)]['DeleteRangeMoveUpCommandId']:{_0x106e3d=_0x15fec7[_0x569624(0x1d3)](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)][_0x569624(0x417)]:{_0x106e3d=_0x15fec7[_0x569624(0x3bd)](_0x39ae5a,_0xa12110);break;}case _0x15fec7['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x106e3d=_0x15fec7[_0x569624(0x25c)](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)]['InsertRangeMoveRightCommandId']:{_0x106e3d=_0x15fec7[_0x569624(0x1c0)](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)][_0x569624(0x36b)]:{_0x106e3d=_0x15fec7['handleInsertRow'](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)]['MoveRangeCommandId']:{_0x106e3d=_0x15fec7['handleMoveRange'](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)][_0x569624(0x1fb)]:{_0x106e3d=_0x15fec7[_0x569624(0x320)](_0x39ae5a,_0xa12110);break;}case _0x15fec7[_0x569624(0x1e9)][_0x569624(0x366)]:{_0x106e3d=_0x15fec7['handleIRemoveRow'](_0x39ae5a,_0xa12110);break;}}const _0xf7d227=_0x15fec7[_0x569624(0x3f8)](_0x106e3d,_0xa12110),_0x15b47f=this['cursorInfo'][_0x569624(0x1e0)](_0x407266);if(_0x15b47f&&_0xf7d227){const _0x1c709e={..._0x15b47f,'range':_0xf7d227};this[_0x569624(0x2aa)][_0x569624(0x2eb)](_0x407266,_0x1c709e),_0x254afc(()=>{const _0xd33bdb=_0x569624,_0x43d5ef=this['_refRangeService']['registerRefRange'](_0xf7d227,_0x25817d=>(_0x43d5ef[_0xd33bdb(0x436)](),_0x5bc125(_0x25817d,_0x407266,_0x2f41da,_0xf7d227)));_0x16b4b6['add'](_0x43d5ef);});}return{'redos':[],'undos':[]};};this[_0x44503e(0x2aa)]['forEach']((_0xfd0a5b,_0x16bee6)=>{const _0x35cdf0=_0x44503e,{range:_0x5af3fe,sheetID:_0xdb7b01}=_0xfd0a5b,_0x2b2abe=this['_refRangeService'][_0x35cdf0(0x2e4)](_0x5af3fe,_0x2ffa1b=>(_0x2b2abe['dispose'](),_0x5bc125(_0x2ffa1b,_0x16bee6,_0xdb7b01,_0x5af3fe)));_0x16b4b6[_0x35cdf0(0x2e2)](_0x2b2abe);});};this[_0x3ffbbf(0x41a)](_0x1690bf[_0x3ffbbf(0x278)](this['_cursorInfo$']['subscribe'](()=>{_0x545992();})));}[_0x27b8a5(0x225)](){const _0x197ee6=_0x27b8a5;var _0x44d423,_0x58e44e;if(this[_0x197ee6(0x1f5)]=!0x0,((_0x44d423=this[_0x197ee6(0x357)][_0x197ee6(0x3e8)]())==null?void 0x0:_0x44d423[_0x197ee6(0x3a0)]())!==this[_0x197ee6(0x219)])return;const _0x2ab0c6=(_0x58e44e=this['_injector'][_0x197ee6(0x1e0)](_0x15fec7['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x58e44e[0x0],_0x469fb9=this[_0x197ee6(0x357)][_0x197ee6(0x240)](_0x1690bf[_0x197ee6(0x204)][_0x197ee6(0x400)])[_0x197ee6(0x438)]();_0x2ab0c6&&_0x469fb9&&this[_0x197ee6(0x304)](_0x469fb9[_0x197ee6(0x3ac)](),_0x2ab0c6);}['_toggleOffline'](){this['_online']=!0x1;}};_0x47113a=_0x3f4288([_0xa9bb7f(0x2,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x238)])),_0xa9bb7f(0x3,_0x1690bf[_0x27b8a5(0x1fe)](_0xade64f)),_0xa9bb7f(0x4,_0x1690bf[_0x27b8a5(0x1fe)](_0x5e077a[_0x27b8a5(0x3c2)])),_0xa9bb7f(0x5,_0x1690bf[_0x27b8a5(0x236)]),_0xa9bb7f(0x6,_0x1690bf[_0x27b8a5(0x3fc)]),_0xa9bb7f(0x7,_0x1690bf['Inject'](_0x15fec7[_0x27b8a5(0x273)]))],_0x47113a);var _0x588409=Object['getOwnPropertyDescriptor'],_0x453cd9=(_0x4beae6,_0x1b91b4,_0x456f60,_0x28e04f)=>{const _0x594114=_0x27b8a5;for(var _0x711cbe=_0x28e04f>0x1?void 0x0:_0x28e04f?_0x588409(_0x1b91b4,_0x456f60):_0x1b91b4,_0x5ef711=_0x4beae6[_0x594114(0x1ce)]-0x1,_0x4571f1;_0x5ef711>=0x0;_0x5ef711--)(_0x4571f1=_0x4beae6[_0x5ef711])&&(_0x711cbe=_0x4571f1(_0x711cbe)||_0x711cbe);return _0x711cbe;},_0x1892ce=(_0x3f1a53,_0x4e9e4f)=>(_0x5215fc,_0x2c9d37)=>_0x4e9e4f(_0x5215fc,_0x2c9d37,_0x3f1a53);let _0x4c67b1=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x5b6752,_0x4945a2,_0x59b0e7){const _0xe013d3=_0x27b8a5;super(),_0x42073c(this,_0xe013d3(0x3f2),new Map()),_0x42073c(this,_0xe013d3(0x314),new _0x5f3a87[(_0xe013d3(0x435))]()),(this[_0xe013d3(0x357)]=_0x5b6752,this[_0xe013d3(0x3fd)]=_0x4945a2,this[_0xe013d3(0x42d)]=_0x59b0e7,this[_0xe013d3(0x26d)]());}['dispose'](){const _0x9acc9e=_0x27b8a5;super['dispose'](),this[_0x9acc9e(0x314)][_0x9acc9e(0x260)](),this[_0x9acc9e(0x3f2)][_0x9acc9e(0x2ad)](_0x1a4b1b=>_0x1a4b1b['dispose']());}[_0x27b8a5(0x232)](_0x1a5b3c){const _0x21a05d=_0x27b8a5;return this[_0x21a05d(0x3f2)][_0x21a05d(0x288)](_0x1a5b3c)?this[_0x21a05d(0x3f2)][_0x21a05d(0x1e0)](_0x1a5b3c)[_0x21a05d(0x363)]:this[_0x21a05d(0x314)]['pipe'](_0x5f3a87[_0x21a05d(0x3d3)](_0x1f68d8=>_0x1f68d8['unitID']===_0x1a5b3c),_0x5f3a87[_0x21a05d(0x1bb)](_0x3bf988=>_0x3bf988[_0x21a05d(0x363)]));}[_0x27b8a5(0x26d)](){const _0x67de65=_0x27b8a5;this[_0x67de65(0x357)]['getTypeOfUnitAdded$'](_0x1690bf[_0x67de65(0x204)][_0x67de65(0x400)])[_0x67de65(0x424)](_0x5f3a87[_0x67de65(0x404)](this[_0x67de65(0x214)]))[_0x67de65(0x390)](async _0x5de01a=>{const _0x419594=_0x67de65,_0xe9b668=_0x5de01a['getUnitId'](),_0x521380=await this[_0x419594(0x433)](_0xe9b668);this[_0x419594(0x314)][_0x419594(0x1b0)](_0x521380),this[_0x419594(0x3f2)][_0x419594(0x2eb)](_0xe9b668,_0x521380);}),this['_univerInstanceService'][_0x67de65(0x27d)](_0x1690bf['UniverInstanceType'][_0x67de65(0x34b)])[_0x67de65(0x424)](_0x5f3a87[_0x67de65(0x404)](this[_0x67de65(0x214)]))[_0x67de65(0x424)](_0x5f3a87['filter'](_0x41e376=>!_0x41e376['getUnitId']()[_0x67de65(0x40c)]('__')))[_0x67de65(0x390)](async _0x27d716=>{const _0x5eeafc=_0x67de65,_0x5ad422=_0x27d716[_0x5eeafc(0x3a0)](),_0x1181c3=await this['_startDocCollabCursor'](_0x5ad422);this[_0x5eeafc(0x314)][_0x5eeafc(0x1b0)](_0x1181c3),this['_entities']['set'](_0x5ad422,_0x1181c3);}),_0x5f3a87[_0x67de65(0x231)](this['_univerInstanceService'][_0x67de65(0x27a)](_0x1690bf[_0x67de65(0x204)][_0x67de65(0x34b)]),this[_0x67de65(0x357)][_0x67de65(0x27a)](_0x1690bf[_0x67de65(0x204)][_0x67de65(0x400)]))['pipe'](_0x5f3a87[_0x67de65(0x404)](this[_0x67de65(0x214)]))[_0x67de65(0x390)](_0x2abb7c=>{const _0x16076a=_0x67de65,_0x98c2e3=_0x2abb7c[_0x16076a(0x3a0)](),_0x2364b0=this[_0x16076a(0x3f2)][_0x16076a(0x1e0)](_0x98c2e3);_0x2364b0&&(_0x2364b0[_0x16076a(0x436)](),this[_0x16076a(0x3f2)][_0x16076a(0x295)](_0x98c2e3));});}async[_0x27b8a5(0x433)](_0x460114){const _0x176a90=_0x27b8a5,_0x185a08=await this[_0x176a90(0x42d)][_0x176a90(0x265)](_0x460114),_0x5bc600=this['_injector'][_0x176a90(0x24e)](_0x47113a,_0x460114,_0x185a08);return _0x5bc600['init'](),_0x5bc600;}async[_0x27b8a5(0x42e)](_0x4dd1c6){const _0xe40c14=_0x27b8a5,_0x21f530=await this[_0xe40c14(0x42d)][_0xe40c14(0x265)](_0x4dd1c6),_0x2f8c50=this[_0xe40c14(0x3fd)][_0xe40c14(0x24e)](_0x1aa1d7,_0x4dd1c6,_0x21f530);return _0x2f8c50['init'](),_0x2f8c50;}};_0x4c67b1=_0x453cd9([_0x1892ce(0x0,_0x1690bf[_0x27b8a5(0x236)]),_0x1892ce(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x238)])),_0x1892ce(0x2,_0x1690bf[_0x27b8a5(0x1fe)](_0x5e077a[_0x27b8a5(0x1bd)]))],_0x4c67b1);const _0x435ca3=0x14,_0x478d45=0xc8,_0x4a4c25=0x4,_0x8fd946=0x5;function _0x3879d5(_0x48f552,_0x468934){const _0x5199be=_0x27b8a5;let {radius:_0x41fedf,width:_0x43af9f,height:_0x1de673}=_0x468934;_0x41fedf=_0x41fedf!=null?_0x41fedf:0x0,_0x43af9f=_0x43af9f!=null?_0x43af9f:0x1e,_0x1de673=_0x1de673!=null?_0x1de673:0x1e;let _0x1cd0fa=0x0,_0x475e75=0x0,_0x4eb87c=0x0;_0x1cd0fa=_0x475e75=_0x4eb87c=Math[_0x5199be(0x3d6)](_0x41fedf,_0x43af9f/0x2,_0x1de673/0x2),_0x48f552[_0x5199be(0x1c8)](),_0x48f552['moveTo'](_0x1cd0fa,0x0),_0x48f552['lineTo'](_0x43af9f-_0x475e75,0x0),_0x48f552['arc'](_0x43af9f-_0x475e75,_0x475e75,_0x475e75,Math['PI']*0x3/0x2,0x0,!0x1),_0x48f552[_0x5199be(0x291)](_0x43af9f,_0x1de673-_0x4eb87c),_0x48f552['arc'](_0x43af9f-_0x4eb87c,_0x1de673-_0x4eb87c,_0x4eb87c,0x0,Math['PI']/0x2,!0x1),_0x48f552[_0x5199be(0x291)](0x0,_0x1de673),_0x48f552[_0x5199be(0x291)](0x0,_0x1cd0fa),_0x48f552[_0x5199be(0x294)](_0x1cd0fa,_0x1cd0fa,_0x1cd0fa,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48f552['closePath'](),_0x468934[_0x5199be(0x20a)]&&(_0x48f552[_0x5199be(0x2bf)](),_0x48f552[_0x5199be(0x3db)]=_0x468934[_0x5199be(0x20a)],_0x468934['fillRule']==='evenodd'?_0x48f552[_0x5199be(0x20a)]('evenodd'):_0x48f552['fill'](),_0x48f552[_0x5199be(0x247)]());}class _0x4c70b6 extends _0x33db0a[_0x27b8a5(0x3b6)]{constructor(_0x5c6031,_0x40f1f0){const _0x58e44c=_0x27b8a5;super(_0x5c6031,_0x40f1f0),_0x42073c(this,_0x58e44c(0x40a)),_0x42073c(this,_0x58e44c(0x351)),(this[_0x58e44c(0x40a)]=_0x40f1f0==null?void 0x0:_0x40f1f0[_0x58e44c(0x40a)],this['text']=_0x40f1f0==null?void 0x0:_0x40f1f0[_0x58e44c(0x351)]);}static[_0x27b8a5(0x272)](_0xc1d09,_0x209739){const _0x2085e2=_0x27b8a5,{text:_0x41949b,color:_0xcfe739}=_0x209739;_0xc1d09[_0x2085e2(0x2bf)](),_0xc1d09[_0x2085e2(0x398)]=_0x2085e2(0x3c7);const _0x5ef46f=_0xc1d09['measureText'](_0x41949b)['width'],_0x1996ef=Math[_0x2085e2(0x3d6)](_0x5ef46f+0x2*_0x4a4c25,_0x478d45);_0x3879d5(_0xc1d09,{'height':_0x435ca3,'radius':0x4,'width':_0x1996ef,'fill':_0xcfe739}),_0xc1d09[_0x2085e2(0x3db)]=_0x2085e2(0x35d);const _0x199de7=_0x4a4c25,_0x461435=_0x435ca3-_0x8fd946,_0x45a5c5=_0x478d45-0x2*_0x4a4c25;if(_0x5ef46f>_0x45a5c5){let _0x1ac166='',_0x5493b9=0x0;for(const _0x2d58be of _0x41949b){const _0x50d92f=_0xc1d09[_0x2085e2(0x3d2)](_0x2d58be)[_0x2085e2(0x350)];if(_0x5493b9+_0x50d92f<=_0x45a5c5-_0xc1d09['measureText']('...')['width'])_0x1ac166+=_0x2d58be,_0x5493b9+=_0x50d92f;else{_0x1ac166+=_0x2085e2(0x243);break;}}_0xc1d09[_0x2085e2(0x1cd)](_0x1ac166,_0x199de7,_0x461435);}else _0xc1d09[_0x2085e2(0x1cd)](_0x41949b,_0x199de7,_0x461435);_0xc1d09[_0x2085e2(0x247)]();}[_0x27b8a5(0x299)](_0x3ea09b){const _0x3d897d=_0x27b8a5;_0x4c70b6[_0x3d897d(0x272)](_0x3ea09b,this);}}const _0x1fd0fa='collab-text-anchor-',_0xb847b0=_0x27b8a5(0x2a5),_0x44a538=_0x27b8a5(0x3ef),_0x49be77=0x6,_0x4599d0=1.5,_0x4807c2=0x4,_0x23cbe8=1.5,_0x4e7290=_0x27b8a5(0x317);class _0x43a2a3{constructor(_0x40e820,_0x519d82,_0x3d610a,_0x361f3a){const _0x516362=_0x27b8a5;_0x42073c(this,'_shapes',[]),_0x42073c(this,_0x516362(0x2cf),null),_0x42073c(this,_0x516362(0x235),null),_0x42073c(this,_0x516362(0x377),null),_0x42073c(this,_0x516362(0x359),null),_0x42073c(this,_0x516362(0x1c5),null),(this[_0x516362(0x2d9)]=_0x40e820,this[_0x516362(0x2e0)]=_0x519d82,this[_0x516362(0x2ba)]=_0x3d610a,this['_document']=_0x361f3a,this['_render']());}set[_0x27b8a5(0x35b)](_0x26168d){const _0x545813=_0x27b8a5;_0x26168d?(this['_anchorDot']&&this[_0x545813(0x377)][_0x545813(0x210)](),this[_0x545813(0x235)]&&this[_0x545813(0x235)][_0x545813(0x2ee)]()):(this[_0x545813(0x377)]&&this[_0x545813(0x377)]['show'](),this[_0x545813(0x235)]&&this[_0x545813(0x235)][_0x545813(0x210)]());}['dispose'](){const _0x2969b5=_0x27b8a5;for(const _0x4bca7a of this[_0x2969b5(0x2ab)])_0x4bca7a[_0x2969b5(0x436)]();this[_0x2969b5(0x235)]&&this[_0x2969b5(0x235)][_0x2969b5(0x436)](),this[_0x2969b5(0x377)]&&this[_0x2969b5(0x377)]['dispose'](),this[_0x2969b5(0x2cf)]&&this[_0x2969b5(0x2cf)]['dispose'](),this[_0x2969b5(0x1c5)]&&this[_0x2969b5(0x1c5)]();}['_render'](){const _0x3a47a7=_0x27b8a5;var _0x2162de;const {_docSkeleton:_0x161879,_document:_0x45f203}=this,{color:_0x6a0d12,name:_0x21b0ea,ranges:_0x38c0bf}=this[_0x3a47a7(0x2d9)],_0x5beab3=_0x45f203['getOffsetConfig'](),{docsLeft:_0x567b7f,docsTop:_0x4392d3}=_0x5beab3,_0xe5c972=new _0x47ddb5[(_0x3a47a7(0x3df))](_0x5beab3,_0x161879);for(const {startOffset:_0x49b76e,endOffset:_0x49b371,rangeType:_0x165deb,segmentId:_0xeb7c43,segmentPage:_0x216e16,collapsed:_0x6e8a65,isActive:_0x13114d}of _0x38c0bf){const _0x9a23ba=_0x161879['findNodePositionByCharIndex'](_0x49b76e,!0x0,_0xeb7c43,_0x216e16);let _0x2a92a1=_0x161879[_0x3a47a7(0x24b)](_0x49b371,!0x0,_0xeb7c43,_0x216e16);if(_0x2a92a1==null&&(_0x2a92a1=_0x161879[_0x3a47a7(0x24b)](_0x49b371-0x1,!0x1,_0xeb7c43,_0x216e16)),_0x13114d){const {contentBoxPointGroup:_0x3f2498}=_0xe5c972[_0x3a47a7(0x307)](_0x2a92a1,_0x2a92a1);if(_0x3f2498[_0x3a47a7(0x1ce)]===0x0)continue;this[_0x3a47a7(0x239)](_0x6a0d12,_0x3f2498,_0x567b7f,_0x4392d3,_0x21b0ea),this[_0x3a47a7(0x1c5)]=this[_0x3a47a7(0x25d)]();}if(_0x9a23ba&&_0x2a92a1){if(_0x165deb===_0x1690bf[_0x3a47a7(0x2da)][_0x3a47a7(0x30b)]){const _0x5a2842=new _0x47ddb5[(_0x3a47a7(0x3ad))](_0x5beab3,_0x161879),{pointGroup:_0xd7aaaa}=(_0x2162de=_0x5a2842[_0x3a47a7(0x307)](_0x9a23ba,_0x2a92a1))!=null?_0x2162de:{};if(_0xd7aaaa==null||_0xd7aaaa[_0x3a47a7(0x1ce)]===0x0)continue;this['_drawRectRange'](_0x6a0d12,_0xd7aaaa,_0x567b7f,_0x4392d3);}else{if(!_0x6e8a65){const {borderBoxPointGroup:_0x57db6e}=_0xe5c972['getRangePointData'](_0x9a23ba,_0x2a92a1);if(_0x57db6e[_0x3a47a7(0x1ce)]===0x0)continue;this['_drawTextRange'](_0x6a0d12,_0x57db6e,_0x567b7f,_0x4392d3);}}}}}[_0x27b8a5(0x239)](_0x3fd497,_0x12fb2a,_0x4fe355,_0x10f8bd,_0x2e9ed8){const _0x1b92de=_0x27b8a5,_0x841f45=this[_0x1b92de(0x334)](_0x12fb2a),{left:_0x793ab5,top:_0x48a5bf,height:_0x1f0252}=_0x841f45,_0x5918d8=this[_0x1b92de(0x2ef)](),_0x5ba98a=_0x23cbe8/_0x5918d8,_0x55dc4f=new _0x33db0a[(_0x1b92de(0x3cc))](_0x1fd0fa+_0x1690bf[_0x1b92de(0x1cf)](_0x49be77),{'left':_0x793ab5+_0x4fe355-_0x5ba98a,'top':_0x48a5bf+_0x10f8bd,'height':_0x1f0252,'width':_0x4599d0,'fill':_0x3fd497||_0x33db0a[_0x1b92de(0x25b)](_0x1690bf[_0x1b92de(0x2de)]['black'],0x0),'strokeWidth':_0x5ba98a,'stroke':_0x4e7290,'evented':!0x0});this['_anchor']=_0x55dc4f,this[_0x1b92de(0x2e0)][_0x1b92de(0x403)](_0x55dc4f,_0x47ddb5['TEXT_RANGE_LAYER_INDEX']);const _0x144562=new _0x33db0a[(_0x1b92de(0x3cc))](_0x1fd0fa+_0x1690bf[_0x1b92de(0x1cf)](_0x49be77),{'left':_0x793ab5+_0x4fe355-_0x5ba98a,'top':_0x48a5bf+_0x10f8bd-_0x4807c2/0x2,'height':_0x4807c2,'width':_0x4807c2,'fill':_0x3fd497||_0x33db0a[_0x1b92de(0x25b)](_0x1690bf['COLORS'][_0x1b92de(0x36c)],0x0),'strokeWidth':0x0,'stroke':_0x3fd497||_0x33db0a[_0x1b92de(0x25b)](_0x1690bf[_0x1b92de(0x2de)][_0x1b92de(0x36c)],0x0),'evented':!0x1});this[_0x1b92de(0x377)]=_0x144562,this['_scene'][_0x1b92de(0x403)](_0x144562,_0x47ddb5[_0x1b92de(0x3d8)]);const _0x1027de=new _0x4c70b6(_0x1fd0fa+_0x1690bf[_0x1b92de(0x1cf)](_0x49be77),{'left':_0x793ab5+_0x4fe355-_0x5ba98a,'top':_0x48a5bf+_0x10f8bd-_0x435ca3,'text':_0x2e9ed8,'color':_0x3fd497});this[_0x1b92de(0x235)]=_0x1027de,this['_scene'][_0x1b92de(0x403)](_0x1027de,_0x47ddb5[_0x1b92de(0x3d8)]),this[_0x1b92de(0x35b)]=!0x1;}[_0x27b8a5(0x25d)](){const _0x930a1=_0x27b8a5,_0xfdb62b=this[_0x930a1(0x2cf)][_0x930a1(0x3c5)]['subscribeEvent'](()=>{const _0x4f1539=_0x930a1;this[_0x4f1539(0x35b)]=!0x0;}),_0x1bfa34=this[_0x930a1(0x2cf)][_0x930a1(0x201)]['subscribeEvent'](()=>{const _0x33b0fa=_0x930a1;this[_0x33b0fa(0x359)]&&clearTimeout(this[_0x33b0fa(0x359)]),this[_0x33b0fa(0x359)]=setTimeout(()=>{const _0x204599=_0x33b0fa;this[_0x204599(0x35b)]=!0x1;},0x7d0);});return()=>{const _0x3125ad=_0x930a1;_0xfdb62b[_0x3125ad(0x1db)](),_0x1bfa34['unsubscribe']();};}[_0x27b8a5(0x1e2)](_0x13a6c6,_0x199c2d,_0x29da1f,_0x1e1210){const _0x18ae87=_0x27b8a5,_0xcdda63=new _0x1690bf[(_0x18ae87(0x43c))](_0x13a6c6)[_0x18ae87(0x2cd)](0.2)[_0x18ae87(0x3c8)](),_0x257275=new _0x33db0a['RegularPolygon'](_0xb847b0+_0x1690bf['generateRandomId'](_0x49be77),{'pointsGroup':_0x199c2d,'fill':_0xcdda63||_0x33db0a[_0x18ae87(0x25b)](_0x1690bf['COLORS'][_0x18ae87(0x36c)],0.2),'left':_0x29da1f,'top':_0x1e1210,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x18ae87(0x2ab)][_0x18ae87(0x2a7)](_0x257275),this[_0x18ae87(0x2e0)]['addObject'](_0x257275,_0x47ddb5[_0x18ae87(0x3d8)]);}[_0x27b8a5(0x2e3)](_0x50ab8e,_0x38b81c,_0x407195,_0x512ec1){const _0x46a964=_0x27b8a5,_0x40d078=new _0x1690bf[(_0x46a964(0x43c))](_0x50ab8e)[_0x46a964(0x2cd)](0.2)['toRgbString'](),_0x317604=new _0x33db0a[(_0x46a964(0x3e2))](_0x44a538+_0x1690bf['generateRandomId'](_0x49be77),{'pointsGroup':_0x38b81c,'fill':_0x40d078||_0x33db0a['getColor'](_0x1690bf[_0x46a964(0x2de)][_0x46a964(0x36c)],0.2),'left':_0x407195,'top':_0x512ec1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46a964(0x2ab)]['push'](_0x317604),this['_scene'][_0x46a964(0x403)](_0x317604,_0x47ddb5['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x24216f){const _0xcde433=_0x24216f[0x0],_0x52a5ca=_0xcde433[0x0],_0x439e7e=_0xcde433[0x2],{x:_0x48d7ac,y:_0x1e166f}=_0x52a5ca,{x:_0x83b5dc,y:_0x30b123}=_0x439e7e;return{'left':_0x48d7ac,'top':_0x1e166f,'width':_0x83b5dc-_0x48d7ac,'height':_0x30b123-_0x1e166f};}['_getScale'](){const _0x48b0e2=_0x27b8a5,{scaleX:_0x507c56,scaleY:_0x5b459c}=this['_scene'][_0x48b0e2(0x33c)]();return Math[_0x48b0e2(0x333)](_0x507c56,_0x5b459c);}}var _0x38e566=Object[_0x27b8a5(0x23a)],_0x5ddc39=(_0xcae26c,_0x1c7982,_0x172f19,_0x1fad3b)=>{for(var _0x5123c1=_0x1fad3b>0x1?void 0x0:_0x1fad3b?_0x38e566(_0x1c7982,_0x172f19):_0x1c7982,_0x3918fe=_0xcae26c['length']-0x1,_0x1e94fb;_0x3918fe>=0x0;_0x3918fe--)(_0x1e94fb=_0xcae26c[_0x3918fe])&&(_0x5123c1=_0x1e94fb(_0x5123c1)||_0x5123c1);return _0x5123c1;},_0x177dc2=(_0x455f7f,_0x3d9d4f)=>(_0x5b911f,_0x334adb)=>_0x3d9d4f(_0x5b911f,_0x334adb,_0x455f7f);let _0x6e7c16=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x2ce878,_0x5ad03d,_0x1996f3,_0xb5eeac,_0x317952){const _0x279e95=_0x27b8a5;super(),_0x42073c(this,'_cursorShapes',[]),_0x42073c(this,'_cursors',[]),(this[_0x279e95(0x36d)]=_0x2ce878,this[_0x279e95(0x364)]=_0x5ad03d,this[_0x279e95(0x26a)]=_0x1996f3,this[_0x279e95(0x371)]=_0xb5eeac,this[_0x279e95(0x2f6)]=_0x317952,this[_0x279e95(0x26d)]());}[_0x27b8a5(0x26d)](){const _0x5bf7c2=_0x27b8a5,_0x10abc2=this['_context'][_0x5bf7c2(0x3ec)],_0x5683ec=this[_0x5bf7c2(0x364)];this['disposeWithMe'](_0x5f3a87[_0x5bf7c2(0x1c7)]([this[_0x5bf7c2(0x26a)][_0x5bf7c2(0x232)](_0x10abc2),this[_0x5bf7c2(0x2f6)]['currentTheme$']])[_0x5bf7c2(0x424)](_0x47fb2a['map'](([_0x564bfb,_0x1dc144])=>({'skeleton':_0x5683ec['getSkeleton'](),'cursors':[..._0x564bfb[_0x5bf7c2(0x1e4)]()]['flatMap'](_0x134fc5=>({..._0x134fc5,'color':this[_0x5bf7c2(0x2f6)][_0x5bf7c2(0x3e1)](_0x134fc5[_0x5bf7c2(0x40a)])}))})))['subscribe'](_0x5f4673=>{const _0x981d97=_0x5bf7c2;if(this['_removeCollabCursors'](),_0x5f4673){const {skeleton:_0x484364,cursors:_0x27eb93}=_0x5f4673;this[_0x981d97(0x276)](_0x484364,_0x27eb93);}})),this['_initResize'](),this[_0x5bf7c2(0x3fe)]();}[_0x27b8a5(0x276)](_0x3dfdb8,_0x4d5afd){const _0x4c8e92=_0x27b8a5,{scene:_0x35d8eb,mainComponent:_0x1af25c}=this[_0x4c8e92(0x36d)],_0x4eb571=_0x4d5afd[_0x4c8e92(0x347)](_0x11a204=>new _0x43a2a3(_0x11a204,_0x35d8eb,_0x3dfdb8,_0x1af25c));this[_0x4c8e92(0x37f)]=_0x4eb571,this['_cursors']=_0x4d5afd;}[_0x27b8a5(0x1be)](){const _0x1d1872=_0x27b8a5;this[_0x1d1872(0x35c)]();const {scene:_0x1e199f,mainComponent:_0xcdd811}=this[_0x1d1872(0x36d)],_0x34514f=this['_docSkeletonManagerService'][_0x1d1872(0x208)](),_0x741d02=this['_cursors']['map'](_0x2ac257=>new _0x43a2a3(_0x2ac257,_0x1e199f,_0x34514f,_0xcdd811));this[_0x1d1872(0x37f)]=_0x741d02;}[_0x27b8a5(0x35c)](){const _0x4df35d=_0x27b8a5;this['_cursorShapes'][_0x4df35d(0x2ad)](_0x8aa549=>_0x8aa549[_0x4df35d(0x436)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0xaf5ba6=_0x27b8a5,_0x5a1f76=[_0x47ddb5[_0xaf5ba6(0x2a6)]['id']];this[_0xaf5ba6(0x41a)](this[_0xaf5ba6(0x371)][_0xaf5ba6(0x3e0)](_0x42c617=>{const _0xf83d7b=_0xaf5ba6;_0x5a1f76[_0xf83d7b(0x3cd)](_0x42c617['id'])&&_0x42c617[_0xf83d7b(0x342)]['unitId']===this['_context'][_0xf83d7b(0x3ec)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x109cef=_0x27b8a5;this[_0x109cef(0x41a)](_0x1690bf[_0x109cef(0x2c7)](this['_context'][_0x109cef(0x1c9)][_0x109cef(0x24c)])[_0x109cef(0x424)](_0x47fb2a[_0x109cef(0x3d3)](_0x7313d1=>_0x7313d1[_0x109cef(0x2dd)]===_0x33db0a['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x109cef(0x3b8)]),_0x47fb2a[_0x109cef(0x2e1)](0x10))[_0x109cef(0x390)](()=>{const _0x26bd31=_0x109cef;this[_0x26bd31(0x1be)]();}));}};_0x6e7c16=_0x5ddc39([_0x177dc2(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0xfb74c4['DocSkeletonManagerService'])),_0x177dc2(0x2,_0x1690bf[_0x27b8a5(0x1fe)](_0x4c67b1)),_0x177dc2(0x3,_0x1690bf[_0x27b8a5(0x3fc)]),_0x177dc2(0x4,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x41c)]))],_0x6e7c16);const _0x3db783=0x1,_0xb051ac=1.5;class _0xb2b714 extends _0x33db0a['Shape']{constructor(_0x518878,_0x2751ba){const _0x506666=_0x27b8a5;super(_0x518878,_0x2751ba),_0x42073c(this,'_color'),_0x42073c(this,_0x506666(0x263),!0x1),_0x42073c(this,_0x506666(0x3be)),_0x42073c(this,_0x506666(0x379),''),_0x42073c(this,_0x506666(0x3d1),_0x506666(0x2c6)),_0x42073c(this,'_backgroundColor'),(_0x2751ba&&this[_0x506666(0x2ec)](_0x2751ba),this[_0x506666(0x3c5)][_0x506666(0x356)](()=>this[_0x506666(0x2ec)]({'hovered':!0x0})),this['onPointerLeave$'][_0x506666(0x356)](()=>this[_0x506666(0x2ec)]({'hovered':!0x1})));}[_0x27b8a5(0x2ec)](_0x25c671){const _0x3465ca=_0x27b8a5;var _0x3d6301,_0x467f26,_0x59c89f,_0x15abf5,_0xdbcb48,_0x274415;this[_0x3465ca(0x25a)]=(_0x3d6301=_0x25c671[_0x3465ca(0x40a)])!=null?_0x3d6301:this[_0x3465ca(0x25a)],this[_0x3465ca(0x263)]=(_0x467f26=_0x25c671[_0x3465ca(0x360)])!=null?_0x467f26:this[_0x3465ca(0x263)],this[_0x3465ca(0x3be)]=(_0x59c89f=_0x25c671['range'])!=null?_0x59c89f:this[_0x3465ca(0x3be)],this['_name']=(_0x15abf5=_0x25c671['name'])!=null?_0x15abf5:this[_0x3465ca(0x379)],this[_0x3465ca(0x3d1)]=(_0xdbcb48=_0x25c671[_0x3465ca(0x40d)])!=null?_0xdbcb48:this['_labelPosition'],this['_backgroundColor']=(_0x274415=_0x25c671['backgroundColor'])!=null?_0x274415:this[_0x3465ca(0x1b1)],this[_0x3465ca(0x256)]({'width':_0x25c671[_0x3465ca(0x350)],'height':_0x25c671['height']});}[_0x27b8a5(0x3d5)](_0x28a2b3){const _0x213eb6=_0x27b8a5,{row:_0x2defe3,column:_0x1b1b8b}=_0x28a2b3;if(_0x2defe3>=this[_0x213eb6(0x3be)][_0x213eb6(0x2fa)]&&_0x2defe3<=this[_0x213eb6(0x3be)][_0x213eb6(0x3e5)]&&_0x1b1b8b>=this[_0x213eb6(0x3be)][_0x213eb6(0x1ec)]&&_0x1b1b8b<=this[_0x213eb6(0x3be)][_0x213eb6(0x3d4)]){this[_0x213eb6(0x2ec)]({'hovered':!0x0});return;}this[_0x213eb6(0x2ec)]({'hovered':!0x1});}['triggerDblclick'](_0x30355a){return!0x1;}[_0x27b8a5(0x299)](_0x7db90a){const _0x3d9459=_0x27b8a5;_0x33db0a[_0x3d9459(0x3cc)][_0x3d9459(0x272)](_0x7db90a,{'width':this[_0x3d9459(0x350)],'height':this[_0x3d9459(0x2a9)],'strokeWidth':_0xb051ac,'stroke':this[_0x3d9459(0x25a)],'evented':!0x1,'fill':this[_0x3d9459(0x1b1)]}),this[_0x3d9459(0x263)]&&(_0x7db90a[_0x3d9459(0x2bf)](),_0x7db90a[_0x3d9459(0x203)](0x1,0x0,0x0,0x1,this[_0x3d9459(0x350)],this[_0x3d9459(0x3d1)]===_0x3d9459(0x2b8)?0x0:-_0x435ca3),_0x4c70b6['drawWith'](_0x7db90a,{'text':this[_0x3d9459(0x379)],'color':this['_color']}),_0x7db90a[_0x3d9459(0x247)]());}}var _0x3a71b2=Object[_0x27b8a5(0x23a)],_0xf3136f=(_0x4f047a,_0x437906,_0x44099a,_0x1fb5ee)=>{for(var _0x4f2ad6=_0x1fb5ee>0x1?void 0x0:_0x1fb5ee?_0x3a71b2(_0x437906,_0x44099a):_0x437906,_0x5864ce=_0x4f047a['length']-0x1,_0x293980;_0x5864ce>=0x0;_0x5864ce--)(_0x293980=_0x4f047a[_0x5864ce])&&(_0x4f2ad6=_0x293980(_0x4f2ad6)||_0x4f2ad6);return _0x4f2ad6;},_0x34d33c=(_0xbc0875,_0x3d12ee)=>(_0x593d89,_0x56f74d)=>_0x3d12ee(_0x593d89,_0x56f74d,_0xbc0875);const _0x1ca029=0x1389;let _0xb9b26c=class extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(_0x4c1feb,_0x5efa92,_0x33fd18,_0x114ec1){const _0x407457=_0x27b8a5;super(),_0x42073c(this,_0x407457(0x1cb),new Set()),_0x42073c(this,_0x407457(0x22c),null),(this[_0x407457(0x36d)]=_0x4c1feb,this['_sheetSkeletonManagerService']=_0x5efa92,this['_collabCursorController']=_0x33fd18,this[_0x407457(0x2f6)]=_0x114ec1,this[_0x407457(0x26d)]());}[_0x27b8a5(0x26d)](){const _0x184b97=_0x27b8a5;this[_0x184b97(0x3b2)][_0x184b97(0x3f0)][_0x184b97(0x424)](_0x47fb2a[_0x184b97(0x404)](this[_0x184b97(0x214)]),_0x47fb2a[_0x184b97(0x1bb)](_0x2cb1cf=>{const _0x42f7e8=_0x184b97;if(_0x2cb1cf){const _0x15327f=_0x2cb1cf[_0x42f7e8(0x28d)];return _0x5f3a87[_0x42f7e8(0x1c7)](this['_collabCursorController'][_0x42f7e8(0x232)](this[_0x42f7e8(0x36d)]['unitId']),this['_themeService']['currentTheme$'])[_0x42f7e8(0x424)](_0x47fb2a['map'](([_0x3879dd,_0x47e70e])=>{const _0x2fbf4f=new Map();return _0x3879dd['forEach']((_0x1f130d,_0x1dfc77)=>{const _0x23f4f8=_0x242f;if(_0x1f130d[_0x23f4f8(0x1da)]===_0x15327f){const _0x33ac2b={..._0x1f130d};_0x33ac2b['color']=this[_0x23f4f8(0x2f6)]['getColorFromTheme'](_0x1f130d[_0x23f4f8(0x40a)]),_0x2fbf4f[_0x23f4f8(0x2eb)](_0x1dfc77,_0x33ac2b);}}),{'skeleton':_0x2cb1cf,'cursors':_0x2fbf4f};}));}return _0x5f3a87['of']({'skeleton':null,'cursors':new Map()});}))[_0x184b97(0x390)](({skeleton:_0x1a3998,cursors:_0x4b0333})=>{const _0x40d5fd=_0x184b97;this[_0x40d5fd(0x35c)](),_0x1a3998&&this[_0x40d5fd(0x276)](_0x1a3998,_0x4b0333);}),this[_0x184b97(0x3b2)][_0x184b97(0x3f0)]['subscribe'](_0x4dc0cd=>{const _0x5f2248=_0x184b97;if(_0x4dc0cd==null)return;const {skeleton:_0x3be978}=_0x4dc0cd,{scene:_0x4ebe8a}=this[_0x5f2248(0x36d)];_0x4ebe8a['onPointerMove$'][_0x5f2248(0x356)](_0x1690bf[_0x5f2248(0x3d7)](_0x1769e3=>{const _0x3379cf=_0x5f2248;var _0x489767,_0x3c7752;const {offsetX:_0x47f12a,offsetY:_0x478081}=_0x1769e3,{x:_0x10c609,y:_0x460f22}=_0x4ebe8a[_0x3379cf(0x325)](_0x33db0a[_0x3379cf(0x34e)][_0x3379cf(0x3cb)]([_0x47f12a,_0x478081])),{scaleX:_0x28d7cd,scaleY:_0x162a1a}=_0x4ebe8a[_0x3379cf(0x33c)](),_0x4d9662=_0x4ebe8a[_0x3379cf(0x3fa)](_0x33db0a['SHEET_VIEWPORT_KEY'][_0x3379cf(0x3b3)]),_0x15db27=_0x4ebe8a['getVpScrollXYInfoByPosToVp'](_0x33db0a[_0x3379cf(0x34e)][_0x3379cf(0x3cb)]([_0x10c609,_0x460f22]),_0x4d9662),_0x441e56=_0x3be978[_0x3379cf(0x264)](_0x47f12a,_0x478081,_0x28d7cd,_0x162a1a,_0x15db27);((_0x489767=this[_0x3379cf(0x22c)])==null?void 0x0:_0x489767[_0x3379cf(0x3c4)])===_0x441e56[_0x3379cf(0x3c4)]&&((_0x3c7752=this[_0x3379cf(0x22c)])==null?void 0x0:_0x3c7752[_0x3379cf(0x309)])===_0x441e56[_0x3379cf(0x309)]||this[_0x3379cf(0x1cb)][_0x3379cf(0x2ad)](_0x74cd31=>{_0x74cd31['onMouseMove'](_0x441e56);});},0x64));});}[_0x27b8a5(0x276)](_0x5c48db,_0x334b83){const _0x406cac=_0x27b8a5;var _0x4db37a;const _0x60df4e=(_0x4db37a=this[_0x406cac(0x3b2)][_0x406cac(0x3bb)]())==null?void 0x0:_0x4db37a['skeleton'];if(!_0x60df4e)return;const _0xe4660b=this[_0x406cac(0x275)]();if(!_0xe4660b)return;this[_0x406cac(0x1cb)][_0x406cac(0x2ad)](_0x64daef=>{const _0x55a988=_0x406cac;_0x64daef[_0x55a988(0x3b5)]();});const {scene:_0x2deb94}=_0xe4660b,_0xbac2c0=_0x983bc6(Array[_0x406cac(0x2b2)](_0x334b83[_0x406cac(0x1e4)]()))[_0x406cac(0x347)](_0x473f50=>{const _0x21afa7=_0x406cac,{color:_0x4b9960,range:_0x1398e9,name:_0x5c4ef0,selection:_0x3b8492,sheetID:_0x32fe7a}=_0x473f50,{startColumn:_0x16d067,startRow:_0x27f32f,endColumn:_0x395b16,endRow:_0x2fde9a}=_0x1398e9,_0x1d7707=_0xba4c08[_0x21afa7(0x284)](_0x27f32f,_0x16d067,_0x2deb94,_0x60df4e),_0x848d63=_0xba4c08[_0x21afa7(0x284)](_0x2fde9a,_0x395b16,_0x2deb94,_0x60df4e),{columnHeaderHeightAndMarginTop:_0x1f6c62}=_0x60df4e,{startX:_0x508a39,startY:_0x12fa83}=_0x1d7707,{endX:_0x5c3bb0,endY:_0x108a11}=_0x848d63,_0x47f4f1=_0x5c3bb0-_0x508a39,_0x318855=_0x108a11-_0x12fa83,_0x1c05d8={'labelPosition':_0x12fa83-_0x1f6c62>=_0x435ca3?_0x21afa7(0x2c6):_0x21afa7(0x2b8),'sheetID':_0x32fe7a,'range':_0x1398e9,'color':_0x4b9960,'name':_0x5c4ef0,'selection':_0x3b8492,'left':_0x508a39,'top':_0x12fa83,'width':_0x47f4f1,'height':_0x318855,'evented':!0x1,'zIndex':_0x1ca029};return new _0xb2b714(_0x5c4ef0,_0x1c05d8);});_0x2deb94[_0x406cac(0x389)](_0xbac2c0,_0x3db783),this['_cursors']=new Set(_0xbac2c0);}[_0x27b8a5(0x35c)](){const _0x5abd19=_0x27b8a5;var _0x4bedd2;(_0x4bedd2=this['_cursors'])==null||_0x4bedd2[_0x5abd19(0x2ad)](_0x38e6f2=>_0x38e6f2[_0x5abd19(0x436)]());}['_getSheetObject'](){const _0x1c5770=_0x27b8a5;return _0xba4c08[_0x1c5770(0x37d)](this[_0x1c5770(0x36d)][_0x1c5770(0x41f)],this['_context']);}};_0xb9b26c=_0xf3136f([_0x34d33c(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0xba4c08[_0x27b8a5(0x3bc)])),_0x34d33c(0x2,_0x1690bf[_0x27b8a5(0x1fe)](_0x4c67b1)),_0x34d33c(0x3,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x41c)]))],_0xb9b26c);function _0x983bc6(_0x572b8c){const _0x21b94f=_0x27b8a5,_0x59fb48=new Map();return _0x572b8c[_0x21b94f(0x2ad)](_0x2e29f0=>{const _0x144d25=_0x21b94f;if(_0x59fb48[_0x144d25(0x288)](_0x2e29f0[_0x144d25(0x20c)])){const _0x71f4b7=_0x59fb48[_0x144d25(0x1e0)](_0x2e29f0['selection']);_0x71f4b7[_0x144d25(0x254)]+=',\x20'+_0x2e29f0[_0x144d25(0x254)];}else _0x59fb48[_0x144d25(0x2eb)](_0x2e29f0[_0x144d25(0x20c)],_0x2e29f0);}),Array['from'](_0x59fb48[_0x21b94f(0x1e4)]());}var _0x194bdc=Object[_0x27b8a5(0x23a)],_0xa874c0=(_0x157cef,_0xd2fda9,_0x4dac1d,_0xd9bd46)=>{const _0x50881f=_0x27b8a5;for(var _0x1a45cd=_0xd9bd46>0x1?void 0x0:_0xd9bd46?_0x194bdc(_0xd2fda9,_0x4dac1d):_0xd2fda9,_0x289d1a=_0x157cef[_0x50881f(0x1ce)]-0x1,_0x114b56;_0x289d1a>=0x0;_0x289d1a--)(_0x114b56=_0x157cef[_0x289d1a])&&(_0x1a45cd=_0x114b56(_0x1a45cd)||_0x1a45cd);return _0x1a45cd;},_0x3cae51=(_0x42a626,_0x5ddc4d)=>(_0x3eacf2,_0x51fe91)=>_0x5ddc4d(_0x3eacf2,_0x51fe91,_0x42a626);let _0x579597=class extends _0x1690bf[_0x27b8a5(0x202)]{constructor(_0x2e36be,_0x5398dd,_0x57a094,_0xcab7b3,_0x41c80a,_0x3801c3){const _0x4c8e76=_0x27b8a5;super(),this[_0x4c8e76(0x29b)]=_0x2e36be,this['_localCacheService']=_0x5398dd,this[_0x4c8e76(0x375)]=_0x57a094,this['_messageService']=_0xcab7b3,this[_0x4c8e76(0x3c1)]=_0x41c80a,this[_0x4c8e76(0x2f0)]=_0x3801c3,this['_setupBeforeClosingHandler'](),this[_0x4c8e76(0x3e3)]();}[_0x27b8a5(0x2c4)](){const _0x2f5d9d=_0x27b8a5;this[_0x2f5d9d(0x41a)](this['_beforeCloseService'][_0x2f5d9d(0x344)](()=>{const _0x239a56=_0x2f5d9d;if(this[_0x239a56(0x27f)][_0x239a56(0x1e5)]['size'])return this[_0x239a56(0x2f0)]['t'](_0x239a56(0x43a));}));}['_initEvent'](){const _0xb6297=_0x27b8a5;this['disposeWithMe'](this[_0xb6297(0x375)][_0xb6297(0x3da)]['subscribe'](_0x16e9a=>{const _0x5a03be=_0xb6297;_0x16e9a['id']===_0x5e077a[_0x5a03be(0x414)][_0x5a03be(0x318)]&&this[_0x5a03be(0x20d)][_0x5a03be(0x2ee)]({'type':_0x3268b8['MessageType']['Warning'],'content':this['_localeService']['t'](_0x5a03be(0x286))}),_0x16e9a['id']===_0x5e077a['CollaborationUIEventId'][_0x5a03be(0x408)]&&this[_0x5a03be(0x20d)][_0x5a03be(0x2ee)]({'type':_0x3268b8[_0x5a03be(0x41d)]['Warning'],'content':this[_0x5a03be(0x2f0)]['t'](_0x5a03be(0x2b6))}),_0x16e9a['id']===_0x5e077a[_0x5a03be(0x414)]['PERMISSION_DENIED']&&this['_notificationService'][_0x5a03be(0x2ee)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x5a03be(0x2f0)]['t'](_0x5a03be(0x2db)),'type':_0x5a03be(0x29d),'duration':0x0}),_0x16e9a['id']===_0x5e077a['CollaborationUIEventId'][_0x5a03be(0x3e7)]&&this[_0x5a03be(0x20d)][_0x5a03be(0x2ee)]({'type':_0x3268b8['MessageType'][_0x5a03be(0x415)],'content':this[_0x5a03be(0x2f0)]['t'](_0x5a03be(0x2b6))+'('+_0x16e9a['data']+')'}),_0x16e9a['id']===_0x5e077a[_0x5a03be(0x414)][_0x5a03be(0x1d1)]&&this[_0x5a03be(0x20d)][_0x5a03be(0x2ee)]({'type':_0x3268b8[_0x5a03be(0x41d)][_0x5a03be(0x40e)],'content':this[_0x5a03be(0x2f0)]['t'](_0x16e9a['data']||'')}),_0x16e9a['id']===_0x5e077a[_0x5a03be(0x414)][_0x5a03be(0x2a4)]&&this[_0x5a03be(0x20d)][_0x5a03be(0x2ee)]({'type':_0x3268b8[_0x5a03be(0x41d)]['Warning'],'content':this[_0x5a03be(0x2f0)]['t']('session.will-retry')}),_0x16e9a['id']===_0x5e077a[_0x5a03be(0x414)]['SOCKET_FAILED']&&this['_messageService'][_0x5a03be(0x2ee)]({'type':_0x3268b8[_0x5a03be(0x41d)]['Error'],'content':this['_localeService']['t'](_0x5a03be(0x220))}),_0x16e9a['id']===_0x5e077a[_0x5a03be(0x414)][_0x5a03be(0x335)]&&this['_messageService']['show']({'type':_0x3268b8['MessageType'][_0x5a03be(0x415)],'content':this[_0x5a03be(0x2f0)]['t'](_0x5a03be(0x36a))});}));}};_0x579597=_0xa874c0([_0x3cae51(0x0,_0x1887d4[_0x27b8a5(0x2d8)]),_0x3cae51(0x1,_0x5e077a[_0x27b8a5(0x28f)]),_0x3cae51(0x2,_0x1690bf['Inject'](_0x5e077a[_0x27b8a5(0x2fd)])),_0x3cae51(0x3,_0x1887d4['IMessageService']),_0x3cae51(0x4,_0x1887d4[_0x27b8a5(0x24d)]),_0x3cae51(0x5,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x349)]))],_0x579597);const _0x58dca6=_0x27b8a5(0x28a),_0x13c539={};var _0x6d3432=Object['getOwnPropertyDescriptor'],_0x39108d=(_0x5faf90,_0x5306a8,_0x4e51e8,_0x10105e)=>{for(var _0x562efc=_0x10105e>0x1?void 0x0:_0x10105e?_0x6d3432(_0x5306a8,_0x4e51e8):_0x5306a8,_0x2d0d9d=_0x5faf90['length']-0x1,_0x34c9fb;_0x2d0d9d>=0x0;_0x2d0d9d--)(_0x34c9fb=_0x5faf90[_0x2d0d9d])&&(_0x562efc=_0x34c9fb(_0x562efc)||_0x562efc);return _0x562efc;},_0x2a52e6=(_0x476930,_0xa30f6c)=>(_0x45d8f9,_0x1deb6e)=>_0xa30f6c(_0x45d8f9,_0x1deb6e,_0x476930);let _0x3cd479=class{constructor(_0x435004,_0x552992){const _0x4fefbf=_0x27b8a5;this[_0x4fefbf(0x3b0)]=_0x435004,this[_0x4fefbf(0x1d2)]=_0x552992;}[_0x27b8a5(0x2b5)](_0xec23cb){const _0x3fe9cc=_0x27b8a5;this[_0x3fe9cc(0x41e)](_0xec23cb),this[_0x3fe9cc(0x301)](_0xec23cb);}[_0x27b8a5(0x411)](_0x54c20a){const _0x2a0cc8=_0x27b8a5,{unitID:_0x4151b7}=_0x54c20a,_0x567586=this['_renderManagerService']['getRenderById'](_0x4151b7)[_0x2a0cc8(0x2df)](_0x47ddb5[_0x2a0cc8(0x39a)]),{redoCache:_0x18b257}=_0x567586[_0x2a0cc8(0x1f0)]();if(_0x18b257[_0x2a0cc8(0x1ce)]===0x0)return _0x54c20a;let _0x26877b=_0x1690bf['Tools'][_0x2a0cc8(0x267)](_0x54c20a['mutations'][0x0]);for(let _0x3cca9e=0x0;_0x3cca9e<_0x18b257[_0x2a0cc8(0x1ce)];_0x3cca9e++){const _0x256ea6={'id':'doc.mutation.rich-text-editing','params':{..._0x18b257[_0x3cca9e]}},_0x330ee9=this[_0x2a0cc8(0x3b0)][_0x2a0cc8(0x354)](_0x26877b,_0x256ea6,!0x1);if(_0x116245[_0x2a0cc8(0x308)](_0x330ee9))throw _0x330ee9[_0x2a0cc8(0x29d)];_0x26877b=_0x330ee9[_0x2a0cc8(0x285)];}return{..._0x1690bf['Tools'][_0x2a0cc8(0x267)](_0x54c20a),'mutations':[_0x26877b]};}['_transformUndoRedoStack'](_0x1e4732){const _0x401ed6=_0x27b8a5,{unitID:_0x209fc7}=_0x1e4732,_0x36cc24=this[_0x401ed6(0x1d2)][_0x401ed6(0x42a)](_0x209fc7)[_0x401ed6(0x2df)](_0x47ddb5[_0x401ed6(0x39a)]),{undoCache:_0x308718,redoCache:_0x38ffff}=_0x36cc24['getUndoRedoMutationParamsCache']();if(_0x308718[_0x401ed6(0x1ce)]===0x0||_0x38ffff[_0x401ed6(0x1ce)]===0x0)return;const _0x2a151d=[],_0x25b669=[];let _0x174899=_0x1690bf[_0x401ed6(0x302)][_0x401ed6(0x267)](_0x1e4732[_0x401ed6(0x298)][0x0]),_0x2d2318=_0x1690bf[_0x401ed6(0x302)][_0x401ed6(0x267)](_0x1e4732[_0x401ed6(0x298)][0x0]);for(let _0x1d8a1c=_0x308718[_0x401ed6(0x1ce)]-0x1;_0x1d8a1c>=0x0;_0x1d8a1c--){const _0xcd6f4a={'id':'doc.mutation.rich-text-editing','params':{..._0x308718[_0x1d8a1c]}},_0x259421={'id':'doc.mutation.rich-text-editing','params':{..._0x38ffff[_0x1d8a1c]}},_0x2a8373=this[_0x401ed6(0x3b0)][_0x401ed6(0x354)](_0x174899,_0xcd6f4a,!0x1),_0xc4bf7d=this['_transformService'][_0x401ed6(0x354)](_0x2d2318,_0x259421,!0x1);if(_0x116245[_0x401ed6(0x308)](_0x2a8373))throw _0x2a8373[_0x401ed6(0x29d)];if(_0x116245[_0x401ed6(0x308)](_0xc4bf7d))throw _0xc4bf7d[_0x401ed6(0x29d)];_0x2a151d[_0x401ed6(0x410)](_0x2a8373['m2Prime'][_0x401ed6(0x342)]),_0x25b669['unshift'](_0xc4bf7d['m2Prime'][_0x401ed6(0x342)]),_0x174899=_0x2a8373[_0x401ed6(0x285)],_0x2d2318=_0xc4bf7d[_0x401ed6(0x285)];}_0x36cc24['setUndoRedoMutationParamsCache']({'undoCache':_0x2a151d,'redoCache':_0x25b669});}['_transformPreviousActiveRange'](_0x5f58ce){const _0x578462=_0x27b8a5,{unitID:_0x547c41}=_0x5f58ce,_0x43461b=this[_0x578462(0x1d2)][_0x578462(0x42a)](_0x547c41)[_0x578462(0x2df)](_0x47ddb5[_0x578462(0x39a)]),_0x169f41=_0x43461b[_0x578462(0x261)]();if(_0x169f41==null)return;const _0x5bb7a5=[{'id':_0x578462(0x22e),'params':{'unitId':_0x5f58ce[_0x578462(0x219)],'actions':null,'textRanges':[_0x169f41]}}],_0x4b8070=this['_transformService'][_0x578462(0x380)](_0x5f58ce,_0x5bb7a5);if(!_0x116245['isTransformMutationsWithChangesetSuccess'](_0x4b8070))throw _0x4b8070['error'];const _0x474b6c=_0x4b8070[_0x578462(0x372)][0x0]['params']['textRanges'];Array[_0x578462(0x3a5)](_0x474b6c)&&_0x474b6c[_0x578462(0x1ce)]&&_0x43461b[_0x578462(0x38a)](_0x474b6c[0x0]);}};_0x3cd479=_0x39108d([_0x2a52e6(0x0,_0x116245[_0x27b8a5(0x41b)]),_0x2a52e6(0x1,_0x33db0a[_0x27b8a5(0x28c)])],_0x3cd479);var _0x5bfa13=Object[_0x27b8a5(0x23a)],_0x1bae45=(_0x4fb3d7,_0x3bea15,_0x212e42,_0x198f2d)=>{const _0x2ca3c7=_0x27b8a5;for(var _0xedef5=_0x198f2d>0x1?void 0x0:_0x198f2d?_0x5bfa13(_0x3bea15,_0x212e42):_0x3bea15,_0x4d5f89=_0x4fb3d7[_0x2ca3c7(0x1ce)]-0x1,_0x1c00e2;_0x4d5f89>=0x0;_0x4d5f89--)(_0x1c00e2=_0x4fb3d7[_0x4d5f89])&&(_0xedef5=_0x1c00e2(_0xedef5)||_0xedef5);return _0xedef5;},_0x33e04b=(_0x462670,_0x4fccdf)=>(_0x37b52d,_0x4d2bad)=>_0x4fccdf(_0x37b52d,_0x4d2bad,_0x462670);let _0x2577ad=class{constructor(_0x587447,_0x43099d,_0x16ef0b){const _0x1ffb98=_0x27b8a5;this[_0x1ffb98(0x3fd)]=_0x587447,this[_0x1ffb98(0x3b0)]=_0x43099d,this[_0x1ffb98(0x29c)]=_0x16ef0b;}[_0x27b8a5(0x1ef)](_0x21e310){const _0x3d70e1=_0x27b8a5;this[_0x3d70e1(0x1dc)](_0x21e310);}['transformRemoteChangeset'](_0x3684b7){const _0x2579d1=_0x27b8a5,{unitID:_0x16d5ae}=_0x3684b7,{collaboration:_0x5be949}=this[_0x2579d1(0x29c)]['getStateCache'](_0x16d5ae);if(_0x5be949['length']===0x0)return _0x3684b7;let _0x5aa8da=_0x1690bf[_0x2579d1(0x302)][_0x2579d1(0x267)](_0x3684b7[_0x2579d1(0x298)][0x0]);for(let _0x1037e3=0x0;_0x1037e3<_0x5be949[_0x2579d1(0x1ce)];_0x1037e3++){const _0x1ae4bb={'id':_0x2579d1(0x22e),'params':{'unitId':_0x5be949[_0x1037e3][_0x2579d1(0x3ec)],..._0x5be949[_0x1037e3][_0x2579d1(0x440)]}},_0x1edb62=this[_0x2579d1(0x3b0)][_0x2579d1(0x354)](_0x5aa8da,_0x1ae4bb,!0x1);if(_0x116245[_0x2579d1(0x308)](_0x1edb62))throw _0x1edb62['error'];_0x5aa8da=_0x1edb62['m1Prime'];}return{..._0x1690bf['Tools'][_0x2579d1(0x267)](_0x3684b7),'mutations':[_0x5aa8da]};}[_0x27b8a5(0x1dc)](_0x4abf9b){const _0xd3f8c=_0x27b8a5,{unitID:_0x3aad7d}=_0x4abf9b,{history:_0x4e5c82,collaboration:_0x26e8b3}=this['_docStateChangeManagerService']['getStateCache'](_0x3aad7d);if(_0x4e5c82[_0xd3f8c(0x1ce)]===0x0&&_0x26e8b3[_0xd3f8c(0x1ce)]===0x0)return;const _0x2488dd=[],_0x32a75c=[];let _0x52332b=_0x1690bf['Tools'][_0xd3f8c(0x267)](_0x4abf9b[_0xd3f8c(0x298)][0x0]),_0x510772=_0x1690bf[_0xd3f8c(0x302)][_0xd3f8c(0x267)](_0x4abf9b[_0xd3f8c(0x298)][0x0]);for(let _0x396cdd=_0x4e5c82[_0xd3f8c(0x1ce)]-0x1;_0x396cdd>=0x0;_0x396cdd--){const _0x2b6210={'id':_0xd3f8c(0x22e),'params':{'unitId':_0x4e5c82[_0x396cdd][_0xd3f8c(0x3ec)],..._0x4e5c82[_0x396cdd]['undoState']}},_0x3eae24={'id':_0xd3f8c(0x22e),'params':{'unitId':_0x4e5c82[_0x396cdd][_0xd3f8c(0x3ec)],..._0x4e5c82[_0x396cdd][_0xd3f8c(0x440)]}},_0x4d5fe5=this[_0xd3f8c(0x3b0)][_0xd3f8c(0x354)](_0x52332b,_0x2b6210,!0x1),_0x21d930=this[_0xd3f8c(0x3b0)][_0xd3f8c(0x354)](_0x510772,_0x3eae24,!0x1);if(_0x116245[_0xd3f8c(0x308)](_0x4d5fe5))throw _0x4d5fe5[_0xd3f8c(0x29d)];if(_0x116245['isTransformMutationFailure'](_0x21d930))throw _0x21d930[_0xd3f8c(0x29d)];_0x2488dd[_0xd3f8c(0x410)]({..._0x4e5c82[_0x396cdd],'undoState':_0x4d5fe5['m2Prime']['params'],'redoState':_0x21d930[_0xd3f8c(0x372)][_0xd3f8c(0x342)]}),_0x52332b=_0x4d5fe5[_0xd3f8c(0x285)],_0x510772=_0x21d930['m1Prime'];}_0x52332b=_0x1690bf[_0xd3f8c(0x302)][_0xd3f8c(0x267)](_0x4abf9b[_0xd3f8c(0x298)][0x0]),_0x510772=_0x1690bf[_0xd3f8c(0x302)][_0xd3f8c(0x267)](_0x4abf9b[_0xd3f8c(0x298)][0x0]);for(let _0x5c01ad=_0x26e8b3[_0xd3f8c(0x1ce)]-0x1;_0x5c01ad>=0x0;_0x5c01ad--){const _0x54be78={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26e8b3[_0x5c01ad][_0xd3f8c(0x3ec)],..._0x26e8b3[_0x5c01ad][_0xd3f8c(0x1b8)]}},_0x1e93a8={'id':_0xd3f8c(0x22e),'params':{'unitId':_0x26e8b3[_0x5c01ad][_0xd3f8c(0x3ec)],..._0x26e8b3[_0x5c01ad][_0xd3f8c(0x440)]}},_0x26e9be=this[_0xd3f8c(0x3b0)][_0xd3f8c(0x354)](_0x52332b,_0x54be78,!0x1),_0x311f66=this[_0xd3f8c(0x3b0)][_0xd3f8c(0x354)](_0x510772,_0x1e93a8,!0x1);if(_0x116245[_0xd3f8c(0x308)](_0x26e9be))throw _0x26e9be[_0xd3f8c(0x29d)];if(_0x116245[_0xd3f8c(0x308)](_0x311f66))throw _0x311f66[_0xd3f8c(0x29d)];_0x32a75c[_0xd3f8c(0x410)]({..._0x26e8b3[_0x5c01ad],'undoState':_0x26e9be[_0xd3f8c(0x372)][_0xd3f8c(0x342)],'redoState':_0x311f66[_0xd3f8c(0x372)][_0xd3f8c(0x342)]}),_0x52332b=_0x26e9be[_0xd3f8c(0x285)],_0x510772=_0x311f66[_0xd3f8c(0x285)];}this[_0xd3f8c(0x29c)]['setStateCache'](_0x3aad7d,{'history':_0x2488dd,'collaboration':_0x32a75c});}};_0x2577ad=_0x1bae45([_0x33e04b(0x0,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x238)])),_0x33e04b(0x1,_0x116245['ITransformService']),_0x33e04b(0x2,_0x1690bf['Inject'](_0x47ddb5[_0x27b8a5(0x428)]))],_0x2577ad);var _0x1a8fc1=Object['getOwnPropertyDescriptor'],_0x3f5f23=(_0x476243,_0x36bdd2,_0x431587,_0x40b60e)=>{const _0x38cf5c=_0x27b8a5;for(var _0x1a89a8=_0x40b60e>0x1?void 0x0:_0x40b60e?_0x1a8fc1(_0x36bdd2,_0x431587):_0x36bdd2,_0x117256=_0x476243[_0x38cf5c(0x1ce)]-0x1,_0x3d443e;_0x117256>=0x0;_0x117256--)(_0x3d443e=_0x476243[_0x117256])&&(_0x1a89a8=_0x3d443e(_0x1a89a8)||_0x1a89a8);return _0x1a89a8;},_0x5af18a=(_0xedded3,_0xb4d34f)=>(_0xfd539a,_0xd0adbd)=>_0xb4d34f(_0xfd539a,_0xd0adbd,_0xedded3);let _0x12db23=class{constructor(_0xe773c8,_0x29a867){const _0x506aea=_0x27b8a5;this[_0x506aea(0x3fd)]=_0xe773c8,this[_0x506aea(0x3b0)]=_0x29a867;}[_0x27b8a5(0x29e)](_0x3e1ec3){const _0x141ae9=_0x27b8a5;var _0x3e6806;const _0x3589df=this[_0x141ae9(0x3fd)][_0x141ae9(0x1e0)](_0xfb74c4[_0x141ae9(0x258)]),_0xb7b79=(_0x3e6806=_0x3589df[_0x141ae9(0x21a)]())!=null?_0x3e6806:[];if(_0xb7b79[_0x141ae9(0x1ce)]===0x0)return;const _0x52034e=_0x3e1ec3[_0x141ae9(0x219)],_0x29f192=[{'id':_0x141ae9(0x22e),'params':{'unitId':_0x52034e,'actions':null,'textRanges':_0xb7b79}}],_0x386a82=this[_0x141ae9(0x3b0)]['transformMutationsWithChangeset'](_0x3e1ec3,_0x29f192);if(!_0x116245[_0x141ae9(0x23f)](_0x386a82))throw _0x386a82[_0x141ae9(0x29d)];const _0x102653=_0x386a82[_0x141ae9(0x372)][0x0][_0x141ae9(0x342)]['textRanges'];Array[_0x141ae9(0x3a5)](_0x102653)&&_0x102653[_0x141ae9(0x1ce)]&&_0x3589df[_0x141ae9(0x1c3)](_0x102653,{'unitId':_0x52034e,'subUnitId':_0x52034e},!0x1);}};_0x12db23=_0x3f5f23([_0x5af18a(0x0,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf[_0x27b8a5(0x238)])),_0x5af18a(0x1,_0x116245[_0x27b8a5(0x41b)])],_0x12db23);var _0x29e69b=Object[_0x27b8a5(0x23a)],_0x384994=(_0x4c40ab,_0x1fc763,_0x672fd6,_0x18b74e)=>{const _0x3b3c61=_0x27b8a5;for(var _0x2e3f18=_0x18b74e>0x1?void 0x0:_0x18b74e?_0x29e69b(_0x1fc763,_0x672fd6):_0x1fc763,_0x1dfc8d=_0x4c40ab[_0x3b3c61(0x1ce)]-0x1,_0x164bec;_0x1dfc8d>=0x0;_0x1dfc8d--)(_0x164bec=_0x4c40ab[_0x1dfc8d])&&(_0x2e3f18=_0x164bec(_0x2e3f18)||_0x2e3f18);return _0x2e3f18;},_0x2aba8b=(_0x57eabc,_0x447335)=>(_0x546e7d,_0x16c0ff)=>_0x447335(_0x546e7d,_0x16c0ff,_0x57eabc);let _0x3d902e=class extends _0x1690bf['Disposable']{constructor(_0x3a1602,_0x5a1f8b,_0x26fe3f,_0x4e08fa,_0x592f6f,_0x305279,_0x1e278a,_0x7eb86c){const _0x34332d=_0x27b8a5;super(),_0x42073c(this,'_status$',new _0x5f3a87[(_0x34332d(0x1d9))](_0x5e077a['CollaborationStatus'][_0x34332d(0x1fa)])),(this['_docStateChangeManagerService']=_0x3a1602,this['_collaborationController']=_0x5a1f8b,this[_0x34332d(0x1ff)]=_0x26fe3f,this[_0x34332d(0x1e8)]=_0x4e08fa,this['_docTransformSelectionsService']=_0x592f6f,this['_docSyncEditingCollabCursorService']=_0x305279,this[_0x34332d(0x20d)]=_0x1e278a,this[_0x34332d(0x2f0)]=_0x7eb86c,this[_0x34332d(0x234)]());}[_0x27b8a5(0x234)](){const _0x4e611a=_0x27b8a5;this[_0x4e611a(0x41a)](this[_0x4e611a(0x1d8)][_0x4e611a(0x21b)][_0x4e611a(0x390)](_0x21bea7=>{const _0x274845=_0x4e611a,_0x58c405=this['_docStateChangeManagerService'][_0x274845(0x280)]['subscribe'](_0x29b9a9=>{const _0xcacaaa=_0x274845;if(_0x29b9a9==null)return;const {unitId:_0x421ccc,redoState:_0xe6ca7c,commandId:_0x4c45d6}=_0x29b9a9;if(_0x421ccc!==_0x21bea7['unitID'])return;const _0x559857={'id':_0x4c45d6,'type':_0x1690bf['CommandType'][_0xcacaaa(0x282)],'params':{'unitId':_0x421ccc,'actions':_0xe6ca7c[_0xcacaaa(0x33d)],'textRanges':null}};_0x21bea7[_0xcacaaa(0x3a9)](_0x559857);});if(_0x21bea7['disposeWithMe'](_0x58c405),_0x21bea7 instanceof _0x5e077a[_0x274845(0x420)]){const _0x4b7cac={'onTransformIME':_0x518197=>this[_0x274845(0x1ff)][_0x274845(0x2b5)](_0x518197),'onTransformState':_0x3e4366=>this['_docTransformStateCacheService'][_0x274845(0x1ef)](_0x3e4366),'onTransformSelections':_0x5069f1=>this[_0x274845(0x22b)][_0x274845(0x29e)](_0x5069f1),'onSyncEditingCollabCursor':_0x44d32c=>this[_0x274845(0x277)]['syncEditingCollabCursor'](_0x44d32c),'onTransformRemoteChangesetByIMECache':_0x5b0ae6=>this[_0x274845(0x1ff)][_0x274845(0x411)](_0x5b0ae6),'onTransformRemoteChangesetByStateCache':_0x3c5189=>this[_0x274845(0x1e8)][_0x274845(0x411)](_0x3c5189)};_0x21bea7[_0x274845(0x423)](_0x4b7cac);}}));}};_0x3d902e=_0x384994([_0x2aba8b(0x0,_0x1690bf[_0x27b8a5(0x1fe)](_0x47ddb5[_0x27b8a5(0x428)])),_0x2aba8b(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0x5e077a['CollaborationController'])),_0x2aba8b(0x2,_0x1690bf[_0x27b8a5(0x1fe)](_0x3cd479)),_0x2aba8b(0x3,_0x1690bf[_0x27b8a5(0x1fe)](_0x2577ad)),_0x2aba8b(0x4,_0x1690bf['Inject'](_0x12db23)),_0x2aba8b(0x5,_0x1690bf[_0x27b8a5(0x1fe)](_0x564128)),_0x2aba8b(0x6,_0x1887d4['IMessageService']),_0x2aba8b(0x7,_0x1690bf['Inject'](_0x1690bf[_0x27b8a5(0x349)]))],_0x3d902e);var _0x4d638b=Object[_0x27b8a5(0x23a)],_0x5e062b=(_0x45b72a,_0x4283da,_0x4b9eb6,_0x1af028)=>{const _0x22183b=_0x27b8a5;for(var _0x1094bf=_0x1af028>0x1?void 0x0:_0x1af028?_0x4d638b(_0x4283da,_0x4b9eb6):_0x4283da,_0x515466=_0x45b72a[_0x22183b(0x1ce)]-0x1,_0x3275a8;_0x515466>=0x0;_0x515466--)(_0x3275a8=_0x45b72a[_0x515466])&&(_0x1094bf=_0x3275a8(_0x1094bf)||_0x1094bf);return _0x1094bf;},_0x35efe1=(_0x136045,_0x1fea4f)=>(_0x3632a0,_0x48c6d2)=>_0x1fea4f(_0x3632a0,_0x48c6d2,_0x136045);let _0xcb256a=class extends _0x1690bf[_0x27b8a5(0x202)]{constructor(_0x3c72ba,_0x5d849c,_0x5f2062){const _0x3092c4=_0x27b8a5;super(),_0x42073c(this,_0x3092c4(0x405),new Map()),_0x42073c(this,_0x3092c4(0x2d2),new Map()),_0x42073c(this,_0x3092c4(0x38d),!0x1),(this[_0x3092c4(0x394)]=_0x3c72ba,this[_0x3092c4(0x1f1)]=_0x5d849c,this[_0x3092c4(0x25f)]=_0x5f2062);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x27b8a5(0x1af)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x28171f=_0x27b8a5;return this[_0x28171f(0x2d2)];}[_0x27b8a5(0x436)](){const _0xe1240c=_0x27b8a5;this[_0xe1240c(0x396)]()[_0xe1240c(0x29a)](()=>super['dispose']());}async[_0x27b8a5(0x373)](_0x4cfe65){const _0x1a45a5=_0x27b8a5;return this[_0x1a45a5(0x38d)]?null:this[_0x1a45a5(0x1f1)][_0x1a45a5(0x1de)](_0x5e077a[_0x1a45a5(0x36f)](_0x4cfe65));}async[_0x27b8a5(0x39e)](_0x5085a7,_0x3671d8){const _0x34bb61=_0x27b8a5;return!!this[_0x34bb61(0x1f1)][_0x34bb61(0x255)](_0x5085a7,_0x3671d8);}[_0x27b8a5(0x244)](_0x5d7e47,_0x110117,_0x5cc560,_0x3ddede){const _0x4c5514=_0x27b8a5,_0x22ff50=this[_0x4c5514(0x25f)][_0x4c5514(0x2d6)](_0x5d7e47);this[_0x4c5514(0x405)]['set'](_0x5d7e47,{'unitID':_0x5d7e47,'type':_0x110117,'awaitingChangeset':_0x5cc560,'mutations':_0x3ddede,'rev':_0x22ff50}),this[_0x4c5514(0x2d2)][_0x4c5514(0x288)](_0x5d7e47)||this[_0x4c5514(0x23d)](_0x5d7e47);}[_0x27b8a5(0x23d)](_0x32d2c8){const _0x17a1dd=_0x27b8a5,_0xd7096=this[_0x17a1dd(0x37c)]();_0xd7096===0x0?this[_0x17a1dd(0x409)](_0x32d2c8):this['_saveTaskMap']['set'](_0x32d2c8,setTimeout(()=>this['_saveCache'](_0x32d2c8),_0xd7096));}['_getSaveTimeout'](){const _0x2b4359=_0x27b8a5;var _0x800782;return(_0x800782=this[_0x2b4359(0x394)][_0x2b4359(0x2a3)](_0x5e077a['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x800782:_0x5e077a[_0x2b4359(0x426)];}[_0x27b8a5(0x409)](_0x4b0f4e){const _0x2d2d63=_0x27b8a5,_0x559d08=this[_0x2d2d63(0x2d2)][_0x2d2d63(0x1e0)](_0x4b0f4e);return _0x559d08!==void 0x0&&window[_0x2d2d63(0x40b)](_0x559d08),this[_0x2d2d63(0x1f1)][_0x2d2d63(0x255)](_0x5e077a[_0x2d2d63(0x36f)](_0x4b0f4e),this[_0x2d2d63(0x405)][_0x2d2d63(0x1e0)](_0x4b0f4e))['then'](()=>this['_saveTaskMap']['delete'](_0x4b0f4e));}async[_0x27b8a5(0x396)](){const _0x346c9a=_0x27b8a5,_0x1e88c6=[];this[_0x346c9a(0x2d2)][_0x346c9a(0x2ad)]((_0x2425f2,_0x1c820a)=>{const _0x4c027e=_0x346c9a;window[_0x4c027e(0x40b)](_0x2425f2),_0x1e88c6[_0x4c027e(0x2a7)](this[_0x4c027e(0x409)](_0x1c820a)['then'](()=>{const _0x3c28a9=_0x4c027e;this['_saveTaskMap'][_0x3c28a9(0x295)](_0x1c820a);}));}),await Promise['all'](_0x1e88c6);}};_0xcb256a=_0x5e062b([_0x35efe1(0x0,_0x1690bf[_0x27b8a5(0x31d)]),_0x35efe1(0x1,_0x1690bf[_0x27b8a5(0x336)]),_0x35efe1(0x2,_0x1690bf['Inject'](_0x116245['RevisionService']))],_0xcb256a);class _0x45a310 extends _0x1690bf[_0x27b8a5(0x2c5)]{constructor(){const _0x536c14=_0x27b8a5;super(),_0x42073c(this,_0x536c14(0x1e3)),this['urlChange$']=_0x5f3a87['fromEvent'](window,_0x536c14(0x3c6))[_0x536c14(0x424)](_0x5f3a87[_0x536c14(0x404)](this[_0x536c14(0x214)]),_0x5f3a87[_0x536c14(0x25e)](0x1),_0x5f3a87[_0x536c14(0x413)](void 0x0));}[_0x27b8a5(0x2fb)](_0x332d6c,_0x933f94,_0x4a445e=!0x1){const _0x144c91=_0x27b8a5,_0x4daf79=new URL(window['location'][_0x144c91(0x31a)]);_0x4daf79[_0x144c91(0x2a8)]['set'](_0x332d6c,_0x933f94),_0x4a445e?window[_0x144c91(0x345)][_0x144c91(0x43b)]('','',_0x4daf79[_0x144c91(0x412)]()):window['history']['pushState']('','',_0x4daf79[_0x144c91(0x412)]());}['removeParam'](_0x4717f0,_0x52abd4=!0x1){const _0x1b2123=_0x27b8a5,_0xec7f05=new URL(window['location'][_0x1b2123(0x31a)]);_0xec7f05[_0x1b2123(0x2a8)][_0x1b2123(0x295)](_0x4717f0),_0x52abd4?window[_0x1b2123(0x345)][_0x1b2123(0x43b)]('','',_0xec7f05['toString']()):window[_0x1b2123(0x345)][_0x1b2123(0x434)]('','',_0xec7f05[_0x1b2123(0x412)]());}[_0x27b8a5(0x422)](_0x9d7da7){const _0x131460=_0x27b8a5;var _0xf0f61e;return(_0xf0f61e=new URL(window[_0x131460(0x2ed)][_0x131460(0x31a)])[_0x131460(0x2a8)][_0x131460(0x1e0)](_0x9d7da7))!=null?_0xf0f61e:void 0x0;}}var _0x20be3a=Object[_0x27b8a5(0x3f7)],_0x5b852e=Object[_0x27b8a5(0x23a)],_0x380638=(_0x53e47b,_0x2d003e,_0x3fc7cd)=>_0x2d003e in _0x53e47b?_0x20be3a(_0x53e47b,_0x2d003e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3fc7cd}):_0x53e47b[_0x2d003e]=_0x3fc7cd,_0x20bdf2=(_0x2e92c6,_0x21b733,_0x322804,_0x59a20c)=>{const _0x534cab=_0x27b8a5;for(var _0x506719=_0x59a20c>0x1?void 0x0:_0x59a20c?_0x5b852e(_0x21b733,_0x322804):_0x21b733,_0x2804ea=_0x2e92c6[_0x534cab(0x1ce)]-0x1,_0x5678f9;_0x2804ea>=0x0;_0x2804ea--)(_0x5678f9=_0x2e92c6[_0x2804ea])&&(_0x506719=_0x5678f9(_0x506719)||_0x506719);return _0x506719;},_0x142919=(_0x2366bf,_0xf1b2ca)=>(_0x56f91a,_0x264564)=>_0xf1b2ca(_0x56f91a,_0x264564,_0x2366bf),_0x2a8f3d=(_0x336aa1,_0x2f2d72,_0x1feb5f)=>_0x380638(_0x336aa1,_0x2f2d72+'',_0x1feb5f);const _0x1854d9=_0x27b8a5(0x401);_0x96e8e['UniverCollaborationClientUIPlugin']=class extends _0x1690bf[_0x27b8a5(0x402)]{constructor(_0x1f5a23=_0x13c539,_0x14c825,_0x55083b,_0x45955b){const _0x3b02e0=_0x27b8a5;super(),this['_config']=_0x1f5a23,this[_0x3b02e0(0x1d2)]=_0x14c825,this[_0x3b02e0(0x3fd)]=_0x55083b,this[_0x3b02e0(0x394)]=_0x45955b;const {..._0x236f31}=_0x1690bf[_0x3b02e0(0x231)]({},_0x13c539,this[_0x3b02e0(0x383)]);this[_0x3b02e0(0x394)][_0x3b02e0(0x23c)](_0x58dca6,_0x236f31);}['onStarting'](){const _0x89c619=_0x27b8a5;this[_0x89c619(0x2f4)](),this['_initDependencies']();}['onRendered'](){const _0x30df4a=_0x27b8a5;this[_0x30df4a(0x382)]();}['_registerDependencies'](){const _0x32e7d4=_0x27b8a5;var _0x717c57;const _0x1e3690=[[_0xade64f],[_0x12db23],[_0x3cd479],[_0x2577ad],[_0x564128],[_0x42645a,{'useClass':_0x45a310}],[_0x1df59e[_0x32e7d4(0x205)],{'useClass':_0x1df59e[_0x32e7d4(0x32b)]}],[_0x5e077a[_0x32e7d4(0x28f)],{'useClass':_0xcb256a}],[_0x96e8e[_0x32e7d4(0x376)]],[_0x3d902e],[_0x579597],[_0x4c67b1],[_0x24aa6a],[_0x96e8e[_0x32e7d4(0x1ba)]]];_0x1690bf[_0x32e7d4(0x3e4)](this[_0x32e7d4(0x3fd)],_0x1690bf['mergeOverrideWithDependencies'](_0x1e3690,(_0x717c57=this[_0x32e7d4(0x383)])==null?void 0x0:_0x717c57[_0x32e7d4(0x323)]));}[_0x27b8a5(0x382)](){const _0x1664ef=_0x27b8a5;this['disposeWithMe'](this[_0x1664ef(0x1d2)][_0x1664ef(0x38e)](_0x1690bf['UniverInstanceType']['UNIVER_DOC'],[_0x6e7c16])),this[_0x1664ef(0x41a)](this[_0x1664ef(0x1d2)][_0x1664ef(0x38e)](_0x1690bf[_0x1664ef(0x204)][_0x1664ef(0x400)],[_0xb9b26c]));}[_0x27b8a5(0x416)](){const _0x7d6bb1=_0x27b8a5;_0x1690bf[_0x7d6bb1(0x21c)](this['_injector'],[[_0x4c67b1],[_0x96e8e[_0x7d6bb1(0x376)]],[_0x3d902e],[_0x579597],[_0x96e8e[_0x7d6bb1(0x1ba)]]]);}},_0x2a8f3d(_0x96e8e['UniverCollaborationClientUIPlugin'],'pluginName',_0x1854d9),_0x96e8e[_0x27b8a5(0x3c9)]=_0x20bdf2([_0x1690bf[_0x27b8a5(0x21f)](_0x5e077a[_0x27b8a5(0x1c2)]),_0x142919(0x1,_0x33db0a['IRenderManagerService']),_0x142919(0x2,_0x1690bf['Inject'](_0x1690bf[_0x27b8a5(0x238)])),_0x142919(0x3,_0x1690bf[_0x27b8a5(0x31d)])],_0x96e8e[_0x27b8a5(0x3c9)]);var _0x4d29ab=Object[_0x27b8a5(0x23a)],_0x28a4db=(_0xb5142b,_0x1ba0a2,_0xc64d55,_0x3c6a16)=>{for(var _0xb62f19=_0x3c6a16>0x1?void 0x0:_0x3c6a16?_0x4d29ab(_0x1ba0a2,_0xc64d55):_0x1ba0a2,_0x42a444=_0xb5142b['length']-0x1,_0x1de7a2;_0x42a444>=0x0;_0x42a444--)(_0x1de7a2=_0xb5142b[_0x42a444])&&(_0xb62f19=_0x1de7a2(_0xb62f19)||_0xb62f19);return _0xb62f19;},_0x367c4f=(_0x67ff26,_0x49d4cb)=>(_0x6ea6fb,_0x12c0b5)=>_0x49d4cb(_0x6ea6fb,_0x12c0b5,_0x67ff26);_0x96e8e[_0x27b8a5(0x2d5)]=class extends _0x5e077a['CollaborationSocketService']{constructor(_0x544a92,_0x33f23a,_0x5a380a,_0x35e793,_0x3f8bdd){super(_0x544a92,_0x33f23a,_0x5a380a,_0x35e793,_0x3f8bdd);}async[_0x27b8a5(0x31e)](_0x150bef){const _0x2870d7=_0x27b8a5,_0x2a70fc=await this[_0x2870d7(0x3a1)](),_0x5e87c1=this['_createSocketURL'](_0x150bef,_0x2a70fc);return this['_doCreateSocket'](_0x5e87c1);}[_0x27b8a5(0x39b)](_0x33d435,_0x3183b4){const _0x36f9ac=_0x27b8a5,_0x11b341=typeof window>'u'?new URL(_0x33d435):new URL(_0x33d435,window[_0x36f9ac(0x2ed)]['origin']);_0x11b341[_0x36f9ac(0x2a8)][_0x36f9ac(0x2eb)](_0x36f9ac(0x2f9),_0x3183b4);const _0x81426b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x36f9ac(0x2ed)][_0x36f9ac(0x30c)]);return _0x81426b[_0x36f9ac(0x1e0)](_0x36f9ac(0x332))&&_0x11b341[_0x36f9ac(0x2a8)][_0x36f9ac(0x2eb)](_0x36f9ac(0x332),_0x81426b[_0x36f9ac(0x1e0)](_0x36f9ac(0x332))),_0x11b341['toString']();}async['_getSessionTicket'](){const _0x25f7bb=_0x27b8a5;var _0x1fdd02,_0x620a48,_0x3e42b4;const _0x5f187a=this[_0x25f7bb(0x394)][_0x25f7bb(0x2a3)](_0x5e077a[_0x25f7bb(0x3dc)]),_0x5a481b=(_0x1fdd02=_0x5f187a==null?void 0x0:_0x5f187a[_0x25f7bb(0x251)])!=null?_0x1fdd02:_0x5e077a['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3e42b4=(_0x620a48=(await this[_0x25f7bb(0x1d0)][_0x25f7bb(0x1e0)](_0x5a481b,{'headers':{'Content-Type':_0x25f7bb(0x1f9)}}))[_0x25f7bb(0x340)])==null?void 0x0:_0x620a48[_0x25f7bb(0x1bf)])!=null?_0x3e42b4:'';}},_0x96e8e[_0x27b8a5(0x2d5)]=_0x28a4db([_0x367c4f(0x0,_0x1690bf[_0x27b8a5(0x1fe)](_0x1690bf['Injector'])),_0x367c4f(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0x1df59e['HTTPService'])),_0x367c4f(0x2,_0x1690bf['IConfigService']),_0x367c4f(0x3,_0x1690bf[_0x27b8a5(0x3c3)]),_0x367c4f(0x4,_0x116245[_0x27b8a5(0x1ca)])],_0x96e8e[_0x27b8a5(0x2d5)]);var _0x38c789=(_0x2f928c=>(_0x2f928c[_0x2f928c[_0x27b8a5(0x381)]=0x0]=_0x27b8a5(0x381),_0x2f928c[_0x2f928c['OK']=0x1]='OK',_0x2f928c[_0x2f928c[_0x27b8a5(0x427)]=0x2]=_0x27b8a5(0x427),_0x2f928c[_0x2f928c[_0x27b8a5(0x2cc)]=0x3]=_0x27b8a5(0x2cc),_0x2f928c[_0x2f928c['NOT_FOUND']=0x4]=_0x27b8a5(0x34a),_0x2f928c[_0x2f928c[_0x27b8a5(0x326)]=0x5]=_0x27b8a5(0x326),_0x2f928c[_0x2f928c['ALREADY_EXISTS']=0x6]=_0x27b8a5(0x2be),_0x2f928c[_0x2f928c['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x2f928c[_0x2f928c[_0x27b8a5(0x1fc)]=0x8]=_0x27b8a5(0x1fc),_0x2f928c[_0x2f928c['COMPLETION_FINISHED']=0x9]=_0x27b8a5(0x369),_0x2f928c[_0x2f928c[_0x27b8a5(0x257)]=0xa]=_0x27b8a5(0x257),_0x2f928c[_0x2f928c[_0x27b8a5(0x27c)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2f928c[_0x2f928c[_0x27b8a5(0x20b)]=0xc]=_0x27b8a5(0x20b),_0x2f928c[_0x2f928c[_0x27b8a5(0x250)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2f928c[_0x2f928c[_0x27b8a5(0x3d0)]=0xe]=_0x27b8a5(0x3d0),_0x2f928c[_0x2f928c[_0x27b8a5(0x20f)]=0x1389]=_0x27b8a5(0x20f),_0x2f928c[_0x2f928c[_0x27b8a5(0x1dd)]=0x1771]=_0x27b8a5(0x1dd),_0x2f928c[_0x2f928c[_0x27b8a5(0x2dc)]=0x1772]=_0x27b8a5(0x2dc),_0x2f928c[_0x2f928c[_0x27b8a5(0x30a)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2f928c[_0x2f928c['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x2f928c[_0x2f928c[_0x27b8a5(0x213)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2f928c[_0x2f928c[_0x27b8a5(0x3de)]=0x1b5b]=_0x27b8a5(0x3de),_0x2f928c[_0x2f928c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x27b8a5(0x311),_0x2f928c[_0x2f928c[_0x27b8a5(0x319)]=0x1b5d]=_0x27b8a5(0x319),_0x2f928c[_0x2f928c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x27b8a5(0x37a),_0x2f928c[_0x2f928c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x27b8a5(0x425),_0x2f928c[_0x2f928c[_0x27b8a5(0x24f)]=0x232a]=_0x27b8a5(0x24f),_0x2f928c[_0x2f928c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x27b8a5(0x227),_0x2f928c[_0x2f928c[_0x27b8a5(0x303)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2f928c[_0x2f928c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x27b8a5(0x2a2),_0x2f928c[_0x2f928c[_0x27b8a5(0x1ae)]=0x2711]=_0x27b8a5(0x1ae),_0x2f928c[_0x2f928c[_0x27b8a5(0x26b)]=0x2712]=_0x27b8a5(0x26b),_0x2f928c[_0x2f928c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x27b8a5(0x217),_0x2f928c[_0x2f928c[_0x27b8a5(0x2fc)]=0x2714]=_0x27b8a5(0x2fc),_0x2f928c[_0x2f928c['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x27b8a5(0x3a2),_0x2f928c[_0x2f928c[_0x27b8a5(0x39c)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2f928c[_0x2f928c['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2f928c[_0x2f928c[_0x27b8a5(0x34d)]=0x271d]=_0x27b8a5(0x34d),_0x2f928c[_0x2f928c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x27b8a5(0x2ac),_0x2f928c[_0x2f928c[_0x27b8a5(0x2e5)]=0x271f]=_0x27b8a5(0x2e5),_0x2f928c[_0x2f928c['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x2f928c[_0x2f928c[_0x27b8a5(0x253)]=0x2af9]=_0x27b8a5(0x253),_0x2f928c[_0x2f928c[_0x27b8a5(0x2e6)]=0x2ee1]=_0x27b8a5(0x2e6),_0x2f928c[_0x2f928c[_0x27b8a5(0x327)]=0x2ee2]=_0x27b8a5(0x327),_0x2f928c[_0x2f928c['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x2f928c[_0x2f928c[_0x27b8a5(0x353)]=0x2ee4]=_0x27b8a5(0x353),_0x2f928c[_0x2f928c[_0x27b8a5(0x23b)]=0x2ee5]=_0x27b8a5(0x23b),_0x2f928c[_0x2f928c[_0x27b8a5(0x392)]=0x32c9]=_0x27b8a5(0x392),_0x2f928c[_0x2f928c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x27b8a5(0x300),_0x2f928c[_0x2f928c[_0x27b8a5(0x437)]=0x32cb]=_0x27b8a5(0x437),_0x2f928c[_0x2f928c['UNRECOGNIZED']=-0x1]=_0x27b8a5(0x206),_0x2f928c))(_0x38c789||{}),_0x492e0b=Object['getOwnPropertyDescriptor'],_0xebd4f4=(_0x5270b2,_0x25879f,_0x24c364,_0x5d4a0b)=>{const _0x1e879c=_0x27b8a5;for(var _0x45d1e6=_0x5d4a0b>0x1?void 0x0:_0x5d4a0b?_0x492e0b(_0x25879f,_0x24c364):_0x25879f,_0x20bd1a=_0x5270b2[_0x1e879c(0x1ce)]-0x1,_0x5e7dec;_0x20bd1a>=0x0;_0x20bd1a--)(_0x5e7dec=_0x5270b2[_0x20bd1a])&&(_0x45d1e6=_0x5e7dec(_0x45d1e6)||_0x45d1e6);return _0x45d1e6;},_0x33a47d=(_0x56c386,_0x360679)=>(_0x3affdb,_0x302bd4)=>_0x360679(_0x3affdb,_0x302bd4,_0x56c386);_0x96e8e[_0x27b8a5(0x330)]=class extends _0x1690bf[_0x27b8a5(0x202)]{constructor(_0x58832b,_0x1a4507,_0xd9ecf1){const _0x121530=_0x27b8a5;super(),this[_0x121530(0x31f)]=_0x58832b,this[_0x121530(0x1d0)]=_0x1a4507,this['_configService']=_0xd9ecf1;}async[_0x27b8a5(0x1c1)](_0x5a4cf9,_0x111312,_0x14572a,..._0xaa7a38){const _0x1fd1af=_0x27b8a5;var _0x492594,_0x35753c,_0x251080,_0x119447;const _0x3585e1=this['_instanceService'][_0x1fd1af(0x3e8)]();if(!_0x3585e1)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x326419=((_0x492594=this[_0x1fd1af(0x394)][_0x1fd1af(0x2a3)](_0x5e077a[_0x1fd1af(0x279)]))!=null?_0x492594:_0x5e077a[_0x1fd1af(0x374)])+'/'+_0x5a4cf9+_0x1fd1af(0x30e)+_0x111312,_0x352348=new URL(window[_0x1fd1af(0x2ed)][_0x1fd1af(0x31a)]),_0x457cca={'scriptId':_0x5a4cf9,'runId':(_0x35753c=_0x352348[_0x1fd1af(0x2a8)][_0x1fd1af(0x1e0)](_0x1fd1af(0x332)))!=null?_0x35753c:'','function':_0x111312,'unitId':_0x3585e1['getUnitId'](),'argsOfFunction':JSON['stringify'](_0xaa7a38),'invokeId':(_0x251080=_0x14572a[_0x1fd1af(0x38f)])!=null?_0x251080:'','executionId':(_0x119447=_0x14572a[_0x1fd1af(0x248)])!=null?_0x119447:''};try{const _0x4b993c=await this['_httpService'][_0x1fd1af(0x2d3)](_0x326419,{'body':_0x457cca});return _0x4b993c[_0x1fd1af(0x340)]['error']&&_0x4b993c[_0x1fd1af(0x340)][_0x1fd1af(0x29d)][_0x1fd1af(0x3cf)]!==_0x38c789['OK']?'Failed':_0x4b993c[_0x1fd1af(0x340)][_0x1fd1af(0x2d4)];}catch{return _0x1fd1af(0x429);}}},_0x96e8e[_0x27b8a5(0x330)]=_0xebd4f4([_0x33a47d(0x0,_0x1690bf[_0x27b8a5(0x236)]),_0x33a47d(0x1,_0x1690bf[_0x27b8a5(0x1fe)](_0x1df59e[_0x27b8a5(0x3a8)])),_0x33a47d(0x2,_0x1690bf[_0x27b8a5(0x31d)])],_0x96e8e[_0x27b8a5(0x330)]);const _0x33efa1=0x7530,_0x481d3a=_0x27b8a5(0x38b);class _0x431154 extends _0x1690bf[_0x27b8a5(0x202)]{constructor(){const _0xcd36b2=_0x27b8a5;super(),_0x42073c(this,_0xcd36b2(0x2a0),_0x1690bf[_0xcd36b2(0x1cf)]()),_0x42073c(this,_0xcd36b2(0x3ee),new Set()),_0x42073c(this,_0xcd36b2(0x26c),new Map()),_0x42073c(this,_0xcd36b2(0x246),null),_0x42073c(this,_0xcd36b2(0x43d),new Map()),_0x42073c(this,'_unitStatus',new Map()),this[_0xcd36b2(0x26d)]();}[_0x27b8a5(0x436)](){const _0x8fa3c3=_0x27b8a5;super[_0x8fa3c3(0x436)](),this[_0x8fa3c3(0x43d)][_0x8fa3c3(0x2ad)]((_0x56a138,_0x5d4d1d)=>this[_0x8fa3c3(0x26e)](_0x5d4d1d)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x8fa3c3(0x246)]);}['getUnitStatus$'](_0xda8f9e){const _0x511108=_0x27b8a5;return this[_0x511108(0x321)](_0xda8f9e)[_0x511108(0x424)](_0x5f3a87[_0x511108(0x395)]());}['editingUnit'](_0x2901f9){const _0x21c2c3=_0x27b8a5;this['_selfUnitIDs'][_0x21c2c3(0x3eb)]===0x0&&this[_0x21c2c3(0x2bc)](),this[_0x21c2c3(0x3ee)][_0x21c2c3(0x2e2)](_0x2901f9),this[_0x21c2c3(0x1cc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2901f9],'isForwarded':!0x1});}[_0x27b8a5(0x346)](_0x42db2f){const _0x5bc9e5=_0x27b8a5;this[_0x5bc9e5(0x3ee)][_0x5bc9e5(0x295)](_0x42db2f),this['_selfUnitIDs'][_0x5bc9e5(0x3eb)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x3b3956=_0x27b8a5;this['disposeWithMe'](_0x1690bf['toDisposable'](_0x5f3a87['fromEvent'](window,'storage')[_0x3b3956(0x390)](_0x3aea3e=>{const _0x420ffe=_0x3b3956;if(_0x3aea3e['key']!==_0x481d3a||!_0x3aea3e['newValue'])return;const _0x504121=JSON[_0x420ffe(0x2c9)](_0x3aea3e[_0x420ffe(0x40f)]);this['_handleEvent'](_0x504121);}))),window[_0x3b3956(0x399)]('unload',()=>this[_0x3b3956(0x1cc)]({'type':0x1,'memberID':this[_0x3b3956(0x2a0)],'unitIDs':Array[_0x3b3956(0x2b2)](this[_0x3b3956(0x3ee)])}));}[_0x27b8a5(0x441)](_0x39c96d){const _0x801a8=_0x27b8a5;switch(_0x39c96d[_0x801a8(0x2dd)]){case 0x0:this[_0x801a8(0x1c6)](_0x39c96d);break;case 0x1:this[_0x801a8(0x1f6)](_0x39c96d);break;case 0x2:this['_handleHeartbeatEvent'](_0x39c96d);break;}}['_handleJoinEvent'](_0x195227){const _0x259021=_0x27b8a5,{unitIDs:_0x810a52,memberID:_0x67750c,isForwarded:_0x563185}=_0x195227;_0x810a52[_0x259021(0x2ad)](_0x516901=>{const _0x3c7aad=_0x259021;if(!_0x563185&&this[_0x3c7aad(0x26c)]['has'](_0x516901)&&this[_0x3c7aad(0x321)](_0x516901)[_0x3c7aad(0x1b0)](_0x5e077a['UnitStatus'][_0x3c7aad(0x1d4)]),!this[_0x3c7aad(0x26c)]['has'](_0x516901)||!this[_0x3c7aad(0x26c)][_0x3c7aad(0x1e0)](_0x516901)[_0x3c7aad(0x288)](_0x67750c)){const _0x562304=this['_unitOnClients'][_0x3c7aad(0x1e0)](_0x516901)||new Set();_0x562304[_0x3c7aad(0x2e2)](_0x67750c),this[_0x3c7aad(0x26c)][_0x3c7aad(0x2eb)](_0x516901,_0x562304),this[_0x3c7aad(0x262)](_0x67750c);}}),_0x563185||this[_0x259021(0x1cc)]({'type':0x0,'memberID':this[_0x259021(0x2a0)],'unitIDs':[...this[_0x259021(0x3ee)]],'isForwarded':!0x0});}[_0x27b8a5(0x262)](_0x162959){const _0x22e502=_0x27b8a5;this[_0x22e502(0x26e)](_0x162959);const _0x5cfbe9=window[_0x22e502(0x1b2)](()=>{const _0x754361=_0x22e502;this['_unitOnClients'][_0x754361(0x2ad)](_0x360896=>{const _0x265c93=_0x754361;_0x360896[_0x265c93(0x295)](_0x162959);});},_0x33efa1*0x2);this[_0x22e502(0x43d)][_0x22e502(0x2eb)](_0x162959,_0x5cfbe9);}['_removeClearOtherTimer'](_0x50135e){const _0x9f7828=_0x27b8a5;if(this[_0x9f7828(0x43d)][_0x9f7828(0x288)](_0x50135e)){const _0x5cfa14=this['_clearOtherTimers'][_0x9f7828(0x1e0)](_0x50135e);_0x5cfa14&&window[_0x9f7828(0x40b)](_0x5cfa14),this[_0x9f7828(0x43d)][_0x9f7828(0x2eb)](_0x50135e,null);}}[_0x27b8a5(0x1f6)](_0x13ce46){const _0x9bbe7b=_0x27b8a5,{memberID:_0x5cbdaa,unitIDs:_0x114bc2}=_0x13ce46;_0x114bc2[_0x9bbe7b(0x2ad)](_0x3bf8d8=>{const _0x562b75=_0x9bbe7b;var _0x2b5ef5;const _0x28ca37=this[_0x562b75(0x26c)][_0x562b75(0x1e0)](_0x3bf8d8);_0x28ca37&&(_0x28ca37[_0x562b75(0x295)](_0x5cbdaa),(_0x2b5ef5=this['_ensureSubject'](_0x3bf8d8))==null||_0x2b5ef5[_0x562b75(0x1b0)](_0x28ca37[_0x562b75(0x3eb)]===0x0?_0x5e077a[_0x562b75(0x3e6)]['NO_OTHER_CLIENTS_EDITING']:_0x5e077a['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x5cbdaa);}['_handleHeartbeatEvent'](_0x433788){const _0x305857=_0x27b8a5;this[_0x305857(0x262)](_0x433788['memberID']);}[_0x27b8a5(0x1cc)](_0x490653){const _0x5bb30b=_0x27b8a5;localStorage[_0x5bb30b(0x255)](_0x481d3a,JSON[_0x5bb30b(0x1f3)](_0x490653));}[_0x27b8a5(0x2bc)](){const _0x2727a3=_0x27b8a5;this[_0x2727a3(0x246)]=window['setInterval'](()=>{const _0x936950=_0x2727a3;this[_0x936950(0x1cc)]({'type':0x2,'memberID':this[_0x936950(0x2a0)]});},_0x33efa1);}['_ensureSubject'](_0x2e4b3d){const _0x4b50fc=_0x27b8a5;return this[_0x4b50fc(0x1f7)][_0x4b50fc(0x288)](_0x2e4b3d)||this[_0x4b50fc(0x1f7)]['set'](_0x2e4b3d,new _0x5f3a87[(_0x4b50fc(0x1d9))](_0x5e077a[_0x4b50fc(0x3e6)][_0x4b50fc(0x2c8)])),this[_0x4b50fc(0x1f7)]['get'](_0x2e4b3d);}}_0x96e8e[_0x27b8a5(0x32f)]=_0x42645a,_0x96e8e[_0x27b8a5(0x2f3)]=_0xb2b714,_0x96e8e[_0x27b8a5(0x39d)]=_0x431154,_0x96e8e[_0x27b8a5(0x30f)]=_0x45a310,Object['defineProperty'](_0x96e8e,Symbol[_0x27b8a5(0x1f2)],{'value':_0x27b8a5(0x24a)});}));function _0x242f(_0x423b73,_0x4a5871){const _0x3adacd=_0x3ada();return _0x242f=function(_0x242ff3,_0x27913d){_0x242ff3=_0x242ff3-0x1ae;let _0x5d650e=_0x3adacd[_0x242ff3];return _0x5d650e;},_0x242f(_0x423b73,_0x4a5871);}function _0x3ada(){const _0x528e7c=['NOT_FOUND','UNIVER_DOC','serializeRangeWithSheet','YUUMI_ALL_TABLES_IS_INVALID','Vector2','svg','width','text','IImageIoService','USER_NOT_INVITED_CODE','transformMutation','asObservable','subscribeEvent','_univerInstanceService','_colorAssignService','_hideTimer','_refRangeService','_hover','_removeCollabCursors','#FFF','_logService','roomMembers','hovered','split','selections','cursorInfo$','_docSkeletonManagerService','className','RemoveRowCommandId','UniverSheets','1em','COMPLETION_FINISHED','session.collaboration-timeout','InsertRowCommandId','black','_context','rxjs/operators','getLocalCacheKey','call','_commandService','m2Prime','loadOfflineData','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_collaborationUIEventService','DesktopCollaborationStatusDisplayController','_anchorDot','AWAITING_WITH_PENDING','_name','CONNECTOR_DATA_TOO_LARGE','syncEditingCollabCursor','_getSaveTimeout','getSheetObject','random','_cursorShapes','transformMutationsWithChangeset','UNDEFINED','_registerRenderDependencies','_config','getMemberID','AWAITING','collabStatus.syncing','BuiltInUIPart','collabStatus.conflict','addObjects','setActiveRange','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/engine-formula','_disabled','registerRenderModule','invokeId','subscribe','clipPath','WECHAT_HAS_BEEN_BOUND','rxjs','_configService','distinctUntilChanged','exhaustSavingTask','3060SgeabV','font','addEventListener','DocIMEInputManagerService','_createSocketURL','YUUMI_ASYNCIO_CANCELLED','WebBrowserSingleActiveUnitService','saveOfflineData','getMergeData','getUnitId','_getSessionTicket','YUUMI_NO_CUBOID_FOR_QUESTION','init','useObservable','isArray','@univerjs/engine-render','UniverUi','HTTPService','onLocalMutation','UniverProCollaborationClientUi','useCallback','getSheetId','NodePositionConvertToRectRange','SetTextSelectionsOperation','data','_transformService','univer-flex\x20univer-items-center','_sheetSkeletonManagerService','VIEW_MAIN','tag','makeDirty','Shape','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','resize','handleDeleteRangeMoveLeft','red.300','getCurrent','SheetSkeletonManagerService','handleInsertCol','_range','concat','UniverIcon','_notificationService','MemberService','ILogService','column','onPointerEnter$','popstate','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','toRgbString','UniverCollaborationClientUIPlugin','UniverNetwork','FromArray','Rect','includes','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','code','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_labelPosition','measureText','filter','endColumn','onMouseMove','min','debounce','TEXT_RANGE_LAYER_INDEX','activeSheet$','event$','fillStyle','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','icon','APPLY_REVISION_CONFILICT','NodePositionConvertToCursor','onCommandExecuted','getColorFromTheme','RegularPolygon','_initEvent','registerDependencies','endRow','UnitStatus','CONFLICT','getFocusedUnit','collabStatus.fetchMiss','PENDING','size','unitId','React','_selfUnitIDs','collab-rect-range-','currentSkeleton$','_urlService','_entities','@univerjs/docs','2093668fHAyZP','ONLINE','getUnhiddenWorksheets','defineProperty','runRefRangeMutations','CollaborationController','getViewport','url(#$1','ICommandService','_injector','_initCommandExecutedListener','on-line-icon_clip0_910_349','UNIVER_SHEET','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Plugin','addObject','takeUntil','_cachedData','6648OVYPQm','attrs','CLOSE_ROOM','_saveCache','color','clearTimeout','startsWith','labelPosition','Warning','newValue','unshift','transformRemoteChangeset','toString','mapTo','CollaborationUIEventId','Error','_initDependencies','InsertColCommandId','clsx','debounceTime','disposeWithMe','ITransformService','ThemeService','MessageType','_transformUndoRedoStack','unit','DocCollaborationEntity','registerComponent','getParam','addHandlerCallback','pipe','LICENSE_MAX_UNITS_EXCEEDED','LOCAL_CACHE_INTERVAL','INTERNAL_ERROR','DocStateChangeManagerService','Failed','getRenderById','UniverCore','string','_collabSessionService','_startDocCollabCursor','assign','CollaborationEvent','Workbook','subunit','_startSheetCollabCursor','pushState','Subject','dispose','EMAIL_HAS_BEEN_BOUND','getActiveSheet','prototype','collaboration-client.offline-data-not-saved','replaceState','ColorKit','_clearOtherTimers','352546xCttkS','reconnect','redoState','_handleEvent','YUUMI_UNABLE_LOAD_URL','enableLocalCache','next','_backgroundColor','setTimeout','propertyIsEnumerable','find','_initStatusListener','_colorIndex','0\x200\x2016\x2016','undoState','div','CollaborationDataLoaderController','switchMap','replace','CollaborationSessionService','_refreshCollabCursors','ticket','handleInsertRangeMoveRight','runOnServer','UniverCollaborationClientPlugin','replaceDocRanges','UniverEngineRender','_eventUnsubscribe','_handleJoinEvent','combineLatest','beginPath','engine','ISnapshotServerService','_cursors','_send','fillText','length','generateRandomId','_httpService','JOIN_ROOM_FAILED','_renderManagerService','handleDeleteRangeMoveUp','OTHER_CLIENTS_EDITING','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','DisposableCollection','deserializeRangeWithSheet','_collaborationController','BehaviorSubject','sheetID','unsubscribe','_transformHistoryAndStateStack','SNAPSHOT_INVALID_SNAPSHOT','getItem','608LDSfFo','get','_session','_drawTextRange','urlChange$','values','saveTaskMap','debug','_uiPartsService','_docTransformStateCacheService','EffectRefRangId','collabStatus.synced','http://www.w3.org/2000/svg','startColumn','forwardRef','_updateURLWithCurrentState','transformStateCache','getUndoRedoMutationParamsCache','_localStorageService','toStringTag','stringify','getMember','_online','_handleLeaveEvent','_unitStatus','_status$','application/json','NOT_COLLAB','RemoveColCommandId','TOO_MANY_REQUESTS','createElement','Inject','_docTransformIMECacheService','react/jsx-runtime','onPointerLeave$','Disposable','transform','UniverInstanceType','ISocketService','UNRECOGNIZED','UniverProCollaborationClient','getSkeleton','ranges','fill','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','selection','_messageService','CollaborationStatus','CHANGESET_REVISION_CONFILICT','hide','[CollaborationDataLoaderController]','getSheetBySheetId','APPLY_NON_SEQUENTIAL_REVISION','dispose$','subUnitId','some','YUUMI_RATE_OVER_LIMIT','SetWorksheetActivateCommand','unitID','getDocRanges','entityInit$','touchDependencies','symbol','purple.300','DependentOn','session.connection-failed','_initStatusComponent','send','Tooltip','HEADER_MENU','_toggleOnline','off-line-icon','LICENSE_IMPORT_SIZE_EXCEEDED','current','UniverDocs','entries','_docTransformSelectionsService','_lastPointer','path','doc.mutation.rich-text-editing','children','currentColor','merge','getCollabCursors$','OFFLINE','_initEntityListener','_textBubble','IUniverInstanceService','useRef','Injector','_drawAnchor','getOwnPropertyDescriptor','INVITE_CODE_ALREADY_BOUND','setConfig','_scheduleSaving','sessionStatus$','isTransformMutationsWithChangesetSuccess','getCurrentUnitForType','_memberService','getUniverSheetInstance','...','updateOfflineData','_dataLoaderService','_heartbeatTimer','restore','executionId','_docClipboardService','Module','findNodePositionByCharIndex','onTransformChange$','INotificationService','createInstance','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','EMAIL_VERIFY_CODE_MISMATCH','wsSessionTicketUrl','_onRefRangeChange','PY_RUNTIME_SCRIPT_ERROR','name','setItem','transformByState','LOGIN_FAILED','DocSelectionManagerService','exports','_color','getColor','handleInsertRangeMoveDown','_handleHover','shareReplay','_revisionService','complete','getActiveRange','_scheduleClearOtherTimer','_hovered','getCellPositionByOffset','requireSession','displayName','deepClone','218899qJrkDE','_onCursorUpdate','_collabCursorController','YUUMI_URL_COL_OUT_OF_RANGE','_unitOnClients','_init','_removeClearOtherTimer','useDependency','1795FXDYoj','xlink:href','drawWith','RefRangeService','_getMergeRange','_getSheetObject','_updateCollabCursors','_docSyncEditingCollabCursorService','toDisposable','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getTypeOfUnitDisposed$','idSuffix','MOBILE_VERIFY_CODE_MISMATCH','getTypeOfUnitAdded$','_syncEditingCollabCursorService','_localCacheService','docStateChange$','_cursorInfo$','MUTATION','UPDATE_CURSOR','getCoordByCell','m1Prime','collaboration.single-unit.warning','IRemoteInstanceService','has','eventID','collaboration-client-ui.config','collabCursorState$','IRenderManagerService','sheetId','defIds','ILocalCacheService','amd','lineTo','@univerjs/core','translate(.97)','arc','delete','colorChannel1','round','mutations','_draw','then','_beforeCloseService','_docStateChangeManagerService','error','transformSelections','addClipboardHook','_id','@univerjs/ui','LICENSE_DISTRO_REJECTED','getConfig','SOCKET_FAILED_RETRY','collab-text-range-','SetDocZoomRatioOperation','push','searchParams','height','cursorInfo','_shapes','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','forEach','mask','green.600','getOwnPropertySymbols','url(#off-line-icon_clip0_910_343)','from','defs','jsx','transformIMECache','collaboration.closeRoom','indexOf','bottom','3373783lQiiMF','_docSkeleton','blue.400','_scheduleHeartbeat','SYNCED','ALREADY_EXISTS','save','_updateSubUnitFromURLParams','saveImage','USERS_LEAVE','substring','_setupBeforeClosingHandler','RxDisposable','top','fromEventSubject','NO_OTHER_CLIENTS_EDITING','parse','M0\x200H16V16H0z','react','PERMISSION_DENIED','setAlpha','object','_anchor','extend','collabStatus.notCollab','_saveTaskMap','post','result','BrowserCollaborationSocketService','getCurrentRevOfUnit','isActive','IBeforeCloseService','_cursor','DOC_RANGE_TYPE','permission.content','SNAPSHOT_HAS_BEEN_REMOVED','type','COLORS','with','_scene','throttleTime','add','_drawRectRange','registerRefRange','YUUMI_AI_RUN_FAILED','INVITE_CODE_HAS_BEEN_UES','status$','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','@univerjs/docs-ui','connectInjector','set','setShapeProps','location','show','_getScale','_localeService','@univerjs/sheets','_collabCursorState$','SheetCollabCursorShape','_registerDependencies','function','_themeService','@univerjs/drawing','3mJScOE','sessionTicket','startRow','setParam','YUUMI_SUBSCRIPTION_NOT_FOUND','CollaborationUIEventService','@univerjs/design','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','MOBILE_HAS_BEEN_BOUND','_transformPreviousActiveRange','Tools','LICENSE_EXPORT_SIZE_EXCEEDED','_updateLocalCursor','1128080ojTHXX','@univerjs-pro/collaboration','getRangePointData','isTransformMutationFailure','row','ENSURE_SNAPSHOT_EXECUTION','RECT','search','_assignedColors','/run/','WebURLService','UniverSheetsUi','APPLY_PERMISSION_DENIED','Unknown\x20user','univer-mr-2\x20univer-flex\x20univer-text-xl','_entityInit$','UniverEngineFormula','TEXT','rgba(255,\x20255,\x20255,\x200.01)','OTHER_CLIENT_EDITING','APPLY_DUPLICATED','href','_toggleOffline','_roomMembers$','IConfigService','createSocket','_instanceService','handleIRemoveCol','_ensureSubject','@univerjs/sheets-ui','override','collabStatus.offline','getRelativeToViewportCoord','UNAUTHENTICATED','INVALID_INVITE_CODE','use','121nUnQJa','operators','WebSocketService','none','OnLineIcon','SessionStatus','IURLService','RemoteUniscriptService','getValue','runId','max','_getAnchorBounding','SUBMIT_CHANGESET_TIMEOUT','ILocalStorageService','range','isEditing','univerjs-icon\x20univerjs-icon-','hasOwnProperty','_onCursorDelete','getAncestorScale','actions','contains','url(#on-line-icon_clip0_910_349)','body','executeCommand','params','_setupSubUnitSync','registerBeforeClose','history','disposeUnit','map','DeleteRangeMoveLeftCommandId','LocaleService'];_0x3ada=function(){return _0x528e7c;};return _0x3ada();}
1
+ function _0x2a3e(_0x23fb8f,_0x21d2b3){const _0x41d674=_0x41d6();return _0x2a3e=function(_0x2a3ea5,_0x142473){_0x2a3ea5=_0x2a3ea5-0x114;let _0x52acb3=_0x41d674[_0x2a3ea5];return _0x52acb3;},_0x2a3e(_0x23fb8f,_0x21d2b3);}function _0x41d6(){const _0x491d51=['getDocRanges','SNAPSHOT_HAS_BEEN_REMOVED','subUnitId','collaboration-client.offline-data-not-saved','resize','_configService','indexOf','_shapes','_ensureSubject','addEventListener','url(#$1','IBeforeCloseService','flatMap','getLocalCacheKey','IConfigService','loadUnit','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initStatusListener','isTransformMutationFailure','m2Prime','WECHAT_HAS_BEEN_BOUND','@univerjs/ui','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onRefRangeChange','permission.content','OTHER_CLIENTS_EDITING','_range','UNIVER_DOC','getMergeData','IDocClipboardService','closePath','Unknown\x20user','location','shareReplay','takeUntil','entries','_localCacheService','entityInit$','IUniverInstanceService','_handleHover','exhaustSavingTask','onPointerLeave$','getMemberID','_context','_updateSubUnitFromURLParams','getCurrentUnitForType','_cursor','collabCursorState$','pushState','onRendered','assignAColorForMemberID','Shape','off-line-icon_clip0_910_343','...','pluginName','split','newValue','next','BuiltInUIPart','unit','InsertColCommandId','clearTimeout','_transformPreviousActiveRange','INVITE_CODE_REQUIRED','distinctUntilChanged','CommandType','_onCursorUpdate','urlChange$','61767FKLZUl','26433CbmnKh','_labelPosition','current','Failed','getUnitId','searchParams','registerRefRange','green.600','useObservable','_initEvent','editingUnit','APPLY_DUPLICATED','Vector2','m1Prime','_commandService','hide','loadOfflineData','call','_injector','push','_backgroundColor','SetDocZoomRatioOperation','SNAPSHOT_INVALID_SNAPSHOT','_draw','subscribe','getValue','UniverCore','_saveCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','undoState','activeSheet$','_registerDependencies','COMPLETION_FINISHED','_localStorageService','UNRECOGNIZED','onPointerEnter$','getConfig','map','parse','_unitStatus','setConfig','RECT','INVALID_ARGUMENT','_drawAnchor','symbol','_setupSubUnitSync','_onCursorDelete','blue.400','makeDirty','prototype','UniverNetwork','UniverSheetsUi','_revisionService','_doCreateSocket','apply','EffectRefRangId','UPDATE_CURSOR','4552709ZDISzx','setStateCache','sessionStatus$','getOwnPropertyDescriptor','3101960PEFNRX','selection','CollaborationSessionService','collabStatus.fetchMiss','11CHxZFh','_status$','NodePositionConvertToRectRange','_collabCursorController','filter','displayName','FromArray','getSkeleton','_httpService','MOBILE_HAS_BEEN_BOUND','getItem','href','1em','setInterval','ISocketService','getColorFromTheme','_cursors','replace','_startSheetCollabCursor','addHandlerCallback','color','OTHER_CLIENT_EDITING','_cursorInfo$','_drawRectRange','PERMISSION_DENIED','collab-text-anchor-','endColumn','CollaborationUIEventId','MoveRangeCommandId','collabStatus.syncing','xlink:href','triggerDblclick','on-line-icon_clip0_910_349','div','SheetCollabCursorShape','_getSaveTimeout','pipe','WebSocketService','IImageIoService','@univerjs/engine-render','getParam','getCellPositionByOffset','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_updateLocalCursor','_univerInstanceService','session.will-retry','collabStatus.notCollab','_beforeCloseService','svg','_hideTimer','_instanceService','YUUMI_ALL_TABLES_IS_INVALID','onLocalMutation','body','_selfUnitIDs','isTransformMutationsWithChangesetSuccess','enableLocalCache','mutations','_initStatusComponent','_colorAssignService','fill','1526736tlKOvn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','onCommandExecuted','_handleLeaveEvent','measureText','LICENSE_DISTRO_REJECTED','MemberService','values','ColorKit','_id','_sheetSkeletonManagerService','has','UniverDrawing','whenReady','APPLY_REVISION_CONFILICT','eventID','delete','_registerRenderDependencies','_notificationService','DEFAULT_WS_SESSION_TICKET_URL','saveOfflineData','findNodePositionByCharIndex','getCollabCursors$','startColumn','propertyIsEnumerable','Inject','UniverProCollaborationClient','round','getUndoRedoMutationParamsCache','invokeId','registerBeforeClose','rgba(255,\x20255,\x20255,\x200.01)','handleIRemoveCol','IURLService','createSocket','LOGIN_FAILED','colorChannel1','ThemeService','Rectangle','YUUMI_UNABLE_LOAD_URL','DisposableCollection','ALREADY_EXISTS','OnLineIcon','LICENSE_EXPORT_SIZE_EXCEEDED','MOBILE_VERIFY_CODE_MISMATCH','transform','JOIN_ROOM_FAILED','height','getSheetId','code','collab-rect-range-','getMember','dispose$','setAlpha','generateRandomId','_docTransformIMECacheService','transformStateCache','_collabCursorState$','Disposable','onPointerMove$','UniverSheets','Optional','_renderManagerService','save','PENDING','imageSourceType','_entities','font','_anchorDot','disposeUnit','handleIRemoveRow','fillText','Tools','runOnServer','memberID','react/jsx-runtime','CONFLICT','DOC_RANGE_TYPE','purple.300','getUnhiddenWorksheets','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LOCAL_CACHE_INTERVAL_KEY','_anchor','_online','UniverCollaborationClientUIPlugin','getStateCache','UniverProCollaboration','SessionStatus','red.300','5WvRNiu','getOwnPropertySymbols','setUndoRedoMutationParamsCache','/run/','_scheduleHeartbeat','TOO_MANY_REQUESTS','LICENSE_IMPORT_SIZE_EXCEEDED','_hover','disableLocalCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_unitOnClients','collabStatus.synced','APPLY_PERMISSION_DENIED','APPLY_NON_SEQUENTIAL_REVISION','_document','SYNCED','INotificationService','arc','_imageIoService','CollaborationSocketService','NOT_FOUND','unload','IMessageService','@univerjs-pro/collaboration','UniverDesign','LICENSE_MAX_UNITS_EXCEEDED','roomMembers$','CONNECTOR_DATA_TOO_LARGE','_session','DesktopCollaborationStatusDisplayController','transformByState','DocIMEInputManagerService','DocSelectionManagerService','drawWith','_memberService','BehaviorSubject','_startDocCollabCursor','_roomMembers$','@univerjs/sheets','set','_config','roomMembers','_toggleOnline','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_drawTextRange','Warning','_toggleOffline','forwardRef','USERS_LEAVE','className','_docSyncEditingCollabCursorService','post','cursorInfo$','@univerjs/core','InsertRangeMoveRightCommandId','_docSkeletonManagerService','getViewport','_getAnchorBounding','status$','8cstyrW','cursorInfo','moveTo','_dataLoaderService','add','UniverDocsUi','subunit','white','_eventUnsubscribe','serializeRangeWithSheet','ENSURE_SNAPSHOT_EXECUTION','result','_clearOtherTimers','clipPath','DocCollaborationEntity','_initDependencies','getFocusedUnit','_lastPointer','_transformHistoryAndStateStack','isEditing','yellow.400','UNAUTHENTICATED','UniverRpc','combineLatest','_docTransformStateCacheService','YUUMI_AI_RUN_FAILED','CHANGESET_REVISION_CONFILICT','contains','fromEventSubject','transformMutationsWithChangeset','_docTransformSelectionsService','_init','CollaborationStatus','SheetsSelectionsService','getActiveRange','useCallback','currentColor','SetTextSelectionsOperation','startsWith','MUTATION','Injector','DocStateChangeManagerService','_docClipboardService','_scheduleClearOtherTimer','univer-mr-2\x20univer-flex\x20univer-text-xl','Error','asObservable','operators','unitID','http://www.w3.org/2000/svg','_initEntityListener','length','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getScale','getRenderById','toStringTag','defIds','_disabled','@univerjs-pro/collaboration-client','BrowserCollaborationSocketService','path','redoState','syncEditingCollabCursor','getSheetObject','transformSelections','transformMutation','InsertRangeMoveDownCommandId','InsertRowCommandId','_syncEditingCollabCursorService','_handleEvent','children','runId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','trim','setParam','replaceDocRanges','getSheetBySheetId','defineProperty','key','extend','_collabSessionService','_send','jsx','switchMap','evenodd','defs','_refreshCollabCursors','_scene','handleMoveRange','deepClone','black','from','setShapeProps','min','type','Rect','connectInjector','_textBubble','NO_OTHER_CLIENTS_EDITING','_color','WebBrowserSingleActiveUnitService','YUUMI_URL_COL_OUT_OF_RANGE','UniverUi','handleDeleteRangeMoveUp','init','focused$','addObject','_getMergeRange','all','univerjs-icon\x20univerjs-icon-','fromEvent','collabStatus.conflict','range','_hovered','unshift','_docSkeleton','UniverCollaborationClientPlugin','[CollaborationDataLoaderController]','COLORS','random','getCurrent','_render','sessionTicket','useDependency','collab-client.tooltip.reconnect','_removeClearOtherTimer','permission.title','debounceTime','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','size','ITransformService','SHEET_VIEWPORT_KEY','UNIVER_SHEET','setItem','ticket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','startRow','row','_colorIndex','disposeWithMe','_urlService','DependentOn','text','INTERNAL_ERROR','getCoordByCell','UNDEFINED','saveTaskMap','UnitStatus','touchDependencies','DeleteRangeMoveLeftCommandId','_getSessionTicket','ONLINE','idSuffix','function','IUIPartsService','column','bottom','CollaborationDataLoaderController','removeParam','univer-flex\x20univer-items-center','2098284aRtVVw','#FFF','getColor','_uiPartsService','session.collaboration-timeout','top','Tooltip','UniverEngineFormula','656YqJQJb','UniverDocs','_refRangeService','unsubscribe','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','0\x200\x2017\x2016','includes','createIdentifier','handleDeleteRangeMoveLeft','23362KwJUoP','complete','show','_name','substring','EMAIL_VERIFY_CODE_MISMATCH','toDisposable','assign','_removeCollabCursors','icon','executionId','replaceState','ILocalStorageService','ILocalCacheService','some','TEXT_RANGE_LAYER_INDEX','registerRenderModule','throttleTime','registerDependencies','textRanges','@univerjs/docs-ui','_messageService','sheetID','INVITE_CODE_ALREADY_BOUND','_handleJoinEvent','SheetSkeletonManagerService','tag','clearInterval','history','_initCommandExecutedListener','_handleHeartbeatEvent','find','_saveTaskMap','_updateURLWithCurrentState','UniverEngineRender','_setupBeforeClosingHandler','PY_RUNTIME_SCRIPT_ERROR','with','rxjs','@univerjs/rpc','@univerjs/design','concat','isActive','_scheduleSaving','jiqing.500','UniverInstanceType','NOT_COLLAB','docStateChange$','params','error','lineTo','send','react','_logService','toString','registerComponent','YUUMI_NO_CUBOID_FOR_QUESTION','addClipboardHook','string','event$','ISnapshotServerService','currentSkeleton$','backgroundColor','none','getAncestorScale','debounce','getTypeOfUnitAdded$','UniverProCollaborationClientUi','_themeService','FETCH_MISS','_getSheetObject','createElement','isArray','YUUMI_RATE_OVER_LIMIT','getRangePointData','M0\x200H16V16H0z','popstate','deserializeRangeWithSheet','LOCAL_CACHE_INTERVAL','merge','MessageType','selections','subscribeEvent','YUUMI_CONNECTOR_URL_NOT_FOUND','unitId','_transformService','forEach','requireSession','restore','HTTPService','VIEW_MAIN','_docStateChangeManagerService','ranges','React','currentTheme$','_heartbeatTimer','RichTextEditingMutation','beginPath','get','hovered','collaboration.closeRoom','addObjects','doc.mutation.rich-text-editing','_transformUndoRedoStack','ACTIVE_UNIT_EVENT_CHANNEL','INVITE_CODE_HAS_BEEN_UES','handleInsertRow','LocaleService','_updateCollabCursors','_localeService','_assignedColors','RemoteUniscriptService','setTimeout','_collaborationController','SetWorksheetActivateCommand','collab-text-range-','data','name','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','IRenderManagerService','wsSessionTicketUrl','setActiveRange','RxDisposable','@univerjs/docs','SOCKET_FAILED_RETRY','updateOfflineData','_cursorShapes','ICommandService','@univerjs/network','_cachedData','executeCommand','origin','CollaborationEvent','getCurrentRevOfUnit','dispose','TEXT','stringify','transformRemoteChangeset','fillStyle','APPLY_REJECT','EMAIL_HAS_BEEN_BOUND','RemoveColCommandId','CollaborationController','attrs','mask','runRefRangeMutations','width','createInstance','34FJCJYn','then','YUUMI_ASYNCIO_CANCELLED','OFFLINE','translate(.97)','INVALID_INVITE_CODE','Module','_entityInit$','endRow','handleInsertRangeMoveRight'];_0x41d6=function(){return _0x491d51;};return _0x41d6();}(function(_0x3c69a1,_0x5852c1){const _0x470c21=_0x2a3e,_0x42be29=_0x3c69a1();while(!![]){try{const _0x41b144=parseInt(_0x470c21(0x30c))/0x1*(parseInt(_0x470c21(0x278))/0x2)+-parseInt(_0x470c21(0x35b))/0x3*(parseInt(_0x470c21(0x1c7))/0x4)+-parseInt(_0x470c21(0x18c))/0x5*(parseInt(_0x470c21(0x133))/0x6)+parseInt(_0x470c21(0x394))/0x7+-parseInt(_0x470c21(0x26f))/0x8*(parseInt(_0x470c21(0x35a))/0x9)+parseInt(_0x470c21(0x398))/0xa+parseInt(_0x470c21(0x39c))/0xb*(-parseInt(_0x470c21(0x267))/0xc);if(_0x41b144===_0x5852c1)break;else _0x42be29['push'](_0x42be29['shift']());}catch(_0x33cc03){_0x42be29['push'](_0x42be29['shift']());}}}(_0x41d6,0x54f84),function(_0x2f74cc,_0x4cec56){const _0x3762fe=_0x2a3e;typeof exports=='object'&&typeof module<'u'?_0x4cec56(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define(['exports',_0x3762fe(0x17e),_0x3762fe(0x201),_0x3762fe(0x1c1),_0x3762fe(0x32b),_0x3762fe(0x29e),_0x3762fe(0x2a0),_0x3762fe(0x2ac),_0x3762fe(0x29f),_0x3762fe(0x1b2),_0x3762fe(0x11d),_0x3762fe(0x2f8),_0x3762fe(0x28c),'@univerjs/drawing',_0x3762fe(0x1a3),_0x3762fe(0x2f3),'@univerjs/engine-formula','rxjs/operators','@univerjs/sheets-ui'],_0x4cec56):(_0x2f74cc=typeof globalThis<'u'?globalThis:_0x2f74cc||self,_0x4cec56(_0x2f74cc[_0x3762fe(0x2bb)]={},_0x2f74cc[_0x3762fe(0x2d5)],_0x2f74cc[_0x3762fe(0x14d)],_0x2f74cc[_0x3762fe(0x375)],_0x2f74cc[_0x3762fe(0x22d)],_0x2f74cc['rxjs'],_0x2f74cc[_0x3762fe(0x1a4)],_0x2f74cc[_0x3762fe(0x2d5)],_0x2f74cc[_0x3762fe(0x1dd)],_0x2f74cc[_0x3762fe(0x16f)],_0x2f74cc[_0x3762fe(0x29a)],_0x2f74cc[_0x3762fe(0x38d)],_0x2f74cc[_0x3762fe(0x1cc)],_0x2f74cc[_0x3762fe(0x13f)],_0x2f74cc[_0x3762fe(0x189)],_0x2f74cc[_0x3762fe(0x270)],_0x2f74cc[_0x3762fe(0x26e)],_0x2f74cc[_0x3762fe(0x29e)][_0x3762fe(0x1f6)],_0x2f74cc[_0x3762fe(0x38e)]));}(this,function(_0x2fd8ae,_0xfc1913,_0x33f364,_0x2b709b,_0x24d176,_0x3052c2,_0x238d53,_0x429c21,_0x2d0390,_0x52298f,_0x45a576,_0x3092c3,_0x5e00f9,_0xe88a8c,_0x13c520,_0x136824,_0x4c94b6,_0x2698e1,_0x3bd105){'use strict';const _0x360c99=_0x2a3e;var _0x58e69a=Object['defineProperty'],_0xc0a38b=(_0x147b47,_0x56a3f5,_0x5c4989)=>_0x56a3f5 in _0x147b47?_0x58e69a(_0x147b47,_0x56a3f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c4989}):_0x147b47[_0x56a3f5]=_0x5c4989,_0x2197b9=(_0x2d52e8,_0x274a5b,_0x11829a)=>_0xc0a38b(_0x2d52e8,typeof _0x274a5b!=_0x360c99(0x387)?_0x274a5b+'':_0x274a5b,_0x11829a),_0x177906=function(){const _0x387bce=_0x360c99;return _0x177906=Object[_0x387bce(0x27f)]||function(_0x595f6d){const _0x3c8434=_0x387bce;for(var _0x431724,_0xa0161f=0x1,_0x2c0f19=arguments['length'];_0xa0161f<_0x2c0f19;_0xa0161f++){_0x431724=arguments[_0xa0161f];for(var _0x2ddd5d in _0x431724)Object[_0x3c8434(0x38c)]['hasOwnProperty'][_0x3c8434(0x36c)](_0x431724,_0x2ddd5d)&&(_0x595f6d[_0x2ddd5d]=_0x431724[_0x2ddd5d]);}return _0x595f6d;},_0x177906[_0x387bce(0x391)](this,arguments);},_0x5f2abf=function(_0x5b3e87,_0xe4a8b){const _0x7dcb32=_0x360c99;var _0x4dee9b={};for(var _0x35153a in _0x5b3e87)Object[_0x7dcb32(0x38c)]['hasOwnProperty']['call'](_0x5b3e87,_0x35153a)&&_0xe4a8b[_0x7dcb32(0x31c)](_0x35153a)<0x0&&(_0x4dee9b[_0x35153a]=_0x5b3e87[_0x35153a]);if(_0x5b3e87!=null&&typeof Object[_0x7dcb32(0x18d)]==_0x7dcb32(0x260)){for(var _0x1a67ca=0x0,_0x35153a=Object[_0x7dcb32(0x18d)](_0x5b3e87);_0x1a67ca<_0x35153a[_0x7dcb32(0x1fa)];_0x1a67ca++)_0xe4a8b[_0x7dcb32(0x31c)](_0x35153a[_0x1a67ca])<0x0&&Object[_0x7dcb32(0x38c)][_0x7dcb32(0x14b)][_0x7dcb32(0x36c)](_0x5b3e87,_0x35153a[_0x1a67ca])&&(_0x4dee9b[_0x35153a[_0x1a67ca]]=_0x5b3e87[_0x35153a[_0x1a67ca]]);}return _0x4dee9b;},_0xd8baad=_0x429c21['forwardRef'](function(_0x421d73,_0x5e542b){const _0x5b427f=_0x360c99;var _0xc952c8=_0x421d73['icon'],_0x447890=_0x421d73['id'],_0x364e21=_0x421d73[_0x5b427f(0x1bd)],_0x17b057=_0x421d73[_0x5b427f(0x216)],_0x55d8dd=_0x5f2abf(_0x421d73,[_0x5b427f(0x281),'id',_0x5b427f(0x1bd),_0x5b427f(0x216)]),_0x42ef4b=_0x5b427f(0x234)[_0x5b427f(0x2a1)](_0x447890,'\x20')['concat'](_0x364e21||'')[_0x5b427f(0x210)](),_0x3a8532=_0x429c21['useRef']('_'[_0x5b427f(0x2a1)](_0x4e09ba()));return _0x100c97(_0xc952c8,''[_0x5b427f(0x2a1)](_0x447890),{'defIds':_0xc952c8[_0x5b427f(0x1ff)],'idSuffix':_0x3a8532[_0x5b427f(0x35d)]},_0x177906({'ref':_0x5e542b,'className':_0x42ef4b},_0x55d8dd),_0x17b057);});function _0x100c97(_0x2617ab,_0x3f3b7a,_0x3d8ebd,_0xcc857,_0x1592c4){const _0x57885e=_0x360c99;return _0x429c21['createElement'](_0x2617ab[_0x57885e(0x292)],_0x177906(_0x177906({'key':_0x3f3b7a},_0x42e6d3(_0x2617ab,_0x3d8ebd,_0x1592c4)),_0xcc857),(_0x5d3b45(_0x2617ab,_0x3d8ebd)[_0x57885e(0x20d)]||[])['map'](function(_0xfd0184,_0x5b9c64){const _0x21e31f=_0x57885e;return _0x100c97(_0xfd0184,''[_0x21e31f(0x2a1)](_0x3f3b7a,'-')[_0x21e31f(0x2a1)](_0x2617ab[_0x21e31f(0x292)],'-')[_0x21e31f(0x2a1)](_0x5b9c64),_0x3d8ebd,void 0x0,_0x1592c4);}));}function _0x42e6d3(_0x110268,_0x5796d4,_0x4eda1c){const _0x2ec5fd=_0x360c99;var _0x3aefe1=_0x177906({},_0x110268[_0x2ec5fd(0x307)]);_0x4eda1c!=null&&_0x4eda1c[_0x2ec5fd(0x157)]&&_0x3aefe1[_0x2ec5fd(0x132)]===_0x2ec5fd(0x157)&&(_0x3aefe1[_0x2ec5fd(0x132)]=_0x4eda1c[_0x2ec5fd(0x157)]),_0x110268[_0x2ec5fd(0x292)]===_0x2ec5fd(0x308)&&_0x3aefe1['id']&&(_0x3aefe1['id']=_0x3aefe1['id']+_0x5796d4[_0x2ec5fd(0x25f)]),Object[_0x2ec5fd(0x339)](_0x3aefe1)['forEach'](function(_0x338370){const _0x41ecd3=_0x2ec5fd;var _0x2a7cfb=_0x338370[0x0],_0x21e868=_0x338370[0x1];_0x2a7cfb===_0x41ecd3(0x308)&&typeof _0x21e868=='string'&&(_0x3aefe1[_0x2a7cfb]=_0x21e868[_0x41ecd3(0x3ad)](/url\(#(.*)\)/,_0x41ecd3(0x320)[_0x41ecd3(0x2a1)](_0x5796d4['idSuffix'],')')));});var _0x1488ae=_0x5796d4[_0x2ec5fd(0x1ff)];return!_0x1488ae||_0x1488ae[_0x2ec5fd(0x1fa)]===0x0||(_0x110268[_0x2ec5fd(0x292)]==='use'&&_0x3aefe1['xlink:href']&&(_0x3aefe1[_0x2ec5fd(0x114)]=_0x3aefe1[_0x2ec5fd(0x114)]+_0x5796d4[_0x2ec5fd(0x25f)]),Object['entries'](_0x3aefe1)['forEach'](function(_0xad10f5){const _0x2ecec8=_0x2ec5fd;var _0x5020d4=_0xad10f5[0x0],_0x54db65=_0xad10f5[0x1];typeof _0x54db65==_0x2ecec8(0x2b2)&&(_0x3aefe1[_0x5020d4]=_0x54db65[_0x2ecec8(0x3ad)](/url\(#(.*)\)/,_0x2ecec8(0x320)['concat'](_0x5796d4[_0x2ecec8(0x25f)],')')));})),_0x3aefe1;}function _0x5d3b45(_0x51bd0a,_0x31a3e8){const _0x1f2934=_0x360c99;var _0x39e899,_0x5114eb=_0x31a3e8[_0x1f2934(0x1ff)];return!_0x5114eb||_0x5114eb['length']===0x0?_0x51bd0a:_0x51bd0a[_0x1f2934(0x292)]==='defs'&&(!((_0x39e899=_0x51bd0a[_0x1f2934(0x20d)])===null||_0x39e899===void 0x0)&&_0x39e899[_0x1f2934(0x1fa)])?_0x177906(_0x177906({},_0x51bd0a),{'children':_0x51bd0a[_0x1f2934(0x20d)][_0x1f2934(0x380)](function(_0x1cd947){const _0x649235=_0x1f2934;return typeof _0x1cd947['attrs']['id']==_0x649235(0x2b2)&&_0x5114eb&&_0x5114eb[_0x649235(0x275)](_0x1cd947[_0x649235(0x307)]['id'])?_0x177906(_0x177906({},_0x1cd947),{'attrs':_0x177906(_0x177906({},_0x1cd947['attrs']),{'id':_0x1cd947['attrs']['id']+_0x31a3e8[_0x649235(0x25f)]})}):_0x1cd947;})}):_0x51bd0a;}function _0x4e09ba(){const _0x5075eb=_0x360c99;return Math[_0x5075eb(0x23e)]()[_0x5075eb(0x2ae)](0x24)[_0x5075eb(0x27c)](0x2,0x8);}_0xd8baad[_0x360c99(0x3a1)]='UniverIcon';var _0x3f4d17={'tag':_0x360c99(0x126),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x360c99(0x2b7),'viewBox':'0\x200\x2016\x2016','width':_0x360c99(0x3a8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x360c99(0x1eb),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x360c99(0x14e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x360c99(0x34a)},'children':[{'tag':_0x360c99(0x203),'attrs':{'fill':_0x360c99(0x1ce),'d':_0x360c99(0x2c3)}}]}]}],'defIds':[_0x360c99(0x34a)]},_0x251d33=_0x429c21[_0x360c99(0x1bb)](function(_0x5eac2e,_0x49d0a9){const _0x51f221=_0x360c99;return _0x429c21[_0x51f221(0x2bf)](_0xd8baad,Object[_0x51f221(0x27f)]({},_0x5eac2e,{'id':'off-line-icon','ref':_0x49d0a9,'icon':_0x3f4d17}));});_0x251d33[_0x360c99(0x3a1)]='OffLineIcon';var _0x545994={'tag':_0x360c99(0x126),'attrs':{'xmlns':_0x360c99(0x1f8),'fill':_0x360c99(0x2b7),'viewBox':_0x360c99(0x274),'width':_0x360c99(0x3a8),'height':_0x360c99(0x3a8)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x360c99(0x203),'attrs':{'stroke':_0x360c99(0x1eb),'d':_0x360c99(0x273),'strokeLinecap':_0x360c99(0x14e),'strokeLinejoin':_0x360c99(0x14e),'strokeWidth':1.2}}]},{'tag':_0x360c99(0x21c),'attrs':{},'children':[{'tag':_0x360c99(0x1d4),'attrs':{'id':_0x360c99(0x116)},'children':[{'tag':_0x360c99(0x203),'attrs':{'fill':_0x360c99(0x1ce),'d':'M0\x200H16V16H0z','transform':_0x360c99(0x310)}}]}]}],'defIds':[_0x360c99(0x116)]},_0x582e7a=_0x429c21['forwardRef'](function(_0xba816d,_0x24dd79){const _0x4c19c8=_0x360c99;return _0x429c21['createElement'](_0xd8baad,Object[_0x4c19c8(0x27f)]({},_0xba816d,{'id':'on-line-icon','ref':_0x24dd79,'icon':_0x545994}));});_0x582e7a[_0x360c99(0x3a1)]=_0x360c99(0x15d);function _0x4af773(_0x6dd662){const _0x378d5e=_0x360c99;switch(_0x6dd662){case _0x33f364[_0x378d5e(0x1e7)][_0x378d5e(0x30f)]:return'collabStatus.offline';case _0x33f364[_0x378d5e(0x1e7)][_0x378d5e(0x17f)]:return _0x378d5e(0x236);case _0x33f364['CollaborationStatus'][_0x378d5e(0x2bd)]:return _0x378d5e(0x39b);case _0x33f364[_0x378d5e(0x1e7)]['NOT_COLLAB']:return _0x378d5e(0x124);case _0x33f364[_0x378d5e(0x1e7)]['AWAITING']:case _0x33f364[_0x378d5e(0x1e7)]['AWAITING_WITH_PENDING']:return _0x378d5e(0x3b9);case _0x33f364[_0x378d5e(0x1e7)][_0x378d5e(0x19b)]:case _0x33f364[_0x378d5e(0x1e7)][_0x378d5e(0x173)]:return _0x378d5e(0x197);}}function _0x404f63(_0x28bbb2){const _0x2e298f=_0x360c99,{status$:_0x5c9c9a}=_0x28bbb2,_0x22fcde=_0x24d176[_0x2e298f(0x363)](_0x5c9c9a,_0x33f364['CollaborationStatus']['NOT_COLLAB']),_0x1b6be5=_0x24d176[_0x2e298f(0x242)](_0x2b709b[_0x2e298f(0x2e3)]),_0x1e1957=_0x24d176[_0x2e298f(0x242)](_0x33f364['CollaborationSessionService']),_0x55983f=_0x22fcde!==_0x33f364[_0x2e298f(0x1e7)][_0x2e298f(0x30f)],_0x331cd2=_0x1b6be5['t'](_0x4af773(_0x22fcde)),_0x3ff8f6=_0x55983f?_0xfc1913['jsx'](_0x582e7a,{}):_0xfc1913[_0x2e298f(0x219)](_0x251d33,{}),_0x1833aa=_0x429c21[_0x2e298f(0x1ea)](()=>{_0x55983f||_0x1e1957['reconnect']();},[_0x55983f,_0x1e1957]);function _0x5ec271(){const _0x4314ba=_0x2e298f;return _0xfc1913['jsxs'](_0x4314ba(0x117),{'className':_0x4314ba(0x266),'onClick':_0x1833aa,'children':[_0xfc1913['jsx'](_0x4314ba(0x117),{'className':_0x238d53['clsx'](_0x4314ba(0x1f3),{'univer-text-green-500':_0x55983f,'univer-text-red-500':!_0x55983f}),'children':_0x3ff8f6}),_0xfc1913[_0x4314ba(0x219)](_0x4314ba(0x117),{'className':_0x4314ba(0x195),'children':_0x331cd2})]});}return _0x55983f?_0x5ec271():_0xfc1913[_0x2e298f(0x219)](_0x238d53[_0x2e298f(0x26d)],{'title':_0x1b6be5['t'](_0x2e298f(0x243)),'children':_0x5ec271()});}var _0x3c40c5=Object[_0x360c99(0x397)],_0x59b143=(_0x1fc627,_0x5a6a73,_0x32a137,_0x588e9a)=>{const _0x2a6639=_0x360c99;for(var _0x32bb87=_0x588e9a>0x1?void 0x0:_0x588e9a?_0x3c40c5(_0x5a6a73,_0x32a137):_0x5a6a73,_0x290505=_0x1fc627[_0x2a6639(0x1fa)]-0x1,_0x52524e;_0x290505>=0x0;_0x290505--)(_0x52524e=_0x1fc627[_0x290505])&&(_0x32bb87=_0x52524e(_0x32bb87)||_0x32bb87);return _0x32bb87;},_0x440704=(_0xdd385,_0x401ded)=>(_0x12652d,_0x24d97e)=>_0x401ded(_0x12652d,_0x24d97e,_0xdd385);_0x2fd8ae['DesktopCollaborationStatusDisplayController']=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x522564,_0x58efa4,_0x4059bc,_0x4fa4f8){const _0x509eef=_0x360c99;super(),_0x2197b9(this,_0x509eef(0x39d),new _0x3052c2['BehaviorSubject'](_0x33f364[_0x509eef(0x1e7)]['NOT_COLLAB'])),(this[_0x509eef(0x122)]=_0x522564,this[_0x509eef(0x36d)]=_0x58efa4,this[_0x509eef(0x2e9)]=_0x4059bc,this[_0x509eef(0x26a)]=_0x4fa4f8,this[_0x509eef(0x130)](),this['_initStatusListener']());}[_0x360c99(0x327)](){const _0xc43733=_0x360c99;this[_0xc43733(0x252)](this[_0xc43733(0x122)][_0xc43733(0x230)][_0xc43733(0x11a)](_0x3052c2[_0xc43733(0x21a)](()=>{const _0xa96059=_0xc43733,_0x55e1e1=this[_0xa96059(0x122)][_0xa96059(0x1d7)]();return _0x55e1e1?this['_collaborationController']['getCollabEntity$'](_0x55e1e1[_0xa96059(0x35f)]()):_0x3052c2['of'](null);}),_0x3052c2[_0xc43733(0x21a)](_0x171ab9=>_0x171ab9?_0x171ab9[_0xc43733(0x1c6)]:_0x3052c2['of'](_0x33f364[_0xc43733(0x1e7)][_0xc43733(0x2a6)])))[_0xc43733(0x373)](_0x2fded5=>{const _0x3248e0=_0xc43733;this['_status$'][_0x3248e0(0x34f)](_0x2fded5);}));}[_0x360c99(0x130)](){const _0x570aeb=_0x360c99;this[_0x570aeb(0x252)](this[_0x570aeb(0x26a)][_0x570aeb(0x2af)](_0x24d176[_0x570aeb(0x350)]['HEADER_MENU'],()=>_0x24d176[_0x570aeb(0x227)](_0x590eb5({'status$':this[_0x570aeb(0x39d)][_0x570aeb(0x1f5)]()}),this[_0x570aeb(0x36d)])));}},_0x2fd8ae['DesktopCollaborationStatusDisplayController']=_0x59b143([_0x440704(0x0,_0x2b709b[_0x360c99(0x33c)]),_0x440704(0x1,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x440704(0x2,_0x2b709b['Inject'](_0x33f364[_0x360c99(0x306)])),_0x440704(0x3,_0x24d176[_0x360c99(0x261)])],_0x2fd8ae[_0x360c99(0x1a9)]);function _0x590eb5(_0x61a457){const {status$:_0x2b8692}=_0x61a457;return function(){const _0x26e6ad=_0x2a3e;return _0xfc1913[_0x26e6ad(0x219)](_0x404f63,{'status$':_0x2b8692});};}const _0x52e083=_0x2b709b[_0x360c99(0x276)]('uni.network.url-service');var _0x226ff4=Object[_0x360c99(0x397)],_0x9388a2=(_0x215e1e,_0x1be34f,_0x3251fd,_0x3cd6d7)=>{for(var _0x8687e4=_0x3cd6d7>0x1?void 0x0:_0x3cd6d7?_0x226ff4(_0x1be34f,_0x3251fd):_0x1be34f,_0x310c03=_0x215e1e['length']-0x1,_0x3420da;_0x310c03>=0x0;_0x310c03--)(_0x3420da=_0x215e1e[_0x310c03])&&(_0x8687e4=_0x3420da(_0x8687e4)||_0x8687e4);return _0x8687e4;},_0x24d5ad=(_0x3d1b87,_0x116840)=>(_0x582d92,_0x9f724)=>_0x116840(_0x582d92,_0x9f724,_0x3d1b87);_0x2fd8ae[_0x360c99(0x264)]=class extends _0x2b709b[_0x360c99(0x2f2)]{constructor(_0x15d758,_0x327ffe,_0x15eb89,_0x48d71a,_0x1a7b13){const _0x2b7977=_0x360c99;super(),this[_0x2b7977(0x253)]=_0x15d758,this[_0x2b7977(0x2ad)]=_0x327ffe,this[_0x2b7977(0x369)]=_0x15eb89,this[_0x2b7977(0x1ca)]=_0x48d71a,_0x1a7b13?_0x1a7b13==null||_0x1a7b13[_0x2b7977(0x140)]()[_0x2b7977(0x30d)](()=>this[_0x2b7977(0x1e6)]()):(this[_0x2b7977(0x2ad)]['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x360c99(0x1e6)](){const _0x559cb7=_0x360c99,_0x575f4a=this[_0x559cb7(0x253)][_0x559cb7(0x11e)](_0x559cb7(0x351)),_0x5f1175=this[_0x559cb7(0x253)][_0x559cb7(0x11e)](_0x559cb7(0x225)),_0x119468=this[_0x559cb7(0x253)][_0x559cb7(0x11e)](_0x559cb7(0x1cd));if(!_0x575f4a||!_0x5f1175){this[_0x559cb7(0x2ad)]['debug'](_0x559cb7(0x23c),_0x559cb7(0x1fb));return;}const _0x549cf3=await this[_0x559cb7(0x1ca)][_0x559cb7(0x325)](_0x575f4a,Number(_0x5f1175),_0x119468);_0x549cf3&&_0x549cf3 instanceof _0x2b709b['Workbook']&&this[_0x559cb7(0x388)](_0x549cf3);}async[_0x360c99(0x388)](_0x4f0b3c){const _0x51e69f=_0x360c99;await this[_0x51e69f(0x342)](_0x4f0b3c),_0x4f0b3c[_0x51e69f(0x379)][_0x51e69f(0x11a)](_0x3052c2[_0x51e69f(0x338)](this[_0x51e69f(0x167)]))[_0x51e69f(0x373)](_0x1b1f8c=>{const _0x5e9bbf=_0x51e69f;_0x1b1f8c&&this[_0x5e9bbf(0x299)](_0x1b1f8c);}),this[_0x51e69f(0x253)]['urlChange$'][_0x51e69f(0x11a)](_0x3052c2[_0x51e69f(0x338)](this[_0x51e69f(0x167)]))[_0x51e69f(0x373)](()=>this[_0x51e69f(0x342)](_0x4f0b3c));}['_updateURLWithCurrentState'](_0x4172a6,_0x4c7ded=!0x1){const _0x4f10a0=_0x360c99,_0x1218d6=this['_urlService'][_0x4f10a0(0x11e)](_0x4f10a0(0x1cd));_0x4172a6[_0x4f10a0(0x163)]()!==_0x1218d6&&this[_0x4f10a0(0x253)][_0x4f10a0(0x211)](_0x4f10a0(0x1cd),_0x4172a6[_0x4f10a0(0x163)](),_0x4c7ded);}async[_0x360c99(0x342)](_0x5bb2c4){const _0x415c3f=_0x360c99;var _0x5cb361;const _0x798a8d=this['_urlService']['getParam'](_0x415c3f(0x1cd));if(!_0x798a8d||!_0x5bb2c4[_0x415c3f(0x213)](_0x798a8d)){const _0x40b487=_0x5bb2c4[_0x415c3f(0x182)]()[0x0],_0x561c96=_0x5bb2c4[_0x415c3f(0x213)](_0x40b487);if(!_0x561c96)return;this[_0x415c3f(0x299)](_0x561c96,!0x0),await this['_commandService'][_0x415c3f(0x2fa)](_0x52298f[_0x415c3f(0x2ea)]['id'],{'unitId':_0x5bb2c4[_0x415c3f(0x35f)](),'subUnitId':_0x40b487});return;}((_0x5cb361=_0x5bb2c4['getActiveSheet']())==null?void 0x0:_0x5cb361[_0x415c3f(0x163)]())!==_0x798a8d&&await this[_0x415c3f(0x369)]['executeCommand'](_0x52298f[_0x415c3f(0x2ea)]['id'],{'unitId':_0x5bb2c4[_0x415c3f(0x35f)](),'subUnitId':_0x798a8d});}},_0x2fd8ae[_0x360c99(0x264)]=_0x9388a2([_0x24d5ad(0x0,_0x52e083),_0x24d5ad(0x1,_0x2b709b['ILogService']),_0x24d5ad(0x2,_0x2b709b[_0x360c99(0x2f7)]),_0x24d5ad(0x3,_0x2b709b[_0x360c99(0x14c)](_0x33f364['DataLoaderService'])),_0x24d5ad(0x4,_0x2b709b[_0x360c99(0x170)](_0x2d0390['IRemoteInstanceService']))],_0x2fd8ae[_0x360c99(0x264)]);var _0x3aca32=Object[_0x360c99(0x397)],_0x51a5fb=(_0x59b0ca,_0x917fc,_0x328c4b,_0x143310)=>{for(var _0x35b805=_0x143310>0x1?void 0x0:_0x143310?_0x3aca32(_0x917fc,_0x328c4b):_0x917fc,_0x23f5ff=_0x59b0ca['length']-0x1,_0x59a28e;_0x23f5ff>=0x0;_0x23f5ff--)(_0x59a28e=_0x59b0ca[_0x23f5ff])&&(_0x35b805=_0x59a28e(_0x35b805)||_0x35b805);return _0x35b805;},_0x1b70a7=(_0x4c7d6f,_0x21d881)=>(_0x29f739,_0x1ec9c3)=>_0x21d881(_0x29f739,_0x1ec9c3,_0x4c7d6f);let _0xe9be34=class extends _0x2b709b['RxDisposable']{constructor(_0x44b56a,_0x27ade7){const _0x3a34d4=_0x360c99;super(),this[_0x3a34d4(0x1f1)]=_0x44b56a,this[_0x3a34d4(0x19e)]=_0x27ade7,this[_0x3a34d4(0x1e6)]();}[_0x360c99(0x1e6)](){const _0x323f58=_0x360c99,_0x5e0ab1=this;this[_0x323f58(0x252)](this[_0x323f58(0x1f1)][_0x323f58(0x2b1)]({'onBeforePasteImage':async _0x2511a6=>{const _0x253da8=_0x323f58,_0x1a11da=await _0x5e0ab1[_0x253da8(0x19e)]['saveImage'](_0x2511a6);return _0x1a11da?{'source':_0x1a11da['source'],'imageSourceType':_0x1a11da[_0x253da8(0x174)]}:null;}}));}};_0xe9be34=_0x51a5fb([_0x1b70a7(0x0,_0x5e00f9[_0x360c99(0x333)]),_0x1b70a7(0x1,_0xe88a8c[_0x360c99(0x11c)])],_0xe9be34);const _0x4b65fb=[_0x360c99(0x181),_0x360c99(0x2a4),_0x360c99(0x362),_0x360c99(0x18b),_0x360c99(0x38a),_0x360c99(0x1db)];class _0xe4ed4e extends _0x2b709b[_0x360c99(0x16d)]{constructor(){const _0x546ec5=_0x360c99;super(...arguments),_0x2197b9(this,_0x546ec5(0x2e6),new Map()),_0x2197b9(this,_0x546ec5(0x251),0x0);}[_0x360c99(0x348)](_0x355827){const _0x3b3335=_0x360c99;if(this[_0x3b3335(0x2e6)]['has'](_0x355827))return this[_0x3b3335(0x2e6)][_0x3b3335(0x2da)](_0x355827);const _0x30f28a=_0x4b65fb[this['_colorIndex']];return this['_colorIndex']=(this[_0x3b3335(0x251)]+0x1)%_0x4b65fb[_0x3b3335(0x1fa)],this[_0x3b3335(0x2e6)][_0x3b3335(0x1b3)](_0x355827,_0x30f28a),_0x30f28a;}}function _0x5b0648(_0x531ff8){const _0x261f08=_0x360c99;let _0x37f418='';for(const _0x2f8682 of _0x531ff8){const {startOffset:_0x507c64,endOffset:_0x4311f7,isActive:_0xc414b7,rangeType:_0x314600,segmentId:_0x3ddac1,segmentPage:_0x17f25e}=_0x2f8682;_0x37f418[_0x261f08(0x1fa)]&&(_0x37f418+=','),_0x37f418+=_0x507c64+':'+_0x4311f7+':'+(_0xc414b7?'1':'0')+':'+_0x314600+':'+_0x3ddac1+':'+_0x17f25e;}return _0x37f418;}function _0x24f4e8(_0xbf5726){const _0xbef2a1=_0x360c99,_0x44d871=_0xbf5726['split'](','),_0x233b3f=[];for(const _0x18038f of _0x44d871){const [_0x3e953e,_0x1d778f,_0x2ae558,_0x546541,_0x11183e,_0x340462]=_0x18038f[_0xbef2a1(0x34d)](':');_0x233b3f[_0xbef2a1(0x36e)]({'startOffset':Number(_0x3e953e),'endOffset':Number(_0x1d778f),'collapsed':_0x3e953e===_0x1d778f,'isActive':_0x2ae558==='1','rangeType':_0x546541===_0x2b709b[_0xbef2a1(0x180)][_0xbef2a1(0x2ff)]?_0x2b709b['DOC_RANGE_TYPE'][_0xbef2a1(0x2ff)]:_0x2b709b['DOC_RANGE_TYPE'][_0xbef2a1(0x384)],'segmentId':typeof _0x11183e==_0xbef2a1(0x2b2)?String(_0x11183e):'','segmentPage':Number(_0x340462!=null?_0x340462:-0x1)});}return _0x233b3f[_0xbef2a1(0x286)](_0x16bb77=>_0x16bb77[_0xbef2a1(0x2a2)])||(_0x233b3f[0x0][_0xbef2a1(0x2a2)]=!0x0),_0x233b3f;}class _0x314824 extends _0x2b709b[_0x360c99(0x2f2)]{constructor(){const _0x16473b=_0x360c99;super(...arguments),_0x2197b9(this,_0x16473b(0x16c),new _0x3052c2[(_0x16473b(0x1af))](null)),_0x2197b9(this,_0x16473b(0x345),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x281aea){const _0x3fead3=_0x360c99,{unitID:_0x5366fb,memberID:_0x503df2,textRanges:_0x46d09c}=_0x281aea,_0x3fd1bf=_0x5b0648(_0x46d09c);if(_0x3fd1bf==='')return;const _0xa93a72={'unitID':_0x5366fb,'memberID':_0x503df2,'selection':_0x3fd1bf};this['_collabCursorState$'][_0x3fead3(0x34f)](_0xa93a72);}}var _0x4b0105=Object[_0x360c99(0x397)],_0x1f0dc8=(_0xee9547,_0x223743,_0x38beed,_0x70d857)=>{for(var _0x131904=_0x70d857>0x1?void 0x0:_0x70d857?_0x4b0105(_0x223743,_0x38beed):_0x223743,_0x25e2a1=_0xee9547['length']-0x1,_0x322cfb;_0x25e2a1>=0x0;_0x25e2a1--)(_0x322cfb=_0xee9547[_0x25e2a1])&&(_0x131904=_0x322cfb(_0x131904)||_0x131904);return _0x131904;},_0x34e023=(_0x5c0006,_0x206eee)=>(_0x837e2b,_0x739045)=>_0x206eee(_0x837e2b,_0x739045,_0x5c0006);const _0x53be8a=0x12c,_0xbfb85c=0x64;let _0x3f8cee=class extends _0x2b709b[_0x360c99(0x2f2)]{constructor(_0x56858e,_0x3e03e8,_0x5e741a,_0x50b23c,_0x37c45c,_0x5d5ec7,_0x41ed98,_0x5cca68,_0x42a2d0){const _0x2745ee=_0x360c99;super(),_0x2197b9(this,_0x2745ee(0x186),!0x1),_0x2197b9(this,_0x2745ee(0x1e6),!0x1),_0x2197b9(this,_0x2745ee(0x3b2),new _0x3052c2[(_0x2745ee(0x1af))](new Map())),_0x2197b9(this,_0x2745ee(0x1c0),this[_0x2745ee(0x3b2)][_0x2745ee(0x1f5)]()),_0x2197b9(this,_0x2745ee(0x1b1),new _0x3052c2[(_0x2745ee(0x1af))]([])),_0x2197b9(this,_0x2745ee(0x1a6),this[_0x2745ee(0x1b1)][_0x2745ee(0x11a)](_0x3052c2[_0x2745ee(0x246)](_0x53be8a))),_0x2197b9(this,_0x2745ee(0x121),_0x2b709b['debounce'](_0x11fb4a=>{const _0xc646ac=_0x2745ee,_0x17502a={'eventID':_0x13c520[_0xc646ac(0x2fc)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xc646ac(0x1f7)],'memberID':this[_0xc646ac(0x1a8)][_0xc646ac(0x340)](),'selection':_0x5b0648(_0x11fb4a)}};this[_0xc646ac(0x1a8)][_0xc646ac(0x2ab)](_0x17502a,this['unitID']);},_0xbfb85c)),(this[_0x2745ee(0x1f7)]=_0x56858e,this[_0x2745ee(0x1a8)]=_0x3e03e8,this[_0x2745ee(0x36d)]=_0x5e741a,this['_colorAssignService']=_0x50b23c,this[_0x2745ee(0x1ae)]=_0x37c45c,this[_0x2745ee(0x20b)]=_0x5d5ec7,this['_transformService']=_0x41ed98,this[_0x2745ee(0x122)]=_0x5cca68,this['_commandService']=_0x42a2d0);}get[_0x360c99(0x1c8)](){const _0x385983=_0x360c99;return this[_0x385983(0x3b2)][_0x385983(0x374)]();}get[_0x360c99(0x1b5)](){const _0x5e7afa=_0x360c99;return this[_0x5e7afa(0x1b1)]['getValue']();}[_0x360c99(0x2fe)](){const _0x4b254c=_0x360c99;super[_0x4b254c(0x2fe)](),this[_0x4b254c(0x3b2)][_0x4b254c(0x34f)](new Map()),this[_0x4b254c(0x3b2)]['complete'](),this[_0x4b254c(0x1b1)][_0x4b254c(0x34f)]([]),this[_0x4b254c(0x1b1)][_0x4b254c(0x279)]();}[_0x360c99(0x22f)](){const _0x9c9870=_0x360c99;this[_0x9c9870(0x1e6)]||(this['_init']=!0x0,this['_session'][_0x9c9870(0x396)][_0x9c9870(0x11a)](_0x3052c2['takeUntil'](this[_0x9c9870(0x167)]))[_0x9c9870(0x373)](_0x267b12=>{const _0x57e849=_0x9c9870;_0x267b12===_0x33f364[_0x57e849(0x18a)]['ONLINE']?this[_0x57e849(0x1b6)]():this['_toggleOffline']();}),this[_0x9c9870(0x1a8)]['event$'][_0x9c9870(0x11a)](_0x3052c2[_0x9c9870(0x338)](this[_0x9c9870(0x167)]))[_0x9c9870(0x373)](_0x4570bb=>{const _0x31a50b=_0x9c9870,_0x1ec7b0=_0x4570bb[_0x31a50b(0x142)];_0x1ec7b0===_0x13c520[_0x31a50b(0x2fc)]['UPDATE_CURSOR']&&this[_0x31a50b(0x358)](_0x4570bb),_0x1ec7b0===_0x13c520['CollaborationEvent'][_0x31a50b(0x1bc)]&&this[_0x31a50b(0x389)](_0x4570bb);}),this[_0x9c9870(0x252)](this[_0x9c9870(0x369)]['onCommandExecuted'](_0x4b3a87=>{const _0x42c82d=_0x9c9870,_0x243113=_0x4b3a87[_0x42c82d(0x2a8)];_0x243113!=null&&this[_0x42c82d(0x186)]&&_0x4b3a87['id']===_0x136824[_0x42c82d(0x1ec)]['id']&&_0x243113['unitId']===this[_0x42c82d(0x1f7)]&&_0x243113[_0x42c82d(0x1da)]===!0x1&&_0x243113['ranges'][_0x42c82d(0x1fa)]>0x0&&this[_0x42c82d(0x121)](_0x243113['ranges']);})),this[_0x9c9870(0x20b)][_0x9c9870(0x345)][_0x9c9870(0x11a)](_0x3052c2[_0x9c9870(0x338)](this[_0x9c9870(0x167)]))[_0x9c9870(0x373)](_0x54f269=>{const _0x57169d=_0x9c9870;if((_0x54f269==null?void 0x0:_0x54f269[_0x57169d(0x1f7)])!==this['unitID'])return;const _0x1c7fe8={'eventID':_0x13c520[_0x57169d(0x2fc)][_0x57169d(0x393)],'data':_0x54f269};this[_0x57169d(0x358)](_0x1c7fe8);}),this[_0x9c9870(0x252)](this[_0x9c9870(0x369)][_0x9c9870(0x135)](_0x34a9fd=>{const _0x48d7c9=_0x9c9870;if(_0x34a9fd[_0x48d7c9(0x2a8)]==null)return;const _0x7f8303=_0x34a9fd['params'];if(_0x34a9fd['id']!==_0x136824[_0x48d7c9(0x2d8)]['id']||_0x7f8303[_0x48d7c9(0x2cc)]!==this['unitID'])return;const _0x1253f5={'id':_0x48d7c9(0x2de),'params':_0x7f8303},_0xeb9779=this[_0x48d7c9(0x1c8)];for(const [_0x472098,_0x566f69]of _0xeb9779){const _0x7f39d3={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x566f69[_0x48d7c9(0x2d4)]}},_0x2a6f5b=this['_transformService'][_0x48d7c9(0x208)](_0x1253f5,_0x7f39d3,!0x1);if(_0x13c520['isTransformMutationFailure'](_0x2a6f5b))throw _0x2a6f5b[_0x48d7c9(0x2a9)];_0xeb9779[_0x48d7c9(0x1b3)](_0x472098,{..._0x566f69,'ranges':_0x2a6f5b['m2Prime'][_0x48d7c9(0x2a8)][_0x48d7c9(0x28b)]});}queueMicrotask(()=>{const _0x4abe44=_0x48d7c9;this['_cursorInfo$'][_0x4abe44(0x34f)](_0xeb9779);});})));}[_0x360c99(0x358)](_0x488679){const _0x20a1f6=_0x360c99;var _0x4addde,_0x40e660;const {memberID:_0x3050e0,selection:_0x119842}=_0x488679[_0x20a1f6(0x2ec)],_0x63f6c9=_0x24f4e8(_0x119842),_0x520cf6=(_0x40e660=(_0x4addde=this[_0x20a1f6(0x1ae)][_0x20a1f6(0x166)](this['unitID'],_0x3050e0))==null?void 0x0:_0x4addde['name'])!=null?_0x40e660:_0x20a1f6(0x335),_0x3b4e97={'color':this[_0x20a1f6(0x131)][_0x20a1f6(0x348)](_0x3050e0),'name':_0x520cf6,'ranges':_0x63f6c9},_0x737c05=this[_0x20a1f6(0x1c8)];_0x737c05[_0x20a1f6(0x1b3)](_0x3050e0,_0x3b4e97),this['_cursorInfo$'][_0x20a1f6(0x34f)](_0x737c05);}[_0x360c99(0x389)](_0x92be0b){const _0x5d2f76=_0x360c99,{memberID:_0x590c0b}=_0x92be0b[_0x5d2f76(0x2ec)],_0xf40e0c=this[_0x5d2f76(0x1c8)];_0xf40e0c[_0x5d2f76(0x143)](_0x590c0b),this[_0x5d2f76(0x3b2)][_0x5d2f76(0x34f)](_0xf40e0c);}[_0x360c99(0x1b6)](){const _0x5535aa=_0x360c99;var _0x3f0ca3;if(this[_0x5535aa(0x186)]=!0x0,((_0x3f0ca3=this['_univerInstanceService'][_0x5535aa(0x1d7)]())==null?void 0x0:_0x3f0ca3[_0x5535aa(0x35f)]())!==this[_0x5535aa(0x1f7)])return;const _0x1e01b3=this[_0x5535aa(0x36d)][_0x5535aa(0x2da)](_0x136824[_0x5535aa(0x1ac)])[_0x5535aa(0x316)]();Array[_0x5535aa(0x2c0)](_0x1e01b3)&&_0x1e01b3[_0x5535aa(0x1fa)]>0x0&&this[_0x5535aa(0x121)](_0x1e01b3);}[_0x360c99(0x1ba)](){const _0x97905c=_0x360c99;this[_0x97905c(0x186)]=!0x1;}};_0x3f8cee=_0x1f0dc8([_0x34e023(0x2,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x34e023(0x3,_0x2b709b[_0x360c99(0x14c)](_0xe4ed4e)),_0x34e023(0x4,_0x2b709b[_0x360c99(0x14c)](_0x33f364[_0x360c99(0x139)])),_0x34e023(0x5,_0x2b709b[_0x360c99(0x14c)](_0x314824)),_0x34e023(0x6,_0x13c520[_0x360c99(0x249)]),_0x34e023(0x7,_0x2b709b[_0x360c99(0x33c)]),_0x34e023(0x8,_0x2b709b['ICommandService'])],_0x3f8cee);var _0x2b7695=Object[_0x360c99(0x397)],_0x2dd8eb=(_0x2dfeaf,_0x424a5c,_0x4c0f8a,_0x35be0c)=>{const _0x4f0a22=_0x360c99;for(var _0xfeafbe=_0x35be0c>0x1?void 0x0:_0x35be0c?_0x2b7695(_0x424a5c,_0x4c0f8a):_0x424a5c,_0x322357=_0x2dfeaf[_0x4f0a22(0x1fa)]-0x1,_0x6f829d;_0x322357>=0x0;_0x322357--)(_0x6f829d=_0x2dfeaf[_0x322357])&&(_0xfeafbe=_0x6f829d(_0xfeafbe)||_0xfeafbe);return _0xfeafbe;},_0x538134=(_0x151eb3,_0x38099c)=>(_0x5dd2b9,_0x1e1fb3)=>_0x38099c(_0x5dd2b9,_0x1e1fb3,_0x151eb3);const _0x139d86=0x12c,_0x2daf18=0x64,_0x4bc158=()=>{let _0x2fa8e4=[],_0x54e6af=!0x1;return _0x25bb47=>{_0x2fa8e4['push'](_0x25bb47),_0x54e6af||(_0x54e6af=!0x0,setTimeout(()=>{const _0x21211b=_0x2a3e;_0x2fa8e4[_0x21211b(0x2ce)](_0x1bca0d=>_0x1bca0d()),_0x2fa8e4=[],_0x54e6af=!0x1;}));};};let _0x1f0937=class extends _0x2b709b[_0x360c99(0x2f2)]{constructor(_0x39629d,_0x4e50ef,_0x46cf85,_0x5c25f0,_0x6a4662,_0x493f8c,_0x179cb2,_0x55a4c3){const _0x53947c=_0x360c99;super(),_0x2197b9(this,_0x53947c(0x186),!0x1),_0x2197b9(this,_0x53947c(0x1e6),!0x1),_0x2197b9(this,_0x53947c(0x3b2),new _0x3052c2[(_0x53947c(0x1af))](new Map())),_0x2197b9(this,_0x53947c(0x1c0),this[_0x53947c(0x3b2)]['asObservable']()),_0x2197b9(this,'_roomMembers$',new _0x3052c2['BehaviorSubject']([])),_0x2197b9(this,_0x53947c(0x1a6),this[_0x53947c(0x1b1)][_0x53947c(0x11a)](_0x3052c2[_0x53947c(0x246)](_0x139d86))),_0x2197b9(this,_0x53947c(0x121),_0x2b709b[_0x53947c(0x2b9)]((_0x572796,_0x39aa6d)=>{const _0x5d7dd6=_0x53947c,_0x1a6b0f={'eventID':_0x13c520[_0x5d7dd6(0x2fc)][_0x5d7dd6(0x393)],'data':{'unitID':this['unitID'],'memberID':this[_0x5d7dd6(0x1a8)][_0x5d7dd6(0x340)](),'selection':_0x4c94b6[_0x5d7dd6(0x1d0)](_0x572796,_0x39aa6d['range'])}};this[_0x5d7dd6(0x1a8)][_0x5d7dd6(0x2ab)](_0x1a6b0f,this[_0x5d7dd6(0x1f7)]);},_0x2daf18)),(this[_0x53947c(0x1f7)]=_0x39629d,this[_0x53947c(0x1a8)]=_0x4e50ef,this[_0x53947c(0x36d)]=_0x46cf85,this[_0x53947c(0x131)]=_0x5c25f0,this[_0x53947c(0x1ae)]=_0x6a4662,this[_0x53947c(0x122)]=_0x493f8c,this['_commandService']=_0x179cb2,this['_refRangeService']=_0x55a4c3);}get[_0x360c99(0x1c8)](){const _0x16cd8f=_0x360c99;return this[_0x16cd8f(0x3b2)][_0x16cd8f(0x374)]();}get[_0x360c99(0x1b5)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x71302c=_0x360c99;super['dispose'](),this['_cursorInfo$'][_0x71302c(0x34f)](new Map()),this['_cursorInfo$'][_0x71302c(0x279)](),this[_0x71302c(0x1b1)][_0x71302c(0x34f)]([]),this[_0x71302c(0x1b1)]['complete']();}[_0x360c99(0x22f)](){const _0x218970=_0x360c99;this['_init']||(this[_0x218970(0x1e6)]=!0x0,this[_0x218970(0x1a8)]['sessionStatus$'][_0x218970(0x11a)](_0x3052c2[_0x218970(0x338)](this[_0x218970(0x167)]))['subscribe'](_0x4394d1=>{const _0x3e1f84=_0x218970;_0x4394d1===_0x33f364[_0x3e1f84(0x18a)][_0x3e1f84(0x25e)]?this[_0x3e1f84(0x1b6)]():this[_0x3e1f84(0x1ba)]();}),this[_0x218970(0x1a8)]['event$'][_0x218970(0x11a)](_0x3052c2[_0x218970(0x338)](this['dispose$']))['subscribe'](_0x1b73a1=>{const _0x1b1654=_0x218970,_0x31ade8=_0x1b73a1[_0x1b1654(0x142)];_0x31ade8===_0x13c520[_0x1b1654(0x2fc)][_0x1b1654(0x393)]&&this[_0x1b1654(0x358)](_0x1b73a1),_0x31ade8===_0x13c520[_0x1b1654(0x2fc)][_0x1b1654(0x1bc)]&&this[_0x1b1654(0x389)](_0x1b73a1);}),this[_0x218970(0x32d)](),this[_0x218970(0x252)](this[_0x218970(0x369)]['onCommandExecuted'](_0x226cb1=>{const _0x5e84be=_0x218970;if(this[_0x5e84be(0x186)]&&_0x226cb1['id']===_0x52298f['SetSelectionsOperation']['id']&&_0x226cb1[_0x5e84be(0x2a8)]['unitId']===this[_0x5e84be(0x1f7)]){const _0x79aa24=_0x226cb1[_0x5e84be(0x2a8)];this['_updateLocalCursor'](_0x79aa24[_0x5e84be(0x318)],_0x79aa24[_0x5e84be(0x2c9)][0x0]);}})));}['_onCursorUpdate'](_0x2aefd9){const _0x421982=_0x360c99;var _0x48c763,_0x44dc99;const {memberID:_0x2af0bd,selection:_0xa8683e}=_0x2aefd9[_0x421982(0x2ec)],{sheetName:_0x1fcdf5,range:_0x2c174c}=_0x4c94b6[_0x421982(0x2c5)](_0xa8683e),_0x51a621={'name':(_0x44dc99=(_0x48c763=this[_0x421982(0x1ae)][_0x421982(0x166)](this[_0x421982(0x1f7)],_0x2af0bd))==null?void 0x0:_0x48c763['name'])!=null?_0x44dc99:'Unknown\x20user','range':this[_0x421982(0x232)](_0x1fcdf5,_0x2c174c),'sheetID':_0x1fcdf5,'color':this['_colorAssignService'][_0x421982(0x348)](_0x2af0bd),'selection':_0xa8683e},_0xf9575d=this['cursorInfo'];_0xf9575d[_0x421982(0x1b3)](_0x2af0bd,_0x51a621),this[_0x421982(0x3b2)][_0x421982(0x34f)](_0xf9575d);}[_0x360c99(0x389)](_0x498497){const _0x227e36=_0x360c99,{memberID:_0x3cf714}=_0x498497[_0x227e36(0x2ec)],_0x2a619b=this['cursorInfo'];_0x2a619b['delete'](_0x3cf714),this[_0x227e36(0x3b2)]['next'](_0x2a619b);}[_0x360c99(0x232)](_0x1b9b12,_0x4b6fe9){const _0x40c89f=_0x360c99;var _0x2e7ab1,_0x263878;const _0x21e84f=(_0x263878=(_0x2e7ab1=this[_0x40c89f(0x122)]['getUniverSheetInstance'](this[_0x40c89f(0x1f7)]))==null?void 0x0:_0x2e7ab1['getSheetBySheetId'](_0x1b9b12))==null?void 0x0:_0x263878[_0x40c89f(0x332)]();return(_0x21e84f==null?void 0x0:_0x21e84f[_0x40c89f(0x297)](_0x1cd4ff=>_0x2b709b[_0x40c89f(0x159)][_0x40c89f(0x1e2)](_0x1cd4ff,_0x4b6fe9)))||_0x4b6fe9;}[_0x360c99(0x32d)](){const _0x38eb99=_0x360c99,_0x4e3738=new _0x2b709b[(_0x38eb99(0x15b))](),_0x509da8=_0x4bc158(),_0x6ae952=()=>{const _0x475d49=_0x38eb99;_0x4e3738[_0x475d49(0x2fe)]();const _0x528976=(_0x4cf4f3,_0xa40c5f,_0x433241,_0x5ddbdc)=>{const _0x385951=_0x475d49;let _0x430d0f=[];switch(_0x4cf4f3['id']){case _0x52298f[_0x385951(0x392)][_0x385951(0x25c)]:{_0x430d0f=_0x52298f[_0x385951(0x277)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)]['DeleteRangeMoveUpCommandId']:{_0x430d0f=_0x52298f[_0x385951(0x22e)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x352)]:{_0x430d0f=_0x52298f['handleInsertCol'](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x209)]:{_0x430d0f=_0x52298f['handleInsertRangeMoveDown'](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x1c2)]:{_0x430d0f=_0x52298f[_0x385951(0x315)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x20a)]:{_0x430d0f=_0x52298f[_0x385951(0x2e2)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f['EffectRefRangId'][_0x385951(0x3b8)]:{_0x430d0f=_0x52298f[_0x385951(0x21f)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x305)]:{_0x430d0f=_0x52298f[_0x385951(0x153)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f['EffectRefRangId']['RemoveRowCommandId']:{_0x430d0f=_0x52298f[_0x385951(0x179)](_0x4cf4f3,_0x5ddbdc);break;}}const _0x1ea462=_0x52298f[_0x385951(0x309)](_0x430d0f,_0x5ddbdc),_0x1577cf=this['cursorInfo'][_0x385951(0x2da)](_0xa40c5f);if(_0x1577cf&&_0x1ea462){const _0x28cefc={..._0x1577cf,'range':_0x1ea462};this[_0x385951(0x1c8)][_0x385951(0x1b3)](_0xa40c5f,_0x28cefc),_0x509da8(()=>{const _0xbdb00f=_0x385951,_0x59a1be=this['_refRangeService'][_0xbdb00f(0x361)](_0x1ea462,_0x72b53a=>(_0x59a1be[_0xbdb00f(0x2fe)](),_0x528976(_0x72b53a,_0xa40c5f,_0x433241,_0x1ea462)));_0x4e3738[_0xbdb00f(0x1cb)](_0x59a1be);});}return{'redos':[],'undos':[]};};this[_0x475d49(0x1c8)][_0x475d49(0x2ce)]((_0x154f41,_0x65a859)=>{const _0x4612a7=_0x475d49,{range:_0x5e1d4a,sheetID:_0x557e49}=_0x154f41,_0xd41817=this[_0x4612a7(0x271)][_0x4612a7(0x361)](_0x5e1d4a,_0x24af01=>(_0xd41817['dispose'](),_0x528976(_0x24af01,_0x65a859,_0x557e49,_0x5e1d4a)));_0x4e3738['add'](_0xd41817);});};this[_0x38eb99(0x252)](_0x2b709b[_0x38eb99(0x27e)](this[_0x38eb99(0x3b2)][_0x38eb99(0x373)](()=>{_0x6ae952();})));}['_toggleOnline'](){const _0x3a7b21=_0x360c99;var _0x37fbb1,_0x2981c8;if(this[_0x3a7b21(0x186)]=!0x0,((_0x37fbb1=this[_0x3a7b21(0x122)]['getFocusedUnit']())==null?void 0x0:_0x37fbb1[_0x3a7b21(0x35f)]())!==this['unitID'])return;const _0x675175=(_0x2981c8=this[_0x3a7b21(0x36d)]['get'](_0x52298f[_0x3a7b21(0x1e8)])['getCurrentSelections']())==null?void 0x0:_0x2981c8[0x0],_0x1fc7b1=this[_0x3a7b21(0x122)][_0x3a7b21(0x343)](_0x2b709b[_0x3a7b21(0x2a5)]['UNIVER_SHEET'])['getActiveSheet']();_0x675175&&_0x1fc7b1&&this[_0x3a7b21(0x121)](_0x1fc7b1[_0x3a7b21(0x163)](),_0x675175);}[_0x360c99(0x1ba)](){const _0x1efd23=_0x360c99;this[_0x1efd23(0x186)]=!0x1;}};_0x1f0937=_0x2dd8eb([_0x538134(0x2,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x538134(0x3,_0x2b709b[_0x360c99(0x14c)](_0xe4ed4e)),_0x538134(0x4,_0x2b709b[_0x360c99(0x14c)](_0x33f364[_0x360c99(0x139)])),_0x538134(0x5,_0x2b709b[_0x360c99(0x33c)]),_0x538134(0x6,_0x2b709b[_0x360c99(0x2f7)]),_0x538134(0x7,_0x2b709b[_0x360c99(0x14c)](_0x52298f['RefRangeService']))],_0x1f0937);var _0x4af34c=Object[_0x360c99(0x397)],_0x1c48e1=(_0xf9ad60,_0xad18c,_0x5271a0,_0x2c8db8)=>{const _0x33c696=_0x360c99;for(var _0x440d97=_0x2c8db8>0x1?void 0x0:_0x2c8db8?_0x4af34c(_0xad18c,_0x5271a0):_0xad18c,_0x35738a=_0xf9ad60[_0x33c696(0x1fa)]-0x1,_0x206e44;_0x35738a>=0x0;_0x35738a--)(_0x206e44=_0xf9ad60[_0x35738a])&&(_0x440d97=_0x206e44(_0x440d97)||_0x440d97);return _0x440d97;},_0x1b0a8a=(_0x21fa0f,_0x5ec38c)=>(_0xbb0283,_0x3e360c)=>_0x5ec38c(_0xbb0283,_0x3e360c,_0x21fa0f);let _0x29df5e=class extends _0x2b709b['RxDisposable']{constructor(_0x201612,_0x1cd059,_0x149d2c){const _0x2d87b3=_0x360c99;super(),_0x2197b9(this,_0x2d87b3(0x175),new Map()),_0x2197b9(this,_0x2d87b3(0x313),new _0x3052c2['Subject']()),(this[_0x2d87b3(0x122)]=_0x201612,this[_0x2d87b3(0x36d)]=_0x1cd059,this['_collabSessionService']=_0x149d2c,this[_0x2d87b3(0x1e6)]());}['dispose'](){const _0x1c3b65=_0x360c99;super[_0x1c3b65(0x2fe)](),this['_entityInit$'][_0x1c3b65(0x279)](),this['_entities'][_0x1c3b65(0x2ce)](_0x27cd8a=>_0x27cd8a[_0x1c3b65(0x2fe)]());}['getCollabCursors$'](_0x411ad5){const _0x31426f=_0x360c99;return this[_0x31426f(0x175)][_0x31426f(0x13e)](_0x411ad5)?this['_entities'][_0x31426f(0x2da)](_0x411ad5)[_0x31426f(0x1c0)]:this[_0x31426f(0x313)][_0x31426f(0x11a)](_0x3052c2['filter'](_0x37d98e=>_0x37d98e[_0x31426f(0x1f7)]===_0x411ad5),_0x3052c2[_0x31426f(0x21a)](_0x3b336d=>_0x3b336d[_0x31426f(0x1c0)]));}[_0x360c99(0x1e6)](){const _0x46715d=_0x360c99;this[_0x46715d(0x122)][_0x46715d(0x2ba)](_0x2b709b[_0x46715d(0x2a5)][_0x46715d(0x24b)])[_0x46715d(0x11a)](_0x3052c2[_0x46715d(0x338)](this['dispose$']))[_0x46715d(0x373)](async _0x217f76=>{const _0x13ec4b=_0x46715d,_0x4eb40a=_0x217f76['getUnitId'](),_0x55c4e2=await this[_0x13ec4b(0x3ae)](_0x4eb40a);this[_0x13ec4b(0x313)][_0x13ec4b(0x34f)](_0x55c4e2),this['_entities'][_0x13ec4b(0x1b3)](_0x4eb40a,_0x55c4e2);}),this[_0x46715d(0x122)][_0x46715d(0x2ba)](_0x2b709b['UniverInstanceType'][_0x46715d(0x331)])['pipe'](_0x3052c2[_0x46715d(0x338)](this[_0x46715d(0x167)]))[_0x46715d(0x11a)](_0x3052c2[_0x46715d(0x3a0)](_0x4ece4f=>!_0x4ece4f[_0x46715d(0x35f)]()[_0x46715d(0x1ed)]('__')))[_0x46715d(0x373)](async _0x3a3d24=>{const _0x3eecfe=_0x46715d,_0x2e0405=_0x3a3d24[_0x3eecfe(0x35f)](),_0x51a71c=await this[_0x3eecfe(0x1b0)](_0x2e0405);this[_0x3eecfe(0x313)][_0x3eecfe(0x34f)](_0x51a71c),this[_0x3eecfe(0x175)][_0x3eecfe(0x1b3)](_0x2e0405,_0x51a71c);}),_0x3052c2[_0x46715d(0x2c7)](this[_0x46715d(0x122)]['getTypeOfUnitDisposed$'](_0x2b709b['UniverInstanceType']['UNIVER_DOC']),this[_0x46715d(0x122)]['getTypeOfUnitDisposed$'](_0x2b709b['UniverInstanceType'][_0x46715d(0x24b)]))[_0x46715d(0x11a)](_0x3052c2[_0x46715d(0x338)](this['dispose$']))['subscribe'](_0x2e1b2d=>{const _0x341e6e=_0x46715d,_0x4cd932=_0x2e1b2d[_0x341e6e(0x35f)](),_0x437165=this['_entities'][_0x341e6e(0x2da)](_0x4cd932);_0x437165&&(_0x437165[_0x341e6e(0x2fe)](),this[_0x341e6e(0x175)][_0x341e6e(0x143)](_0x4cd932));});}async['_startSheetCollabCursor'](_0x14d174){const _0x3ba845=_0x360c99,_0x4236ba=await this[_0x3ba845(0x217)][_0x3ba845(0x2cf)](_0x14d174),_0x23afb0=this[_0x3ba845(0x36d)][_0x3ba845(0x30b)](_0x1f0937,_0x14d174,_0x4236ba);return _0x23afb0['init'](),_0x23afb0;}async[_0x360c99(0x1b0)](_0x5319ab){const _0x285529=_0x360c99,_0x2d29af=await this[_0x285529(0x217)][_0x285529(0x2cf)](_0x5319ab),_0x36eadd=this['_injector']['createInstance'](_0x3f8cee,_0x5319ab,_0x2d29af);return _0x36eadd['init'](),_0x36eadd;}};_0x29df5e=_0x1c48e1([_0x1b0a8a(0x0,_0x2b709b[_0x360c99(0x33c)]),_0x1b0a8a(0x1,_0x2b709b[_0x360c99(0x14c)](_0x2b709b['Injector'])),_0x1b0a8a(0x2,_0x2b709b['Inject'](_0x33f364[_0x360c99(0x39a)]))],_0x29df5e);const _0x4469c1=0x14,_0x24f6c6=0xc8,_0x2ad6b9=0x4,_0xd2fe1e=0x5;function _0xacbd05(_0x478b65,_0x118d4d){const _0x1e4bed=_0x360c99;let {radius:_0x5f0937,width:_0x3d513c,height:_0x4e30ad}=_0x118d4d;_0x5f0937=_0x5f0937!=null?_0x5f0937:0x0,_0x3d513c=_0x3d513c!=null?_0x3d513c:0x1e,_0x4e30ad=_0x4e30ad!=null?_0x4e30ad:0x1e;let _0x10b256=0x0,_0x55ab2d=0x0,_0xf21bdc=0x0;_0x10b256=_0x55ab2d=_0xf21bdc=Math[_0x1e4bed(0x224)](_0x5f0937,_0x3d513c/0x2,_0x4e30ad/0x2),_0x478b65[_0x1e4bed(0x2d9)](),_0x478b65[_0x1e4bed(0x1c9)](_0x10b256,0x0),_0x478b65[_0x1e4bed(0x2aa)](_0x3d513c-_0x55ab2d,0x0),_0x478b65[_0x1e4bed(0x19d)](_0x3d513c-_0x55ab2d,_0x55ab2d,_0x55ab2d,Math['PI']*0x3/0x2,0x0,!0x1),_0x478b65[_0x1e4bed(0x2aa)](_0x3d513c,_0x4e30ad-_0xf21bdc),_0x478b65['arc'](_0x3d513c-_0xf21bdc,_0x4e30ad-_0xf21bdc,_0xf21bdc,0x0,Math['PI']/0x2,!0x1),_0x478b65[_0x1e4bed(0x2aa)](0x0,_0x4e30ad),_0x478b65[_0x1e4bed(0x2aa)](0x0,_0x10b256),_0x478b65[_0x1e4bed(0x19d)](_0x10b256,_0x10b256,_0x10b256,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x478b65[_0x1e4bed(0x334)](),_0x118d4d[_0x1e4bed(0x132)]&&(_0x478b65[_0x1e4bed(0x172)](),_0x478b65[_0x1e4bed(0x302)]=_0x118d4d[_0x1e4bed(0x132)],_0x118d4d['fillRule']==='evenodd'?_0x478b65['fill'](_0x1e4bed(0x21b)):_0x478b65['fill'](),_0x478b65[_0x1e4bed(0x2d0)]());}class _0x568687 extends _0x45a576[_0x360c99(0x349)]{constructor(_0xac1e43,_0x3dbcec){const _0x4df42d=_0x360c99;super(_0xac1e43,_0x3dbcec),_0x2197b9(this,_0x4df42d(0x3b0)),_0x2197b9(this,_0x4df42d(0x255)),(this[_0x4df42d(0x3b0)]=_0x3dbcec==null?void 0x0:_0x3dbcec['color'],this[_0x4df42d(0x255)]=_0x3dbcec==null?void 0x0:_0x3dbcec['text']);}static['drawWith'](_0x53f620,_0x3cb716){const _0x4c9a45=_0x360c99,{text:_0x57b2c3,color:_0x5396c9}=_0x3cb716;_0x53f620[_0x4c9a45(0x172)](),_0x53f620[_0x4c9a45(0x176)]=_0x4c9a45(0x1b7);const _0x2668c5=_0x53f620[_0x4c9a45(0x137)](_0x57b2c3)[_0x4c9a45(0x30a)],_0x3da77f=Math[_0x4c9a45(0x224)](_0x2668c5+0x2*_0x2ad6b9,_0x24f6c6);_0xacbd05(_0x53f620,{'height':_0x4469c1,'radius':0x4,'width':_0x3da77f,'fill':_0x5396c9}),_0x53f620[_0x4c9a45(0x302)]=_0x4c9a45(0x268);const _0x5a9183=_0x2ad6b9,_0xf14004=_0x4469c1-_0xd2fe1e,_0x11c866=_0x24f6c6-0x2*_0x2ad6b9;if(_0x2668c5>_0x11c866){let _0x7e55fd='',_0x114427=0x0;for(const _0x113e81 of _0x57b2c3){const _0x375480=_0x53f620['measureText'](_0x113e81)[_0x4c9a45(0x30a)];if(_0x114427+_0x375480<=_0x11c866-_0x53f620[_0x4c9a45(0x137)](_0x4c9a45(0x34b))[_0x4c9a45(0x30a)])_0x7e55fd+=_0x113e81,_0x114427+=_0x375480;else{_0x7e55fd+=_0x4c9a45(0x34b);break;}}_0x53f620['fillText'](_0x7e55fd,_0x5a9183,_0xf14004);}else _0x53f620[_0x4c9a45(0x17a)](_0x57b2c3,_0x5a9183,_0xf14004);_0x53f620['restore']();}[_0x360c99(0x372)](_0x5eaba7){const _0xaa004d=_0x360c99;_0x568687[_0xaa004d(0x1ad)](_0x5eaba7,this);}}const _0x241436=_0x360c99(0x3b5),_0x585b5f=_0x360c99(0x2eb),_0x11b0dc=_0x360c99(0x165),_0x25808=0x6,_0x400016=1.5,_0x1a9687=0x4,_0x17748a=1.5,_0x230e44=_0x360c99(0x152);class _0x3beb1d{constructor(_0x25aa15,_0x2d1263,_0x5ee6db,_0xc2cbcb){const _0x365dad=_0x360c99;_0x2197b9(this,_0x365dad(0x31d),[]),_0x2197b9(this,'_anchor',null),_0x2197b9(this,_0x365dad(0x228),null),_0x2197b9(this,_0x365dad(0x177),null),_0x2197b9(this,_0x365dad(0x127),null),_0x2197b9(this,_0x365dad(0x1cf),null),(this[_0x365dad(0x344)]=_0x25aa15,this['_scene']=_0x2d1263,this[_0x365dad(0x23a)]=_0x5ee6db,this[_0x365dad(0x19a)]=_0xc2cbcb,this[_0x365dad(0x240)]());}set[_0x360c99(0x193)](_0x32bbc7){const _0x344fbd=_0x360c99;_0x32bbc7?(this[_0x344fbd(0x177)]&&this[_0x344fbd(0x177)][_0x344fbd(0x36a)](),this[_0x344fbd(0x228)]&&this[_0x344fbd(0x228)]['show']()):(this[_0x344fbd(0x177)]&&this[_0x344fbd(0x177)]['show'](),this[_0x344fbd(0x228)]&&this[_0x344fbd(0x228)][_0x344fbd(0x36a)]());}[_0x360c99(0x2fe)](){const _0x4cf0a0=_0x360c99;for(const _0x16d9bb of this[_0x4cf0a0(0x31d)])_0x16d9bb[_0x4cf0a0(0x2fe)]();this['_textBubble']&&this['_textBubble'][_0x4cf0a0(0x2fe)](),this[_0x4cf0a0(0x177)]&&this[_0x4cf0a0(0x177)][_0x4cf0a0(0x2fe)](),this[_0x4cf0a0(0x185)]&&this[_0x4cf0a0(0x185)][_0x4cf0a0(0x2fe)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x360c99(0x240)](){const _0x1109ae=_0x360c99;var _0x3ad15a;const {_docSkeleton:_0xaf6cd2,_document:_0x1a7e5f}=this,{color:_0x38fd89,name:_0x457c6a,ranges:_0x1ad233}=this[_0x1109ae(0x344)],_0x2854f1=_0x1a7e5f['getOffsetConfig'](),{docsLeft:_0x24e3c6,docsTop:_0x525e6f}=_0x2854f1,_0x582fb1=new _0x5e00f9['NodePositionConvertToCursor'](_0x2854f1,_0xaf6cd2);for(const {startOffset:_0x78284f,endOffset:_0x4220c1,rangeType:_0x2c5850,segmentId:_0x8f900,segmentPage:_0x64bbcd,collapsed:_0x19b3d3,isActive:_0x30d4eb}of _0x1ad233){const _0x25a541=_0xaf6cd2[_0x1109ae(0x148)](_0x78284f,!0x0,_0x8f900,_0x64bbcd);let _0xe6bea6=_0xaf6cd2[_0x1109ae(0x148)](_0x4220c1,!0x0,_0x8f900,_0x64bbcd);if(_0xe6bea6==null&&(_0xe6bea6=_0xaf6cd2[_0x1109ae(0x148)](_0x4220c1-0x1,!0x1,_0x8f900,_0x64bbcd)),_0x30d4eb){const {contentBoxPointGroup:_0x1f51c7}=_0x582fb1[_0x1109ae(0x2c2)](_0xe6bea6,_0xe6bea6);if(_0x1f51c7[_0x1109ae(0x1fa)]===0x0)continue;this[_0x1109ae(0x386)](_0x38fd89,_0x1f51c7,_0x24e3c6,_0x525e6f,_0x457c6a),this[_0x1109ae(0x1cf)]=this[_0x1109ae(0x33d)]();}if(_0x25a541&&_0xe6bea6){if(_0x2c5850===_0x2b709b[_0x1109ae(0x180)][_0x1109ae(0x384)]){const _0x328acd=new _0x5e00f9[(_0x1109ae(0x39e))](_0x2854f1,_0xaf6cd2),{pointGroup:_0x41b388}=(_0x3ad15a=_0x328acd[_0x1109ae(0x2c2)](_0x25a541,_0xe6bea6))!=null?_0x3ad15a:{};if(_0x41b388==null||_0x41b388[_0x1109ae(0x1fa)]===0x0)continue;this[_0x1109ae(0x3b3)](_0x38fd89,_0x41b388,_0x24e3c6,_0x525e6f);}else{if(!_0x19b3d3){const {borderBoxPointGroup:_0x1d1275}=_0x582fb1[_0x1109ae(0x2c2)](_0x25a541,_0xe6bea6);if(_0x1d1275[_0x1109ae(0x1fa)]===0x0)continue;this['_drawTextRange'](_0x38fd89,_0x1d1275,_0x24e3c6,_0x525e6f);}}}}}[_0x360c99(0x386)](_0x5803f4,_0x1487e9,_0x27d8f5,_0x25bd88,_0x3069ec){const _0x15d714=_0x360c99,_0x4c465f=this[_0x15d714(0x1c5)](_0x1487e9),{left:_0x5558cf,top:_0x5986c8,height:_0x2bcf15}=_0x4c465f,_0x4bd7f6=this[_0x15d714(0x1fc)](),_0x350622=_0x17748a/_0x4bd7f6,_0x2a9fc8=new _0x45a576[(_0x15d714(0x226))](_0x241436+_0x2b709b[_0x15d714(0x169)](_0x25808),{'left':_0x5558cf+_0x27d8f5-_0x350622,'top':_0x5986c8+_0x25bd88,'height':_0x2bcf15,'width':_0x400016,'fill':_0x5803f4||_0x45a576['getColor'](_0x2b709b[_0x15d714(0x23d)][_0x15d714(0x221)],0x0),'strokeWidth':_0x350622,'stroke':_0x230e44,'evented':!0x0});this[_0x15d714(0x185)]=_0x2a9fc8,this[_0x15d714(0x21e)][_0x15d714(0x231)](_0x2a9fc8,_0x5e00f9[_0x15d714(0x287)]);const _0x3feb08=new _0x45a576[(_0x15d714(0x226))](_0x241436+_0x2b709b[_0x15d714(0x169)](_0x25808),{'left':_0x5558cf+_0x27d8f5-_0x350622,'top':_0x5986c8+_0x25bd88-_0x1a9687/0x2,'height':_0x1a9687,'width':_0x1a9687,'fill':_0x5803f4||_0x45a576[_0x15d714(0x269)](_0x2b709b[_0x15d714(0x23d)][_0x15d714(0x221)],0x0),'strokeWidth':0x0,'stroke':_0x5803f4||_0x45a576[_0x15d714(0x269)](_0x2b709b[_0x15d714(0x23d)]['black'],0x0),'evented':!0x1});this[_0x15d714(0x177)]=_0x3feb08,this[_0x15d714(0x21e)][_0x15d714(0x231)](_0x3feb08,_0x5e00f9['TEXT_RANGE_LAYER_INDEX']);const _0x17821f=new _0x568687(_0x241436+_0x2b709b[_0x15d714(0x169)](_0x25808),{'left':_0x5558cf+_0x27d8f5-_0x350622,'top':_0x5986c8+_0x25bd88-_0x4469c1,'text':_0x3069ec,'color':_0x5803f4});this[_0x15d714(0x228)]=_0x17821f,this[_0x15d714(0x21e)][_0x15d714(0x231)](_0x17821f,_0x5e00f9['TEXT_RANGE_LAYER_INDEX']),this[_0x15d714(0x193)]=!0x1;}['_handleHover'](){const _0x54507c=_0x360c99,_0x181b6a=this['_anchor'][_0x54507c(0x37e)][_0x54507c(0x2ca)](()=>{const _0x3651a5=_0x54507c;this[_0x3651a5(0x193)]=!0x0;}),_0x57e157=this[_0x54507c(0x185)][_0x54507c(0x33f)][_0x54507c(0x2ca)](()=>{const _0x22e579=_0x54507c;this[_0x22e579(0x127)]&&clearTimeout(this[_0x22e579(0x127)]),this[_0x22e579(0x127)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3550b5=_0x54507c;_0x181b6a[_0x3550b5(0x272)](),_0x57e157['unsubscribe']();};}[_0x360c99(0x1b8)](_0x12ecd9,_0x4b5674,_0x16f10d,_0x4f717a){const _0x4903ac=_0x360c99,_0x145235=new _0x2b709b[(_0x4903ac(0x13b))](_0x12ecd9)['setAlpha'](0.2)['toRgbString'](),_0x17a57f=new _0x45a576['RegularPolygon'](_0x585b5f+_0x2b709b['generateRandomId'](_0x25808),{'pointsGroup':_0x4b5674,'fill':_0x145235||_0x45a576[_0x4903ac(0x269)](_0x2b709b['COLORS'][_0x4903ac(0x221)],0.2),'left':_0x16f10d,'top':_0x4f717a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4903ac(0x31d)][_0x4903ac(0x36e)](_0x17a57f),this[_0x4903ac(0x21e)][_0x4903ac(0x231)](_0x17a57f,_0x5e00f9['TEXT_RANGE_LAYER_INDEX']);}[_0x360c99(0x3b3)](_0x4b3767,_0x22199f,_0x4e2799,_0x5e0123){const _0x32cfc3=_0x360c99,_0x46a0dc=new _0x2b709b[(_0x32cfc3(0x13b))](_0x4b3767)[_0x32cfc3(0x168)](0.2)['toRgbString'](),_0x5befa3=new _0x45a576['RegularPolygon'](_0x11b0dc+_0x2b709b['generateRandomId'](_0x25808),{'pointsGroup':_0x22199f,'fill':_0x46a0dc||_0x45a576[_0x32cfc3(0x269)](_0x2b709b[_0x32cfc3(0x23d)][_0x32cfc3(0x221)],0.2),'left':_0x4e2799,'top':_0x5e0123,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x32cfc3(0x31d)][_0x32cfc3(0x36e)](_0x5befa3),this[_0x32cfc3(0x21e)]['addObject'](_0x5befa3,_0x5e00f9[_0x32cfc3(0x287)]);}[_0x360c99(0x1c5)](_0x3268c9){const _0x553af6=_0x3268c9[0x0],_0x11ce4c=_0x553af6[0x0],_0x553bd2=_0x553af6[0x2],{x:_0x346e4a,y:_0x441dd1}=_0x11ce4c,{x:_0x2cc57a,y:_0x4298f1}=_0x553bd2;return{'left':_0x346e4a,'top':_0x441dd1,'width':_0x2cc57a-_0x346e4a,'height':_0x4298f1-_0x441dd1};}['_getScale'](){const _0x17db0f=_0x360c99,{scaleX:_0x291789,scaleY:_0x1f00c8}=this[_0x17db0f(0x21e)][_0x17db0f(0x2b8)]();return Math['max'](_0x291789,_0x1f00c8);}}var _0x1fa192=Object[_0x360c99(0x397)],_0x5b55cd=(_0x5d64ca,_0x3800ac,_0x1e7584,_0xec46ae)=>{const _0x287fe8=_0x360c99;for(var _0x3eb35f=_0xec46ae>0x1?void 0x0:_0xec46ae?_0x1fa192(_0x3800ac,_0x1e7584):_0x3800ac,_0xaf7754=_0x5d64ca[_0x287fe8(0x1fa)]-0x1,_0x20a17b;_0xaf7754>=0x0;_0xaf7754--)(_0x20a17b=_0x5d64ca[_0xaf7754])&&(_0x3eb35f=_0x20a17b(_0x3eb35f)||_0x3eb35f);return _0x3eb35f;},_0x873145=(_0x21de43,_0x3a3225)=>(_0x23cc3d,_0x1e8c39)=>_0x3a3225(_0x23cc3d,_0x1e8c39,_0x21de43);let _0x4f058a=class extends _0x2b709b[_0x360c99(0x2f2)]{constructor(_0x4659d7,_0x44d15f,_0x106f9d,_0x401eb8,_0x5bb6d2){const _0x30e5e9=_0x360c99;super(),_0x2197b9(this,'_cursorShapes',[]),_0x2197b9(this,_0x30e5e9(0x3ac),[]),(this[_0x30e5e9(0x341)]=_0x4659d7,this[_0x30e5e9(0x1c3)]=_0x44d15f,this[_0x30e5e9(0x39f)]=_0x106f9d,this['_commandService']=_0x401eb8,this[_0x30e5e9(0x2bc)]=_0x5bb6d2,this[_0x30e5e9(0x1e6)]());}[_0x360c99(0x1e6)](){const _0xb815a0=_0x360c99,_0x23ae71=this['_context'][_0xb815a0(0x2cc)],_0x2ac6f1=this[_0xb815a0(0x1c3)];this[_0xb815a0(0x252)](_0x3052c2[_0xb815a0(0x1de)]([this[_0xb815a0(0x39f)][_0xb815a0(0x149)](_0x23ae71),this[_0xb815a0(0x2bc)][_0xb815a0(0x2d6)]])['pipe'](_0x2698e1['map'](([_0x4d9670,_0x37601d])=>({'skeleton':_0x2ac6f1[_0xb815a0(0x3a3)](),'cursors':[..._0x4d9670[_0xb815a0(0x13a)]()][_0xb815a0(0x322)](_0x726da=>({..._0x726da,'color':this[_0xb815a0(0x2bc)]['getColorFromTheme'](_0x726da[_0xb815a0(0x3b0)])}))})))[_0xb815a0(0x373)](_0xc17bc2=>{const _0x1caff0=_0xb815a0;if(this[_0x1caff0(0x280)](),_0xc17bc2){const {skeleton:_0x1fb9f7,cursors:_0x3e09c2}=_0xc17bc2;this[_0x1caff0(0x2e4)](_0x1fb9f7,_0x3e09c2);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x360c99(0x2e4)](_0x388672,_0xf41523){const _0x7079af=_0x360c99,{scene:_0x54358e,mainComponent:_0x28baa7}=this['_context'],_0x575d12=_0xf41523['map'](_0x3352c4=>new _0x3beb1d(_0x3352c4,_0x54358e,_0x388672,_0x28baa7));this[_0x7079af(0x2f6)]=_0x575d12,this[_0x7079af(0x3ac)]=_0xf41523;}[_0x360c99(0x21d)](){const _0x18ab6a=_0x360c99;this[_0x18ab6a(0x280)]();const {scene:_0x580537,mainComponent:_0x35c901}=this[_0x18ab6a(0x341)],_0x1193c6=this[_0x18ab6a(0x1c3)][_0x18ab6a(0x3a3)](),_0x37130a=this[_0x18ab6a(0x3ac)][_0x18ab6a(0x380)](_0x325742=>new _0x3beb1d(_0x325742,_0x580537,_0x1193c6,_0x35c901));this['_cursorShapes']=_0x37130a;}[_0x360c99(0x280)](){const _0x1d1409=_0x360c99;this['_cursorShapes'][_0x1d1409(0x2ce)](_0x1f17cb=>_0x1f17cb['dispose']()),this[_0x1d1409(0x2f6)]=[];}[_0x360c99(0x295)](){const _0x52fea7=_0x360c99,_0x2bcf8f=[_0x5e00f9[_0x52fea7(0x370)]['id']];this['disposeWithMe'](this[_0x52fea7(0x369)][_0x52fea7(0x135)](_0xe5089c=>{const _0x4281d6=_0x52fea7;_0x2bcf8f[_0x4281d6(0x275)](_0xe5089c['id'])&&_0xe5089c['params'][_0x4281d6(0x2cc)]===this['_context'][_0x4281d6(0x2cc)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x2a45cd=_0x360c99;this[_0x2a45cd(0x252)](_0x2b709b[_0x2a45cd(0x1e3)](this['_context']['engine']['onTransformChange$'])[_0x2a45cd(0x11a)](_0x2698e1['filter'](_0x5d65e4=>_0x5d65e4['type']===_0x45a576[_0x2a45cd(0x326)][_0x2a45cd(0x31a)]),_0x2698e1[_0x2a45cd(0x289)](0x10))[_0x2a45cd(0x373)](()=>{const _0x25723d=_0x2a45cd;this[_0x25723d(0x21d)]();}));}};_0x4f058a=_0x5b55cd([_0x873145(0x1,_0x2b709b[_0x360c99(0x14c)](_0x136824['DocSkeletonManagerService'])),_0x873145(0x2,_0x2b709b[_0x360c99(0x14c)](_0x29df5e)),_0x873145(0x3,_0x2b709b[_0x360c99(0x2f7)]),_0x873145(0x4,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x158)]))],_0x4f058a);const _0x461bd1=0x1,_0x3c4366=1.5;class _0x34aaa3 extends _0x45a576['Shape']{constructor(_0x1b0d35,_0x43fa26){const _0x79fd04=_0x360c99;super(_0x1b0d35,_0x43fa26),_0x2197b9(this,_0x79fd04(0x22a)),_0x2197b9(this,_0x79fd04(0x238),!0x1),_0x2197b9(this,_0x79fd04(0x330)),_0x2197b9(this,'_name',''),_0x2197b9(this,'_labelPosition',_0x79fd04(0x26c)),_0x2197b9(this,'_backgroundColor'),(_0x43fa26&&this['setShapeProps'](_0x43fa26),this[_0x79fd04(0x37e)][_0x79fd04(0x2ca)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x79fd04(0x2ca)](()=>this[_0x79fd04(0x223)]({'hovered':!0x1})));}['setShapeProps'](_0x43eea8){const _0x531403=_0x360c99;var _0x246652,_0x163b29,_0x482349,_0x34f7c6,_0x469ad3,_0x2eb560;this[_0x531403(0x22a)]=(_0x246652=_0x43eea8[_0x531403(0x3b0)])!=null?_0x246652:this[_0x531403(0x22a)],this[_0x531403(0x238)]=(_0x163b29=_0x43eea8[_0x531403(0x2db)])!=null?_0x163b29:this[_0x531403(0x238)],this[_0x531403(0x330)]=(_0x482349=_0x43eea8[_0x531403(0x237)])!=null?_0x482349:this[_0x531403(0x330)],this[_0x531403(0x27b)]=(_0x34f7c6=_0x43eea8[_0x531403(0x2ed)])!=null?_0x34f7c6:this[_0x531403(0x27b)],this[_0x531403(0x35c)]=(_0x469ad3=_0x43eea8['labelPosition'])!=null?_0x469ad3:this[_0x531403(0x35c)],this['_backgroundColor']=(_0x2eb560=_0x43eea8[_0x531403(0x2b6)])!=null?_0x2eb560:this[_0x531403(0x36f)],this[_0x531403(0x1aa)]({'width':_0x43eea8[_0x531403(0x30a)],'height':_0x43eea8['height']});}['onMouseMove'](_0x34696b){const _0x1d0108=_0x360c99,{row:_0x237eff,column:_0x343b19}=_0x34696b;if(_0x237eff>=this['_range'][_0x1d0108(0x24f)]&&_0x237eff<=this[_0x1d0108(0x330)][_0x1d0108(0x314)]&&_0x343b19>=this[_0x1d0108(0x330)][_0x1d0108(0x14a)]&&_0x343b19<=this[_0x1d0108(0x330)][_0x1d0108(0x3b6)]){this[_0x1d0108(0x223)]({'hovered':!0x0});return;}this[_0x1d0108(0x223)]({'hovered':!0x1});}[_0x360c99(0x115)](_0x2e4268){return!0x1;}[_0x360c99(0x372)](_0x24e177){const _0x338fda=_0x360c99;_0x45a576['Rect'][_0x338fda(0x1ad)](_0x24e177,{'width':this[_0x338fda(0x30a)],'height':this[_0x338fda(0x162)],'strokeWidth':_0x3c4366,'stroke':this[_0x338fda(0x22a)],'evented':!0x1,'fill':this[_0x338fda(0x36f)]}),this[_0x338fda(0x238)]&&(_0x24e177[_0x338fda(0x172)](),_0x24e177[_0x338fda(0x160)](0x1,0x0,0x0,0x1,this[_0x338fda(0x30a)],this[_0x338fda(0x35c)]==='bottom'?0x0:-_0x4469c1),_0x568687[_0x338fda(0x1ad)](_0x24e177,{'text':this[_0x338fda(0x27b)],'color':this['_color']}),_0x24e177['restore']());}}var _0x56fae1=Object[_0x360c99(0x397)],_0x3d2cbb=(_0xaf18ce,_0x56d330,_0x3df714,_0x9327a3)=>{const _0x5a152c=_0x360c99;for(var _0x79f3b2=_0x9327a3>0x1?void 0x0:_0x9327a3?_0x56fae1(_0x56d330,_0x3df714):_0x56d330,_0x512ff5=_0xaf18ce[_0x5a152c(0x1fa)]-0x1,_0x18fb9a;_0x512ff5>=0x0;_0x512ff5--)(_0x18fb9a=_0xaf18ce[_0x512ff5])&&(_0x79f3b2=_0x18fb9a(_0x79f3b2)||_0x79f3b2);return _0x79f3b2;},_0x223292=(_0x59c8fb,_0x388c2a)=>(_0x2867d3,_0x1b4d0)=>_0x388c2a(_0x2867d3,_0x1b4d0,_0x59c8fb);const _0x42a70a=0x1389;let _0x2d56c6=class extends _0x2b709b['RxDisposable']{constructor(_0x28f191,_0xfa7f93,_0x353511,_0x195386){const _0x33584e=_0x360c99;super(),_0x2197b9(this,'_cursors',new Set()),_0x2197b9(this,_0x33584e(0x1d8),null),(this[_0x33584e(0x341)]=_0x28f191,this[_0x33584e(0x13d)]=_0xfa7f93,this['_collabCursorController']=_0x353511,this[_0x33584e(0x2bc)]=_0x195386,this[_0x33584e(0x1e6)]());}['_init'](){const _0x5b14ce=_0x360c99;this[_0x5b14ce(0x13d)][_0x5b14ce(0x2b5)]['pipe'](_0x2698e1['takeUntil'](this[_0x5b14ce(0x167)]),_0x2698e1[_0x5b14ce(0x21a)](_0x1a07ee=>{const _0x3e956f=_0x5b14ce;if(_0x1a07ee){const _0x1541d9=_0x1a07ee['sheetId'];return _0x3052c2[_0x3e956f(0x1de)](this[_0x3e956f(0x39f)][_0x3e956f(0x149)](this[_0x3e956f(0x341)]['unitId']),this[_0x3e956f(0x2bc)][_0x3e956f(0x2d6)])[_0x3e956f(0x11a)](_0x2698e1[_0x3e956f(0x380)](([_0x687101,_0x1bee54])=>{const _0x1691c5=new Map();return _0x687101['forEach']((_0x17729f,_0x13ce01)=>{const _0x5b81eb=_0x2a3e;if(_0x17729f[_0x5b81eb(0x28e)]===_0x1541d9){const _0x541641={..._0x17729f};_0x541641[_0x5b81eb(0x3b0)]=this[_0x5b81eb(0x2bc)][_0x5b81eb(0x3ab)](_0x17729f[_0x5b81eb(0x3b0)]),_0x1691c5[_0x5b81eb(0x1b3)](_0x13ce01,_0x541641);}}),{'skeleton':_0x1a07ee,'cursors':_0x1691c5};}));}return _0x3052c2['of']({'skeleton':null,'cursors':new Map()});}))[_0x5b14ce(0x373)](({skeleton:_0x571bc6,cursors:_0x2c3bb5})=>{const _0x4dd214=_0x5b14ce;this[_0x4dd214(0x280)](),_0x571bc6&&this[_0x4dd214(0x2e4)](_0x571bc6,_0x2c3bb5);}),this[_0x5b14ce(0x13d)][_0x5b14ce(0x2b5)][_0x5b14ce(0x373)](_0x372abe=>{const _0x59b699=_0x5b14ce;if(_0x372abe==null)return;const {skeleton:_0x4d5771}=_0x372abe,{scene:_0x2be16a}=this[_0x59b699(0x341)];_0x2be16a[_0x59b699(0x16e)][_0x59b699(0x2ca)](_0x2b709b['debounce'](_0xf3ba98=>{const _0x2e0750=_0x59b699;var _0x4d2719,_0x167340;const {offsetX:_0x565438,offsetY:_0x5e60e4}=_0xf3ba98,{x:_0x2dbd9c,y:_0x1bef81}=_0x2be16a['getRelativeToViewportCoord'](_0x45a576[_0x2e0750(0x367)][_0x2e0750(0x3a2)]([_0x565438,_0x5e60e4])),{scaleX:_0x43d954,scaleY:_0x115041}=_0x2be16a[_0x2e0750(0x2b8)](),_0x1f5fc5=_0x2be16a[_0x2e0750(0x1c4)](_0x45a576[_0x2e0750(0x24a)][_0x2e0750(0x2d2)]),_0x55908e=_0x2be16a['getVpScrollXYInfoByPosToVp'](_0x45a576[_0x2e0750(0x367)][_0x2e0750(0x3a2)]([_0x2dbd9c,_0x1bef81]),_0x1f5fc5),_0x39df02=_0x4d5771[_0x2e0750(0x11f)](_0x565438,_0x5e60e4,_0x43d954,_0x115041,_0x55908e);((_0x4d2719=this[_0x2e0750(0x1d8)])==null?void 0x0:_0x4d2719[_0x2e0750(0x262)])===_0x39df02[_0x2e0750(0x262)]&&((_0x167340=this[_0x2e0750(0x1d8)])==null?void 0x0:_0x167340[_0x2e0750(0x250)])===_0x39df02[_0x2e0750(0x250)]||this[_0x2e0750(0x3ac)][_0x2e0750(0x2ce)](_0x4cadff=>{_0x4cadff['onMouseMove'](_0x39df02);});},0x64));});}[_0x360c99(0x2e4)](_0xbde488,_0x5bf412){const _0x5012ff=_0x360c99;var _0x3831fd;const _0x4494a6=(_0x3831fd=this[_0x5012ff(0x13d)][_0x5012ff(0x23f)]())==null?void 0x0:_0x3831fd['skeleton'];if(!_0x4494a6)return;const _0x2e7fbd=this[_0x5012ff(0x2be)]();if(!_0x2e7fbd)return;this[_0x5012ff(0x3ac)][_0x5012ff(0x2ce)](_0x32c831=>{const _0x76a71d=_0x5012ff;_0x32c831[_0x76a71d(0x38b)]();});const {scene:_0x13232b}=_0x2e7fbd,_0x5e8412=_0x3d257f(Array[_0x5012ff(0x222)](_0x5bf412['values']()))[_0x5012ff(0x380)](_0x43578b=>{const _0x177d75=_0x5012ff,{color:_0x32e1d9,range:_0x3295e1,name:_0x5c9c4f,selection:_0x59d432,sheetID:_0x498cfd}=_0x43578b,{startColumn:_0x3ec03c,startRow:_0x3e8720,endColumn:_0x227e40,endRow:_0x1f353b}=_0x3295e1,_0x46a5f8=_0x3bd105[_0x177d75(0x257)](_0x3e8720,_0x3ec03c,_0x13232b,_0x4494a6),_0x1e4968=_0x3bd105[_0x177d75(0x257)](_0x1f353b,_0x227e40,_0x13232b,_0x4494a6),{columnHeaderHeightAndMarginTop:_0x4e075d}=_0x4494a6,{startX:_0x58e13b,startY:_0x16d900}=_0x46a5f8,{endX:_0x1654a8,endY:_0x433657}=_0x1e4968,_0x4e62c8=_0x1654a8-_0x58e13b,_0x135f33=_0x433657-_0x16d900,_0x1b922c={'labelPosition':_0x16d900-_0x4e075d>=_0x4469c1?_0x177d75(0x26c):_0x177d75(0x263),'sheetID':_0x498cfd,'range':_0x3295e1,'color':_0x32e1d9,'name':_0x5c9c4f,'selection':_0x59d432,'left':_0x58e13b,'top':_0x16d900,'width':_0x4e62c8,'height':_0x135f33,'evented':!0x1,'zIndex':_0x42a70a};return new _0x34aaa3(_0x5c9c4f,_0x1b922c);});_0x13232b[_0x5012ff(0x2dd)](_0x5e8412,_0x461bd1),this['_cursors']=new Set(_0x5e8412);}['_removeCollabCursors'](){const _0x21937a=_0x360c99;var _0x46a6c3;(_0x46a6c3=this[_0x21937a(0x3ac)])==null||_0x46a6c3[_0x21937a(0x2ce)](_0x1f0c26=>_0x1f0c26[_0x21937a(0x2fe)]());}[_0x360c99(0x2be)](){const _0x4aa374=_0x360c99;return _0x3bd105[_0x4aa374(0x206)](this[_0x4aa374(0x341)][_0x4aa374(0x351)],this[_0x4aa374(0x341)]);}};_0x2d56c6=_0x3d2cbb([_0x223292(0x1,_0x2b709b[_0x360c99(0x14c)](_0x3bd105[_0x360c99(0x291)])),_0x223292(0x2,_0x2b709b[_0x360c99(0x14c)](_0x29df5e)),_0x223292(0x3,_0x2b709b[_0x360c99(0x14c)](_0x2b709b['ThemeService']))],_0x2d56c6);function _0x3d257f(_0x518c3b){const _0x2c611e=_0x360c99,_0x3844b4=new Map();return _0x518c3b['forEach'](_0xe98517=>{const _0x42ec7c=_0x2a3e;if(_0x3844b4[_0x42ec7c(0x13e)](_0xe98517[_0x42ec7c(0x399)])){const _0x4a6c9f=_0x3844b4[_0x42ec7c(0x2da)](_0xe98517[_0x42ec7c(0x399)]);_0x4a6c9f[_0x42ec7c(0x2ed)]+=',\x20'+_0xe98517[_0x42ec7c(0x2ed)];}else _0x3844b4[_0x42ec7c(0x1b3)](_0xe98517[_0x42ec7c(0x399)],_0xe98517);}),Array['from'](_0x3844b4[_0x2c611e(0x13a)]());}var _0x484d8a=Object[_0x360c99(0x397)],_0x22f0fc=(_0x2c64fb,_0x4e9d43,_0x33bc6d,_0x2d2277)=>{for(var _0x21a8ba=_0x2d2277>0x1?void 0x0:_0x2d2277?_0x484d8a(_0x4e9d43,_0x33bc6d):_0x4e9d43,_0x3262e7=_0x2c64fb['length']-0x1,_0x2cf08a;_0x3262e7>=0x0;_0x3262e7--)(_0x2cf08a=_0x2c64fb[_0x3262e7])&&(_0x21a8ba=_0x2cf08a(_0x21a8ba)||_0x21a8ba);return _0x21a8ba;},_0xa7a49a=(_0x6a753,_0x3fa759)=>(_0x4e2964,_0x245d70)=>_0x3fa759(_0x4e2964,_0x245d70,_0x6a753);let _0x329f6a=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x291de7,_0x16f00c,_0xbf866c,_0x2c016c,_0x2a56bc,_0x27e85c){const _0x434022=_0x360c99;super(),this[_0x434022(0x125)]=_0x291de7,this['_localCacheService']=_0x16f00c,this['_collaborationUIEventService']=_0xbf866c,this[_0x434022(0x28d)]=_0x2c016c,this[_0x434022(0x145)]=_0x2a56bc,this[_0x434022(0x2e5)]=_0x27e85c,this[_0x434022(0x29b)](),this[_0x434022(0x364)]();}[_0x360c99(0x29b)](){const _0x47eb1f=_0x360c99;this[_0x47eb1f(0x252)](this[_0x47eb1f(0x125)][_0x47eb1f(0x151)](()=>{const _0xda212a=_0x47eb1f;if(this[_0xda212a(0x33a)]['saveTaskMap'][_0xda212a(0x248)])return this[_0xda212a(0x2e5)]['t'](_0xda212a(0x319));}));}[_0x360c99(0x364)](){const _0x373090=_0x360c99;this['disposeWithMe'](this['_collaborationUIEventService'][_0x373090(0x2b3)]['subscribe'](_0x85c9ae=>{const _0x30e2da=_0x373090;_0x85c9ae['id']===_0x33f364['CollaborationUIEventId'][_0x30e2da(0x3b1)]&&this[_0x30e2da(0x28d)]['show']({'type':_0x238d53[_0x30e2da(0x2c8)][_0x30e2da(0x1b9)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x85c9ae['id']===_0x33f364['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x30e2da(0x28d)][_0x30e2da(0x27a)]({'type':_0x238d53[_0x30e2da(0x2c8)][_0x30e2da(0x1b9)],'content':this[_0x30e2da(0x2e5)]['t'](_0x30e2da(0x2dc))}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)][_0x30e2da(0x3b4)]&&this['_notificationService'][_0x30e2da(0x27a)]({'title':this[_0x30e2da(0x2e5)]['t'](_0x30e2da(0x245)),'content':this['_localeService']['t'](_0x30e2da(0x32e)),'type':'error','duration':0x0}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)][_0x30e2da(0x17f)]&&this['_messageService'][_0x30e2da(0x27a)]({'type':_0x238d53[_0x30e2da(0x2c8)]['Error'],'content':this[_0x30e2da(0x2e5)]['t']('collaboration.closeRoom')+'('+_0x85c9ae['data']+')'}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)][_0x30e2da(0x161)]&&this[_0x30e2da(0x28d)][_0x30e2da(0x27a)]({'type':_0x238d53['MessageType'][_0x30e2da(0x1b9)],'content':this[_0x30e2da(0x2e5)]['t'](_0x85c9ae['data']||'')}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)][_0x30e2da(0x2f4)]&&this[_0x30e2da(0x28d)][_0x30e2da(0x27a)]({'type':_0x238d53[_0x30e2da(0x2c8)]['Warning'],'content':this[_0x30e2da(0x2e5)]['t'](_0x30e2da(0x123))}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)]['SOCKET_FAILED']&&this[_0x30e2da(0x28d)]['show']({'type':_0x238d53[_0x30e2da(0x2c8)][_0x30e2da(0x1f4)],'content':this['_localeService']['t']('session.connection-failed')}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x30e2da(0x28d)]['show']({'type':_0x238d53[_0x30e2da(0x2c8)]['Error'],'content':this[_0x30e2da(0x2e5)]['t'](_0x30e2da(0x26b))});}));}};_0x329f6a=_0x22f0fc([_0xa7a49a(0x0,_0x24d176[_0x360c99(0x321)]),_0xa7a49a(0x1,_0x33f364['ILocalCacheService']),_0xa7a49a(0x2,_0x2b709b[_0x360c99(0x14c)](_0x33f364['CollaborationUIEventService'])),_0xa7a49a(0x3,_0x24d176[_0x360c99(0x1a2)]),_0xa7a49a(0x4,_0x24d176[_0x360c99(0x19c)]),_0xa7a49a(0x5,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x2e3)]))],_0x329f6a);const _0x1823a5='collaboration-client-ui.config',_0xa0e94={};var _0x29fc8d=Object[_0x360c99(0x397)],_0x13792e=(_0x379901,_0x5a614b,_0x3e7273,_0x1ea6a6)=>{const _0x540022=_0x360c99;for(var _0x1cf5f9=_0x1ea6a6>0x1?void 0x0:_0x1ea6a6?_0x29fc8d(_0x5a614b,_0x3e7273):_0x5a614b,_0x2417fc=_0x379901[_0x540022(0x1fa)]-0x1,_0x576259;_0x2417fc>=0x0;_0x2417fc--)(_0x576259=_0x379901[_0x2417fc])&&(_0x1cf5f9=_0x576259(_0x1cf5f9)||_0x1cf5f9);return _0x1cf5f9;},_0x5394cd=(_0x17004c,_0x2aa365)=>(_0x220322,_0x214f67)=>_0x2aa365(_0x220322,_0x214f67,_0x17004c);let _0x23f606=class{constructor(_0x449d4b,_0x94cfa0){const _0x234ac8=_0x360c99;this[_0x234ac8(0x2cd)]=_0x449d4b,this[_0x234ac8(0x171)]=_0x94cfa0;}['transformIMECache'](_0x698dd5){const _0x528ade=_0x360c99;this[_0x528ade(0x2df)](_0x698dd5),this['_transformPreviousActiveRange'](_0x698dd5);}[_0x360c99(0x301)](_0x345cba){const _0x10fb25=_0x360c99,{unitID:_0x3f4cb2}=_0x345cba,_0xd34273=this[_0x10fb25(0x171)]['getRenderById'](_0x3f4cb2)[_0x10fb25(0x29d)](_0x5e00f9[_0x10fb25(0x1ab)]),{redoCache:_0x2628ad}=_0xd34273['getUndoRedoMutationParamsCache']();if(_0x2628ad['length']===0x0)return _0x345cba;let _0x24ebb9=_0x2b709b[_0x10fb25(0x17b)][_0x10fb25(0x220)](_0x345cba[_0x10fb25(0x12f)][0x0]);for(let _0x24b5b9=0x0;_0x24b5b9<_0x2628ad[_0x10fb25(0x1fa)];_0x24b5b9++){const _0x2d40de={'id':'doc.mutation.rich-text-editing','params':{..._0x2628ad[_0x24b5b9]}},_0x2917f0=this[_0x10fb25(0x2cd)][_0x10fb25(0x208)](_0x24ebb9,_0x2d40de,!0x1);if(_0x13c520[_0x10fb25(0x328)](_0x2917f0))throw _0x2917f0[_0x10fb25(0x2a9)];_0x24ebb9=_0x2917f0['m1Prime'];}return{..._0x2b709b['Tools'][_0x10fb25(0x220)](_0x345cba),'mutations':[_0x24ebb9]};}[_0x360c99(0x2df)](_0x4d6108){const _0x115ed2=_0x360c99,{unitID:_0x3b60d6}=_0x4d6108,_0x365bb2=this[_0x115ed2(0x171)][_0x115ed2(0x1fd)](_0x3b60d6)[_0x115ed2(0x29d)](_0x5e00f9[_0x115ed2(0x1ab)]),{undoCache:_0x5b0552,redoCache:_0x316c16}=_0x365bb2[_0x115ed2(0x14f)]();if(_0x5b0552[_0x115ed2(0x1fa)]===0x0||_0x316c16[_0x115ed2(0x1fa)]===0x0)return;const _0x1022ce=[],_0x4298de=[];let _0xa3c121=_0x2b709b['Tools'][_0x115ed2(0x220)](_0x4d6108[_0x115ed2(0x12f)][0x0]),_0x3d171c=_0x2b709b[_0x115ed2(0x17b)][_0x115ed2(0x220)](_0x4d6108[_0x115ed2(0x12f)][0x0]);for(let _0x4369fa=_0x5b0552['length']-0x1;_0x4369fa>=0x0;_0x4369fa--){const _0x1e87b8={'id':'doc.mutation.rich-text-editing','params':{..._0x5b0552[_0x4369fa]}},_0xfcc7e={'id':_0x115ed2(0x2de),'params':{..._0x316c16[_0x4369fa]}},_0x118bb8=this[_0x115ed2(0x2cd)]['transformMutation'](_0xa3c121,_0x1e87b8,!0x1),_0x411f7f=this[_0x115ed2(0x2cd)][_0x115ed2(0x208)](_0x3d171c,_0xfcc7e,!0x1);if(_0x13c520['isTransformMutationFailure'](_0x118bb8))throw _0x118bb8[_0x115ed2(0x2a9)];if(_0x13c520[_0x115ed2(0x328)](_0x411f7f))throw _0x411f7f[_0x115ed2(0x2a9)];_0x1022ce[_0x115ed2(0x239)](_0x118bb8['m2Prime'][_0x115ed2(0x2a8)]),_0x4298de[_0x115ed2(0x239)](_0x411f7f[_0x115ed2(0x329)][_0x115ed2(0x2a8)]),_0xa3c121=_0x118bb8[_0x115ed2(0x368)],_0x3d171c=_0x411f7f[_0x115ed2(0x368)];}_0x365bb2[_0x115ed2(0x18e)]({'undoCache':_0x1022ce,'redoCache':_0x4298de});}[_0x360c99(0x354)](_0x3aa278){const _0x2166b7=_0x360c99,{unitID:_0x277c50}=_0x3aa278,_0x42e7e9=this[_0x2166b7(0x171)]['getRenderById'](_0x277c50)[_0x2166b7(0x29d)](_0x5e00f9[_0x2166b7(0x1ab)]),_0x3ad05a=_0x42e7e9[_0x2166b7(0x1e9)]();if(_0x3ad05a==null)return;const _0x25e5dc=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3aa278['unitID'],'actions':null,'textRanges':[_0x3ad05a]}}],_0x3059ec=this[_0x2166b7(0x2cd)][_0x2166b7(0x1e4)](_0x3aa278,_0x25e5dc);if(!_0x13c520[_0x2166b7(0x12d)](_0x3059ec))throw _0x3059ec[_0x2166b7(0x2a9)];const _0xeb809d=_0x3059ec[_0x2166b7(0x329)][0x0][_0x2166b7(0x2a8)][_0x2166b7(0x28b)];Array['isArray'](_0xeb809d)&&_0xeb809d[_0x2166b7(0x1fa)]&&_0x42e7e9[_0x2166b7(0x2f1)](_0xeb809d[0x0]);}};_0x23f606=_0x13792e([_0x5394cd(0x0,_0x13c520[_0x360c99(0x249)]),_0x5394cd(0x1,_0x45a576[_0x360c99(0x2ef)])],_0x23f606);var _0xbe5847=Object[_0x360c99(0x397)],_0x31110b=(_0x339738,_0x5e1ba4,_0x31519b,_0x45ff3c)=>{const _0x287d06=_0x360c99;for(var _0x1a12be=_0x45ff3c>0x1?void 0x0:_0x45ff3c?_0xbe5847(_0x5e1ba4,_0x31519b):_0x5e1ba4,_0x227c3e=_0x339738[_0x287d06(0x1fa)]-0x1,_0x175eca;_0x227c3e>=0x0;_0x227c3e--)(_0x175eca=_0x339738[_0x227c3e])&&(_0x1a12be=_0x175eca(_0x1a12be)||_0x1a12be);return _0x1a12be;},_0x626e10=(_0x29a056,_0x5543ae)=>(_0x372994,_0x205572)=>_0x5543ae(_0x372994,_0x205572,_0x29a056);let _0x18c4d9=class{constructor(_0x356ea2,_0x413812,_0x23337d){const _0x3bcfc1=_0x360c99;this[_0x3bcfc1(0x36d)]=_0x356ea2,this['_transformService']=_0x413812,this['_docStateChangeManagerService']=_0x23337d;}['transformStateCache'](_0x52ccd9){const _0x39602b=_0x360c99;this[_0x39602b(0x1d9)](_0x52ccd9);}[_0x360c99(0x301)](_0x9ebbfc){const _0x3d0f98=_0x360c99,{unitID:_0x246c03}=_0x9ebbfc,{collaboration:_0x304f4a}=this['_docStateChangeManagerService'][_0x3d0f98(0x188)](_0x246c03);if(_0x304f4a[_0x3d0f98(0x1fa)]===0x0)return _0x9ebbfc;let _0x3e624d=_0x2b709b[_0x3d0f98(0x17b)][_0x3d0f98(0x220)](_0x9ebbfc['mutations'][0x0]);for(let _0x5862a8=0x0;_0x5862a8<_0x304f4a[_0x3d0f98(0x1fa)];_0x5862a8++){const _0x2dc01f={'id':_0x3d0f98(0x2de),'params':{'unitId':_0x304f4a[_0x5862a8]['unitId'],..._0x304f4a[_0x5862a8][_0x3d0f98(0x204)]}},_0x20de2e=this[_0x3d0f98(0x2cd)]['transformMutation'](_0x3e624d,_0x2dc01f,!0x1);if(_0x13c520[_0x3d0f98(0x328)](_0x20de2e))throw _0x20de2e[_0x3d0f98(0x2a9)];_0x3e624d=_0x20de2e[_0x3d0f98(0x368)];}return{..._0x2b709b[_0x3d0f98(0x17b)]['deepClone'](_0x9ebbfc),'mutations':[_0x3e624d]};}[_0x360c99(0x1d9)](_0x362a0c){const _0x75aa81=_0x360c99,{unitID:_0x5e19ac}=_0x362a0c,{history:_0x37ca8f,collaboration:_0x5d97af}=this[_0x75aa81(0x2d3)][_0x75aa81(0x188)](_0x5e19ac);if(_0x37ca8f[_0x75aa81(0x1fa)]===0x0&&_0x5d97af['length']===0x0)return;const _0x5a430a=[],_0x285639=[];let _0x1a6c86=_0x2b709b['Tools'][_0x75aa81(0x220)](_0x362a0c['mutations'][0x0]),_0x4057df=_0x2b709b['Tools']['deepClone'](_0x362a0c[_0x75aa81(0x12f)][0x0]);for(let _0x51c2bb=_0x37ca8f[_0x75aa81(0x1fa)]-0x1;_0x51c2bb>=0x0;_0x51c2bb--){const _0x1aa721={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37ca8f[_0x51c2bb][_0x75aa81(0x2cc)],..._0x37ca8f[_0x51c2bb]['undoState']}},_0x3a00a3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37ca8f[_0x51c2bb][_0x75aa81(0x2cc)],..._0x37ca8f[_0x51c2bb]['redoState']}},_0x1352b0=this[_0x75aa81(0x2cd)][_0x75aa81(0x208)](_0x1a6c86,_0x1aa721,!0x1),_0x18311e=this['_transformService'][_0x75aa81(0x208)](_0x4057df,_0x3a00a3,!0x1);if(_0x13c520['isTransformMutationFailure'](_0x1352b0))throw _0x1352b0[_0x75aa81(0x2a9)];if(_0x13c520['isTransformMutationFailure'](_0x18311e))throw _0x18311e[_0x75aa81(0x2a9)];_0x5a430a[_0x75aa81(0x239)]({..._0x37ca8f[_0x51c2bb],'undoState':_0x1352b0['m2Prime']['params'],'redoState':_0x18311e[_0x75aa81(0x329)][_0x75aa81(0x2a8)]}),_0x1a6c86=_0x1352b0[_0x75aa81(0x368)],_0x4057df=_0x18311e[_0x75aa81(0x368)];}_0x1a6c86=_0x2b709b[_0x75aa81(0x17b)][_0x75aa81(0x220)](_0x362a0c[_0x75aa81(0x12f)][0x0]),_0x4057df=_0x2b709b[_0x75aa81(0x17b)][_0x75aa81(0x220)](_0x362a0c[_0x75aa81(0x12f)][0x0]);for(let _0x4ed414=_0x5d97af['length']-0x1;_0x4ed414>=0x0;_0x4ed414--){const _0x441fe0={'id':_0x75aa81(0x2de),'params':{'unitId':_0x5d97af[_0x4ed414][_0x75aa81(0x2cc)],..._0x5d97af[_0x4ed414][_0x75aa81(0x378)]}},_0x4e1b28={'id':_0x75aa81(0x2de),'params':{'unitId':_0x5d97af[_0x4ed414][_0x75aa81(0x2cc)],..._0x5d97af[_0x4ed414][_0x75aa81(0x204)]}},_0x36f43d=this[_0x75aa81(0x2cd)][_0x75aa81(0x208)](_0x1a6c86,_0x441fe0,!0x1),_0x55bd4f=this[_0x75aa81(0x2cd)][_0x75aa81(0x208)](_0x4057df,_0x4e1b28,!0x1);if(_0x13c520[_0x75aa81(0x328)](_0x36f43d))throw _0x36f43d[_0x75aa81(0x2a9)];if(_0x13c520[_0x75aa81(0x328)](_0x55bd4f))throw _0x55bd4f['error'];_0x285639[_0x75aa81(0x239)]({..._0x5d97af[_0x4ed414],'undoState':_0x36f43d[_0x75aa81(0x329)][_0x75aa81(0x2a8)],'redoState':_0x55bd4f['m2Prime']['params']}),_0x1a6c86=_0x36f43d[_0x75aa81(0x368)],_0x4057df=_0x55bd4f['m1Prime'];}this['_docStateChangeManagerService'][_0x75aa81(0x395)](_0x5e19ac,{'history':_0x5a430a,'collaboration':_0x285639});}};_0x18c4d9=_0x31110b([_0x626e10(0x0,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x626e10(0x1,_0x13c520[_0x360c99(0x249)]),_0x626e10(0x2,_0x2b709b[_0x360c99(0x14c)](_0x5e00f9[_0x360c99(0x1f0)]))],_0x18c4d9);var _0x5c5f39=Object[_0x360c99(0x397)],_0x321e62=(_0x32d28b,_0x4aa576,_0x16cf65,_0x2531ca)=>{const _0x4fb930=_0x360c99;for(var _0x367693=_0x2531ca>0x1?void 0x0:_0x2531ca?_0x5c5f39(_0x4aa576,_0x16cf65):_0x4aa576,_0x18a000=_0x32d28b[_0x4fb930(0x1fa)]-0x1,_0x87854f;_0x18a000>=0x0;_0x18a000--)(_0x87854f=_0x32d28b[_0x18a000])&&(_0x367693=_0x87854f(_0x367693)||_0x367693);return _0x367693;},_0x36436d=(_0x35d8c0,_0x943e46)=>(_0x348241,_0x25238f)=>_0x943e46(_0x348241,_0x25238f,_0x35d8c0);let _0x227b61=class{constructor(_0x623037,_0xeb5533){const _0x2f0e0b=_0x360c99;this[_0x2f0e0b(0x36d)]=_0x623037,this[_0x2f0e0b(0x2cd)]=_0xeb5533;}['transformSelections'](_0xdd80b9){const _0x454904=_0x360c99;var _0xd58d99;const _0x2d32b6=this[_0x454904(0x36d)][_0x454904(0x2da)](_0x136824['DocSelectionManagerService']),_0x1dd62f=(_0xd58d99=_0x2d32b6[_0x454904(0x316)]())!=null?_0xd58d99:[];if(_0x1dd62f['length']===0x0)return;const _0x1e62d8=_0xdd80b9[_0x454904(0x1f7)],_0x23f254=[{'id':_0x454904(0x2de),'params':{'unitId':_0x1e62d8,'actions':null,'textRanges':_0x1dd62f}}],_0x375b30=this['_transformService'][_0x454904(0x1e4)](_0xdd80b9,_0x23f254);if(!_0x13c520['isTransformMutationsWithChangesetSuccess'](_0x375b30))throw _0x375b30[_0x454904(0x2a9)];const _0xc8743b=_0x375b30[_0x454904(0x329)][0x0][_0x454904(0x2a8)][_0x454904(0x28b)];Array[_0x454904(0x2c0)](_0xc8743b)&&_0xc8743b[_0x454904(0x1fa)]&&_0x2d32b6[_0x454904(0x212)](_0xc8743b,{'unitId':_0x1e62d8,'subUnitId':_0x1e62d8},!0x1);}};_0x227b61=_0x321e62([_0x36436d(0x0,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x36436d(0x1,_0x13c520[_0x360c99(0x249)])],_0x227b61);var _0x310906=Object[_0x360c99(0x397)],_0x31e9d7=(_0x36e7a9,_0x246322,_0x5b86f0,_0x1df03e)=>{for(var _0x1fff92=_0x1df03e>0x1?void 0x0:_0x1df03e?_0x310906(_0x246322,_0x5b86f0):_0x246322,_0x4d03b9=_0x36e7a9['length']-0x1,_0x481a3c;_0x4d03b9>=0x0;_0x4d03b9--)(_0x481a3c=_0x36e7a9[_0x4d03b9])&&(_0x1fff92=_0x481a3c(_0x1fff92)||_0x1fff92);return _0x1fff92;},_0x21f869=(_0x5c3847,_0x41a069)=>(_0x25ad56,_0x5348fe)=>_0x41a069(_0x25ad56,_0x5348fe,_0x5c3847);let _0x4b66e1=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x138708,_0x1634f,_0x5e06e5,_0x5936f3,_0x5486bf,_0x92f030,_0x4bb19d,_0x5f2513){const _0x5b4905=_0x360c99;super(),_0x2197b9(this,_0x5b4905(0x39d),new _0x3052c2[(_0x5b4905(0x1af))](_0x33f364[_0x5b4905(0x1e7)][_0x5b4905(0x2a6)])),(this[_0x5b4905(0x2d3)]=_0x138708,this['_collaborationController']=_0x1634f,this[_0x5b4905(0x16a)]=_0x5e06e5,this[_0x5b4905(0x1df)]=_0x5936f3,this[_0x5b4905(0x1e5)]=_0x5486bf,this[_0x5b4905(0x1be)]=_0x92f030,this[_0x5b4905(0x28d)]=_0x4bb19d,this[_0x5b4905(0x2e5)]=_0x5f2513,this[_0x5b4905(0x1f9)]());}[_0x360c99(0x1f9)](){const _0x56a118=_0x360c99;this['disposeWithMe'](this[_0x56a118(0x2e9)][_0x56a118(0x33b)]['subscribe'](_0xdeb76e=>{const _0x38e76a=_0x56a118,_0x5aab5d=this[_0x38e76a(0x2d3)][_0x38e76a(0x2a7)][_0x38e76a(0x373)](_0x46427d=>{const _0x298479=_0x38e76a;if(_0x46427d==null)return;const {unitId:_0x26a372,redoState:_0x3b205c,commandId:_0x5061a5}=_0x46427d;if(_0x26a372!==_0xdeb76e[_0x298479(0x1f7)])return;const _0x2ef414={'id':_0x5061a5,'type':_0x2b709b[_0x298479(0x357)][_0x298479(0x1ee)],'params':{'unitId':_0x26a372,'actions':_0x3b205c['actions'],'textRanges':null}};_0xdeb76e[_0x298479(0x12a)](_0x2ef414);});if(_0xdeb76e[_0x38e76a(0x252)](_0x5aab5d),_0xdeb76e instanceof _0x33f364[_0x38e76a(0x1d5)]){const _0xbd547c={'onTransformIME':_0x588850=>this[_0x38e76a(0x16a)]['transformIMECache'](_0x588850),'onTransformState':_0x25bb06=>this[_0x38e76a(0x1df)][_0x38e76a(0x16b)](_0x25bb06),'onTransformSelections':_0x47dbc9=>this[_0x38e76a(0x1e5)][_0x38e76a(0x207)](_0x47dbc9),'onSyncEditingCollabCursor':_0xb30d9c=>this[_0x38e76a(0x1be)][_0x38e76a(0x205)](_0xb30d9c),'onTransformRemoteChangesetByIMECache':_0x4a685d=>this[_0x38e76a(0x16a)]['transformRemoteChangeset'](_0x4a685d),'onTransformRemoteChangesetByStateCache':_0x1c7628=>this[_0x38e76a(0x1df)][_0x38e76a(0x301)](_0x1c7628)};_0xdeb76e[_0x38e76a(0x3af)](_0xbd547c);}}));}};_0x4b66e1=_0x31e9d7([_0x21f869(0x0,_0x2b709b[_0x360c99(0x14c)](_0x5e00f9[_0x360c99(0x1f0)])),_0x21f869(0x1,_0x2b709b[_0x360c99(0x14c)](_0x33f364[_0x360c99(0x306)])),_0x21f869(0x2,_0x2b709b[_0x360c99(0x14c)](_0x23f606)),_0x21f869(0x3,_0x2b709b[_0x360c99(0x14c)](_0x18c4d9)),_0x21f869(0x4,_0x2b709b[_0x360c99(0x14c)](_0x227b61)),_0x21f869(0x5,_0x2b709b['Inject'](_0x314824)),_0x21f869(0x6,_0x24d176[_0x360c99(0x1a2)]),_0x21f869(0x7,_0x2b709b[_0x360c99(0x14c)](_0x2b709b['LocaleService']))],_0x4b66e1);var _0x54c5c1=Object[_0x360c99(0x397)],_0x47f40b=(_0x26e281,_0x321390,_0x5d4c7d,_0x1d342b)=>{const _0x33de2c=_0x360c99;for(var _0x101c96=_0x1d342b>0x1?void 0x0:_0x1d342b?_0x54c5c1(_0x321390,_0x5d4c7d):_0x321390,_0x4c7fff=_0x26e281[_0x33de2c(0x1fa)]-0x1,_0x4113dd;_0x4c7fff>=0x0;_0x4c7fff--)(_0x4113dd=_0x26e281[_0x4c7fff])&&(_0x101c96=_0x4113dd(_0x101c96)||_0x101c96);return _0x101c96;},_0x475cca=(_0x2a6072,_0xde7d62)=>(_0x5c0aed,_0x45f43f)=>_0xde7d62(_0x5c0aed,_0x45f43f,_0x2a6072);let _0x19ee49=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x161092,_0xc3bbb9,_0x146687){const _0x1ccf1b=_0x360c99;super(),_0x2197b9(this,_0x1ccf1b(0x2f9),new Map()),_0x2197b9(this,_0x1ccf1b(0x298),new Map()),_0x2197b9(this,'_disabled',!0x1),(this[_0x1ccf1b(0x31b)]=_0x161092,this[_0x1ccf1b(0x37c)]=_0xc3bbb9,this['_revisionService']=_0x146687);}[_0x360c99(0x194)](){const _0x5d3cde=_0x360c99;this[_0x5d3cde(0x200)]=!0x0;}[_0x360c99(0x12e)](){const _0x3bad5e=_0x360c99;this[_0x3bad5e(0x200)]=!0x1;}get[_0x360c99(0x259)](){const _0x3d2b6d=_0x360c99;return this[_0x3d2b6d(0x298)];}[_0x360c99(0x2fe)](){const _0x5ea35c=_0x360c99;this[_0x5ea35c(0x33e)]()[_0x5ea35c(0x30d)](()=>super[_0x5ea35c(0x2fe)]());}async[_0x360c99(0x36b)](_0x137747){const _0xe12e=_0x360c99;return this[_0xe12e(0x200)]?null:this[_0xe12e(0x37c)][_0xe12e(0x3a6)](_0x33f364['getLocalCacheKey'](_0x137747));}async[_0x360c99(0x147)](_0x359f4b,_0x2c777e){return!!this['_localStorageService']['setItem'](_0x359f4b,_0x2c777e);}[_0x360c99(0x2f5)](_0x55724c,_0x2d05d2,_0x2db989,_0x3ec2a2){const _0x58d6b8=_0x360c99,_0x419913=this[_0x58d6b8(0x38f)][_0x58d6b8(0x2fd)](_0x55724c);this[_0x58d6b8(0x2f9)][_0x58d6b8(0x1b3)](_0x55724c,{'unitID':_0x55724c,'type':_0x2d05d2,'awaitingChangeset':_0x2db989,'mutations':_0x3ec2a2,'rev':_0x419913}),this[_0x58d6b8(0x298)][_0x58d6b8(0x13e)](_0x55724c)||this['_scheduleSaving'](_0x55724c);}[_0x360c99(0x2a3)](_0x5da7d0){const _0x1f1263=_0x360c99,_0x450d31=this['_getSaveTimeout']();_0x450d31===0x0?this['_saveCache'](_0x5da7d0):this[_0x1f1263(0x298)][_0x1f1263(0x1b3)](_0x5da7d0,setTimeout(()=>this[_0x1f1263(0x376)](_0x5da7d0),_0x450d31));}[_0x360c99(0x119)](){const _0x20f94e=_0x360c99;var _0x14386c;return(_0x14386c=this[_0x20f94e(0x31b)]['getConfig'](_0x33f364[_0x20f94e(0x184)]))!=null?_0x14386c:_0x33f364[_0x20f94e(0x2c6)];}[_0x360c99(0x376)](_0x2a3a32){const _0x335a50=_0x360c99,_0x91c9d0=this['_saveTaskMap'][_0x335a50(0x2da)](_0x2a3a32);return _0x91c9d0!==void 0x0&&window['clearTimeout'](_0x91c9d0),this[_0x335a50(0x37c)]['setItem'](_0x33f364[_0x335a50(0x323)](_0x2a3a32),this[_0x335a50(0x2f9)]['get'](_0x2a3a32))[_0x335a50(0x30d)](()=>this[_0x335a50(0x298)]['delete'](_0x2a3a32));}async[_0x360c99(0x33e)](){const _0x4cbe81=_0x360c99,_0x3a2668=[];this[_0x4cbe81(0x298)][_0x4cbe81(0x2ce)]((_0x286266,_0x28bb47)=>{const _0x228485=_0x4cbe81;window['clearTimeout'](_0x286266),_0x3a2668[_0x228485(0x36e)](this['_saveCache'](_0x28bb47)['then'](()=>{const _0x1cc396=_0x228485;this[_0x1cc396(0x298)][_0x1cc396(0x143)](_0x28bb47);}));}),await Promise[_0x4cbe81(0x233)](_0x3a2668);}};_0x19ee49=_0x47f40b([_0x475cca(0x0,_0x2b709b['IConfigService']),_0x475cca(0x1,_0x2b709b[_0x360c99(0x284)]),_0x475cca(0x2,_0x2b709b[_0x360c99(0x14c)](_0x13c520['RevisionService']))],_0x19ee49);class _0x561609 extends _0x2b709b[_0x360c99(0x2f2)]{constructor(){const _0x2214ea=_0x360c99;super(),_0x2197b9(this,_0x2214ea(0x359)),this[_0x2214ea(0x359)]=_0x3052c2[_0x2214ea(0x235)](window,_0x2214ea(0x2c4))[_0x2214ea(0x11a)](_0x3052c2['takeUntil'](this[_0x2214ea(0x167)]),_0x3052c2[_0x2214ea(0x337)](0x1),_0x3052c2['mapTo'](void 0x0));}[_0x360c99(0x211)](_0x1d05ff,_0x4a7732,_0x18ee5d=!0x1){const _0x4df89d=_0x360c99,_0x282db1=new URL(window[_0x4df89d(0x336)][_0x4df89d(0x3a7)]);_0x282db1[_0x4df89d(0x360)]['set'](_0x1d05ff,_0x4a7732),_0x18ee5d?window['history'][_0x4df89d(0x283)]('','',_0x282db1['toString']()):window[_0x4df89d(0x294)][_0x4df89d(0x346)]('','',_0x282db1['toString']());}[_0x360c99(0x265)](_0x15509a,_0x3d5964=!0x1){const _0x585507=_0x360c99,_0x4025ec=new URL(window[_0x585507(0x336)]['href']);_0x4025ec[_0x585507(0x360)]['delete'](_0x15509a),_0x3d5964?window[_0x585507(0x294)]['replaceState']('','',_0x4025ec[_0x585507(0x2ae)]()):window['history']['pushState']('','',_0x4025ec[_0x585507(0x2ae)]());}[_0x360c99(0x11e)](_0x234bdf){const _0x31c3fa=_0x360c99;var _0x2189c7;return(_0x2189c7=new URL(window[_0x31c3fa(0x336)][_0x31c3fa(0x3a7)])[_0x31c3fa(0x360)][_0x31c3fa(0x2da)](_0x234bdf))!=null?_0x2189c7:void 0x0;}}var _0x90164e=Object[_0x360c99(0x214)],_0x300722=Object['getOwnPropertyDescriptor'],_0xfdc988=(_0x2673e8,_0x41a1f4,_0x3d98c4)=>_0x41a1f4 in _0x2673e8?_0x90164e(_0x2673e8,_0x41a1f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d98c4}):_0x2673e8[_0x41a1f4]=_0x3d98c4,_0x14dc58=(_0x415e4a,_0x326a51,_0x238dc8,_0x234430)=>{const _0x5affaf=_0x360c99;for(var _0x4dd5e7=_0x234430>0x1?void 0x0:_0x234430?_0x300722(_0x326a51,_0x238dc8):_0x326a51,_0x336d81=_0x415e4a[_0x5affaf(0x1fa)]-0x1,_0x19a24e;_0x336d81>=0x0;_0x336d81--)(_0x19a24e=_0x415e4a[_0x336d81])&&(_0x4dd5e7=_0x19a24e(_0x4dd5e7)||_0x4dd5e7);return _0x4dd5e7;},_0x3d70f1=(_0x106f92,_0xe642e4)=>(_0x490bc4,_0x47b493)=>_0xe642e4(_0x490bc4,_0x47b493,_0x106f92),_0x56e1bb=(_0xf0faba,_0x3e9fae,_0x3e9412)=>_0xfdc988(_0xf0faba,_0x3e9fae+'',_0x3e9412);const _0x4621c3=_0x360c99(0x120);_0x2fd8ae[_0x360c99(0x187)]=class extends _0x2b709b['Plugin']{constructor(_0x1bcc98=_0xa0e94,_0x53eca4,_0x1c165b,_0x208f45){const _0x4a6649=_0x360c99;super(),this[_0x4a6649(0x1b4)]=_0x1bcc98,this['_renderManagerService']=_0x53eca4,this[_0x4a6649(0x36d)]=_0x1c165b,this['_configService']=_0x208f45;const {..._0x1af4bf}=_0x2b709b[_0x4a6649(0x2c7)]({},_0xa0e94,this[_0x4a6649(0x1b4)]);this['_configService'][_0x4a6649(0x383)](_0x1823a5,_0x1af4bf);}['onStarting'](){const _0x337257=_0x360c99;this[_0x337257(0x37a)](),this[_0x337257(0x1d6)]();}[_0x360c99(0x347)](){const _0x937a60=_0x360c99;this[_0x937a60(0x144)]();}[_0x360c99(0x37a)](){const _0x144833=_0x360c99;var _0x565754;const _0x28be79=[[_0xe4ed4e],[_0x227b61],[_0x23f606],[_0x18c4d9],[_0x314824],[_0x52e083,{'useClass':_0x561609}],[_0x3092c3[_0x144833(0x3aa)],{'useClass':_0x3092c3[_0x144833(0x11b)]}],[_0x33f364[_0x144833(0x285)],{'useClass':_0x19ee49}],[_0x2fd8ae[_0x144833(0x1a9)]],[_0x4b66e1],[_0x329f6a],[_0x29df5e],[_0xe9be34],[_0x2fd8ae[_0x144833(0x264)]]];_0x2b709b[_0x144833(0x28a)](this[_0x144833(0x36d)],_0x2b709b['mergeOverrideWithDependencies'](_0x28be79,(_0x565754=this[_0x144833(0x1b4)])==null?void 0x0:_0x565754['override']));}[_0x360c99(0x144)](){const _0x3d7bf0=_0x360c99;this[_0x3d7bf0(0x252)](this['_renderManagerService'][_0x3d7bf0(0x288)](_0x2b709b[_0x3d7bf0(0x2a5)][_0x3d7bf0(0x331)],[_0x4f058a])),this['disposeWithMe'](this[_0x3d7bf0(0x171)]['registerRenderModule'](_0x2b709b[_0x3d7bf0(0x2a5)][_0x3d7bf0(0x24b)],[_0x2d56c6]));}['_initDependencies'](){const _0x3a344f=_0x360c99;_0x2b709b[_0x3a344f(0x25b)](this[_0x3a344f(0x36d)],[[_0x29df5e],[_0x2fd8ae[_0x3a344f(0x1a9)]],[_0x4b66e1],[_0x329f6a],[_0x2fd8ae[_0x3a344f(0x264)]]]);}},_0x56e1bb(_0x2fd8ae[_0x360c99(0x187)],_0x360c99(0x34c),_0x4621c3),_0x2fd8ae[_0x360c99(0x187)]=_0x14dc58([_0x2b709b[_0x360c99(0x254)](_0x33f364[_0x360c99(0x23b)]),_0x3d70f1(0x1,_0x45a576[_0x360c99(0x2ef)]),_0x3d70f1(0x2,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x3d70f1(0x3,_0x2b709b[_0x360c99(0x324)])],_0x2fd8ae['UniverCollaborationClientUIPlugin']);var _0x2874b6=Object[_0x360c99(0x397)],_0x179e49=(_0x3f1fc4,_0x5859d6,_0x4f9540,_0x33a89a)=>{const _0x31f4ac=_0x360c99;for(var _0x1fd314=_0x33a89a>0x1?void 0x0:_0x33a89a?_0x2874b6(_0x5859d6,_0x4f9540):_0x5859d6,_0x393ee4=_0x3f1fc4[_0x31f4ac(0x1fa)]-0x1,_0x3108eb;_0x393ee4>=0x0;_0x393ee4--)(_0x3108eb=_0x3f1fc4[_0x393ee4])&&(_0x1fd314=_0x3108eb(_0x1fd314)||_0x1fd314);return _0x1fd314;},_0x35f562=(_0x4c5c58,_0xe55aaa)=>(_0x481a1d,_0x46477f)=>_0xe55aaa(_0x481a1d,_0x46477f,_0x4c5c58);_0x2fd8ae[_0x360c99(0x202)]=class extends _0x33f364[_0x360c99(0x19f)]{constructor(_0x2815e9,_0x27c343,_0x24193a,_0x260738,_0x3155a2){super(_0x2815e9,_0x27c343,_0x24193a,_0x260738,_0x3155a2);}async[_0x360c99(0x155)](_0x22afc2){const _0xc0d3e=_0x360c99,_0x51de8e=await this['_getSessionTicket'](),_0x5d19d1=this['_createSocketURL'](_0x22afc2,_0x51de8e);return this[_0xc0d3e(0x390)](_0x5d19d1);}['_createSocketURL'](_0x38e617,_0xa8a8ef){const _0xcc9cae=_0x360c99,_0xe70904=typeof window>'u'?new URL(_0x38e617):new URL(_0x38e617,window[_0xcc9cae(0x336)][_0xcc9cae(0x2fb)]);_0xe70904[_0xcc9cae(0x360)][_0xcc9cae(0x1b3)](_0xcc9cae(0x241),_0xa8a8ef);const _0x1346fe=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xcc9cae(0x336)]['search']);return _0x1346fe['get'](_0xcc9cae(0x20e))&&_0xe70904[_0xcc9cae(0x360)][_0xcc9cae(0x1b3)]('runId',_0x1346fe['get']('runId')),_0xe70904[_0xcc9cae(0x2ae)]();}async[_0x360c99(0x25d)](){const _0x4283f8=_0x360c99;var _0x17c2eb,_0x4e71e5,_0x3dc6b8;const _0xfc9b2b=this[_0x4283f8(0x31b)][_0x4283f8(0x37f)](_0x33f364[_0x4283f8(0x20f)]),_0x4ca407=(_0x17c2eb=_0xfc9b2b==null?void 0x0:_0xfc9b2b[_0x4283f8(0x2f0)])!=null?_0x17c2eb:_0x33f364[_0x4283f8(0x146)];return(_0x3dc6b8=(_0x4e71e5=(await this[_0x4283f8(0x3a4)][_0x4283f8(0x2da)](_0x4ca407,{'headers':{'Content-Type':'application/json'}}))[_0x4283f8(0x12b)])==null?void 0x0:_0x4e71e5[_0x4283f8(0x24d)])!=null?_0x3dc6b8:'';}},_0x2fd8ae[_0x360c99(0x202)]=_0x179e49([_0x35f562(0x0,_0x2b709b['Inject'](_0x2b709b[_0x360c99(0x1ef)])),_0x35f562(0x1,_0x2b709b['Inject'](_0x3092c3['HTTPService'])),_0x35f562(0x2,_0x2b709b[_0x360c99(0x324)]),_0x35f562(0x3,_0x2b709b['ILogService']),_0x35f562(0x4,_0x13c520[_0x360c99(0x2b4)])],_0x2fd8ae['BrowserCollaborationSocketService']);var _0x356f7a=(_0x1e12b3=>(_0x1e12b3[_0x1e12b3['UNDEFINED']=0x0]=_0x360c99(0x258),_0x1e12b3[_0x1e12b3['OK']=0x1]='OK',_0x1e12b3[_0x1e12b3[_0x360c99(0x256)]=0x2]=_0x360c99(0x256),_0x1e12b3[_0x1e12b3[_0x360c99(0x3b4)]=0x3]=_0x360c99(0x3b4),_0x1e12b3[_0x1e12b3[_0x360c99(0x1a0)]=0x4]=_0x360c99(0x1a0),_0x1e12b3[_0x1e12b3[_0x360c99(0x1dc)]=0x5]=_0x360c99(0x1dc),_0x1e12b3[_0x1e12b3['ALREADY_EXISTS']=0x6]=_0x360c99(0x15c),_0x1e12b3[_0x1e12b3[_0x360c99(0x385)]=0x7]=_0x360c99(0x385),_0x1e12b3[_0x1e12b3[_0x360c99(0x191)]=0x8]=_0x360c99(0x191),_0x1e12b3[_0x1e12b3[_0x360c99(0x37b)]=0x9]='COMPLETION_FINISHED',_0x1e12b3[_0x1e12b3['LOGIN_FAILED']=0xa]=_0x360c99(0x156),_0x1e12b3[_0x1e12b3[_0x360c99(0x15f)]=0xb]=_0x360c99(0x15f),_0x1e12b3[_0x1e12b3['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x360c99(0x2ee),_0x1e12b3[_0x1e12b3[_0x360c99(0x27d)]=0xd]=_0x360c99(0x27d),_0x1e12b3[_0x1e12b3[_0x360c99(0x32c)]=0xe]=_0x360c99(0x32c),_0x1e12b3[_0x1e12b3[_0x360c99(0x1e1)]=0x1389]=_0x360c99(0x1e1),_0x1e12b3[_0x1e12b3[_0x360c99(0x371)]=0x1771]=_0x360c99(0x371),_0x1e12b3[_0x1e12b3[_0x360c99(0x317)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1e12b3[_0x1e12b3[_0x360c99(0x1d1)]=0x1773]=_0x360c99(0x1d1),_0x1e12b3[_0x1e12b3[_0x360c99(0x303)]=0x1b59]=_0x360c99(0x303),_0x1e12b3[_0x1e12b3[_0x360c99(0x199)]=0x1b5a]=_0x360c99(0x199),_0x1e12b3[_0x1e12b3[_0x360c99(0x141)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1e12b3[_0x1e12b3[_0x360c99(0x198)]=0x1b5c]=_0x360c99(0x198),_0x1e12b3[_0x1e12b3['APPLY_DUPLICATED']=0x1b5d]=_0x360c99(0x366),_0x1e12b3[_0x1e12b3[_0x360c99(0x1a7)]=0x1f41]=_0x360c99(0x1a7),_0x1e12b3[_0x1e12b3[_0x360c99(0x1a5)]=0x2329]=_0x360c99(0x1a5),_0x1e12b3[_0x1e12b3[_0x360c99(0x247)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1e12b3[_0x1e12b3[_0x360c99(0x192)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1e12b3[_0x1e12b3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x360c99(0x15e),_0x1e12b3[_0x1e12b3['LICENSE_DISTRO_REJECTED']=0x232d]=_0x360c99(0x138),_0x1e12b3[_0x1e12b3['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x360c99(0x15a),_0x1e12b3[_0x1e12b3['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x360c99(0x22c),_0x1e12b3[_0x1e12b3['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x360c99(0x2c1),_0x1e12b3[_0x1e12b3['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1e12b3[_0x1e12b3['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x360c99(0x2b0),_0x1e12b3[_0x1e12b3[_0x360c99(0x30e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1e12b3[_0x1e12b3[_0x360c99(0x24e)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1e12b3[_0x1e12b3['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x360c99(0x129),_0x1e12b3[_0x1e12b3[_0x360c99(0x377)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1e12b3[_0x1e12b3[_0x360c99(0x1e0)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1e12b3[_0x1e12b3[_0x360c99(0x2cb)]=0x2720]=_0x360c99(0x2cb),_0x1e12b3[_0x1e12b3[_0x360c99(0x29c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1e12b3[_0x1e12b3[_0x360c99(0x2e1)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1e12b3[_0x1e12b3[_0x360c99(0x311)]=0x2ee2]='INVALID_INVITE_CODE',_0x1e12b3[_0x1e12b3[_0x360c99(0x355)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x1e12b3[_0x1e12b3['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1e12b3[_0x1e12b3[_0x360c99(0x28f)]=0x2ee5]=_0x360c99(0x28f),_0x1e12b3[_0x1e12b3[_0x360c99(0x32a)]=0x32c9]=_0x360c99(0x32a),_0x1e12b3[_0x1e12b3[_0x360c99(0x3a5)]=0x32ca]=_0x360c99(0x3a5),_0x1e12b3[_0x1e12b3[_0x360c99(0x304)]=0x32cb]=_0x360c99(0x304),_0x1e12b3[_0x1e12b3[_0x360c99(0x37d)]=-0x1]='UNRECOGNIZED',_0x1e12b3))(_0x356f7a||{}),_0x31a0f2=Object[_0x360c99(0x397)],_0x225033=(_0x39ded1,_0x189af4,_0x2352fe,_0x411dc3)=>{const _0x4965e6=_0x360c99;for(var _0x599f09=_0x411dc3>0x1?void 0x0:_0x411dc3?_0x31a0f2(_0x189af4,_0x2352fe):_0x189af4,_0x45fb23=_0x39ded1[_0x4965e6(0x1fa)]-0x1,_0x3a02e0;_0x45fb23>=0x0;_0x45fb23--)(_0x3a02e0=_0x39ded1[_0x45fb23])&&(_0x599f09=_0x3a02e0(_0x599f09)||_0x599f09);return _0x599f09;},_0x1e8f91=(_0x559086,_0x2b4d38)=>(_0x2ce880,_0x528cb4)=>_0x2b4d38(_0x2ce880,_0x528cb4,_0x559086);_0x2fd8ae['RemoteUniscriptService']=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x263ea5,_0x4a2ebb,_0x33d66e){const _0x1105fe=_0x360c99;super(),this['_instanceService']=_0x263ea5,this[_0x1105fe(0x3a4)]=_0x4a2ebb,this[_0x1105fe(0x31b)]=_0x33d66e;}async[_0x360c99(0x17c)](_0x23a4c0,_0x170a53,_0x14c8ed,..._0x574677){const _0x4d848c=_0x360c99;var _0x177ca3,_0x169e5e,_0x171910,_0x457044;const _0x551f84=this[_0x4d848c(0x128)][_0x4d848c(0x1d7)]();if(!_0x551f84)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1d8850=((_0x177ca3=this[_0x4d848c(0x31b)][_0x4d848c(0x37f)](_0x33f364[_0x4d848c(0x134)]))!=null?_0x177ca3:_0x33f364[_0x4d848c(0x183)])+'/'+_0x23a4c0+_0x4d848c(0x18f)+_0x170a53,_0x826c90=new URL(window[_0x4d848c(0x336)]['href']),_0x45322c={'scriptId':_0x23a4c0,'runId':(_0x169e5e=_0x826c90['searchParams'][_0x4d848c(0x2da)](_0x4d848c(0x20e)))!=null?_0x169e5e:'','function':_0x170a53,'unitId':_0x551f84[_0x4d848c(0x35f)](),'argsOfFunction':JSON[_0x4d848c(0x300)](_0x574677),'invokeId':(_0x171910=_0x14c8ed[_0x4d848c(0x150)])!=null?_0x171910:'','executionId':(_0x457044=_0x14c8ed[_0x4d848c(0x282)])!=null?_0x457044:''};try{const _0x40893d=await this[_0x4d848c(0x3a4)][_0x4d848c(0x1bf)](_0x1d8850,{'body':_0x45322c});return _0x40893d[_0x4d848c(0x12b)][_0x4d848c(0x2a9)]&&_0x40893d[_0x4d848c(0x12b)]['error'][_0x4d848c(0x164)]!==_0x356f7a['OK']?_0x4d848c(0x35e):_0x40893d['body'][_0x4d848c(0x1d2)];}catch{return _0x4d848c(0x35e);}}},_0x2fd8ae[_0x360c99(0x2e7)]=_0x225033([_0x1e8f91(0x0,_0x2b709b['IUniverInstanceService']),_0x1e8f91(0x1,_0x2b709b['Inject'](_0x3092c3[_0x360c99(0x2d1)])),_0x1e8f91(0x2,_0x2b709b['IConfigService'])],_0x2fd8ae[_0x360c99(0x2e7)]);const _0x3b03e0=0x7530,_0x2904b4=_0x360c99(0x2e0);class _0x8f298 extends _0x2b709b[_0x360c99(0x16d)]{constructor(){const _0x3f7678=_0x360c99;super(),_0x2197b9(this,'_id',_0x2b709b['generateRandomId']()),_0x2197b9(this,_0x3f7678(0x12c),new Set()),_0x2197b9(this,_0x3f7678(0x196),new Map()),_0x2197b9(this,_0x3f7678(0x2d7),null),_0x2197b9(this,_0x3f7678(0x1d3),new Map()),_0x2197b9(this,_0x3f7678(0x382),new Map()),this[_0x3f7678(0x1e6)]();}[_0x360c99(0x2fe)](){const _0x38393a=_0x360c99;super[_0x38393a(0x2fe)](),this[_0x38393a(0x1d3)][_0x38393a(0x2ce)]((_0x557435,_0x434f49)=>this[_0x38393a(0x244)](_0x434f49)),this[_0x38393a(0x2d7)]&&window['clearInterval'](this[_0x38393a(0x2d7)]);}['getUnitStatus$'](_0x2ca4ff){const _0x20fbbe=_0x360c99;return this[_0x20fbbe(0x31e)](_0x2ca4ff)[_0x20fbbe(0x11a)](_0x3052c2[_0x20fbbe(0x356)]());}[_0x360c99(0x365)](_0x50345c){const _0x1e2ce4=_0x360c99;this[_0x1e2ce4(0x12c)][_0x1e2ce4(0x248)]===0x0&&this[_0x1e2ce4(0x190)](),this['_selfUnitIDs'][_0x1e2ce4(0x1cb)](_0x50345c),this['_send']({'type':0x0,'memberID':this[_0x1e2ce4(0x13c)],'unitIDs':[_0x50345c],'isForwarded':!0x1});}[_0x360c99(0x178)](_0x187dbb){const _0xfc4635=_0x360c99;this[_0xfc4635(0x12c)][_0xfc4635(0x143)](_0x187dbb),this[_0xfc4635(0x12c)][_0xfc4635(0x248)]===0x0&&this['_heartbeatTimer']&&window[_0xfc4635(0x293)](this[_0xfc4635(0x2d7)]);}[_0x360c99(0x1e6)](){const _0xa30703=_0x360c99;this[_0xa30703(0x252)](_0x2b709b[_0xa30703(0x27e)](_0x3052c2['fromEvent'](window,'storage')[_0xa30703(0x373)](_0x297fab=>{const _0x24b528=_0xa30703;if(_0x297fab[_0x24b528(0x215)]!==_0x2904b4||!_0x297fab[_0x24b528(0x34e)])return;const _0x20f80a=JSON[_0x24b528(0x381)](_0x297fab['newValue']);this[_0x24b528(0x20c)](_0x20f80a);}))),window[_0xa30703(0x31f)](_0xa30703(0x1a1),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xa30703(0x222)](this[_0xa30703(0x12c)])}));}[_0x360c99(0x20c)](_0x3ced48){const _0x394821=_0x360c99;switch(_0x3ced48[_0x394821(0x225)]){case 0x0:this[_0x394821(0x290)](_0x3ced48);break;case 0x1:this[_0x394821(0x136)](_0x3ced48);break;case 0x2:this['_handleHeartbeatEvent'](_0x3ced48);break;}}[_0x360c99(0x290)](_0x11fcfe){const _0x4d1ddf=_0x360c99,{unitIDs:_0x289ae3,memberID:_0x3d9dfa,isForwarded:_0x1a7b31}=_0x11fcfe;_0x289ae3['forEach'](_0x4cee6d=>{const _0x3c49b3=_0x2a3e;if(!_0x1a7b31&&this[_0x3c49b3(0x196)][_0x3c49b3(0x13e)](_0x4cee6d)&&this[_0x3c49b3(0x31e)](_0x4cee6d)[_0x3c49b3(0x34f)](_0x33f364[_0x3c49b3(0x25a)][_0x3c49b3(0x32f)]),!this['_unitOnClients'][_0x3c49b3(0x13e)](_0x4cee6d)||!this['_unitOnClients'][_0x3c49b3(0x2da)](_0x4cee6d)[_0x3c49b3(0x13e)](_0x3d9dfa)){const _0x46e5f0=this[_0x3c49b3(0x196)][_0x3c49b3(0x2da)](_0x4cee6d)||new Set();_0x46e5f0['add'](_0x3d9dfa),this['_unitOnClients'][_0x3c49b3(0x1b3)](_0x4cee6d,_0x46e5f0),this['_scheduleClearOtherTimer'](_0x3d9dfa);}}),_0x1a7b31||this[_0x4d1ddf(0x218)]({'type':0x0,'memberID':this[_0x4d1ddf(0x13c)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x360c99(0x1f2)](_0x1d72a4){const _0x18920c=_0x360c99;this[_0x18920c(0x244)](_0x1d72a4);const _0x238065=window[_0x18920c(0x2e8)](()=>{this['_unitOnClients']['forEach'](_0x23c8b4=>{const _0x5b8e8f=_0x2a3e;_0x23c8b4[_0x5b8e8f(0x143)](_0x1d72a4);});},_0x3b03e0*0x2);this[_0x18920c(0x1d3)]['set'](_0x1d72a4,_0x238065);}['_removeClearOtherTimer'](_0x116b24){const _0x5aeea0=_0x360c99;if(this[_0x5aeea0(0x1d3)]['has'](_0x116b24)){const _0x4bc196=this[_0x5aeea0(0x1d3)][_0x5aeea0(0x2da)](_0x116b24);_0x4bc196&&window[_0x5aeea0(0x353)](_0x4bc196),this[_0x5aeea0(0x1d3)][_0x5aeea0(0x1b3)](_0x116b24,null);}}['_handleLeaveEvent'](_0x528a65){const {memberID:_0x115e59,unitIDs:_0x53e5bc}=_0x528a65;_0x53e5bc['forEach'](_0x9d8547=>{const _0x179ab5=_0x2a3e;var _0x508951;const _0x36bc4a=this[_0x179ab5(0x196)][_0x179ab5(0x2da)](_0x9d8547);_0x36bc4a&&(_0x36bc4a[_0x179ab5(0x143)](_0x115e59),(_0x508951=this['_ensureSubject'](_0x9d8547))==null||_0x508951['next'](_0x36bc4a[_0x179ab5(0x248)]===0x0?_0x33f364[_0x179ab5(0x25a)][_0x179ab5(0x229)]:_0x33f364['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x115e59);}[_0x360c99(0x296)](_0x2053c3){const _0x25fc12=_0x360c99;this[_0x25fc12(0x1f2)](_0x2053c3[_0x25fc12(0x17d)]);}['_send'](_0x531449){const _0xd30a92=_0x360c99;localStorage[_0xd30a92(0x24c)](_0x2904b4,JSON[_0xd30a92(0x300)](_0x531449));}[_0x360c99(0x190)](){const _0x38a41a=_0x360c99;this[_0x38a41a(0x2d7)]=window[_0x38a41a(0x3a9)](()=>{const _0xba6cbf=_0x38a41a;this[_0xba6cbf(0x218)]({'type':0x2,'memberID':this[_0xba6cbf(0x13c)]});},_0x3b03e0);}['_ensureSubject'](_0xb6a940){const _0x35e68b=_0x360c99;return this[_0x35e68b(0x382)][_0x35e68b(0x13e)](_0xb6a940)||this[_0x35e68b(0x382)][_0x35e68b(0x1b3)](_0xb6a940,new _0x3052c2[(_0x35e68b(0x1af))](_0x33f364['UnitStatus'][_0x35e68b(0x229)])),this['_unitStatus']['get'](_0xb6a940);}}_0x2fd8ae[_0x360c99(0x154)]=_0x52e083,_0x2fd8ae[_0x360c99(0x118)]=_0x34aaa3,_0x2fd8ae[_0x360c99(0x22b)]=_0x8f298,_0x2fd8ae['WebURLService']=_0x561609,Object[_0x360c99(0x214)](_0x2fd8ae,Symbol[_0x360c99(0x1fe)],{'value':_0x360c99(0x312)});}));