@univerjs-pro/collaboration-client-ui 0.15.0-insiders.20251227-453e4ff → 0.15.0-insiders.20251227-c108ce3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4228(_0x4ecffb,_0x284eb8){_0x4ecffb=_0x4ecffb-0xd7;const _0x596ab9=_0x596a();let _0x4228f1=_0x596ab9[_0x4ecffb];return _0x4228f1;}(function(_0x4b71e8,_0x41ab71){const _0x15518d=_0x4228,_0x155e90=_0x4b71e8();while(!![]){try{const _0x324a47=-parseInt(_0x15518d(0x22b))/0x1+parseInt(_0x15518d(0x38a))/0x2*(-parseInt(_0x15518d(0x187))/0x3)+parseInt(_0x15518d(0x25b))/0x4*(parseInt(_0x15518d(0x1d2))/0x5)+-parseInt(_0x15518d(0x24d))/0x6+parseInt(_0x15518d(0x356))/0x7*(-parseInt(_0x15518d(0x2ed))/0x8)+parseInt(_0x15518d(0x24b))/0x9*(parseInt(_0x15518d(0x16c))/0xa)+-parseInt(_0x15518d(0x2bd))/0xb*(-parseInt(_0x15518d(0x35a))/0xc);if(_0x324a47===_0x41ab71)break;else _0x155e90['push'](_0x155e90['shift']());}catch(_0x45558d){_0x155e90['push'](_0x155e90['shift']());}}}(_0x596a,0xe101f),function(_0x1698cc,_0x594d2f){const _0xbed0f3=_0x4228;typeof exports==_0xbed0f3(0x1f1)&&typeof module<'u'?_0x594d2f(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==_0xbed0f3(0x39e)&&define[_0xbed0f3(0x1f4)]?define(['exports',_0xbed0f3(0x22c),_0xbed0f3(0x153),_0xbed0f3(0x15a),'@univerjs/ui','rxjs',_0xbed0f3(0x269),'react',_0xbed0f3(0x3c6),_0xbed0f3(0x1e0),'@univerjs/engine-render',_0xbed0f3(0x26d),'@univerjs/docs-ui',_0xbed0f3(0x235),_0xbed0f3(0x15c),_0xbed0f3(0x1a3),_0xbed0f3(0x309),_0xbed0f3(0x1b4),'@univerjs/sheets-ui'],_0x594d2f):(_0x1698cc=typeof globalThis<'u'?globalThis:_0x1698cc||self,_0x594d2f(_0x1698cc[_0xbed0f3(0x22a)]={},_0x1698cc[_0xbed0f3(0x2ca)],_0x1698cc[_0xbed0f3(0x35e)],_0x1698cc[_0xbed0f3(0x30a)],_0x1698cc['UniverUi'],_0x1698cc[_0xbed0f3(0x253)],_0x1698cc[_0xbed0f3(0x248)],_0x1698cc[_0xbed0f3(0x2ca)],_0x1698cc[_0xbed0f3(0x1d5)],_0x1698cc[_0xbed0f3(0x178)],_0x1698cc[_0xbed0f3(0x24e)],_0x1698cc['UniverNetwork'],_0x1698cc[_0xbed0f3(0x36f)],_0x1698cc[_0xbed0f3(0x322)],_0x1698cc[_0xbed0f3(0x312)],_0x1698cc[_0xbed0f3(0x133)],_0x1698cc[_0xbed0f3(0x1ff)],_0x1698cc[_0xbed0f3(0x253)][_0xbed0f3(0x182)],_0x1698cc[_0xbed0f3(0x3b6)]));}(this,function(_0x20f7e8,_0x47da45,_0x41f4b6,_0x415f18,_0x4fe70c,_0x5a105f,_0x119110,_0x5074ec,_0x3c3bf8,_0x5379f2,_0x364f72,_0x297528,_0x3a2aae,_0x30c6e3,_0xfd7b1f,_0x2673a2,_0x372566,_0x454a49,_0x792e46){'use strict';const _0x58d8a2=_0x4228;var _0x397241=Object[_0x58d8a2(0x210)],_0x2bc9d3=(_0x2a12cc,_0x55b9a6,_0x3d1170)=>_0x55b9a6 in _0x2a12cc?_0x397241(_0x2a12cc,_0x55b9a6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d1170}):_0x2a12cc[_0x55b9a6]=_0x3d1170,_0x1a2e09=(_0xe6fdd,_0x13c0a0,_0x5829c3)=>_0x2bc9d3(_0xe6fdd,typeof _0x13c0a0!='symbol'?_0x13c0a0+'':_0x13c0a0,_0x5829c3);function _0xb15bd2({ref:_0x266b3d,..._0x78f105}){const _0x50f0c5=_0x58d8a2,{icon:_0xf36aa5,id:_0x4ca6e5,className:_0x40220a,extend:_0x2eb2ac,..._0x1e27e0}=_0x78f105,_0x6e1b37=(_0x50f0c5(0x24c)+_0x4ca6e5+'\x20'+(_0x40220a||''))['trim'](),_0x5bea9e=_0x5074ec[_0x50f0c5(0x100)]('_'+_0xe1b499());return _0x92c5f(_0xf36aa5,''+_0x4ca6e5,{'defIds':_0xf36aa5[_0x50f0c5(0x380)],'idSuffix':_0x5bea9e[_0x50f0c5(0x307)]},{'ref':_0x266b3d,'className':_0x6e1b37,..._0x1e27e0},_0x2eb2ac);}function _0x92c5f(_0x44f90c,_0x5b9de6,_0x4c53f8,_0x534722,_0x42d250){const _0x2a2b88=_0x58d8a2;return _0x5074ec['createElement'](_0x44f90c[_0x2a2b88(0x1e1)],{'key':_0x5b9de6,..._0x139c06(_0x44f90c,_0x4c53f8,_0x42d250),..._0x534722},(_0x3fb128(_0x44f90c,_0x4c53f8)[_0x2a2b88(0x306)]||[])[_0x2a2b88(0x349)]((_0x223daa,_0x472e80)=>_0x92c5f(_0x223daa,_0x5b9de6+'-'+_0x44f90c[_0x2a2b88(0x1e1)]+'-'+_0x472e80,_0x4c53f8,void 0x0,_0x42d250)));}function _0x139c06(_0x1e3175,_0x5b91db,_0x118c39){const _0x47e922=_0x58d8a2,_0x24fbec={..._0x1e3175[_0x47e922(0x33e)]};_0x118c39!=null&&_0x118c39[_0x47e922(0x324)]&&_0x24fbec[_0x47e922(0x276)]===_0x47e922(0x324)&&(_0x24fbec[_0x47e922(0x276)]=_0x118c39['colorChannel1']),_0x1e3175[_0x47e922(0x1e1)]===_0x47e922(0x164)&&_0x24fbec['id']&&(_0x24fbec['id']=_0x24fbec['id']+_0x5b91db[_0x47e922(0x330)]),Object[_0x47e922(0x39b)](_0x24fbec)[_0x47e922(0x10a)](([_0x3362bd,_0x37eed1])=>{const _0x4f811b=_0x47e922;_0x3362bd===_0x4f811b(0x164)&&typeof _0x37eed1==_0x4f811b(0x37e)&&(_0x24fbec[_0x3362bd]=_0x37eed1[_0x4f811b(0x111)](/url\(#(.*)\)/,_0x4f811b(0x12f)+_0x5b91db['idSuffix']+')'));});const {defIds:_0x50ff5f}=_0x5b91db;return!_0x50ff5f||_0x50ff5f[_0x47e922(0x1f7)]===0x0||(_0x1e3175[_0x47e922(0x1e1)]==='use'&&_0x24fbec['xlink:href']&&(_0x24fbec[_0x47e922(0x11b)]=_0x24fbec[_0x47e922(0x11b)]+_0x5b91db['idSuffix']),Object[_0x47e922(0x39b)](_0x24fbec)[_0x47e922(0x10a)](([_0x1c762d,_0x5f0410])=>{const _0x1acc26=_0x47e922;typeof _0x5f0410==_0x1acc26(0x37e)&&(_0x24fbec[_0x1c762d]=_0x5f0410[_0x1acc26(0x111)](/url\(#(.*)\)/,_0x1acc26(0x12f)+_0x5b91db['idSuffix']+')'));})),_0x24fbec;}function _0x3fb128(_0x355e60,_0x3a3029){const _0x4ccbc7=_0x58d8a2;var _0x21cb3a;const {defIds:_0x1df612}=_0x3a3029;return!_0x1df612||_0x1df612[_0x4ccbc7(0x1f7)]===0x0?_0x355e60:_0x355e60['tag']===_0x4ccbc7(0x158)&&((_0x21cb3a=_0x355e60[_0x4ccbc7(0x306)])!=null&&_0x21cb3a['length'])?{..._0x355e60,'children':_0x355e60[_0x4ccbc7(0x306)]['map'](_0x1b1784=>typeof _0x1b1784[_0x4ccbc7(0x33e)]['id']==_0x4ccbc7(0x37e)&&_0x1df612&&_0x1df612[_0x4ccbc7(0x263)](_0x1b1784[_0x4ccbc7(0x33e)]['id'])?{..._0x1b1784,'attrs':{..._0x1b1784[_0x4ccbc7(0x33e)],'id':_0x1b1784[_0x4ccbc7(0x33e)]['id']+_0x3a3029['idSuffix']}}:_0x1b1784)}:_0x355e60;}function _0xe1b499(){const _0x2815cb=_0x58d8a2;return Math[_0x2815cb(0x358)]()[_0x2815cb(0xff)](0x24)[_0x2815cb(0x2ea)](0x2,0x8);}_0xb15bd2[_0x58d8a2(0x106)]=_0x58d8a2(0x3c4);const _0x5592df={'tag':_0x58d8a2(0x256),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x58d8a2(0x3ab),'viewBox':'0\x200\x2016\x2016','width':_0x58d8a2(0x389),'height':_0x58d8a2(0x389)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','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':_0x58d8a2(0x28f),'strokeLinejoin':_0x58d8a2(0x28f),'strokeWidth':1.2}}]},{'tag':_0x58d8a2(0x158),'attrs':{},'children':[{'tag':_0x58d8a2(0x218),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x58d8a2(0x12c),'attrs':{'fill':_0x58d8a2(0x282),'d':_0x58d8a2(0xfb)}}]}]}],'defIds':[_0x58d8a2(0x374)]},_0x57bfdb=_0x5074ec[_0x58d8a2(0x2c7)](function(_0x41bd88,_0x2f8fc6){const _0x56705e=_0x58d8a2;return _0x5074ec[_0x56705e(0x23b)](_0xb15bd2,Object['assign']({},_0x41bd88,{'id':_0x56705e(0x2db),'ref':_0x2f8fc6,'icon':_0x5592df}));});_0x57bfdb[_0x58d8a2(0x106)]=_0x58d8a2(0x340);const _0x706f02={'tag':_0x58d8a2(0x256),'attrs':{'xmlns':_0x58d8a2(0x24f),'fill':_0x58d8a2(0x3ab),'viewBox':_0x58d8a2(0x274),'width':_0x58d8a2(0x389),'height':_0x58d8a2(0x389)},'children':[{'tag':'g','attrs':{'clipPath':_0x58d8a2(0x1ee)},'children':[{'tag':_0x58d8a2(0x12c),'attrs':{'stroke':_0x58d8a2(0x17a),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x58d8a2(0x28f),'strokeLinejoin':_0x58d8a2(0x28f),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x58d8a2(0x218),'attrs':{'id':_0x58d8a2(0x2c3)},'children':[{'tag':_0x58d8a2(0x12c),'attrs':{'fill':_0x58d8a2(0x282),'d':_0x58d8a2(0xfb),'transform':_0x58d8a2(0x1f5)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5c1d82=_0x5074ec['forwardRef'](function(_0x3cfdc9,_0x199082){const _0x323d4c=_0x58d8a2;return _0x5074ec[_0x323d4c(0x23b)](_0xb15bd2,Object[_0x323d4c(0x294)]({},_0x3cfdc9,{'id':_0x323d4c(0x1ab),'ref':_0x199082,'icon':_0x706f02}));});_0x5c1d82[_0x58d8a2(0x106)]='OnLineIcon';function _0x4dd62b(_0x1d442e){const _0x54b074=_0x58d8a2;switch(_0x1d442e){case _0x41f4b6['CollaborationStatus'][_0x54b074(0xed)]:return'collabStatus.offline';case _0x41f4b6['CollaborationStatus'][_0x54b074(0x229)]:return _0x54b074(0xe1);case _0x41f4b6['CollaborationStatus']['FETCH_MISS']:return _0x54b074(0x215);case _0x41f4b6[_0x54b074(0x156)][_0x54b074(0x1ec)]:return'collabStatus.notCollab';case _0x41f4b6[_0x54b074(0x156)]['AWAITING']:case _0x41f4b6[_0x54b074(0x156)]['AWAITING_WITH_PENDING']:return _0x54b074(0x2d7);case _0x41f4b6[_0x54b074(0x156)][_0x54b074(0xde)]:case _0x41f4b6[_0x54b074(0x156)][_0x54b074(0x184)]:return _0x54b074(0x3c7);}}function _0x2ebfab(_0x3788f8){const _0x354f26=_0x58d8a2,{status$:_0x1a58b4}=_0x3788f8,_0x282a5d=_0x4fe70c['useObservable'](_0x1a58b4,_0x41f4b6['CollaborationStatus'][_0x354f26(0x1ec)]),_0x57efdb=_0x4fe70c['useDependency'](_0x415f18[_0x354f26(0x1f8)]),_0x437d1d=_0x4fe70c['useDependency'](_0x41f4b6[_0x354f26(0x20c)]),_0x54668d=_0x282a5d!==_0x41f4b6[_0x354f26(0x156)][_0x354f26(0xed)],_0x2fb517=_0x57efdb['t'](_0x4dd62b(_0x282a5d)),_0x362a8c=_0x54668d?_0x47da45[_0x354f26(0x3b4)](_0x5c1d82,{}):_0x47da45['jsx'](_0x57bfdb,{}),_0x258495=_0x5074ec['useCallback'](()=>{const _0x14936b=_0x354f26;_0x54668d||_0x437d1d[_0x14936b(0x377)]();},[_0x54668d,_0x437d1d]);function _0x2a5bc0(){const _0x33ece5=_0x354f26;return _0x47da45[_0x33ece5(0xfe)]('div',{'className':_0x33ece5(0x1ce),'onClick':_0x258495,'children':[_0x47da45[_0x33ece5(0x3b4)](_0x33ece5(0x121),{'className':_0x119110[_0x33ece5(0x361)](_0x33ece5(0x128),{'univer-text-green-500':_0x54668d,'univer-text-red-500':!_0x54668d}),'children':_0x362a8c}),_0x47da45[_0x33ece5(0x3b4)](_0x33ece5(0x121),{'className':_0x33ece5(0x3ac),'children':_0x2fb517})]});}return _0x54668d?_0x2a5bc0():_0x47da45[_0x354f26(0x3b4)](_0x119110[_0x354f26(0x32f)],{'title':_0x57efdb['t'](_0x354f26(0x148)),'children':_0x2a5bc0()});}var _0x530cc0=Object[_0x58d8a2(0x139)],_0x542f15=(_0x5141b8,_0xfa319d,_0x24557,_0x181a26)=>{const _0xbf9f86=_0x58d8a2;for(var _0x1a1ce9=_0x181a26>0x1?void 0x0:_0x181a26?_0x530cc0(_0xfa319d,_0x24557):_0xfa319d,_0x434190=_0x5141b8[_0xbf9f86(0x1f7)]-0x1,_0x2073e6;_0x434190>=0x0;_0x434190--)(_0x2073e6=_0x5141b8[_0x434190])&&(_0x1a1ce9=_0x2073e6(_0x1a1ce9)||_0x1a1ce9);return _0x1a1ce9;},_0x36964d=(_0x2e3c67,_0x1aeb91)=>(_0x2278a8,_0x9781c9)=>_0x1aeb91(_0x2278a8,_0x9781c9,_0x2e3c67);_0x20f7e8['DesktopCollaborationStatusDisplayController']=class extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(_0x27d25a,_0x30f55b,_0x52fa50,_0x49d150){const _0x4d19a9=_0x58d8a2;super(),_0x1a2e09(this,_0x4d19a9(0x167),new _0x5a105f[(_0x4d19a9(0x379))](_0x41f4b6['CollaborationStatus'][_0x4d19a9(0x1ec)])),(this[_0x4d19a9(0x26c)]=_0x27d25a,this['_injector']=_0x30f55b,this[_0x4d19a9(0x39f)]=_0x52fa50,this[_0x4d19a9(0x179)]=_0x49d150,this[_0x4d19a9(0x183)](),this[_0x4d19a9(0x270)]());}[_0x58d8a2(0x270)](){const _0x472d8f=_0x58d8a2;this[_0x472d8f(0x1b7)](this[_0x472d8f(0x26c)][_0x472d8f(0x2a3)]['pipe'](_0x5a105f[_0x472d8f(0x398)](()=>{const _0xc1b0bb=_0x472d8f,_0x572523=this[_0xc1b0bb(0x26c)][_0xc1b0bb(0x1a5)]();return _0x572523?this[_0xc1b0bb(0x39f)][_0xc1b0bb(0x1aa)](_0x572523['getUnitId']()):_0x5a105f['of'](null);}),_0x5a105f[_0x472d8f(0x398)](_0x2605fe=>_0x2605fe?_0x2605fe[_0x472d8f(0x384)]:_0x5a105f['of'](_0x41f4b6[_0x472d8f(0x156)][_0x472d8f(0x1ec)])))[_0x472d8f(0x33b)](_0x1e35bf=>{this['_status$']['next'](_0x1e35bf);}));}['_initStatusComponent'](){const _0x4bdd7b=_0x58d8a2;this['disposeWithMe'](this[_0x4bdd7b(0x179)][_0x4bdd7b(0xf4)](_0x4fe70c['BuiltInUIPart'][_0x4bdd7b(0x2f4)],()=>_0x4fe70c['connectInjector'](_0x1761f6({'status$':this[_0x4bdd7b(0x167)]['asObservable']()}),this['_injector'])));}},_0x20f7e8[_0x58d8a2(0x13c)]=_0x542f15([_0x36964d(0x0,_0x415f18['IUniverInstanceService']),_0x36964d(0x1,_0x415f18['Inject'](_0x415f18['Injector'])),_0x36964d(0x2,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6['CollaborationController'])),_0x36964d(0x3,_0x4fe70c['IUIPartsService'])],_0x20f7e8[_0x58d8a2(0x13c)]);function _0x1761f6(_0x55e5c3){const {status$:_0x491d64}=_0x55e5c3;return function(){const _0x320ffa=_0x4228;return _0x47da45[_0x320ffa(0x3b4)](_0x2ebfab,{'status$':_0x491d64});};}const _0x34b68f=_0x415f18['createIdentifier'](_0x58d8a2(0x281));var _0x154087=Object[_0x58d8a2(0x139)],_0x364d23=(_0x3e4896,_0x16915c,_0xe6f8c0,_0x455cdf)=>{for(var _0x1cac66=_0x455cdf>0x1?void 0x0:_0x455cdf?_0x154087(_0x16915c,_0xe6f8c0):_0x16915c,_0x3976d7=_0x3e4896['length']-0x1,_0x51ec40;_0x3976d7>=0x0;_0x3976d7--)(_0x51ec40=_0x3e4896[_0x3976d7])&&(_0x1cac66=_0x51ec40(_0x1cac66)||_0x1cac66);return _0x1cac66;},_0x4c4075=(_0x5b801c,_0x3f40ae)=>(_0x119aef,_0x3d77f5)=>_0x3f40ae(_0x119aef,_0x3d77f5,_0x5b801c);_0x20f7e8[_0x58d8a2(0x113)]=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x171714,_0x31a28c,_0x4a4080,_0x321836,_0x1e9a75){const _0x19dd87=_0x58d8a2;super(),this[_0x19dd87(0x32c)]=_0x171714,this['_logService']=_0x31a28c,this['_commandService']=_0x4a4080,this[_0x19dd87(0x19f)]=_0x321836,_0x1e9a75?_0x1e9a75==null||_0x1e9a75[_0x19dd87(0x107)]()['then'](()=>this[_0x19dd87(0x368)]()):(this['_logService'][_0x19dd87(0x1c7)](_0x19dd87(0x36d),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x58d8a2(0x368)](){const _0x25f7b2=_0x58d8a2,_0x3019af=this[_0x25f7b2(0x32c)][_0x25f7b2(0x2f2)](_0x25f7b2(0x1cb)),_0x5635eb=this[_0x25f7b2(0x32c)]['getParam']('type'),_0x2b4889=this[_0x25f7b2(0x32c)][_0x25f7b2(0x2f2)](_0x25f7b2(0x26b));if(!_0x3019af||!_0x5635eb){this['_logService'][_0x25f7b2(0x1c7)](_0x25f7b2(0x36d),_0x25f7b2(0x125));return;}const _0x2e55bc=await this[_0x25f7b2(0x19f)][_0x25f7b2(0x3a5)](_0x3019af,Number(_0x5635eb),_0x2b4889);_0x2e55bc&&_0x2e55bc instanceof _0x415f18[_0x25f7b2(0x16b)]&&this[_0x25f7b2(0x188)](_0x2e55bc);}async['_setupSubUnitSync'](_0x1f984e){const _0x44e7b9=_0x58d8a2;await this[_0x44e7b9(0x2af)](_0x1f984e),_0x1f984e['activeSheet$'][_0x44e7b9(0xef)](_0x5a105f[_0x44e7b9(0x203)](this[_0x44e7b9(0x17e)]))[_0x44e7b9(0x33b)](_0x1eb4c7=>{const _0x33733c=_0x44e7b9;_0x1eb4c7&&this[_0x33733c(0x348)](_0x1eb4c7);}),this[_0x44e7b9(0x32c)][_0x44e7b9(0x260)][_0x44e7b9(0xef)](_0x5a105f[_0x44e7b9(0x203)](this[_0x44e7b9(0x17e)]))[_0x44e7b9(0x33b)](()=>this[_0x44e7b9(0x2af)](_0x1f984e));}[_0x58d8a2(0x348)](_0x2afeb4,_0x57d1db=!0x1){const _0x3a54bc=_0x58d8a2,_0x258d15=this[_0x3a54bc(0x32c)][_0x3a54bc(0x2f2)](_0x3a54bc(0x26b));_0x2afeb4['getSheetId']()!==_0x258d15&&this['_urlService'][_0x3a54bc(0x29e)]('subunit',_0x2afeb4['getSheetId'](),_0x57d1db);}async[_0x58d8a2(0x2af)](_0x3392c9){const _0x1bb85b=_0x58d8a2;var _0x1fc269;const _0x22a004=this[_0x1bb85b(0x32c)][_0x1bb85b(0x2f2)](_0x1bb85b(0x26b));if(!_0x22a004||!_0x3392c9[_0x1bb85b(0x172)](_0x22a004)){const _0x2f256f=_0x3392c9[_0x1bb85b(0x3c3)]()[0x0],_0x3ab69d=_0x3392c9[_0x1bb85b(0x172)](_0x2f256f);if(!_0x3ab69d)return;this['_updateURLWithCurrentState'](_0x3ab69d,!0x0),await this['_commandService'][_0x1bb85b(0x3c0)](_0x5379f2['SetWorksheetActivateCommand']['id'],{'unitId':_0x3392c9[_0x1bb85b(0x277)](),'subUnitId':_0x2f256f});return;}((_0x1fc269=_0x3392c9[_0x1bb85b(0x11f)]())==null?void 0x0:_0x1fc269[_0x1bb85b(0x132)]())!==_0x22a004&&await this[_0x1bb85b(0x1de)][_0x1bb85b(0x3c0)](_0x5379f2['SetWorksheetActivateCommand']['id'],{'unitId':_0x3392c9[_0x1bb85b(0x277)](),'subUnitId':_0x22a004});}},_0x20f7e8[_0x58d8a2(0x113)]=_0x364d23([_0x4c4075(0x0,_0x34b68f),_0x4c4075(0x1,_0x415f18['ILogService']),_0x4c4075(0x2,_0x415f18[_0x58d8a2(0x22e)]),_0x4c4075(0x3,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6[_0x58d8a2(0x231)])),_0x4c4075(0x4,_0x415f18['Optional'](_0x3c3bf8[_0x58d8a2(0x34d)]))],_0x20f7e8[_0x58d8a2(0x113)]);var _0x1af4eb=Object[_0x58d8a2(0x139)],_0x39856d=(_0xe5e87d,_0x3d3b95,_0x18d9c1,_0x204652)=>{const _0x465188=_0x58d8a2;for(var _0x270109=_0x204652>0x1?void 0x0:_0x204652?_0x1af4eb(_0x3d3b95,_0x18d9c1):_0x3d3b95,_0x1fb6e7=_0xe5e87d[_0x465188(0x1f7)]-0x1,_0x483d28;_0x1fb6e7>=0x0;_0x1fb6e7--)(_0x483d28=_0xe5e87d[_0x1fb6e7])&&(_0x270109=_0x483d28(_0x270109)||_0x270109);return _0x270109;},_0x511d91=(_0x5c32fe,_0x287012)=>(_0x196854,_0x2e62d6)=>_0x287012(_0x196854,_0x2e62d6,_0x5c32fe);let _0x4f2d52=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x1d96bb,_0x55f2ef){const _0x45876d=_0x58d8a2;super(),this[_0x45876d(0x1d3)]=_0x1d96bb,this['_imageIoService']=_0x55f2ef,this['_init']();}[_0x58d8a2(0x368)](){const _0x165b61=_0x58d8a2,_0x3d8475=this;this[_0x165b61(0x1b7)](this[_0x165b61(0x1d3)]['addClipboardHook']({'onBeforePasteImage':async _0xaf787f=>{const _0x478ae1=_0x165b61,_0x473dde=await _0x3d8475['_imageIoService'][_0x478ae1(0x320)](_0xaf787f);return _0x473dde?{'source':_0x473dde[_0x478ae1(0x3bd)],'imageSourceType':_0x473dde[_0x478ae1(0xdb)]}:null;}}));}};_0x4f2d52=_0x39856d([_0x511d91(0x0,_0x3a2aae[_0x58d8a2(0x395)]),_0x511d91(0x1,_0x30c6e3['IImageIoService'])],_0x4f2d52);const _0x1af191=[_0x58d8a2(0x25f),_0x58d8a2(0x119),_0x58d8a2(0x26e),'red.300',_0x58d8a2(0x118),_0x58d8a2(0x3a3)];class _0x1689eb extends _0x415f18['Disposable']{constructor(){const _0x4d4db9=_0x58d8a2;super(...arguments),_0x1a2e09(this,_0x4d4db9(0x197),new Map()),_0x1a2e09(this,_0x4d4db9(0x13b),0x0);}[_0x58d8a2(0x359)](_0x53a317){const _0x165a7c=_0x58d8a2;if(this['_assignedColors']['has'](_0x53a317))return this[_0x165a7c(0x197)][_0x165a7c(0x272)](_0x53a317);const _0x22e892=_0x1af191[this[_0x165a7c(0x13b)]];return this[_0x165a7c(0x13b)]=(this[_0x165a7c(0x13b)]+0x1)%_0x1af191['length'],this['_assignedColors'][_0x165a7c(0xfd)](_0x53a317,_0x22e892),_0x22e892;}}function _0x20bec0(_0x417ef9){const _0x2a528a=_0x58d8a2;let _0x177a1f='';for(const _0x17ee1e of _0x417ef9){const {startOffset:_0xe28df7,endOffset:_0x193d21,isActive:_0x581f3e,rangeType:_0x5ccf40,segmentId:_0x22a967,segmentPage:_0x16519f}=_0x17ee1e;_0x177a1f[_0x2a528a(0x1f7)]&&(_0x177a1f+=','),_0x177a1f+=_0xe28df7+':'+_0x193d21+':'+(_0x581f3e?'1':'0')+':'+_0x5ccf40+':'+_0x22a967+':'+_0x16519f;}return _0x177a1f;}function _0x34dadf(_0x211578){const _0x31e17e=_0x58d8a2,_0x552d87=_0x211578['split'](','),_0x18c23e=[];for(const _0x547374 of _0x552d87){const [_0x3120a1,_0x4ad732,_0x51a6d2,_0x575b9d,_0x14197b,_0xa9ebc8]=_0x547374[_0x31e17e(0x195)](':');_0x18c23e[_0x31e17e(0xec)]({'startOffset':Number(_0x3120a1),'endOffset':Number(_0x4ad732),'collapsed':_0x3120a1===_0x4ad732,'isActive':_0x51a6d2==='1','rangeType':_0x575b9d===_0x415f18[_0x31e17e(0x1ca)]['TEXT']?_0x415f18[_0x31e17e(0x1ca)]['TEXT']:_0x415f18['DOC_RANGE_TYPE'][_0x31e17e(0x137)],'segmentId':typeof _0x14197b==_0x31e17e(0x37e)?String(_0x14197b):'','segmentPage':Number(_0xa9ebc8!=null?_0xa9ebc8:-0x1)});}return _0x18c23e['some'](_0x152c69=>_0x152c69[_0x31e17e(0x37b)])||(_0x18c23e[0x0][_0x31e17e(0x37b)]=!0x0),_0x18c23e;}class _0x2905ba extends _0x415f18[_0x58d8a2(0x101)]{constructor(){const _0x908ad9=_0x58d8a2;super(...arguments),_0x1a2e09(this,'_collabCursorState$',new _0x5a105f[(_0x908ad9(0x379))](null)),_0x1a2e09(this,_0x908ad9(0x2e5),this[_0x908ad9(0x204)][_0x908ad9(0x18a)]());}[_0x58d8a2(0x304)](_0x16864d){const _0x490b08=_0x58d8a2,{unitID:_0x922952,memberID:_0x340438,textRanges:_0x5ee9ce}=_0x16864d,_0x4838a9=_0x20bec0(_0x5ee9ce);if(_0x4838a9==='')return;const _0x278c2b={'unitID':_0x922952,'memberID':_0x340438,'selection':_0x4838a9};this[_0x490b08(0x204)][_0x490b08(0x1a7)](_0x278c2b);}}var _0x2cfa3a=Object[_0x58d8a2(0x139)],_0x51f28e=(_0x51e708,_0x51830c,_0xcd4242,_0x44202a)=>{for(var _0x4f9b44=_0x44202a>0x1?void 0x0:_0x44202a?_0x2cfa3a(_0x51830c,_0xcd4242):_0x51830c,_0x108b7a=_0x51e708['length']-0x1,_0x52588e;_0x108b7a>=0x0;_0x108b7a--)(_0x52588e=_0x51e708[_0x108b7a])&&(_0x4f9b44=_0x52588e(_0x4f9b44)||_0x4f9b44);return _0x4f9b44;},_0x1f8844=(_0x4a3e99,_0x51015a)=>(_0x1154fb,_0x33869a)=>_0x51015a(_0x1154fb,_0x33869a,_0x4a3e99);const _0x25b8d4=0x12c,_0x150950=0x64;let _0x3b3246=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x3acc36,_0x3cb114,_0x3807c8,_0x4a46d6,_0x473468,_0x5d5c6f,_0x1e1313,_0x41a117,_0x39365d){const _0x113ce8=_0x58d8a2;super(),_0x1a2e09(this,_0x113ce8(0x175),!0x1),_0x1a2e09(this,_0x113ce8(0x368),!0x1),_0x1a2e09(this,_0x113ce8(0x1d7),new _0x5a105f[(_0x113ce8(0x379))](new Map())),_0x1a2e09(this,_0x113ce8(0x291),this[_0x113ce8(0x1d7)]['asObservable']()),_0x1a2e09(this,_0x113ce8(0x2ba),new _0x5a105f[(_0x113ce8(0x379))]([])),_0x1a2e09(this,_0x113ce8(0x185),this[_0x113ce8(0x2ba)]['pipe'](_0x5a105f[_0x113ce8(0xf1)](_0x25b8d4))),_0x1a2e09(this,'_updateLocalCursor',_0x415f18['debounce'](_0x27a80f=>{const _0x3f374d=_0x113ce8,_0x141b29={'eventID':_0xfd7b1f[_0x3f374d(0x372)][_0x3f374d(0x201)],'data':{'unitID':this[_0x3f374d(0x2ec)],'memberID':this[_0x3f374d(0x171)][_0x3f374d(0x299)](),'selection':_0x20bec0(_0x27a80f)}};this['_session'][_0x3f374d(0x308)](_0x141b29,this[_0x3f374d(0x2ec)]);},_0x150950)),(this['unitID']=_0x3acc36,this[_0x113ce8(0x171)]=_0x3cb114,this[_0x113ce8(0x129)]=_0x3807c8,this[_0x113ce8(0x391)]=_0x4a46d6,this[_0x113ce8(0x222)]=_0x473468,this['_syncEditingCollabCursorService']=_0x5d5c6f,this[_0x113ce8(0x32e)]=_0x1e1313,this[_0x113ce8(0x26c)]=_0x41a117,this['_commandService']=_0x39365d);}get[_0x58d8a2(0x1ef)](){const _0x4fd2b8=_0x58d8a2;return this[_0x4fd2b8(0x1d7)][_0x4fd2b8(0x177)]();}get[_0x58d8a2(0x11c)](){const _0x2faa30=_0x58d8a2;return this[_0x2faa30(0x2ba)][_0x2faa30(0x177)]();}['dispose'](){const _0x2530d3=_0x58d8a2;super['dispose'](),this[_0x2530d3(0x1d7)][_0x2530d3(0x1a7)](new Map()),this['_cursorInfo$'][_0x2530d3(0x318)](),this[_0x2530d3(0x2ba)][_0x2530d3(0x1a7)]([]),this[_0x2530d3(0x2ba)][_0x2530d3(0x318)]();}[_0x58d8a2(0x1e3)](){const _0x1b72d5=_0x58d8a2;this['_init']||(this[_0x1b72d5(0x368)]=!0x0,this[_0x1b72d5(0x171)][_0x1b72d5(0x2be)][_0x1b72d5(0xef)](_0x5a105f['takeUntil'](this[_0x1b72d5(0x17e)]))[_0x1b72d5(0x33b)](_0x27dc05=>{const _0x31b4b7=_0x1b72d5;_0x27dc05===_0x41f4b6[_0x31b4b7(0x18e)][_0x31b4b7(0x1d9)]?this[_0x31b4b7(0x22d)]():this['_toggleOffline']();}),this['_session'][_0x1b72d5(0x105)][_0x1b72d5(0xef)](_0x5a105f[_0x1b72d5(0x203)](this[_0x1b72d5(0x17e)]))[_0x1b72d5(0x33b)](_0x11b7cd=>{const _0x3f3500=_0x1b72d5,_0xa1b717=_0x11b7cd[_0x3f3500(0x2b5)];_0xa1b717===_0xfd7b1f[_0x3f3500(0x372)][_0x3f3500(0x201)]&&this[_0x3f3500(0x280)](_0x11b7cd),_0xa1b717===_0xfd7b1f['CollaborationEvent'][_0x3f3500(0x143)]&&this[_0x3f3500(0xf8)](_0x11b7cd);}),this[_0x1b72d5(0x1b7)](this[_0x1b72d5(0x1de)][_0x1b72d5(0x147)](_0xc61366=>{const _0x2a32cd=_0x1b72d5,_0x196909=_0xc61366['params'];_0x196909!=null&&this[_0x2a32cd(0x175)]&&_0xc61366['id']===_0x2673a2[_0x2a32cd(0x38d)]['id']&&_0x196909[_0x2a32cd(0x2e4)]===this[_0x2a32cd(0x2ec)]&&_0x196909[_0x2a32cd(0x15f)]===!0x1&&_0x196909[_0x2a32cd(0x28d)][_0x2a32cd(0x1f7)]>0x0&&this[_0x2a32cd(0x2b3)](_0x196909[_0x2a32cd(0x28d)]);})),this[_0x1b72d5(0x31b)][_0x1b72d5(0x2e5)]['pipe'](_0x5a105f[_0x1b72d5(0x203)](this[_0x1b72d5(0x17e)]))[_0x1b72d5(0x33b)](_0x4085fb=>{const _0x28e288=_0x1b72d5;if((_0x4085fb==null?void 0x0:_0x4085fb['unitID'])!==this[_0x28e288(0x2ec)])return;const _0x4765ad={'eventID':_0xfd7b1f[_0x28e288(0x372)][_0x28e288(0x201)],'data':_0x4085fb};this[_0x28e288(0x280)](_0x4765ad);}),this[_0x1b72d5(0x1b7)](this[_0x1b72d5(0x1de)]['onCommandExecuted'](_0x42eb02=>{const _0x14cb1b=_0x1b72d5;if(_0x42eb02['params']==null)return;const _0xa7e2a2=_0x42eb02[_0x14cb1b(0x209)];if(_0x42eb02['id']!==_0x2673a2[_0x14cb1b(0x29c)]['id']||_0xa7e2a2[_0x14cb1b(0x2e4)]!==this[_0x14cb1b(0x2ec)])return;const _0x66f9c5={'id':'doc.mutation.rich-text-editing','params':_0xa7e2a2},_0x38de04=this[_0x14cb1b(0x1ef)];for(const [_0x44642f,_0x233c6c]of _0x38de04){const _0x5b5965={'id':_0x14cb1b(0x202),'params':{'unitId':this[_0x14cb1b(0x2ec)],'actions':null,'textRanges':_0x233c6c[_0x14cb1b(0x28d)]}},_0x5a1952=this[_0x14cb1b(0x32e)][_0x14cb1b(0x2dc)](_0x66f9c5,_0x5b5965,!0x1);if(_0xfd7b1f[_0x14cb1b(0x362)](_0x5a1952))throw _0x5a1952[_0x14cb1b(0x1b0)];_0x38de04[_0x14cb1b(0xfd)](_0x44642f,{..._0x233c6c,'ranges':_0x5a1952[_0x14cb1b(0x300)]['params'][_0x14cb1b(0xe7)]});}queueMicrotask(()=>{const _0x268563=_0x14cb1b;this[_0x268563(0x1d7)]['next'](_0x38de04);});})));}[_0x58d8a2(0x280)](_0x4b6a82){const _0x53d92c=_0x58d8a2;var _0x5274bf,_0x3813d8;const {memberID:_0x17e0e3,selection:_0xd89a80}=_0x4b6a82[_0x53d92c(0x15b)],_0x2e80cd=_0x34dadf(_0xd89a80),_0x2d5d92=(_0x3813d8=(_0x5274bf=this[_0x53d92c(0x222)][_0x53d92c(0x2df)](this['unitID'],_0x17e0e3))==null?void 0x0:_0x5274bf[_0x53d92c(0x254)])!=null?_0x3813d8:_0x53d92c(0x279),_0x5976b8={'color':this['_colorAssignService'][_0x53d92c(0x359)](_0x17e0e3),'name':_0x2d5d92,'ranges':_0x2e80cd},_0x60e0db=this['cursorInfo'];_0x60e0db[_0x53d92c(0xfd)](_0x17e0e3,_0x5976b8),this[_0x53d92c(0x1d7)][_0x53d92c(0x1a7)](_0x60e0db);}[_0x58d8a2(0xf8)](_0x47e659){const _0x55ae83=_0x58d8a2,{memberID:_0x1e159f}=_0x47e659[_0x55ae83(0x15b)],_0x36c62f=this['cursorInfo'];_0x36c62f['delete'](_0x1e159f),this[_0x55ae83(0x1d7)][_0x55ae83(0x1a7)](_0x36c62f);}['_toggleOnline'](){const _0x3dde31=_0x58d8a2;var _0xe9f8f5;if(this[_0x3dde31(0x175)]=!0x0,((_0xe9f8f5=this[_0x3dde31(0x26c)]['getFocusedUnit']())==null?void 0x0:_0xe9f8f5[_0x3dde31(0x277)]())!==this[_0x3dde31(0x2ec)])return;const _0xc0f52c=this[_0x3dde31(0x129)][_0x3dde31(0x272)](_0x2673a2[_0x3dde31(0x367)])[_0x3dde31(0x14f)]();Array[_0x3dde31(0x2bb)](_0xc0f52c)&&_0xc0f52c['length']>0x0&&this[_0x3dde31(0x2b3)](_0xc0f52c);}[_0x58d8a2(0x36a)](){const _0x487f54=_0x58d8a2;this[_0x487f54(0x175)]=!0x1;}};_0x3b3246=_0x51f28e([_0x1f8844(0x2,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0x1f8844(0x3,_0x415f18[_0x58d8a2(0x284)](_0x1689eb)),_0x1f8844(0x4,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6['MemberService'])),_0x1f8844(0x5,_0x415f18[_0x58d8a2(0x284)](_0x2905ba)),_0x1f8844(0x6,_0xfd7b1f[_0x58d8a2(0x219)]),_0x1f8844(0x7,_0x415f18[_0x58d8a2(0x288)]),_0x1f8844(0x8,_0x415f18['ICommandService'])],_0x3b3246);var _0x2ab4bc=Object['getOwnPropertyDescriptor'],_0x4c9ac1=(_0x195987,_0x150399,_0xa8aa69,_0x25e4b6)=>{const _0x5569b0=_0x58d8a2;for(var _0x43eea3=_0x25e4b6>0x1?void 0x0:_0x25e4b6?_0x2ab4bc(_0x150399,_0xa8aa69):_0x150399,_0x468446=_0x195987[_0x5569b0(0x1f7)]-0x1,_0x11ee99;_0x468446>=0x0;_0x468446--)(_0x11ee99=_0x195987[_0x468446])&&(_0x43eea3=_0x11ee99(_0x43eea3)||_0x43eea3);return _0x43eea3;},_0x514fe7=(_0x3a8f9c,_0x50bd87)=>(_0x20a6b2,_0x193c3c)=>_0x50bd87(_0x20a6b2,_0x193c3c,_0x3a8f9c);const _0x35f54a=0x12c,_0x49993e=0x64,_0x3c2cb2=()=>{let _0x2a29f5=[],_0x28c133=!0x1;return _0xc1331a=>{const _0x2f9bac=_0x4228;_0x2a29f5[_0x2f9bac(0xec)](_0xc1331a),_0x28c133||(_0x28c133=!0x0,setTimeout(()=>{const _0x30be06=_0x2f9bac;_0x2a29f5[_0x30be06(0x10a)](_0x2e331e=>_0x2e331e()),_0x2a29f5=[],_0x28c133=!0x1;}));};};let _0x16737f=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x3fcdc1,_0x48c90d,_0x4218c3,_0x3134b6,_0x408f4a,_0x29b2b4,_0x282719,_0xb7dfa1){const _0x4e2438=_0x58d8a2;super(),_0x1a2e09(this,_0x4e2438(0x175),!0x1),_0x1a2e09(this,_0x4e2438(0x368),!0x1),_0x1a2e09(this,_0x4e2438(0x1d7),new _0x5a105f[(_0x4e2438(0x379))](new Map())),_0x1a2e09(this,_0x4e2438(0x291),this[_0x4e2438(0x1d7)][_0x4e2438(0x18a)]()),_0x1a2e09(this,_0x4e2438(0x2ba),new _0x5a105f['BehaviorSubject']([])),_0x1a2e09(this,_0x4e2438(0x185),this[_0x4e2438(0x2ba)][_0x4e2438(0xef)](_0x5a105f[_0x4e2438(0xf1)](_0x35f54a))),_0x1a2e09(this,_0x4e2438(0x2b3),_0x415f18['debounce']((_0x26ef6c,_0x102a19)=>{const _0x2f3ea1=_0x4e2438,_0x545fe2={'eventID':_0xfd7b1f[_0x2f3ea1(0x372)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2f3ea1(0x2ec)],'memberID':this['_session'][_0x2f3ea1(0x299)](),'selection':_0x372566[_0x2f3ea1(0x192)](_0x26ef6c,_0x102a19[_0x2f3ea1(0x305)])}};this[_0x2f3ea1(0x171)]['send'](_0x545fe2,this['unitID']);},_0x49993e)),(this[_0x4e2438(0x2ec)]=_0x3fcdc1,this[_0x4e2438(0x171)]=_0x48c90d,this[_0x4e2438(0x129)]=_0x4218c3,this[_0x4e2438(0x391)]=_0x3134b6,this['_memberService']=_0x408f4a,this[_0x4e2438(0x26c)]=_0x29b2b4,this[_0x4e2438(0x1de)]=_0x282719,this['_refRangeService']=_0xb7dfa1);}get[_0x58d8a2(0x1ef)](){const _0x381026=_0x58d8a2;return this[_0x381026(0x1d7)][_0x381026(0x177)]();}get['roomMembers'](){const _0x5d946a=_0x58d8a2;return this[_0x5d946a(0x2ba)][_0x5d946a(0x177)]();}[_0x58d8a2(0x126)](){const _0x805257=_0x58d8a2;super[_0x805257(0x126)](),this[_0x805257(0x1d7)][_0x805257(0x1a7)](new Map()),this[_0x805257(0x1d7)][_0x805257(0x318)](),this[_0x805257(0x2ba)][_0x805257(0x1a7)]([]),this[_0x805257(0x2ba)][_0x805257(0x318)]();}[_0x58d8a2(0x1e3)](){const _0x1125e7=_0x58d8a2;this[_0x1125e7(0x368)]||(this[_0x1125e7(0x368)]=!0x0,this[_0x1125e7(0x171)][_0x1125e7(0x2be)][_0x1125e7(0xef)](_0x5a105f[_0x1125e7(0x203)](this[_0x1125e7(0x17e)]))['subscribe'](_0x7d6cac=>{const _0x16147e=_0x1125e7;_0x7d6cac===_0x41f4b6['SessionStatus'][_0x16147e(0x1d9)]?this['_toggleOnline']():this[_0x16147e(0x36a)]();}),this['_session']['event$'][_0x1125e7(0xef)](_0x5a105f[_0x1125e7(0x203)](this[_0x1125e7(0x17e)]))[_0x1125e7(0x33b)](_0x167eaa=>{const _0x10e40a=_0x1125e7,_0x720f8b=_0x167eaa['eventID'];_0x720f8b===_0xfd7b1f[_0x10e40a(0x372)][_0x10e40a(0x201)]&&this[_0x10e40a(0x280)](_0x167eaa),_0x720f8b===_0xfd7b1f['CollaborationEvent']['USERS_LEAVE']&&this[_0x10e40a(0xf8)](_0x167eaa);}),this[_0x1125e7(0x21a)](),this[_0x1125e7(0x1b7)](this[_0x1125e7(0x1de)]['onCommandExecuted'](_0x508200=>{const _0xdcc236=_0x1125e7;if(this[_0xdcc236(0x175)]&&_0x508200['id']===_0x5379f2['SetSelectionsOperation']['id']&&_0x508200[_0xdcc236(0x209)][_0xdcc236(0x2e4)]===this[_0xdcc236(0x2ec)]){const _0x3ba9ef=_0x508200['params'];this['_updateLocalCursor'](_0x3ba9ef[_0xdcc236(0x34a)],_0x3ba9ef[_0xdcc236(0x289)][0x0]);}})));}['_onCursorUpdate'](_0x6f1730){const _0x5dd45f=_0x58d8a2;var _0x42e0ae,_0x4652bf;const {memberID:_0x62e7ab,selection:_0xf2f062}=_0x6f1730[_0x5dd45f(0x15b)],{sheetName:_0x40cc74,range:_0x39acaa}=_0x372566[_0x5dd45f(0x141)](_0xf2f062),_0x386f43={'name':(_0x4652bf=(_0x42e0ae=this[_0x5dd45f(0x222)][_0x5dd45f(0x2df)](this['unitID'],_0x62e7ab))==null?void 0x0:_0x42e0ae[_0x5dd45f(0x254)])!=null?_0x4652bf:_0x5dd45f(0x279),'range':this['_getMergeRange'](_0x40cc74,_0x39acaa),'sheetID':_0x40cc74,'color':this[_0x5dd45f(0x391)][_0x5dd45f(0x359)](_0x62e7ab),'selection':_0xf2f062},_0x23f554=this[_0x5dd45f(0x1ef)];_0x23f554['set'](_0x62e7ab,_0x386f43),this[_0x5dd45f(0x1d7)][_0x5dd45f(0x1a7)](_0x23f554);}['_onCursorDelete'](_0x2eadc4){const _0x3f8641=_0x58d8a2,{memberID:_0x1b5395}=_0x2eadc4[_0x3f8641(0x15b)],_0x254941=this[_0x3f8641(0x1ef)];_0x254941[_0x3f8641(0x2e2)](_0x1b5395),this[_0x3f8641(0x1d7)]['next'](_0x254941);}[_0x58d8a2(0x103)](_0x3876c1,_0x2a4e49){const _0x654ad7=_0x58d8a2;var _0x5df647,_0x25a951;const _0x250d7c=(_0x25a951=(_0x5df647=this[_0x654ad7(0x26c)][_0x654ad7(0x2e3)](this[_0x654ad7(0x2ec)]))==null?void 0x0:_0x5df647[_0x654ad7(0x172)](_0x3876c1))==null?void 0x0:_0x25a951[_0x654ad7(0x1a8)]();return(_0x250d7c==null?void 0x0:_0x250d7c[_0x654ad7(0x225)](_0x4d5b49=>_0x415f18[_0x654ad7(0x2b9)][_0x654ad7(0x36b)](_0x4d5b49,_0x2a4e49)))||_0x2a4e49;}[_0x58d8a2(0x21a)](){const _0x4e2f7c=_0x58d8a2,_0x456c35=new _0x415f18['DisposableCollection'](),_0x79caf2=_0x3c2cb2(),_0x5a8156=()=>{const _0xcbbb52=_0x4228;_0x456c35[_0xcbbb52(0x126)]();const _0x4fab25=(_0x154012,_0x5d7650,_0x111deb,_0x267a56)=>{const _0x42d258=_0xcbbb52;let _0xb2dc05=[];switch(_0x154012['id']){case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x2f1)]:{_0xb2dc05=_0x5379f2['handleDeleteRangeMoveLeft'](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x38f)]:{_0xb2dc05=_0x5379f2[_0x42d258(0x392)](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x357)]:{_0xb2dc05=_0x5379f2['handleInsertCol'](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x17b)]:{_0xb2dc05=_0x5379f2[_0x42d258(0x35f)](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x36e)]:{_0xb2dc05=_0x5379f2[_0x42d258(0x323)](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x2ee)]:{_0xb2dc05=_0x5379f2['handleInsertRow'](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x1ad)]:{_0xb2dc05=_0x5379f2[_0x42d258(0xdc)](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x211)]:{_0xb2dc05=_0x5379f2[_0x42d258(0x2c4)](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x2cb)]:{_0xb2dc05=_0x5379f2[_0x42d258(0x286)](_0x154012,_0x267a56);break;}}const _0x4d6624=_0x5379f2['runRefRangeMutations'](_0xb2dc05,_0x267a56),_0x2eb974=this[_0x42d258(0x1ef)][_0x42d258(0x272)](_0x5d7650);if(_0x2eb974&&_0x4d6624){const _0x513b49={..._0x2eb974,'range':_0x4d6624};this[_0x42d258(0x1ef)]['set'](_0x5d7650,_0x513b49),_0x79caf2(()=>{const _0x11ac0a=_0x42d258,_0x5cfab9=this[_0x11ac0a(0x1cc)][_0x11ac0a(0x2d8)](_0x4d6624,_0x270209=>(_0x5cfab9[_0x11ac0a(0x126)](),_0x4fab25(_0x270209,_0x5d7650,_0x111deb,_0x4d6624)));_0x456c35[_0x11ac0a(0x2a9)](_0x5cfab9);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0xcbbb52(0x10a)]((_0x3a601a,_0x476e02)=>{const _0x419755=_0xcbbb52,{range:_0xd123fb,sheetID:_0x83a98d}=_0x3a601a,_0x3118de=this[_0x419755(0x1cc)][_0x419755(0x2d8)](_0xd123fb,_0x33f57e=>(_0x3118de[_0x419755(0x126)](),_0x4fab25(_0x33f57e,_0x476e02,_0x83a98d,_0xd123fb)));_0x456c35[_0x419755(0x2a9)](_0x3118de);});};this['disposeWithMe'](_0x415f18[_0x4e2f7c(0x11a)](this[_0x4e2f7c(0x1d7)]['subscribe'](()=>{_0x5a8156();})));}[_0x58d8a2(0x22d)](){const _0x55fd6e=_0x58d8a2;var _0x9d3eeb,_0x3256b9;if(this['_online']=!0x0,((_0x9d3eeb=this[_0x55fd6e(0x26c)][_0x55fd6e(0x1a5)]())==null?void 0x0:_0x9d3eeb['getUnitId']())!==this[_0x55fd6e(0x2ec)])return;const _0x42a683=(_0x3256b9=this[_0x55fd6e(0x129)][_0x55fd6e(0x272)](_0x5379f2['SheetsSelectionsService'])[_0x55fd6e(0x1d4)]())==null?void 0x0:_0x3256b9[0x0],_0x1746ca=this['_univerInstanceService'][_0x55fd6e(0x1e4)](_0x415f18['UniverInstanceType'][_0x55fd6e(0x3ad)])[_0x55fd6e(0x11f)]();_0x42a683&&_0x1746ca&&this[_0x55fd6e(0x2b3)](_0x1746ca[_0x55fd6e(0x132)](),_0x42a683);}[_0x58d8a2(0x36a)](){const _0x5655e6=_0x58d8a2;this[_0x5655e6(0x175)]=!0x1;}};_0x16737f=_0x4c9ac1([_0x514fe7(0x2,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0x514fe7(0x3,_0x415f18[_0x58d8a2(0x284)](_0x1689eb)),_0x514fe7(0x4,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6['MemberService'])),_0x514fe7(0x5,_0x415f18[_0x58d8a2(0x288)]),_0x514fe7(0x6,_0x415f18[_0x58d8a2(0x22e)]),_0x514fe7(0x7,_0x415f18[_0x58d8a2(0x284)](_0x5379f2[_0x58d8a2(0x2ae)]))],_0x16737f);var _0x4d3484=Object[_0x58d8a2(0x139)],_0x31d861=(_0x2ef95c,_0x19379e,_0x45d326,_0x4d4f31)=>{const _0x2dc149=_0x58d8a2;for(var _0x13d4bc=_0x4d4f31>0x1?void 0x0:_0x4d4f31?_0x4d3484(_0x19379e,_0x45d326):_0x19379e,_0x122c0d=_0x2ef95c[_0x2dc149(0x1f7)]-0x1,_0x356f51;_0x122c0d>=0x0;_0x122c0d--)(_0x356f51=_0x2ef95c[_0x122c0d])&&(_0x13d4bc=_0x356f51(_0x13d4bc)||_0x13d4bc);return _0x13d4bc;},_0x3b55cb=(_0x11b64b,_0x199c50)=>(_0x2ff989,_0x3d9fb4)=>_0x199c50(_0x2ff989,_0x3d9fb4,_0x11b64b);let _0x49cf8d=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x2f81e1,_0x358058,_0x35322b){const _0x32cd6d=_0x58d8a2;super(),_0x1a2e09(this,'_entities',new Map()),_0x1a2e09(this,'_entityInit$',new _0x5a105f[(_0x32cd6d(0x351))]()),(this[_0x32cd6d(0x26c)]=_0x2f81e1,this['_injector']=_0x358058,this[_0x32cd6d(0x1c4)]=_0x35322b,this[_0x32cd6d(0x368)]());}[_0x58d8a2(0x126)](){const _0x1e1f83=_0x58d8a2;super[_0x1e1f83(0x126)](),this[_0x1e1f83(0x17f)][_0x1e1f83(0x318)](),this[_0x1e1f83(0x399)][_0x1e1f83(0x10a)](_0x1c9a54=>_0x1c9a54[_0x1e1f83(0x126)]());}[_0x58d8a2(0x370)](_0x55cf0){const _0x50282e=_0x58d8a2;return this[_0x50282e(0x399)]['has'](_0x55cf0)?this[_0x50282e(0x399)][_0x50282e(0x272)](_0x55cf0)[_0x50282e(0x291)]:this[_0x50282e(0x17f)][_0x50282e(0xef)](_0x5a105f['filter'](_0x2d2ccd=>_0x2d2ccd[_0x50282e(0x2ec)]===_0x55cf0),_0x5a105f[_0x50282e(0x398)](_0xfbcc10=>_0xfbcc10[_0x50282e(0x291)]));}[_0x58d8a2(0x368)](){const _0x40290d=_0x58d8a2;this['_univerInstanceService'][_0x40290d(0x1c2)](_0x415f18['UniverInstanceType']['UNIVER_SHEET'])[_0x40290d(0xef)](_0x5a105f[_0x40290d(0x203)](this['dispose$']))[_0x40290d(0x33b)](async _0x10090d=>{const _0x3f2ec2=_0x40290d,_0x5bf881=_0x10090d[_0x3f2ec2(0x277)](),_0x33845d=await this[_0x3f2ec2(0x2eb)](_0x5bf881);this[_0x3f2ec2(0x17f)][_0x3f2ec2(0x1a7)](_0x33845d),this[_0x3f2ec2(0x399)][_0x3f2ec2(0xfd)](_0x5bf881,_0x33845d);}),this[_0x40290d(0x26c)][_0x40290d(0x1c2)](_0x415f18[_0x40290d(0x388)]['UNIVER_DOC'])['pipe'](_0x5a105f[_0x40290d(0x203)](this[_0x40290d(0x17e)]))[_0x40290d(0xef)](_0x5a105f[_0x40290d(0x2a2)](_0x52e10c=>!_0x52e10c[_0x40290d(0x277)]()[_0x40290d(0x1eb)]('__')))[_0x40290d(0x33b)](async _0x407708=>{const _0xe49347=_0x40290d,_0x18d144=_0x407708[_0xe49347(0x277)](),_0x2d9bd6=await this[_0xe49347(0x39a)](_0x18d144);this[_0xe49347(0x17f)][_0xe49347(0x1a7)](_0x2d9bd6),this[_0xe49347(0x399)][_0xe49347(0xfd)](_0x18d144,_0x2d9bd6);}),_0x5a105f[_0x40290d(0x302)](this[_0x40290d(0x26c)][_0x40290d(0x30f)](_0x415f18[_0x40290d(0x388)][_0x40290d(0x2e9)]),this[_0x40290d(0x26c)][_0x40290d(0x30f)](_0x415f18[_0x40290d(0x388)]['UNIVER_SHEET']))[_0x40290d(0xef)](_0x5a105f['takeUntil'](this[_0x40290d(0x17e)]))['subscribe'](_0x138318=>{const _0x21f716=_0x40290d,_0xfa6739=_0x138318[_0x21f716(0x277)](),_0x8d3f4a=this['_entities'][_0x21f716(0x272)](_0xfa6739);_0x8d3f4a&&(_0x8d3f4a[_0x21f716(0x126)](),this[_0x21f716(0x399)]['delete'](_0xfa6739));});}async[_0x58d8a2(0x2eb)](_0x1bc986){const _0x561f60=_0x58d8a2,_0x32dd80=await this[_0x561f60(0x1c4)][_0x561f60(0xd8)](_0x1bc986),_0x101dfa=this['_injector'][_0x561f60(0x11e)](_0x16737f,_0x1bc986,_0x32dd80);return _0x101dfa[_0x561f60(0x1e3)](),_0x101dfa;}async[_0x58d8a2(0x39a)](_0x7a98d5){const _0x4680d9=_0x58d8a2,_0xac9ce7=await this[_0x4680d9(0x1c4)][_0x4680d9(0xd8)](_0x7a98d5),_0x8adee0=this['_injector'][_0x4680d9(0x11e)](_0x3b3246,_0x7a98d5,_0xac9ce7);return _0x8adee0['init'](),_0x8adee0;}};_0x49cf8d=_0x31d861([_0x3b55cb(0x0,_0x415f18['IUniverInstanceService']),_0x3b55cb(0x1,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0x3b55cb(0x2,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6['CollaborationSessionService']))],_0x49cf8d);const _0x4cba3a=0x14,_0x3ebbe9=0xc8,_0x17b168=0x4,_0xcb7c14=0x5;function _0x5b7fe8(_0x298bb2,_0x165d07){const _0x42d9a5=_0x58d8a2;let {radius:_0x5df4ac,width:_0x48b63e,height:_0x41ebd3}=_0x165d07;_0x5df4ac=_0x5df4ac!=null?_0x5df4ac:0x0,_0x48b63e=_0x48b63e!=null?_0x48b63e:0x1e,_0x41ebd3=_0x41ebd3!=null?_0x41ebd3:0x1e;let _0x30e4a8=0x0,_0x260597=0x0,_0x1373a1=0x0;_0x30e4a8=_0x260597=_0x1373a1=Math[_0x42d9a5(0x1fb)](_0x5df4ac,_0x48b63e/0x2,_0x41ebd3/0x2),_0x298bb2[_0x42d9a5(0xf7)](),_0x298bb2[_0x42d9a5(0x32d)](_0x30e4a8,0x0),_0x298bb2[_0x42d9a5(0x371)](_0x48b63e-_0x260597,0x0),_0x298bb2[_0x42d9a5(0x169)](_0x48b63e-_0x260597,_0x260597,_0x260597,Math['PI']*0x3/0x2,0x0,!0x1),_0x298bb2[_0x42d9a5(0x371)](_0x48b63e,_0x41ebd3-_0x1373a1),_0x298bb2['arc'](_0x48b63e-_0x1373a1,_0x41ebd3-_0x1373a1,_0x1373a1,0x0,Math['PI']/0x2,!0x1),_0x298bb2['lineTo'](0x0,_0x41ebd3),_0x298bb2[_0x42d9a5(0x371)](0x0,_0x30e4a8),_0x298bb2[_0x42d9a5(0x169)](_0x30e4a8,_0x30e4a8,_0x30e4a8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x298bb2[_0x42d9a5(0xe0)](),_0x165d07[_0x42d9a5(0x276)]&&(_0x298bb2[_0x42d9a5(0x208)](),_0x298bb2[_0x42d9a5(0x2c1)]=_0x165d07[_0x42d9a5(0x276)],_0x165d07[_0x42d9a5(0x2c6)]===_0x42d9a5(0x2a0)?_0x298bb2[_0x42d9a5(0x276)](_0x42d9a5(0x2a0)):_0x298bb2[_0x42d9a5(0x276)](),_0x298bb2['restore']());}class _0x3a4f62 extends _0x364f72[_0x58d8a2(0x216)]{constructor(_0x94088,_0x2ccd8d){const _0x50ae7e=_0x58d8a2;super(_0x94088,_0x2ccd8d),_0x1a2e09(this,_0x50ae7e(0x232)),_0x1a2e09(this,_0x50ae7e(0x2cd)),(this[_0x50ae7e(0x232)]=_0x2ccd8d==null?void 0x0:_0x2ccd8d[_0x50ae7e(0x232)],this[_0x50ae7e(0x2cd)]=_0x2ccd8d==null?void 0x0:_0x2ccd8d[_0x50ae7e(0x2cd)]);}static[_0x58d8a2(0x102)](_0x1a8995,_0x35e7ae){const _0x142028=_0x58d8a2,{text:_0x3a635e,color:_0x2df66b}=_0x35e7ae;_0x1a8995[_0x142028(0x208)](),_0x1a8995[_0x142028(0x336)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xcfc743=_0x1a8995[_0x142028(0x353)](_0x3a635e)[_0x142028(0x3b8)],_0x2ab5ef=Math[_0x142028(0x1fb)](_0xcfc743+0x2*_0x17b168,_0x3ebbe9);_0x5b7fe8(_0x1a8995,{'height':_0x4cba3a,'radius':0x4,'width':_0x2ab5ef,'fill':_0x2df66b}),_0x1a8995[_0x142028(0x2c1)]=_0x142028(0xe3);const _0x179503=_0x17b168,_0x717d20=_0x4cba3a-_0xcb7c14,_0x40e559=_0x3ebbe9-0x2*_0x17b168;if(_0xcfc743>_0x40e559){let _0x392ae7='',_0x800f54=0x0;for(const _0x5ba14e of _0x3a635e){const _0x458694=_0x1a8995[_0x142028(0x353)](_0x5ba14e)[_0x142028(0x3b8)];if(_0x800f54+_0x458694<=_0x40e559-_0x1a8995[_0x142028(0x353)]('...')[_0x142028(0x3b8)])_0x392ae7+=_0x5ba14e,_0x800f54+=_0x458694;else{_0x392ae7+=_0x142028(0x1e6);break;}}_0x1a8995[_0x142028(0x396)](_0x392ae7,_0x179503,_0x717d20);}else _0x1a8995[_0x142028(0x396)](_0x3a635e,_0x179503,_0x717d20);_0x1a8995['restore']();}[_0x58d8a2(0xe6)](_0x25914c){const _0x1a9b54=_0x58d8a2;_0x3a4f62[_0x1a9b54(0x102)](_0x25914c,this);}}const _0x43f812=_0x58d8a2(0x325),_0x53bfe5='collab-text-range-',_0x2516ad=_0x58d8a2(0x2f8),_0x33d6df=0x6,_0x14c835=1.5,_0x3b9837=0x4,_0x22d88f=1.5,_0x456698='rgba(255,\x20255,\x20255,\x200.01)';class _0x174344{constructor(_0x102786,_0x39dfe7,_0x4e0a5c,_0x33994d){const _0x5976c9=_0x58d8a2;_0x1a2e09(this,_0x5976c9(0x3af),[]),_0x1a2e09(this,_0x5976c9(0x390),null),_0x1a2e09(this,_0x5976c9(0x1fc),null),_0x1a2e09(this,_0x5976c9(0x25a),null),_0x1a2e09(this,_0x5976c9(0x142),null),_0x1a2e09(this,'_eventUnsubscribe',null),(this[_0x5976c9(0x3b5)]=_0x102786,this[_0x5976c9(0x109)]=_0x39dfe7,this[_0x5976c9(0x342)]=_0x4e0a5c,this[_0x5976c9(0x10e)]=_0x33994d,this[_0x5976c9(0x19b)]());}set[_0x58d8a2(0x2e8)](_0x3567b1){const _0xbfc940=_0x58d8a2;_0x3567b1?(this['_anchorDot']&&this[_0xbfc940(0x25a)][_0xbfc940(0x134)](),this[_0xbfc940(0x1fc)]&&this[_0xbfc940(0x1fc)][_0xbfc940(0xe9)]()):(this[_0xbfc940(0x25a)]&&this[_0xbfc940(0x25a)]['show'](),this['_textBubble']&&this[_0xbfc940(0x1fc)][_0xbfc940(0x134)]());}[_0x58d8a2(0x126)](){const _0x265263=_0x58d8a2;for(const _0x2ab316 of this[_0x265263(0x3af)])_0x2ab316[_0x265263(0x126)]();this[_0x265263(0x1fc)]&&this['_textBubble']['dispose'](),this[_0x265263(0x25a)]&&this['_anchorDot'][_0x265263(0x126)](),this[_0x265263(0x390)]&&this['_anchor'][_0x265263(0x126)](),this[_0x265263(0x376)]&&this['_eventUnsubscribe']();}[_0x58d8a2(0x19b)](){const _0x2a21ab=_0x58d8a2;var _0x56a288;const {_docSkeleton:_0x3f8a7f,_document:_0x2bf2db}=this,{color:_0x5df5a3,name:_0x29f327,ranges:_0x509941}=this[_0x2a21ab(0x3b5)],_0x3d87bf=_0x2bf2db[_0x2a21ab(0x2d6)](),{docsLeft:_0x6460c3,docsTop:_0x10babf}=_0x3d87bf,_0x556637=new _0x3a2aae[(_0x2a21ab(0x206))](_0x3d87bf,_0x3f8a7f);for(const {startOffset:_0x6b6ecb,endOffset:_0x52f951,rangeType:_0x433f87,segmentId:_0x4a4e28,segmentPage:_0x12837b,collapsed:_0x38301f,isActive:_0x55612d}of _0x509941){const _0x15f9c8=_0x3f8a7f['findNodePositionByCharIndex'](_0x6b6ecb,!0x0,_0x4a4e28,_0x12837b);let _0x472496=_0x3f8a7f['findNodePositionByCharIndex'](_0x52f951,!0x0,_0x4a4e28,_0x12837b);if(_0x472496==null&&(_0x472496=_0x3f8a7f[_0x2a21ab(0x2fc)](_0x52f951-0x1,!0x1,_0x4a4e28,_0x12837b)),_0x55612d){const {contentBoxPointGroup:_0x36d085}=_0x556637['getRangePointData'](_0x472496,_0x472496);if(_0x36d085[_0x2a21ab(0x1f7)]===0x0)continue;this[_0x2a21ab(0x3a6)](_0x5df5a3,_0x36d085,_0x6460c3,_0x10babf,_0x29f327),this[_0x2a21ab(0x376)]=this[_0x2a21ab(0x2c5)]();}if(_0x15f9c8&&_0x472496){if(_0x433f87===_0x415f18[_0x2a21ab(0x1ca)][_0x2a21ab(0x137)]){const _0x2c8a65=new _0x3a2aae[(_0x2a21ab(0x2d0))](_0x3d87bf,_0x3f8a7f),{pointGroup:_0x543b7d}=(_0x56a288=_0x2c8a65[_0x2a21ab(0x115)](_0x15f9c8,_0x472496))!=null?_0x56a288:{};if(_0x543b7d==null||_0x543b7d[_0x2a21ab(0x1f7)]===0x0)continue;this['_drawRectRange'](_0x5df5a3,_0x543b7d,_0x6460c3,_0x10babf);}else{if(!_0x38301f){const {borderBoxPointGroup:_0x123cef}=_0x556637[_0x2a21ab(0x115)](_0x15f9c8,_0x472496);if(_0x123cef[_0x2a21ab(0x1f7)]===0x0)continue;this['_drawTextRange'](_0x5df5a3,_0x123cef,_0x6460c3,_0x10babf);}}}}}[_0x58d8a2(0x3a6)](_0x36a7fe,_0x3d3322,_0x2a60ea,_0x10b602,_0x345625){const _0x2157fc=_0x58d8a2,_0x390f9c=this['_getAnchorBounding'](_0x3d3322),{left:_0x287aa1,top:_0x462295,height:_0x381de1}=_0x390f9c,_0x56eb24=this[_0x2157fc(0x338)](),_0xc8975=_0x22d88f/_0x56eb24,_0x224b97=new _0x364f72[(_0x2157fc(0x383))](_0x43f812+_0x415f18[_0x2157fc(0x354)](_0x33d6df),{'left':_0x287aa1+_0x2a60ea-_0xc8975,'top':_0x462295+_0x10b602,'height':_0x381de1,'width':_0x14c835,'fill':_0x36a7fe||_0x364f72[_0x2157fc(0xd9)](_0x415f18['COLORS']['black'],0x0),'strokeWidth':_0xc8975,'stroke':_0x456698,'evented':!0x0});this[_0x2157fc(0x390)]=_0x224b97,this[_0x2157fc(0x109)][_0x2157fc(0x1a9)](_0x224b97,_0x3a2aae[_0x2157fc(0x287)]);const _0x181757=new _0x364f72[(_0x2157fc(0x383))](_0x43f812+_0x415f18[_0x2157fc(0x354)](_0x33d6df),{'left':_0x287aa1+_0x2a60ea-_0xc8975,'top':_0x462295+_0x10b602-_0x3b9837/0x2,'height':_0x3b9837,'width':_0x3b9837,'fill':_0x36a7fe||_0x364f72['getColor'](_0x415f18[_0x2157fc(0x2de)][_0x2157fc(0x264)],0x0),'strokeWidth':0x0,'stroke':_0x36a7fe||_0x364f72[_0x2157fc(0xd9)](_0x415f18['COLORS'][_0x2157fc(0x264)],0x0),'evented':!0x1});this[_0x2157fc(0x25a)]=_0x181757,this[_0x2157fc(0x109)][_0x2157fc(0x1a9)](_0x181757,_0x3a2aae['TEXT_RANGE_LAYER_INDEX']);const _0x28841=new _0x3a4f62(_0x43f812+_0x415f18[_0x2157fc(0x354)](_0x33d6df),{'left':_0x287aa1+_0x2a60ea-_0xc8975,'top':_0x462295+_0x10b602-_0x4cba3a,'text':_0x345625,'color':_0x36a7fe});this[_0x2157fc(0x1fc)]=_0x28841,this[_0x2157fc(0x109)][_0x2157fc(0x1a9)](_0x28841,_0x3a2aae[_0x2157fc(0x287)]),this[_0x2157fc(0x2e8)]=!0x1;}[_0x58d8a2(0x2c5)](){const _0x4c412f=_0x58d8a2,_0x51e444=this[_0x4c412f(0x390)][_0x4c412f(0x31e)]['subscribeEvent'](()=>{const _0x1aea27=_0x4c412f;this[_0x1aea27(0x2e8)]=!0x0;}),_0x50e1eb=this[_0x4c412f(0x390)][_0x4c412f(0x217)][_0x4c412f(0x1a6)](()=>{const _0x5ec9ed=_0x4c412f;this['_hideTimer']&&clearTimeout(this[_0x5ec9ed(0x142)]),this[_0x5ec9ed(0x142)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3b7a89=_0x4c412f;_0x51e444[_0x3b7a89(0x199)](),_0x50e1eb[_0x3b7a89(0x199)]();};}[_0x58d8a2(0x27f)](_0x34a24c,_0x24ca75,_0x301e90,_0x196b03){const _0x28b8b6=_0x58d8a2,_0x488fb7=new _0x415f18[(_0x28b8b6(0x365))](_0x34a24c)[_0x28b8b6(0x2b6)](0.2)[_0x28b8b6(0x283)](),_0x397404=new _0x364f72[(_0x28b8b6(0x1f2))](_0x53bfe5+_0x415f18[_0x28b8b6(0x354)](_0x33d6df),{'pointsGroup':_0x24ca75,'fill':_0x488fb7||_0x364f72[_0x28b8b6(0xd9)](_0x415f18['COLORS'][_0x28b8b6(0x264)],0.2),'left':_0x301e90,'top':_0x196b03,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28b8b6(0x3af)][_0x28b8b6(0xec)](_0x397404),this[_0x28b8b6(0x109)][_0x28b8b6(0x1a9)](_0x397404,_0x3a2aae[_0x28b8b6(0x287)]);}['_drawRectRange'](_0x28fc22,_0x2d00ca,_0x41faf8,_0x5e9510){const _0x22a699=_0x58d8a2,_0x593717=new _0x415f18[(_0x22a699(0x365))](_0x28fc22)[_0x22a699(0x2b6)](0.2)[_0x22a699(0x283)](),_0x9d60c3=new _0x364f72[(_0x22a699(0x1f2))](_0x2516ad+_0x415f18[_0x22a699(0x354)](_0x33d6df),{'pointsGroup':_0x2d00ca,'fill':_0x593717||_0x364f72['getColor'](_0x415f18['COLORS'][_0x22a699(0x264)],0.2),'left':_0x41faf8,'top':_0x5e9510,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x22a699(0xec)](_0x9d60c3),this[_0x22a699(0x109)]['addObject'](_0x9d60c3,_0x3a2aae[_0x22a699(0x287)]);}[_0x58d8a2(0x220)](_0x3c9e2e){const _0x4b14bf=_0x3c9e2e[0x0],_0x401aed=_0x4b14bf[0x0],_0x36c643=_0x4b14bf[0x2],{x:_0x5e7823,y:_0x4f08ad}=_0x401aed,{x:_0x20f522,y:_0x28ea9f}=_0x36c643;return{'left':_0x5e7823,'top':_0x4f08ad,'width':_0x20f522-_0x5e7823,'height':_0x28ea9f-_0x4f08ad};}[_0x58d8a2(0x338)](){const _0x42adb9=_0x58d8a2,{scaleX:_0x54ae3d,scaleY:_0x57fb3c}=this['_scene'][_0x42adb9(0x278)]();return Math[_0x42adb9(0x160)](_0x54ae3d,_0x57fb3c);}}var _0x12ca6b=Object[_0x58d8a2(0x139)],_0x8a6e53=(_0x49cec7,_0x542674,_0x1e1ed1,_0x2cd92c)=>{const _0x1614ae=_0x58d8a2;for(var _0x2f286a=_0x2cd92c>0x1?void 0x0:_0x2cd92c?_0x12ca6b(_0x542674,_0x1e1ed1):_0x542674,_0x14f74e=_0x49cec7[_0x1614ae(0x1f7)]-0x1,_0x18221;_0x14f74e>=0x0;_0x14f74e--)(_0x18221=_0x49cec7[_0x14f74e])&&(_0x2f286a=_0x18221(_0x2f286a)||_0x2f286a);return _0x2f286a;},_0x251187=(_0x43a7a7,_0x5bc1fa)=>(_0x2cdb36,_0x2e4d19)=>_0x5bc1fa(_0x2cdb36,_0x2e4d19,_0x43a7a7);let _0x50a3a6=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x375494,_0x2849ec,_0x41d1cd,_0x2de0a4,_0xe23acd){const _0x50feb5=_0x58d8a2;super(),_0x1a2e09(this,_0x50feb5(0x1dc),[]),_0x1a2e09(this,_0x50feb5(0x150),[]),(this[_0x50feb5(0x1cd)]=_0x375494,this[_0x50feb5(0x2d1)]=_0x2849ec,this['_collabCursorController']=_0x41d1cd,this[_0x50feb5(0x1de)]=_0x2de0a4,this['_themeService']=_0xe23acd,this[_0x50feb5(0x368)]());}[_0x58d8a2(0x368)](){const _0x507b4b=_0x58d8a2,_0x3b0dd7=this[_0x507b4b(0x1cd)][_0x507b4b(0x2e4)],_0x2a983f=this['_docSkeletonManagerService'];this[_0x507b4b(0x1b7)](_0x5a105f['combineLatest']([this[_0x507b4b(0x2d9)][_0x507b4b(0x370)](_0x3b0dd7),this[_0x507b4b(0x1d8)][_0x507b4b(0x2ad)]])[_0x507b4b(0xef)](_0x454a49['map'](([_0x56aaf6,_0x3f1273])=>({'skeleton':_0x2a983f[_0x507b4b(0x268)](),'cursors':[..._0x56aaf6[_0x507b4b(0x145)]()][_0x507b4b(0x1cf)](_0x302e20=>({..._0x302e20,'color':this[_0x507b4b(0x1d8)][_0x507b4b(0xf5)](_0x302e20[_0x507b4b(0x232)])}))})))[_0x507b4b(0x33b)](_0x4e9068=>{const _0x32a133=_0x507b4b;if(this[_0x32a133(0x13d)](),_0x4e9068){const {skeleton:_0x33232f,cursors:_0x1cc46e}=_0x4e9068;this['_updateCollabCursors'](_0x33232f,_0x1cc46e);}})),this[_0x507b4b(0x33d)](),this[_0x507b4b(0x2e6)]();}[_0x58d8a2(0x31f)](_0x4d7fdc,_0x1bce93){const _0x4c979e=_0x58d8a2,{scene:_0x16faa2,mainComponent:_0x4ab0a9}=this[_0x4c979e(0x1cd)],_0xabcc10=_0x1bce93[_0x4c979e(0x349)](_0x2bccfb=>new _0x174344(_0x2bccfb,_0x16faa2,_0x4d7fdc,_0x4ab0a9));this[_0x4c979e(0x1dc)]=_0xabcc10,this['_cursors']=_0x1bce93;}[_0x58d8a2(0x3b9)](){const _0x39b944=_0x58d8a2;this['_removeCollabCursors']();const {scene:_0x1454e8,mainComponent:_0x3ea7aa}=this[_0x39b944(0x1cd)],_0x5ee421=this[_0x39b944(0x2d1)][_0x39b944(0x268)](),_0x51a15d=this[_0x39b944(0x150)][_0x39b944(0x349)](_0x1970b0=>new _0x174344(_0x1970b0,_0x1454e8,_0x5ee421,_0x3ea7aa));this[_0x39b944(0x1dc)]=_0x51a15d;}[_0x58d8a2(0x13d)](){const _0x3c4941=_0x58d8a2;this[_0x3c4941(0x1dc)][_0x3c4941(0x10a)](_0x49f634=>_0x49f634[_0x3c4941(0x126)]()),this[_0x3c4941(0x1dc)]=[];}[_0x58d8a2(0x2e6)](){const _0x39e617=_0x58d8a2,_0x79098a=[_0x3a2aae[_0x39e617(0x39d)]['id']];this[_0x39e617(0x1b7)](this['_commandService']['onCommandExecuted'](_0x26802a=>{const _0x2757c2=_0x39e617;_0x79098a[_0x2757c2(0x263)](_0x26802a['id'])&&_0x26802a['params']['unitId']===this[_0x2757c2(0x1cd)][_0x2757c2(0x2e4)]&&this[_0x2757c2(0x3b9)]();}));}['_initResize'](){const _0x50a9da=_0x58d8a2;this[_0x50a9da(0x1b7)](_0x415f18[_0x50a9da(0x1ba)](this['_context'][_0x50a9da(0x2d5)][_0x50a9da(0x2b7)])[_0x50a9da(0xef)](_0x454a49['filter'](_0x1ec803=>_0x1ec803[_0x50a9da(0x25e)]===_0x364f72[_0x50a9da(0x11d)][_0x50a9da(0x21d)]),_0x454a49[_0x50a9da(0x23f)](0x10))[_0x50a9da(0x33b)](()=>{const _0x2a547b=_0x50a9da;this[_0x2a547b(0x3b9)]();}));}};_0x50a3a6=_0x8a6e53([_0x251187(0x1,_0x415f18['Inject'](_0x2673a2[_0x58d8a2(0xf2)])),_0x251187(0x2,_0x415f18['Inject'](_0x49cf8d)),_0x251187(0x3,_0x415f18[_0x58d8a2(0x22e)]),_0x251187(0x4,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x1e5)]))],_0x50a3a6);const _0x4ec2fb=0x1,_0x28320f=1.5;class _0x5592f4 extends _0x364f72[_0x58d8a2(0x216)]{constructor(_0x52895b,_0x5f514){const _0x17a39d=_0x58d8a2;super(_0x52895b,_0x5f514),_0x1a2e09(this,_0x17a39d(0x350)),_0x1a2e09(this,_0x17a39d(0x321),!0x1),_0x1a2e09(this,_0x17a39d(0x27a)),_0x1a2e09(this,_0x17a39d(0x19c),''),_0x1a2e09(this,_0x17a39d(0x29b),_0x17a39d(0x13e)),_0x1a2e09(this,_0x17a39d(0x378)),(_0x5f514&&this['setShapeProps'](_0x5f514),this[_0x17a39d(0x31e)][_0x17a39d(0x1a6)](()=>this[_0x17a39d(0x2c8)]({'hovered':!0x0})),this[_0x17a39d(0x217)][_0x17a39d(0x1a6)](()=>this[_0x17a39d(0x2c8)]({'hovered':!0x1})));}[_0x58d8a2(0x2c8)](_0x4c77ba){const _0xde3036=_0x58d8a2;var _0x1763a1,_0x54bf69,_0x12d86d,_0x291118,_0x41c277,_0x42320c;this[_0xde3036(0x350)]=(_0x1763a1=_0x4c77ba[_0xde3036(0x232)])!=null?_0x1763a1:this[_0xde3036(0x350)],this[_0xde3036(0x321)]=(_0x54bf69=_0x4c77ba[_0xde3036(0x34e)])!=null?_0x54bf69:this[_0xde3036(0x321)],this[_0xde3036(0x27a)]=(_0x12d86d=_0x4c77ba[_0xde3036(0x305)])!=null?_0x12d86d:this[_0xde3036(0x27a)],this['_name']=(_0x291118=_0x4c77ba['name'])!=null?_0x291118:this[_0xde3036(0x19c)],this['_labelPosition']=(_0x41c277=_0x4c77ba[_0xde3036(0x1d0)])!=null?_0x41c277:this['_labelPosition'],this[_0xde3036(0x378)]=(_0x42320c=_0x4c77ba[_0xde3036(0x155)])!=null?_0x42320c:this[_0xde3036(0x378)],this[_0xde3036(0x1be)]({'width':_0x4c77ba[_0xde3036(0x3b8)],'height':_0x4c77ba[_0xde3036(0x3c5)]});}[_0x58d8a2(0x2b0)](_0x54b6bc){const _0x5e4e9b=_0x58d8a2,{row:_0x544eed,column:_0x29a16b}=_0x54b6bc;if(_0x544eed>=this[_0x5e4e9b(0x27a)][_0x5e4e9b(0x1e9)]&&_0x544eed<=this[_0x5e4e9b(0x27a)]['endRow']&&_0x29a16b>=this[_0x5e4e9b(0x27a)][_0x5e4e9b(0x2fb)]&&_0x29a16b<=this['_range'][_0x5e4e9b(0x1a2)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5e4e9b(0x2c8)]({'hovered':!0x1});}[_0x58d8a2(0x14d)](_0x2dcac4){return!0x1;}[_0x58d8a2(0xe6)](_0x1b7097){const _0x43fade=_0x58d8a2;_0x364f72[_0x43fade(0x383)][_0x43fade(0x102)](_0x1b7097,{'width':this[_0x43fade(0x3b8)],'height':this[_0x43fade(0x3c5)],'strokeWidth':_0x28320f,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x43fade(0x378)]}),this[_0x43fade(0x321)]&&(_0x1b7097['save'](),_0x1b7097[_0x43fade(0x19d)](0x1,0x0,0x0,0x1,this[_0x43fade(0x3b8)],this[_0x43fade(0x29b)]===_0x43fade(0x2f0)?0x0:-_0x4cba3a),_0x3a4f62[_0x43fade(0x102)](_0x1b7097,{'text':this['_name'],'color':this[_0x43fade(0x350)]}),_0x1b7097[_0x43fade(0x347)]());}}var _0x2a065f=Object[_0x58d8a2(0x139)],_0x39b1c7=(_0xa42e39,_0x2f67df,_0x32c169,_0x4c5c50)=>{for(var _0x52b515=_0x4c5c50>0x1?void 0x0:_0x4c5c50?_0x2a065f(_0x2f67df,_0x32c169):_0x2f67df,_0x3b4725=_0xa42e39['length']-0x1,_0x3aca43;_0x3b4725>=0x0;_0x3b4725--)(_0x3aca43=_0xa42e39[_0x3b4725])&&(_0x52b515=_0x3aca43(_0x52b515)||_0x52b515);return _0x52b515;},_0x311eb2=(_0x286f79,_0x15f513)=>(_0x2dc7ab,_0x4d7692)=>_0x15f513(_0x2dc7ab,_0x4d7692,_0x286f79);const _0x4da5cd=0x1389;let _0x28e136=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x52a6aa,_0x405c62,_0x4d9d92,_0x89516){const _0xd39518=_0x58d8a2;super(),_0x1a2e09(this,'_cursors',new Set()),_0x1a2e09(this,_0xd39518(0x2e7),null),(this[_0xd39518(0x1cd)]=_0x52a6aa,this[_0xd39518(0x12e)]=_0x405c62,this['_collabCursorController']=_0x4d9d92,this[_0xd39518(0x1d8)]=_0x89516,this['_init']());}['_init'](){const _0xbdf392=_0x58d8a2;this['_sheetSkeletonManagerService'][_0xbdf392(0x230)][_0xbdf392(0xef)](_0x454a49[_0xbdf392(0x203)](this[_0xbdf392(0x17e)]),_0x454a49[_0xbdf392(0x398)](_0x4051e7=>{const _0x25ad62=_0xbdf392;if(_0x4051e7){const _0x18ec93=_0x4051e7[_0x25ad62(0x2ab)];return _0x5a105f[_0x25ad62(0x35c)](this[_0x25ad62(0x2d9)][_0x25ad62(0x370)](this[_0x25ad62(0x1cd)][_0x25ad62(0x2e4)]),this['_themeService']['currentTheme$'])[_0x25ad62(0xef)](_0x454a49[_0x25ad62(0x349)](([_0x3be09c,_0x19af85])=>{const _0x57c7e2=_0x25ad62,_0x158df5=new Map();return _0x3be09c[_0x57c7e2(0x10a)]((_0x43c6a1,_0x44c0ab)=>{const _0x2f8edf=_0x57c7e2;if(_0x43c6a1['sheetID']===_0x18ec93){const _0x407a94={..._0x43c6a1};_0x407a94[_0x2f8edf(0x232)]=this[_0x2f8edf(0x1d8)][_0x2f8edf(0xf5)](_0x43c6a1[_0x2f8edf(0x232)]),_0x158df5[_0x2f8edf(0xfd)](_0x44c0ab,_0x407a94);}}),{'skeleton':_0x4051e7,'cursors':_0x158df5};}));}return _0x5a105f['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5f476c,cursors:_0x2834e4})=>{const _0x40326c=_0xbdf392;this[_0x40326c(0x13d)](),_0x5f476c&&this[_0x40326c(0x31f)](_0x5f476c,_0x2834e4);}),this['_sheetSkeletonManagerService'][_0xbdf392(0x230)][_0xbdf392(0x33b)](_0xc89e1f=>{const _0x3b401e=_0xbdf392;if(_0xc89e1f==null)return;const {skeleton:_0x11c58b}=_0xc89e1f,{scene:_0x2dd618}=this[_0x3b401e(0x1cd)];_0x2dd618['onPointerMove$'][_0x3b401e(0x1a6)](_0x415f18[_0x3b401e(0x173)](_0x3a2bc0=>{const _0x2aaad8=_0x3b401e;var _0x2c0b86,_0x411b3b;const {offsetX:_0x33a628,offsetY:_0x4b53c4}=_0x3a2bc0,{x:_0x258270,y:_0x420978}=_0x2dd618[_0x2aaad8(0x228)](_0x364f72[_0x2aaad8(0x317)][_0x2aaad8(0x2fe)]([_0x33a628,_0x4b53c4])),{scaleX:_0x16ae85,scaleY:_0x9205da}=_0x2dd618[_0x2aaad8(0x278)](),_0x295cc2=_0x2dd618[_0x2aaad8(0x3bb)](_0x364f72[_0x2aaad8(0x23e)]['VIEW_MAIN']),_0x2502e8=_0x2dd618[_0x2aaad8(0x212)](_0x364f72[_0x2aaad8(0x317)][_0x2aaad8(0x2fe)]([_0x258270,_0x420978]),_0x295cc2),_0x58a9e7=_0x11c58b['getCellPositionByOffset'](_0x33a628,_0x4b53c4,_0x16ae85,_0x9205da,_0x2502e8);((_0x2c0b86=this['_lastPointer'])==null?void 0x0:_0x2c0b86[_0x2aaad8(0xe4)])===_0x58a9e7[_0x2aaad8(0xe4)]&&((_0x411b3b=this[_0x2aaad8(0x2e7)])==null?void 0x0:_0x411b3b['row'])===_0x58a9e7[_0x2aaad8(0x3bc)]||this[_0x2aaad8(0x150)][_0x2aaad8(0x10a)](_0x1f12c9=>{const _0x273779=_0x2aaad8;_0x1f12c9[_0x273779(0x2b0)](_0x58a9e7);});},0x64));});}[_0x58d8a2(0x31f)](_0x26e70f,_0x3b198b){const _0x503dc2=_0x58d8a2;var _0x54ae9b;const _0x54fb7c=(_0x54ae9b=this[_0x503dc2(0x12e)]['getCurrent']())==null?void 0x0:_0x54ae9b[_0x503dc2(0x14b)];if(!_0x54fb7c)return;const _0xd7dfce=this[_0x503dc2(0x3a2)]();if(!_0xd7dfce)return;this[_0x503dc2(0x150)]['forEach'](_0x415d4e=>{const _0x2c3348=_0x503dc2;_0x415d4e[_0x2c3348(0x1e2)]();});const {scene:_0x3ccadf}=_0xd7dfce,_0x9e4792=_0x3946e5(Array[_0x503dc2(0x292)](_0x3b198b[_0x503dc2(0x145)]()))['map'](_0x3633d0=>{const _0x5a4c19=_0x503dc2,{color:_0x433066,range:_0x4f6684,name:_0x5b8d8c,selection:_0x2acf48,sheetID:_0x5202fb}=_0x3633d0,{startColumn:_0x2f0b4d,startRow:_0x982f5c,endColumn:_0x1ff844,endRow:_0x34ec01}=_0x4f6684,_0x4dfa4a=_0x792e46[_0x5a4c19(0x275)](_0x982f5c,_0x2f0b4d,_0x3ccadf,_0x54fb7c),_0x4b69bf=_0x792e46[_0x5a4c19(0x275)](_0x34ec01,_0x1ff844,_0x3ccadf,_0x54fb7c),{columnHeaderHeightAndMarginTop:_0x1bdd63}=_0x54fb7c,{startX:_0x19ae8c,startY:_0x21741a}=_0x4dfa4a,{endX:_0x30feda,endY:_0x7cfc1}=_0x4b69bf,_0xbefb6f=_0x30feda-_0x19ae8c,_0x171ba0=_0x7cfc1-_0x21741a,_0x4061da={'labelPosition':_0x21741a-_0x1bdd63>=_0x4cba3a?_0x5a4c19(0x13e):_0x5a4c19(0x2f0),'sheetID':_0x5202fb,'range':_0x4f6684,'color':_0x433066,'name':_0x5b8d8c,'selection':_0x2acf48,'left':_0x19ae8c,'top':_0x21741a,'width':_0xbefb6f,'height':_0x171ba0,'evented':!0x1,'zIndex':_0x4da5cd};return new _0x5592f4(_0x5b8d8c,_0x4061da);});_0x3ccadf[_0x503dc2(0x2d3)](_0x9e4792,_0x4ec2fb),this['_cursors']=new Set(_0x9e4792);}[_0x58d8a2(0x13d)](){const _0x2ec817=_0x58d8a2;var _0xf0d9da;(_0xf0d9da=this[_0x2ec817(0x150)])==null||_0xf0d9da[_0x2ec817(0x10a)](_0x3af7ee=>_0x3af7ee[_0x2ec817(0x126)]());}[_0x58d8a2(0x3a2)](){const _0x2f39b5=_0x58d8a2;return _0x792e46[_0x2f39b5(0x257)](this[_0x2f39b5(0x1cd)]['unit'],this[_0x2f39b5(0x1cd)]);}};_0x28e136=_0x39b1c7([_0x311eb2(0x1,_0x415f18[_0x58d8a2(0x284)](_0x792e46[_0x58d8a2(0x238)])),_0x311eb2(0x2,_0x415f18['Inject'](_0x49cf8d)),_0x311eb2(0x3,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x1e5)]))],_0x28e136);function _0x3946e5(_0x24cedd){const _0x24ee4e=_0x58d8a2,_0x1ebb5c=new Map();return _0x24cedd[_0x24ee4e(0x10a)](_0x4e1fa8=>{const _0x3e2b52=_0x24ee4e;if(_0x1ebb5c[_0x3e2b52(0x29a)](_0x4e1fa8[_0x3e2b52(0x127)])){const _0x1d1a72=_0x1ebb5c['get'](_0x4e1fa8['selection']);_0x1d1a72[_0x3e2b52(0x254)]+=',\x20'+_0x4e1fa8[_0x3e2b52(0x254)];}else _0x1ebb5c[_0x3e2b52(0xfd)](_0x4e1fa8['selection'],_0x4e1fa8);}),Array[_0x24ee4e(0x292)](_0x1ebb5c['values']());}var _0x5eb76b=Object['getOwnPropertyDescriptor'],_0x1e3d86=(_0x5a688d,_0x3e5156,_0x3ec435,_0x1ca24f)=>{const _0x1015fc=_0x58d8a2;for(var _0x4a3313=_0x1ca24f>0x1?void 0x0:_0x1ca24f?_0x5eb76b(_0x3e5156,_0x3ec435):_0x3e5156,_0xe52e2c=_0x5a688d[_0x1015fc(0x1f7)]-0x1,_0x2ea73a;_0xe52e2c>=0x0;_0xe52e2c--)(_0x2ea73a=_0x5a688d[_0xe52e2c])&&(_0x4a3313=_0x2ea73a(_0x4a3313)||_0x4a3313);return _0x4a3313;},_0x4ec398=(_0x36b25d,_0x4e39d8)=>(_0x25ca45,_0x196b1c)=>_0x4e39d8(_0x25ca45,_0x196b1c,_0x36b25d);let _0x489c1e=class extends _0x415f18['Disposable']{constructor(_0x49a230,_0x1dbd79,_0xd2c3b2,_0x5a4f13,_0x2a4566,_0x34353a){const _0x45db60=_0x58d8a2;super(),this[_0x45db60(0x135)]=_0x49a230,this[_0x45db60(0x149)]=_0x1dbd79,this['_collaborationUIEventService']=_0xd2c3b2,this[_0x45db60(0x117)]=_0x5a4f13,this[_0x45db60(0x26f)]=_0x2a4566,this[_0x45db60(0xfa)]=_0x34353a,this[_0x45db60(0x329)](),this[_0x45db60(0x161)]();}[_0x58d8a2(0x329)](){const _0x453cb4=_0x58d8a2;this[_0x453cb4(0x1b7)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x447386=_0x453cb4;if(this[_0x447386(0x149)][_0x447386(0x13f)][_0x447386(0xda)])return this[_0x447386(0xfa)]['t'](_0x447386(0x226));}));}[_0x58d8a2(0x161)](){const _0x83a987=_0x58d8a2;this['disposeWithMe'](this[_0x83a987(0x239)][_0x83a987(0x105)][_0x83a987(0x33b)](_0x3a1388=>{const _0x50c3d7=_0x83a987;_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)][_0x50c3d7(0x138)]&&this[_0x50c3d7(0x117)]['show']({'type':_0x119110[_0x50c3d7(0x2fa)][_0x50c3d7(0xf9)],'content':this[_0x50c3d7(0xfa)]['t'](_0x50c3d7(0x131))}),_0x3a1388['id']===_0x41f4b6['CollaborationUIEventId'][_0x50c3d7(0x23c)]&&this[_0x50c3d7(0x117)][_0x50c3d7(0xe9)]({'type':_0x119110['MessageType'][_0x50c3d7(0xf9)],'content':this[_0x50c3d7(0xfa)]['t']('collaboration.closeRoom')}),_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)]['PERMISSION_DENIED']&&this[_0x50c3d7(0x26f)][_0x50c3d7(0xe9)]({'title':this[_0x50c3d7(0xfa)]['t'](_0x50c3d7(0x3bf)),'content':this[_0x50c3d7(0xfa)]['t']('permission.content'),'type':_0x50c3d7(0x1b0),'duration':0x0}),_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)][_0x50c3d7(0x229)]&&this['_messageService'][_0x50c3d7(0xe9)]({'type':_0x119110[_0x50c3d7(0x2fa)]['Error'],'content':this[_0x50c3d7(0xfa)]['t'](_0x50c3d7(0x3a4))+'('+_0x3a1388[_0x50c3d7(0x15b)]+')'}),_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)]['JOIN_ROOM_FAILED']&&this[_0x50c3d7(0x117)]['show']({'type':_0x119110[_0x50c3d7(0x2fa)][_0x50c3d7(0xf9)],'content':this[_0x50c3d7(0xfa)]['t'](_0x3a1388[_0x50c3d7(0x15b)]||'')}),_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)][_0x50c3d7(0x267)]&&this[_0x50c3d7(0x117)][_0x50c3d7(0xe9)]({'type':_0x119110['MessageType']['Warning'],'content':this[_0x50c3d7(0xfa)]['t']('session.will-retry')}),_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)][_0x50c3d7(0x181)]&&this[_0x50c3d7(0x117)][_0x50c3d7(0xe9)]({'type':_0x119110['MessageType'][_0x50c3d7(0x33c)],'content':this['_localeService']['t']('session.connection-failed')}),_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)][_0x50c3d7(0x1df)]&&this[_0x50c3d7(0x117)]['show']({'type':_0x119110[_0x50c3d7(0x2fa)][_0x50c3d7(0x33c)],'content':this[_0x50c3d7(0xfa)]['t'](_0x50c3d7(0x10b))});}));}};_0x489c1e=_0x1e3d86([_0x4ec398(0x0,_0x4fe70c[_0x58d8a2(0x214)]),_0x4ec398(0x1,_0x41f4b6['ILocalCacheService']),_0x4ec398(0x2,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6[_0x58d8a2(0x12a)])),_0x4ec398(0x3,_0x4fe70c[_0x58d8a2(0x258)]),_0x4ec398(0x4,_0x4fe70c['INotificationService']),_0x4ec398(0x5,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x1f8)]))],_0x489c1e);var _0x3d5a75=Object[_0x58d8a2(0x139)],_0x16ba10=(_0x5d9f80,_0x30cec3,_0x2d2d9a,_0xf06d2b)=>{for(var _0x280495=_0xf06d2b>0x1?void 0x0:_0xf06d2b?_0x3d5a75(_0x30cec3,_0x2d2d9a):_0x30cec3,_0x468d42=_0x5d9f80['length']-0x1,_0x490bae;_0x468d42>=0x0;_0x468d42--)(_0x490bae=_0x5d9f80[_0x468d42])&&(_0x280495=_0x490bae(_0x280495)||_0x280495);return _0x280495;},_0x205154=(_0x3960f6,_0xa193e7)=>(_0x499bfd,_0x3c4b15)=>_0xa193e7(_0x499bfd,_0x3c4b15,_0x3960f6);let _0x41d97c=class extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(_0x54d88b,_0xcd58b7,_0x344b80,_0x2fa93){const _0x53607d=_0x58d8a2;super(),_0x1a2e09(this,'_memberID'),(this[_0x53607d(0x129)]=_0x54d88b,this[_0x53607d(0x3b0)]=_0xcd58b7,this[_0x53607d(0x36c)]=_0x344b80,this[_0x53607d(0xf6)]=_0x2fa93,this[_0x53607d(0x368)]());}[_0x58d8a2(0x368)](){const _0x5a53ea=_0x58d8a2;this[_0x5a53ea(0x136)](),this[_0x5a53ea(0x1b1)](),this[_0x5a53ea(0x1da)](),this[_0x5a53ea(0x1e7)]();}[_0x58d8a2(0x1e7)](){const _0x460ebe=_0x58d8a2;this[_0x460ebe(0x1b7)](this[_0x460ebe(0xf6)][_0x460ebe(0x16d)]['subscribe'](_0x7ae53f=>{const _0x8a745d=_0x460ebe;this[_0x8a745d(0x186)]=_0x7ae53f==null?void 0x0:_0x7ae53f[_0x8a745d(0x2da)];}));}[_0x58d8a2(0x136)](){const _0x1976dc=_0x58d8a2,_0x53cf94=_0x48638a=>{const _0x846480=_0x4228;var _0x43e56a;this[_0x846480(0x15d)](_0x846480(0x1b0),_0x846480(0x310)+_0x48638a['message']+_0x846480(0x1a4)+_0x48638a[_0x846480(0x12d)]+':'+_0x48638a[_0x846480(0x2d4)]+':'+_0x48638a['colno']+'\x0a'+(((_0x43e56a=_0x48638a[_0x846480(0x1b0)])==null?void 0x0:_0x43e56a['stack'])||''));};window[_0x1976dc(0x190)](_0x1976dc(0x1b0),_0x53cf94),this[_0x1976dc(0x1b7)](()=>{const _0x30b78b=_0x1976dc;window[_0x30b78b(0x1b5)](_0x30b78b(0x1b0),_0x53cf94);});}[_0x58d8a2(0x1b1)](){const _0x157e82=_0x58d8a2,_0x3bea62=_0x47e222=>{const _0x2d1123=_0x4228;this[_0x2d1123(0x15d)](_0x2d1123(0x1b0),_0x2d1123(0x130)+_0x47e222[_0x2d1123(0x15e)]);};window[_0x157e82(0x190)](_0x157e82(0x2b8),_0x3bea62),this['disposeWithMe'](()=>{const _0x54afa6=_0x157e82;window[_0x54afa6(0x1b5)](_0x54afa6(0x2b8),_0x3bea62);});}['_monkeyPatchLogService'](){const _0x2af597=_0x58d8a2,_0xbfbd36=this[_0x2af597(0x36c)][_0x2af597(0x1b0)][_0x2af597(0x32a)](this[_0x2af597(0x36c)]);this['_logService'][_0x2af597(0x1b0)]=(..._0xab5d8c)=>{const _0x3022af=_0x2af597,_0x43a6a5=_0xab5d8c[_0x3022af(0x349)](_0x1c3ae9=>_0x1c3ae9 instanceof Error?_0x1c3ae9['message']+'\x0a'+_0x1c3ae9[_0x3022af(0x341)]:String(_0x1c3ae9))[_0x3022af(0x1b6)]('\x20');this[_0x3022af(0x15d)](_0x3022af(0x1b0),_0x3022af(0x23d)+_0x43a6a5),_0xbfbd36(..._0xab5d8c);},this[_0x2af597(0x1b7)](()=>{const _0x2948c4=_0x2af597;this[_0x2948c4(0x36c)]['error']=_0xbfbd36;});}[_0x58d8a2(0x15d)](_0x1e03a1,_0x1d9b29){const _0x57ab88=_0x58d8a2;try{const _0x1d70e9={'userId':this[_0x57ab88(0x186)],'logLabel':_0x1e03a1,'content':_0x1d9b29};this[_0x57ab88(0x3b0)]['post'](_0x57ab88(0x21b),{'body':_0x1d70e9})['catch'](()=>{});}catch{}}};_0x41d97c=_0x16ba10([_0x205154(0x0,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0x205154(0x1,_0x415f18[_0x58d8a2(0x284)](_0x297528[_0x58d8a2(0x1d1)])),_0x205154(0x2,_0x415f18[_0x58d8a2(0x3c1)]),_0x205154(0x3,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6['CollaborationSessionService']))],_0x41d97c);const _0x48cd1b='collaboration-client-ui.config',_0x1849cb={};var _0x162067=Object['getOwnPropertyDescriptor'],_0x515fff=(_0x4991a8,_0x1f66f7,_0xc68920,_0x4325f1)=>{for(var _0x30300d=_0x4325f1>0x1?void 0x0:_0x4325f1?_0x162067(_0x1f66f7,_0xc68920):_0x1f66f7,_0x957d33=_0x4991a8['length']-0x1,_0x525282;_0x957d33>=0x0;_0x957d33--)(_0x525282=_0x4991a8[_0x957d33])&&(_0x30300d=_0x525282(_0x30300d)||_0x30300d);return _0x30300d;},_0x59efe5=(_0x228d7d,_0x55be18)=>(_0x1213be,_0x33e16e)=>_0x55be18(_0x1213be,_0x33e16e,_0x228d7d);let _0x2a73d0=class{constructor(_0x5dc683,_0x481b12){const _0x3312cc=_0x58d8a2;this[_0x3312cc(0x32e)]=_0x5dc683,this['_renderManagerService']=_0x481b12;}[_0x58d8a2(0x1db)](_0x5e2a92){const _0x46689b=_0x58d8a2;this[_0x46689b(0x1c1)](_0x5e2a92),this[_0x46689b(0x17d)](_0x5e2a92);}[_0x58d8a2(0x18c)](_0x1271f3){const _0x22cb7f=_0x58d8a2,{unitID:_0x557096}=_0x1271f3,_0x50ea8e=this[_0x22cb7f(0x2ac)][_0x22cb7f(0x28b)](_0x557096)['with'](_0x3a2aae[_0x22cb7f(0x198)]),{redoCache:_0x5f57f6}=_0x50ea8e['getUndoRedoMutationParamsCache']();if(_0x5f57f6[_0x22cb7f(0x1f7)]===0x0)return _0x1271f3;let _0x2b9d05=_0x415f18[_0x22cb7f(0x27c)][_0x22cb7f(0x265)](_0x1271f3['mutations'][0x0]);for(let _0x560c1a=0x0;_0x560c1a<_0x5f57f6[_0x22cb7f(0x1f7)];_0x560c1a++){const _0x26a845={'id':_0x22cb7f(0x202),'params':{..._0x5f57f6[_0x560c1a]}},_0xef902e=this['_transformService']['transformMutation'](_0x2b9d05,_0x26a845,!0x1);if(_0xfd7b1f[_0x22cb7f(0x362)](_0xef902e))throw _0xef902e[_0x22cb7f(0x1b0)];_0x2b9d05=_0xef902e[_0x22cb7f(0x2cf)];}return{..._0x415f18[_0x22cb7f(0x27c)]['deepClone'](_0x1271f3),'mutations':[_0x2b9d05]};}[_0x58d8a2(0x1c1)](_0xc743f7){const _0x187225=_0x58d8a2,{unitID:_0x44343f}=_0xc743f7,_0x23f4ff=this[_0x187225(0x2ac)][_0x187225(0x28b)](_0x44343f)['with'](_0x3a2aae[_0x187225(0x198)]),{undoCache:_0x4b3e9e,redoCache:_0x3bb0c3}=_0x23f4ff['getUndoRedoMutationParamsCache']();if(_0x4b3e9e[_0x187225(0x1f7)]===0x0||_0x3bb0c3[_0x187225(0x1f7)]===0x0)return;const _0x323205=[],_0xcbe567=[];let _0x29beac=_0x415f18[_0x187225(0x27c)][_0x187225(0x265)](_0xc743f7['mutations'][0x0]),_0x3aa36b=_0x415f18[_0x187225(0x27c)][_0x187225(0x265)](_0xc743f7[_0x187225(0x3ae)][0x0]);for(let _0xcf41e4=_0x4b3e9e['length']-0x1;_0xcf41e4>=0x0;_0xcf41e4--){const _0x4f74d9={'id':_0x187225(0x202),'params':{..._0x4b3e9e[_0xcf41e4]}},_0x360ca8={'id':_0x187225(0x202),'params':{..._0x3bb0c3[_0xcf41e4]}},_0x36844a=this[_0x187225(0x32e)][_0x187225(0x2dc)](_0x29beac,_0x4f74d9,!0x1),_0x2d4a55=this['_transformService'][_0x187225(0x2dc)](_0x3aa36b,_0x360ca8,!0x1);if(_0xfd7b1f[_0x187225(0x362)](_0x36844a))throw _0x36844a['error'];if(_0xfd7b1f[_0x187225(0x362)](_0x2d4a55))throw _0x2d4a55[_0x187225(0x1b0)];_0x323205[_0x187225(0x122)](_0x36844a[_0x187225(0x300)]['params']),_0xcbe567['unshift'](_0x2d4a55[_0x187225(0x300)][_0x187225(0x209)]),_0x29beac=_0x36844a[_0x187225(0x2cf)],_0x3aa36b=_0x2d4a55['m1Prime'];}_0x23f4ff[_0x187225(0x1bc)]({'undoCache':_0x323205,'redoCache':_0xcbe567});}[_0x58d8a2(0x17d)](_0x55d335){const _0x35d515=_0x58d8a2,{unitID:_0x537e26}=_0x55d335,_0x1c0d9c=this['_renderManagerService'][_0x35d515(0x28b)](_0x537e26)[_0x35d515(0x10c)](_0x3a2aae['DocIMEInputManagerService']),_0x34a560=_0x1c0d9c['getActiveRange']();if(_0x34a560==null)return;const _0x2e55a8=[{'id':_0x35d515(0x202),'params':{'unitId':_0x55d335[_0x35d515(0x2ec)],'actions':null,'textRanges':[_0x34a560]}}],_0x584e94=this[_0x35d515(0x32e)]['transformMutationsWithChangeset'](_0x55d335,_0x2e55a8);if(!_0xfd7b1f[_0x35d515(0x108)](_0x584e94))throw _0x584e94[_0x35d515(0x1b0)];const _0x5716e3=_0x584e94['m2Prime'][0x0][_0x35d515(0x209)]['textRanges'];Array[_0x35d515(0x2bb)](_0x5716e3)&&_0x5716e3['length']&&_0x1c0d9c[_0x35d515(0x144)](_0x5716e3[0x0]);}};_0x2a73d0=_0x515fff([_0x59efe5(0x0,_0xfd7b1f['ITransformService']),_0x59efe5(0x1,_0x364f72[_0x58d8a2(0x29d)])],_0x2a73d0);var _0x1b0c27=Object['getOwnPropertyDescriptor'],_0x12ec6a=(_0x282627,_0x3234e1,_0x4ed963,_0x531fd1)=>{const _0x577d0c=_0x58d8a2;for(var _0x4a6bbb=_0x531fd1>0x1?void 0x0:_0x531fd1?_0x1b0c27(_0x3234e1,_0x4ed963):_0x3234e1,_0x22d5a0=_0x282627[_0x577d0c(0x1f7)]-0x1,_0x4ec3a8;_0x22d5a0>=0x0;_0x22d5a0--)(_0x4ec3a8=_0x282627[_0x22d5a0])&&(_0x4a6bbb=_0x4ec3a8(_0x4a6bbb)||_0x4a6bbb);return _0x4a6bbb;},_0x530ff6=(_0x47a49a,_0x282675)=>(_0x3be25d,_0x105b19)=>_0x282675(_0x3be25d,_0x105b19,_0x47a49a);let _0x19e043=class{constructor(_0x3ce9f5,_0x222581,_0x212ebb){const _0x2522f4=_0x58d8a2;this[_0x2522f4(0x129)]=_0x3ce9f5,this[_0x2522f4(0x32e)]=_0x222581,this[_0x2522f4(0x1af)]=_0x212ebb;}[_0x58d8a2(0x252)](_0x2f8743){this['_transformHistoryAndStateStack'](_0x2f8743);}[_0x58d8a2(0x18c)](_0x45f8ab){const _0x216c93=_0x58d8a2,{unitID:_0x5db5dc}=_0x45f8ab,{collaboration:_0x4b15b5}=this[_0x216c93(0x1af)][_0x216c93(0x200)](_0x5db5dc);if(_0x4b15b5[_0x216c93(0x1f7)]===0x0)return _0x45f8ab;let _0x1d1898=_0x415f18[_0x216c93(0x27c)][_0x216c93(0x265)](_0x45f8ab[_0x216c93(0x3ae)][0x0]);for(let _0x147ecb=0x0;_0x147ecb<_0x4b15b5[_0x216c93(0x1f7)];_0x147ecb++){const _0x3cf94c={'id':_0x216c93(0x202),'params':{'unitId':_0x4b15b5[_0x147ecb][_0x216c93(0x2e4)],..._0x4b15b5[_0x147ecb][_0x216c93(0x20a)]}},_0x1d75df=this['_transformService'][_0x216c93(0x2dc)](_0x1d1898,_0x3cf94c,!0x1);if(_0xfd7b1f[_0x216c93(0x362)](_0x1d75df))throw _0x1d75df[_0x216c93(0x1b0)];_0x1d1898=_0x1d75df['m1Prime'];}return{..._0x415f18['Tools'][_0x216c93(0x265)](_0x45f8ab),'mutations':[_0x1d1898]};}[_0x58d8a2(0x37d)](_0x309f28){const _0x231ed5=_0x58d8a2,{unitID:_0x59db49}=_0x309f28,{history:_0x5b7f3c,collaboration:_0x3eae3b}=this[_0x231ed5(0x1af)][_0x231ed5(0x200)](_0x59db49);if(_0x5b7f3c[_0x231ed5(0x1f7)]===0x0&&_0x3eae3b[_0x231ed5(0x1f7)]===0x0)return;const _0x34201c=[],_0x2e4105=[];let _0x40a899=_0x415f18[_0x231ed5(0x27c)][_0x231ed5(0x265)](_0x309f28[_0x231ed5(0x3ae)][0x0]),_0x256e39=_0x415f18[_0x231ed5(0x27c)]['deepClone'](_0x309f28[_0x231ed5(0x3ae)][0x0]);for(let _0x2b36d0=_0x5b7f3c[_0x231ed5(0x1f7)]-0x1;_0x2b36d0>=0x0;_0x2b36d0--){const _0x20987c={'id':_0x231ed5(0x202),'params':{'unitId':_0x5b7f3c[_0x2b36d0][_0x231ed5(0x2e4)],..._0x5b7f3c[_0x2b36d0][_0x231ed5(0x159)]}},_0x2306c7={'id':_0x231ed5(0x202),'params':{'unitId':_0x5b7f3c[_0x2b36d0][_0x231ed5(0x2e4)],..._0x5b7f3c[_0x2b36d0][_0x231ed5(0x20a)]}},_0x11e7c9=this[_0x231ed5(0x32e)]['transformMutation'](_0x40a899,_0x20987c,!0x1),_0x2cd9b4=this[_0x231ed5(0x32e)][_0x231ed5(0x2dc)](_0x256e39,_0x2306c7,!0x1);if(_0xfd7b1f[_0x231ed5(0x362)](_0x11e7c9))throw _0x11e7c9['error'];if(_0xfd7b1f[_0x231ed5(0x362)](_0x2cd9b4))throw _0x2cd9b4['error'];_0x34201c[_0x231ed5(0x122)]({..._0x5b7f3c[_0x2b36d0],'undoState':_0x11e7c9[_0x231ed5(0x300)][_0x231ed5(0x209)],'redoState':_0x2cd9b4['m2Prime'][_0x231ed5(0x209)]}),_0x40a899=_0x11e7c9[_0x231ed5(0x2cf)],_0x256e39=_0x2cd9b4['m1Prime'];}_0x40a899=_0x415f18[_0x231ed5(0x27c)]['deepClone'](_0x309f28[_0x231ed5(0x3ae)][0x0]),_0x256e39=_0x415f18['Tools'][_0x231ed5(0x265)](_0x309f28[_0x231ed5(0x3ae)][0x0]);for(let _0x17279f=_0x3eae3b['length']-0x1;_0x17279f>=0x0;_0x17279f--){const _0xf44d31={'id':_0x231ed5(0x202),'params':{'unitId':_0x3eae3b[_0x17279f][_0x231ed5(0x2e4)],..._0x3eae3b[_0x17279f][_0x231ed5(0x159)]}},_0x2215ae={'id':_0x231ed5(0x202),'params':{'unitId':_0x3eae3b[_0x17279f][_0x231ed5(0x2e4)],..._0x3eae3b[_0x17279f][_0x231ed5(0x20a)]}},_0x1c04bf=this[_0x231ed5(0x32e)][_0x231ed5(0x2dc)](_0x40a899,_0xf44d31,!0x1),_0x3ea661=this['_transformService'][_0x231ed5(0x2dc)](_0x256e39,_0x2215ae,!0x1);if(_0xfd7b1f[_0x231ed5(0x362)](_0x1c04bf))throw _0x1c04bf[_0x231ed5(0x1b0)];if(_0xfd7b1f[_0x231ed5(0x362)](_0x3ea661))throw _0x3ea661[_0x231ed5(0x1b0)];_0x2e4105['unshift']({..._0x3eae3b[_0x17279f],'undoState':_0x1c04bf[_0x231ed5(0x300)]['params'],'redoState':_0x3ea661[_0x231ed5(0x300)]['params']}),_0x40a899=_0x1c04bf['m1Prime'],_0x256e39=_0x3ea661[_0x231ed5(0x2cf)];}this[_0x231ed5(0x1af)][_0x231ed5(0x240)](_0x59db49,{'history':_0x34201c,'collaboration':_0x2e4105});}};_0x19e043=_0x12ec6a([_0x530ff6(0x0,_0x415f18['Inject'](_0x415f18[_0x58d8a2(0x3a7)])),_0x530ff6(0x1,_0xfd7b1f[_0x58d8a2(0x219)]),_0x530ff6(0x2,_0x415f18[_0x58d8a2(0x284)](_0x3a2aae[_0x58d8a2(0x2cc)]))],_0x19e043);var _0x80a3d4=Object[_0x58d8a2(0x139)],_0x218fee=(_0x5d6508,_0x398f80,_0x255562,_0x97397e)=>{const _0xad0c6b=_0x58d8a2;for(var _0x2d2bc8=_0x97397e>0x1?void 0x0:_0x97397e?_0x80a3d4(_0x398f80,_0x255562):_0x398f80,_0x426ae0=_0x5d6508[_0xad0c6b(0x1f7)]-0x1,_0x1e04b0;_0x426ae0>=0x0;_0x426ae0--)(_0x1e04b0=_0x5d6508[_0x426ae0])&&(_0x2d2bc8=_0x1e04b0(_0x2d2bc8)||_0x2d2bc8);return _0x2d2bc8;},_0x431e91=(_0x1943ec,_0xff92f)=>(_0x253dc4,_0x1c7065)=>_0xff92f(_0x253dc4,_0x1c7065,_0x1943ec);let _0x2a4434=class{constructor(_0x2fe0a6,_0x35bf09){const _0x46b302=_0x58d8a2;this[_0x46b302(0x129)]=_0x2fe0a6,this[_0x46b302(0x32e)]=_0x35bf09;}['transformSelections'](_0x5e3ef2){const _0x3131bd=_0x58d8a2;var _0x38427c;const _0x23b0fb=this[_0x3131bd(0x129)][_0x3131bd(0x272)](_0x2673a2[_0x3131bd(0x367)]),_0x9800bf=(_0x38427c=_0x23b0fb[_0x3131bd(0x14f)]())!=null?_0x38427c:[];if(_0x9800bf[_0x3131bd(0x1f7)]===0x0)return;const _0x1b73e1=_0x5e3ef2[_0x3131bd(0x2ec)],_0x31f8a4=[{'id':_0x3131bd(0x202),'params':{'unitId':_0x1b73e1,'actions':null,'textRanges':_0x9800bf}}],_0x376fb3=this[_0x3131bd(0x32e)]['transformMutationsWithChangeset'](_0x5e3ef2,_0x31f8a4);if(!_0xfd7b1f[_0x3131bd(0x108)](_0x376fb3))throw _0x376fb3[_0x3131bd(0x1b0)];const _0x2783ee=_0x376fb3[_0x3131bd(0x300)][0x0][_0x3131bd(0x209)][_0x3131bd(0xe7)];Array[_0x3131bd(0x2bb)](_0x2783ee)&&_0x2783ee[_0x3131bd(0x1f7)]&&_0x23b0fb[_0x3131bd(0x386)](_0x2783ee,{'unitId':_0x1b73e1,'subUnitId':_0x1b73e1},!0x1);}};_0x2a4434=_0x218fee([_0x431e91(0x0,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0x431e91(0x1,_0xfd7b1f[_0x58d8a2(0x219)])],_0x2a4434);var _0x4de87c=Object[_0x58d8a2(0x139)],_0x4a2650=(_0x476563,_0x41a509,_0x2ed4ea,_0x32863a)=>{const _0x4f61dc=_0x58d8a2;for(var _0x2137e0=_0x32863a>0x1?void 0x0:_0x32863a?_0x4de87c(_0x41a509,_0x2ed4ea):_0x41a509,_0x556a32=_0x476563[_0x4f61dc(0x1f7)]-0x1,_0x34de8f;_0x556a32>=0x0;_0x556a32--)(_0x34de8f=_0x476563[_0x556a32])&&(_0x2137e0=_0x34de8f(_0x2137e0)||_0x2137e0);return _0x2137e0;},_0x1f6034=(_0x80eddf,_0x43b4e4)=>(_0x1aa9f3,_0x5e2674)=>_0x43b4e4(_0x1aa9f3,_0x5e2674,_0x80eddf);let _0x188bb9=class extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(_0x162859,_0x4753aa,_0x1d68d9,_0x19f61f,_0x228989,_0x35d5bf,_0x478e20,_0x59b338){const _0x3f41af=_0x58d8a2;super(),_0x1a2e09(this,_0x3f41af(0x167),new _0x5a105f['BehaviorSubject'](_0x41f4b6[_0x3f41af(0x156)][_0x3f41af(0x1ec)])),(this[_0x3f41af(0x1af)]=_0x162859,this[_0x3f41af(0x39f)]=_0x4753aa,this['_docTransformIMECacheService']=_0x1d68d9,this['_docTransformStateCacheService']=_0x19f61f,this[_0x3f41af(0x1a0)]=_0x228989,this['_docSyncEditingCollabCursorService']=_0x35d5bf,this[_0x3f41af(0x117)]=_0x478e20,this[_0x3f41af(0xfa)]=_0x59b338,this[_0x3f41af(0x2b2)]());}[_0x58d8a2(0x2b2)](){const _0xa13195=_0x58d8a2;this[_0xa13195(0x1b7)](this[_0xa13195(0x39f)][_0xa13195(0x180)][_0xa13195(0x33b)](_0x7f897a=>{const _0x1c08d2=_0xa13195,_0x3727b6=this[_0x1c08d2(0x1af)][_0x1c08d2(0x146)][_0x1c08d2(0x33b)](_0x637092=>{const _0x122b1b=_0x1c08d2;if(_0x637092==null)return;const {unitId:_0x24cc8b,redoState:_0x41235c,commandId:_0x5df826}=_0x637092;if(_0x24cc8b!==_0x7f897a[_0x122b1b(0x2ec)])return;const _0x398c29={'id':_0x5df826,'type':_0x415f18[_0x122b1b(0x23a)][_0x122b1b(0x31c)],'params':{'unitId':_0x24cc8b,'actions':_0x41235c[_0x122b1b(0x38b)],'textRanges':null}};_0x7f897a['onLocalMutation'](_0x398c29);});if(_0x7f897a[_0x1c08d2(0x1b7)](_0x3727b6),_0x7f897a instanceof _0x41f4b6[_0x1c08d2(0x243)]){const _0x489d9c={'onTransformIME':_0x3c3508=>this[_0x1c08d2(0x2ce)][_0x1c08d2(0x1db)](_0x3c3508),'onTransformState':_0x1ed252=>this['_docTransformStateCacheService'][_0x1c08d2(0x252)](_0x1ed252),'onTransformSelections':_0x3d698d=>this[_0x1c08d2(0x1a0)]['transformSelections'](_0x3d698d),'onSyncEditingCollabCursor':_0x29be1f=>this[_0x1c08d2(0x1dd)][_0x1c08d2(0x304)](_0x29be1f),'onTransformRemoteChangesetByIMECache':_0x43211c=>this[_0x1c08d2(0x2ce)][_0x1c08d2(0x18c)](_0x43211c),'onTransformRemoteChangesetByStateCache':_0x41175a=>this[_0x1c08d2(0x298)]['transformRemoteChangeset'](_0x41175a)};_0x7f897a[_0x1c08d2(0x314)](_0x489d9c);}}));}};_0x188bb9=_0x4a2650([_0x1f6034(0x0,_0x415f18[_0x58d8a2(0x284)](_0x3a2aae[_0x58d8a2(0x2cc)])),_0x1f6034(0x1,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6[_0x58d8a2(0x174)])),_0x1f6034(0x2,_0x415f18[_0x58d8a2(0x284)](_0x2a73d0)),_0x1f6034(0x3,_0x415f18['Inject'](_0x19e043)),_0x1f6034(0x4,_0x415f18['Inject'](_0x2a4434)),_0x1f6034(0x5,_0x415f18[_0x58d8a2(0x284)](_0x2905ba)),_0x1f6034(0x6,_0x4fe70c[_0x58d8a2(0x258)]),_0x1f6034(0x7,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x1f8)]))],_0x188bb9);var _0x1645b0=(_0x5cd127=>(_0x5cd127[_0x5cd127[_0x58d8a2(0x14c)]=0x0]=_0x58d8a2(0x14c),_0x5cd127[_0x5cd127['OK']=0x1]='OK',_0x5cd127[_0x5cd127[_0x58d8a2(0x140)]=0x2]=_0x58d8a2(0x140),_0x5cd127[_0x5cd127['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x5cd127[_0x5cd127[_0x58d8a2(0x3b3)]=0x4]=_0x58d8a2(0x3b3),_0x5cd127[_0x5cd127['UNAUTHENTICATED']=0x5]=_0x58d8a2(0x2e1),_0x5cd127[_0x5cd127['ALREADY_EXISTS']=0x6]=_0x58d8a2(0x242),_0x5cd127[_0x5cd127[_0x58d8a2(0x2f5)]=0x7]=_0x58d8a2(0x2f5),_0x5cd127[_0x5cd127['TOO_MANY_REQUESTS']=0x8]=_0x58d8a2(0x293),_0x5cd127[_0x5cd127['COMPLETION_FINISHED']=0x9]=_0x58d8a2(0x194),_0x5cd127[_0x5cd127['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x5cd127[_0x5cd127[_0x58d8a2(0x27e)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5cd127[_0x5cd127[_0x58d8a2(0xee)]=0xc]=_0x58d8a2(0xee),_0x5cd127[_0x5cd127['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x58d8a2(0x25d),_0x5cd127[_0x5cd127[_0x58d8a2(0x3ba)]=0xe]=_0x58d8a2(0x3ba),_0x5cd127[_0x5cd127[_0x58d8a2(0x3b1)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x5cd127[_0x5cd127[_0x58d8a2(0x1f6)]=0x10]=_0x58d8a2(0x1f6),_0x5cd127[_0x5cd127[_0x58d8a2(0x2f6)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5cd127[_0x5cd127[_0x58d8a2(0x31a)]=0x65]=_0x58d8a2(0x31a),_0x5cd127[_0x5cd127[_0x58d8a2(0x381)]=0xc9]='USER_NOT_FOUND',_0x5cd127[_0x5cd127['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x5cd127[_0x5cd127[_0x58d8a2(0x326)]=0x1389]=_0x58d8a2(0x326),_0x5cd127[_0x5cd127[_0x58d8a2(0x234)]=0x1771]=_0x58d8a2(0x234),_0x5cd127[_0x5cd127[_0x58d8a2(0x34b)]=0x1772]=_0x58d8a2(0x34b),_0x5cd127[_0x5cd127[_0x58d8a2(0x1f0)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5cd127[_0x5cd127[_0x58d8a2(0x1f3)]=0x1b59]=_0x58d8a2(0x1f3),_0x5cd127[_0x5cd127[_0x58d8a2(0x332)]=0x1b5a]=_0x58d8a2(0x332),_0x5cd127[_0x5cd127[_0x58d8a2(0x2f3)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5cd127[_0x5cd127[_0x58d8a2(0x224)]=0x1b5c]=_0x58d8a2(0x224),_0x5cd127[_0x5cd127[_0x58d8a2(0x262)]=0x1b5d]=_0x58d8a2(0x262),_0x5cd127[_0x5cd127[_0x58d8a2(0x29f)]=0x1f41]=_0x58d8a2(0x29f),_0x5cd127[_0x5cd127[_0x58d8a2(0x2a7)]=0x2329]=_0x58d8a2(0x2a7),_0x5cd127[_0x5cd127[_0x58d8a2(0x16e)]=0x232a]=_0x58d8a2(0x16e),_0x5cd127[_0x5cd127[_0x58d8a2(0x22f)]=0x232b]=_0x58d8a2(0x22f),_0x5cd127[_0x5cd127[_0x58d8a2(0x3a9)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5cd127[_0x5cd127[_0x58d8a2(0x3a8)]=0x232d]=_0x58d8a2(0x3a8),_0x5cd127[_0x5cd127[_0x58d8a2(0x1ea)]=0x2711]=_0x58d8a2(0x1ea),_0x5cd127[_0x5cd127[_0x58d8a2(0x327)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5cd127[_0x5cd127[_0x58d8a2(0x162)]=0x2713]=_0x58d8a2(0x162),_0x5cd127[_0x5cd127[_0x58d8a2(0x32b)]=0x2714]=_0x58d8a2(0x32b),_0x5cd127[_0x5cd127[_0x58d8a2(0x168)]=0x271a]=_0x58d8a2(0x168),_0x5cd127[_0x5cd127[_0x58d8a2(0x14a)]=0x271b]=_0x58d8a2(0x14a),_0x5cd127[_0x5cd127[_0x58d8a2(0x343)]=0x271c]=_0x58d8a2(0x343),_0x5cd127[_0x5cd127[_0x58d8a2(0x20f)]=0x271d]=_0x58d8a2(0x20f),_0x5cd127[_0x5cd127[_0x58d8a2(0x2a6)]=0x271e]=_0x58d8a2(0x2a6),_0x5cd127[_0x5cd127[_0x58d8a2(0x1ed)]=0x271f]=_0x58d8a2(0x1ed),_0x5cd127[_0x5cd127[_0x58d8a2(0x1a1)]=0x2720]=_0x58d8a2(0x1a1),_0x5cd127[_0x5cd127['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x58d8a2(0x25c),_0x5cd127[_0x5cd127[_0x58d8a2(0x247)]=0x2ee1]=_0x58d8a2(0x247),_0x5cd127[_0x5cd127[_0x58d8a2(0x1c0)]=0x2ee2]=_0x58d8a2(0x1c0),_0x5cd127[_0x5cd127[_0x58d8a2(0x3b7)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5cd127[_0x5cd127[_0x58d8a2(0x19e)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5cd127[_0x5cd127[_0x58d8a2(0x3a0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5cd127[_0x5cd127[_0x58d8a2(0x2e0)]=0x32c9]=_0x58d8a2(0x2e0),_0x5cd127[_0x5cd127[_0x58d8a2(0x1d6)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5cd127[_0x5cd127[_0x58d8a2(0x373)]=0x32cb]=_0x58d8a2(0x373),_0x5cd127[_0x5cd127[_0x58d8a2(0xe2)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5cd127[_0x5cd127[_0x58d8a2(0x1bd)]=0x36b2]=_0x58d8a2(0x1bd),_0x5cd127[_0x5cd127['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x58d8a2(0x20b),_0x5cd127[_0x5cd127[_0x58d8a2(0x30d)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x5cd127[_0x5cd127[_0x58d8a2(0x2f7)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x5cd127[_0x5cd127['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x58d8a2(0x382),_0x5cd127[_0x5cd127[_0x58d8a2(0x227)]=0x36b7]=_0x58d8a2(0x227),_0x5cd127[_0x5cd127['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x5cd127[_0x5cd127[_0x58d8a2(0x196)]=0x3715]=_0x58d8a2(0x196),_0x5cd127[_0x5cd127['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x5cd127[_0x5cd127[_0x58d8a2(0x104)]=0x3717]=_0x58d8a2(0x104),_0x5cd127[_0x5cd127['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x58d8a2(0x393),_0x5cd127[_0x5cd127['REDEMPTION_INVALID_CODE']=0x3a99]=_0x58d8a2(0x295),_0x5cd127[_0x5cd127['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x58d8a2(0x3be),_0x5cd127[_0x5cd127[_0x58d8a2(0x245)]=0x3a9b]=_0x58d8a2(0x245),_0x5cd127[_0x5cd127['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x58d8a2(0x3c2),_0x5cd127[_0x5cd127[_0x58d8a2(0x345)]=0x3a9d]=_0x58d8a2(0x345),_0x5cd127[_0x5cd127[_0x58d8a2(0x296)]=0x3a9e]=_0x58d8a2(0x296),_0x5cd127[_0x5cd127[_0x58d8a2(0x250)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5cd127[_0x5cd127[_0x58d8a2(0x38e)]=0x3e81]=_0x58d8a2(0x38e),_0x5cd127[_0x5cd127['UNRECOGNIZED']=-0x1]=_0x58d8a2(0x152),_0x5cd127))(_0x1645b0||{});function _0x5853dd(_0x5a2dc2){const _0x315023=_0x58d8a2;var _0x276ae6,_0x1a70e0;const _0x376454=(_0x276ae6=_0x5a2dc2[_0x315023(0x35d)])==null?void 0x0:_0x276ae6[_0x315023(0x27d)],_0x53c6bc=((_0x1a70e0=_0x5a2dc2[_0x315023(0x35d)])==null?void 0x0:_0x1a70e0[_0x315023(0x205)])||0x0;return _0x376454===_0x372566['FormulaExecuteStageType'][_0x315023(0x259)]&&_0x53c6bc>0x0;}function _0x2cbef7(_0x597055){const _0x46ac96=_0x58d8a2;return _0x597055[_0x46ac96(0x1c5)]===_0x372566[_0x46ac96(0x331)][_0x46ac96(0x189)];}var _0x692d03=Object['getOwnPropertyDescriptor'],_0x3fed9c=(_0x1d1635,_0x554e94,_0x2e0bf5,_0x4b020b)=>{const _0x78b565=_0x58d8a2;for(var _0x2d3351=_0x4b020b>0x1?void 0x0:_0x4b020b?_0x692d03(_0x554e94,_0x2e0bf5):_0x554e94,_0xc5169=_0x1d1635[_0x78b565(0x1f7)]-0x1,_0x436ecb;_0xc5169>=0x0;_0xc5169--)(_0x436ecb=_0x1d1635[_0xc5169])&&(_0x2d3351=_0x436ecb(_0x2d3351)||_0x2d3351);return _0x2d3351;},_0xee1eb7=(_0x53a325,_0x1bdc91)=>(_0x526493,_0x4b3f16)=>_0x1bdc91(_0x526493,_0x4b3f16,_0x53a325);const _0x28be0e='/universer-api/license/formula/limit/status',_0x5c7e89=_0x58d8a2(0x2bf),_0xcfd2df=_0x58d8a2(0x37a);let _0x286077=class extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(_0x155d3c,_0x59d428,_0x56ab7f,_0x42c94a,_0x5d63fa,_0x4acea0,_0x114306){const _0x33ded0=_0x58d8a2;super(),_0x1a2e09(this,_0x33ded0(0x19a),null),_0x1a2e09(this,_0x33ded0(0x1c3),0x0),_0x1a2e09(this,_0x33ded0(0x16a),0x0),_0x1a2e09(this,'_taskIds',[]),_0x1a2e09(this,_0x33ded0(0xe8),0x0),(this['_messageService']=_0x155d3c,this['_commandService']=_0x59d428,this[_0x33ded0(0x290)]=_0x56ab7f,this[_0x33ded0(0x3b0)]=_0x42c94a,this[_0x33ded0(0x26c)]=_0x5d63fa,this['_logService']=_0x4acea0,this[_0x33ded0(0xfa)]=_0x114306,this[_0x33ded0(0x37c)]());}[_0x58d8a2(0x37c)](){const _0x46f8ee=_0x58d8a2;this[_0x46f8ee(0x1b7)](this[_0x46f8ee(0x1de)][_0x46f8ee(0x176)]((_0x139923,_0xf09217)=>{const _0x152b51=_0x46f8ee;var _0x2b68ab;if(_0x139923['id']!==_0x372566[_0x152b51(0x3aa)]['id'])return;const _0x1f018c=_0x139923[_0x152b51(0x209)];if(!this[_0x152b51(0x18b)]((_0x2b68ab=_0x1f018c['dirtyRanges'])!=null?_0x2b68ab:[]))return;if(!this[_0x152b51(0x237)]())throw this[_0x152b51(0x2a8)](_0x139923,_0xf09217),this['_showGuardMessage'](),new _0x415f18['CanceledError']();})),this[_0x46f8ee(0x1b7)](this[_0x46f8ee(0x1de)][_0x46f8ee(0x147)]((_0x68ef96,_0x5c0cfd)=>{const _0xfa9b1d=_0x46f8ee;if(_0x68ef96['id']!==_0x372566[_0xfa9b1d(0x1b9)]['id'])return;const _0x2c8f99=_0x68ef96[_0xfa9b1d(0x209)];if(_0x5853dd(_0x2c8f99)){const _0x7c8d45=_0x415f18[_0xfa9b1d(0x354)]();this[_0xfa9b1d(0x394)]['push'](_0x7c8d45),this[_0xfa9b1d(0x30b)](_0x7c8d45);}else{if(_0x2cbef7(_0x2c8f99)&&this[_0xfa9b1d(0x394)][_0xfa9b1d(0x1f7)]>0x0){const _0x4634e7=this[_0xfa9b1d(0x394)]['shift']();this[_0xfa9b1d(0x20d)](_0x4634e7);}}}));}[_0x58d8a2(0x126)](){const _0x2fc7bd=_0x58d8a2;super[_0x2fc7bd(0x126)](),this[_0x2fc7bd(0x1bf)](),this[_0x2fc7bd(0x394)]=[],this[_0x2fc7bd(0x16a)]=0x0,this[_0x2fc7bd(0x1c3)]=0x0,this[_0x2fc7bd(0xe8)]=0x0;}async[_0x58d8a2(0x2a8)](_0x5ba285,_0x3a421f){const _0x55ee16=_0x58d8a2;for(let _0x193590=0x0;_0x193590<0x1e;_0x193590++)try{if(await this[_0x55ee16(0x14e)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x5ba285,_0x3a421f),this[_0x55ee16(0x117)][_0x55ee16(0xe9)]({'content':this[_0x55ee16(0xfa)]['t'](_0x55ee16(0x251)),'type':_0x119110[_0x55ee16(0x2fa)][_0x55ee16(0x21f)]});return;}await new Promise(_0x4b6d92=>{const _0x712205=_0x55ee16;this[_0x712205(0x19a)]=window[_0x712205(0x369)](_0x4b6d92,0x3e8);});}catch(_0x2daacc){this[_0x55ee16(0x36c)][_0x55ee16(0x1b0)](_0x2daacc);}this['_messageService'][_0x55ee16(0xe9)]({'content':this[_0x55ee16(0xfa)]['t'](_0x55ee16(0x1fe)),'type':_0x119110[_0x55ee16(0x2fa)]['Error']});}[_0x58d8a2(0x366)](_0x128d4f,_0x308107){const _0x3e4add=_0x58d8a2;try{this['_commandService'][_0x3e4add(0x3c0)](_0x128d4f['id'],_0x128d4f[_0x3e4add(0x209)],_0x308107);}catch(_0x2bc09c){this['_logService'][_0x3e4add(0x1b0)](_0x2bc09c);}}[_0x58d8a2(0x285)](_0x5d9b67,_0x1b48f4){const _0x4576ed=_0x58d8a2;_0x1b48f4<this['_lastResponseTimestamp']||(this[_0x4576ed(0xe8)]=_0x1b48f4,this[_0x4576ed(0x1c3)]=Number[_0x4576ed(0x21e)](_0x5d9b67['maxFormulaLimit']),this[_0x4576ed(0x16a)]=Number[_0x4576ed(0x21e)](_0x5d9b67[_0x4576ed(0x3b2)]));}async[_0x58d8a2(0x30b)](_0x5f56a3){const _0x85f339=_0x58d8a2;var _0x56852c,_0x49b81b;const _0x40116b=Date['now']();try{const _0x4f044f=((_0x56852c=this[_0x85f339(0x290)]['getConfig'](_0x41f4b6[_0x85f339(0x2b4)]))==null?void 0x0:_0x56852c[_0x85f339(0x2a4)])||_0x5c7e89,_0x4505d1=(await this[_0x85f339(0x3b0)]['post'](_0x4f044f,{'body':JSON['stringify']({'taskId':_0x5f56a3})}))[_0x85f339(0x24a)];if(((_0x49b81b=_0x4505d1[_0x85f339(0x1b0)])==null?void 0x0:_0x49b81b['code'])!==_0x1645b0['OK'])return;this[_0x85f339(0x285)](_0x4505d1[_0x85f339(0x166)],_0x40116b);}catch(_0x1769c3){this['_logService'][_0x85f339(0x1b0)](_0x1769c3);}}async[_0x58d8a2(0x14e)](_0x7ef691){const _0x1985f8=_0x58d8a2;var _0x10cdec,_0x1209c6;const _0x30ee03=Date[_0x1985f8(0x223)]();try{const _0x5dd416=((_0x10cdec=this[_0x1985f8(0x290)][_0x1985f8(0x221)](_0x41f4b6[_0x1985f8(0x2b4)]))==null?void 0x0:_0x10cdec[_0x1985f8(0x1fd)])||_0x28be0e,_0x54ecbd=_0x7ef691?_0x5dd416+_0x1985f8(0x1c8)+encodeURIComponent(_0x7ef691):_0x5dd416,_0x3e08d5=(await this[_0x1985f8(0x3b0)]['get'](_0x54ecbd))[_0x1985f8(0x24a)];if(((_0x1209c6=_0x3e08d5[_0x1985f8(0x1b0)])==null?void 0x0:_0x1209c6[_0x1985f8(0x30e)])!==_0x1645b0['OK'])return;this[_0x1985f8(0x285)](_0x3e08d5[_0x1985f8(0x166)],_0x30ee03);}catch(_0x1c121d){this[_0x1985f8(0x36c)][_0x1985f8(0x1b0)](_0x1c121d);}}async[_0x58d8a2(0x20d)](_0x2bf542){const _0x269f0b=_0x58d8a2;var _0x570113,_0x428c6b;const _0x6a5c08=Date['now']();try{const _0x25f476=((_0x570113=this['_configService'][_0x269f0b(0x221)](_0x41f4b6['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x570113[_0x269f0b(0x2ef)])||_0xcfd2df,_0x1f9454=(await this[_0x269f0b(0x3b0)][_0x269f0b(0x233)](_0x25f476,{'body':JSON[_0x269f0b(0xea)]({'taskId':_0x2bf542})}))[_0x269f0b(0x24a)];if(((_0x428c6b=_0x1f9454['error'])==null?void 0x0:_0x428c6b[_0x269f0b(0x30e)])!==_0x1645b0['OK'])return;this[_0x269f0b(0x285)](_0x1f9454[_0x269f0b(0x166)],_0x6a5c08);}catch(_0x2404c2){this[_0x269f0b(0x36c)][_0x269f0b(0x1b0)](_0x2404c2);}}[_0x58d8a2(0x237)](){const _0x3c34d7=_0x58d8a2;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x3c34d7(0x1c3)]-this[_0x3c34d7(0x16a)]>0x0;}[_0x58d8a2(0x1bf)](){const _0x4c00b4=_0x58d8a2;this[_0x4c00b4(0x19a)]&&(clearTimeout(this[_0x4c00b4(0x19a)]),this[_0x4c00b4(0x19a)]=null);}[_0x58d8a2(0x16f)](){const _0x40cd02=_0x58d8a2;this[_0x40cd02(0x117)][_0x40cd02(0xe9)]({'content':this[_0x40cd02(0xfa)]['t']('formula.calculation.waiting'),'type':_0x119110[_0x40cd02(0x2fa)]['Loading']});}[_0x58d8a2(0x18b)](_0x4dfcf2){const _0x4d4ef9=_0x58d8a2;for(const _0x50cc03 of _0x4dfcf2){const {unitId:_0x4fb403,sheetId:_0x4173bb,range:_0x39646d}=_0x50cc03,_0x40c514=this[_0x4d4ef9(0x26c)]['getUnit'](_0x4fb403);if(!_0x40c514)continue;const _0x5b0aef=_0x40c514[_0x4d4ef9(0x172)](_0x4173bb);if(!_0x5b0aef)continue;const _0x89989a=_0x5b0aef['getCellMatrix']();for(let _0x430f17=_0x39646d[_0x4d4ef9(0x1e9)];_0x430f17<=_0x39646d[_0x4d4ef9(0x30c)];_0x430f17++)for(let _0x4b1d67=_0x39646d[_0x4d4ef9(0x2fb)];_0x4b1d67<=_0x39646d[_0x4d4ef9(0x1a2)];_0x4b1d67++){const _0x53a610=_0x89989a[_0x4d4ef9(0x177)](_0x430f17,_0x4b1d67);if(_0x53a610&&(_0x415f18[_0x4d4ef9(0x328)](_0x53a610['f'])||_0x415f18[_0x4d4ef9(0x33f)](_0x53a610['si'])))return!0x0;}}return!0x1;}};_0x286077=_0x3fed9c([_0xee1eb7(0x0,_0x415f18[_0x58d8a2(0x284)](_0x4fe70c[_0x58d8a2(0x258)])),_0xee1eb7(0x1,_0x415f18[_0x58d8a2(0x22e)]),_0xee1eb7(0x2,_0x415f18['IConfigService']),_0xee1eb7(0x3,_0x415f18[_0x58d8a2(0x284)](_0x297528[_0x58d8a2(0x1d1)])),_0xee1eb7(0x4,_0x415f18[_0x58d8a2(0x288)]),_0xee1eb7(0x5,_0x415f18[_0x58d8a2(0x3c1)]),_0xee1eb7(0x6,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x1f8)]))],_0x286077);var _0x3afea8=Object[_0x58d8a2(0x139)],_0x96b7f2=(_0x1d98e2,_0x417983,_0x512d73,_0x584732)=>{const _0xd5bf13=_0x58d8a2;for(var _0x421dc4=_0x584732>0x1?void 0x0:_0x584732?_0x3afea8(_0x417983,_0x512d73):_0x417983,_0x25e21b=_0x1d98e2[_0xd5bf13(0x1f7)]-0x1,_0x21e932;_0x25e21b>=0x0;_0x25e21b--)(_0x21e932=_0x1d98e2[_0x25e21b])&&(_0x421dc4=_0x21e932(_0x421dc4)||_0x421dc4);return _0x421dc4;},_0x35f534=(_0x2b465a,_0x2e3c06)=>(_0x478291,_0x5f390a)=>_0x2e3c06(_0x478291,_0x5f390a,_0x2b465a);let _0x54e0c2=class extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(_0x27fe65,_0x39af0b,_0x1dfde8){const _0x32321a=_0x58d8a2;super(),_0x1a2e09(this,_0x32321a(0x249),new Map()),_0x1a2e09(this,_0x32321a(0x193),new Map()),_0x1a2e09(this,_0x32321a(0x273),!0x1),(this[_0x32321a(0x290)]=_0x27fe65,this[_0x32321a(0x316)]=_0x39af0b,this[_0x32321a(0x191)]=_0x1dfde8);}[_0x58d8a2(0x319)](){const _0x337921=_0x58d8a2;this[_0x337921(0x273)]=!0x0;}[_0x58d8a2(0x1ae)](){const _0x10c462=_0x58d8a2;this[_0x10c462(0x273)]=!0x1;}get['saveTaskMap'](){const _0x23ed92=_0x58d8a2;return this[_0x23ed92(0x193)];}[_0x58d8a2(0x126)](){const _0x38b223=_0x58d8a2;this[_0x38b223(0x37f)]()['then'](()=>super[_0x38b223(0x126)]());}async[_0x58d8a2(0x303)](_0x4cbc03){const _0x29873b=_0x58d8a2;return this[_0x29873b(0x273)]?null:this[_0x29873b(0x316)]['getItem'](_0x41f4b6[_0x29873b(0x297)](_0x4cbc03));}async['saveOfflineData'](_0x204819,_0x107e9c){const _0x54ee3e=_0x58d8a2;return!!this[_0x54ee3e(0x316)][_0x54ee3e(0x337)](_0x204819,_0x107e9c);}[_0x58d8a2(0x154)](_0x187f49,_0x459ef6,_0x3b7566,_0x2e976b){const _0x3a571e=_0x58d8a2,_0xb0c00d=this[_0x3a571e(0x191)][_0x3a571e(0x28a)](_0x187f49);this[_0x3a571e(0x249)][_0x3a571e(0xfd)](_0x187f49,{'unitID':_0x187f49,'type':_0x459ef6,'awaitingChangeset':_0x3b7566,'mutations':_0x2e976b,'rev':_0xb0c00d}),this[_0x3a571e(0x193)][_0x3a571e(0x29a)](_0x187f49)||this[_0x3a571e(0x18f)](_0x187f49);}[_0x58d8a2(0x18f)](_0x3e5c99){const _0x434e76=_0x58d8a2,_0x5f0f86=this[_0x434e76(0x1b8)]();_0x5f0f86===0x0?this['_saveCache'](_0x3e5c99):this[_0x434e76(0x193)][_0x434e76(0xfd)](_0x3e5c99,setTimeout(()=>this['_saveCache'](_0x3e5c99),_0x5f0f86));}[_0x58d8a2(0x1b8)](){const _0x23c4b4=_0x58d8a2;var _0x39f35b;return(_0x39f35b=this[_0x23c4b4(0x290)][_0x23c4b4(0x221)](_0x41f4b6[_0x23c4b4(0x34f)]))!=null?_0x39f35b:_0x41f4b6[_0x23c4b4(0x2bc)];}[_0x58d8a2(0x375)](_0x533b31){const _0x4e9f2f=_0x58d8a2,_0x3af242=this['_saveTaskMap'][_0x4e9f2f(0x272)](_0x533b31);return _0x3af242!==void 0x0&&window[_0x4e9f2f(0xf0)](_0x3af242),this['_localStorageService'][_0x4e9f2f(0x337)](_0x41f4b6['getLocalCacheKey'](_0x533b31),this['_cachedData'][_0x4e9f2f(0x272)](_0x533b31))['then'](()=>this['_saveTaskMap'][_0x4e9f2f(0x2e2)](_0x533b31));}async['exhaustSavingTask'](){const _0x2fad7b=_0x58d8a2,_0x1e80e7=[];this[_0x2fad7b(0x193)][_0x2fad7b(0x10a)]((_0x480600,_0xecf94a)=>{const _0x1cecfc=_0x2fad7b;window[_0x1cecfc(0xf0)](_0x480600),_0x1e80e7[_0x1cecfc(0xec)](this[_0x1cecfc(0x375)](_0xecf94a)[_0x1cecfc(0x110)](()=>{const _0x25e9bf=_0x1cecfc;this[_0x25e9bf(0x193)][_0x25e9bf(0x2e2)](_0xecf94a);}));}),await Promise[_0x2fad7b(0x352)](_0x1e80e7);}};_0x54e0c2=_0x96b7f2([_0x35f534(0x0,_0x415f18[_0x58d8a2(0x385)]),_0x35f534(0x1,_0x415f18[_0x58d8a2(0x3a1)]),_0x35f534(0x2,_0x415f18['Inject'](_0xfd7b1f[_0x58d8a2(0x2a1)]))],_0x54e0c2);class _0x39f77b extends _0x415f18[_0x58d8a2(0x101)]{constructor(){const _0x2cfeed=_0x58d8a2;super(),_0x1a2e09(this,_0x2cfeed(0x260)),this['urlChange$']=_0x5a105f['fromEvent'](window,_0x2cfeed(0x1bb))[_0x2cfeed(0xef)](_0x5a105f[_0x2cfeed(0x203)](this[_0x2cfeed(0x17e)]),_0x5a105f['shareReplay'](0x1),_0x5a105f[_0x2cfeed(0x31d)](void 0x0));}['setParam'](_0x3b8b1e,_0x46d7f2,_0x514518=!0x1){const _0x4e5e74=_0x58d8a2,_0x3d5a4e=new URL(window[_0x4e5e74(0x246)]['href']);_0x3d5a4e[_0x4e5e74(0xf3)][_0x4e5e74(0xfd)](_0x3b8b1e,_0x46d7f2),_0x514518?window[_0x4e5e74(0x2b1)][_0x4e5e74(0x124)]('','',_0x3d5a4e[_0x4e5e74(0xff)]()):window[_0x4e5e74(0x2b1)]['pushState']('','',_0x3d5a4e[_0x4e5e74(0xff)]());}[_0x58d8a2(0x333)](_0x184e37,_0x28e676=!0x1){const _0x21159f=_0x58d8a2,_0x381dfa=new URL(window[_0x21159f(0x246)][_0x21159f(0x236)]);_0x381dfa[_0x21159f(0xf3)][_0x21159f(0x2e2)](_0x184e37),_0x28e676?window[_0x21159f(0x2b1)][_0x21159f(0x124)]('','',_0x381dfa[_0x21159f(0xff)]()):window['history']['pushState']('','',_0x381dfa[_0x21159f(0xff)]());}['getParam'](_0x1ed15b){const _0x10d31=_0x58d8a2;var _0xa08f2f;return(_0xa08f2f=new URL(window['location']['href'])[_0x10d31(0xf3)][_0x10d31(0x272)](_0x1ed15b))!=null?_0xa08f2f:void 0x0;}}var _0x2fc9bd=Object['defineProperty'],_0x50cc37=Object[_0x58d8a2(0x139)],_0x4565b9=(_0x93a52,_0x4f26dc,_0x401d42)=>_0x4f26dc in _0x93a52?_0x2fc9bd(_0x93a52,_0x4f26dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x401d42}):_0x93a52[_0x4f26dc]=_0x401d42,_0x79c9b1=(_0x3d41b3,_0x5104df,_0x23e6a2,_0x24d007)=>{const _0x58b921=_0x58d8a2;for(var _0x56e370=_0x24d007>0x1?void 0x0:_0x24d007?_0x50cc37(_0x5104df,_0x23e6a2):_0x5104df,_0x246f32=_0x3d41b3[_0x58b921(0x1f7)]-0x1,_0x592ab6;_0x246f32>=0x0;_0x246f32--)(_0x592ab6=_0x3d41b3[_0x246f32])&&(_0x56e370=_0x592ab6(_0x56e370)||_0x56e370);return _0x56e370;},_0x1039c3=(_0x2b578f,_0x1bc488)=>(_0x3e626c,_0x35245c)=>_0x1bc488(_0x3e626c,_0x35245c,_0x2b578f),_0x2b9daf=(_0x5577d2,_0x497ef3,_0xf42948)=>_0x4565b9(_0x5577d2,_0x497ef3+'',_0xf42948);const _0x1ad2ce=_0x58d8a2(0x241);_0x20f7e8[_0x58d8a2(0x120)]=class extends _0x415f18['Plugin']{constructor(_0x5c4ab0=_0x1849cb,_0x540746,_0x334200,_0x23381a){const _0x4d1993=_0x58d8a2;super(),this[_0x4d1993(0x112)]=_0x5c4ab0,this[_0x4d1993(0x2ac)]=_0x540746,this['_injector']=_0x334200,this[_0x4d1993(0x290)]=_0x23381a;const {..._0x5b2d56}=_0x415f18[_0x4d1993(0x302)]({},_0x1849cb,this[_0x4d1993(0x112)]);this[_0x4d1993(0x290)][_0x4d1993(0x28c)](_0x48cd1b,_0x5b2d56);}[_0x58d8a2(0xfc)](){const _0xe50d42=_0x58d8a2;this['_registerDependencies'](),this[_0xe50d42(0x255)]();}[_0x58d8a2(0x33a)](){this['_registerRenderDependencies']();}[_0x58d8a2(0x21c)](){const _0x21c36a=_0x58d8a2;var _0x38c357;const _0x7974bd=[[_0x1689eb],[_0x286077],[_0x2a4434],[_0x2a73d0],[_0x19e043],[_0x2905ba],[_0x34b68f,{'useClass':_0x39f77b}],[_0x297528[_0x21c36a(0x10d)],{'useClass':_0x297528[_0x21c36a(0x355)]}],[_0x41f4b6['ILocalCacheService'],{'useClass':_0x54e0c2}],[_0x20f7e8[_0x21c36a(0x13c)]],[_0x188bb9],[_0x489c1e],[_0x49cf8d],[_0x4f2d52],[_0x20f7e8['CollaborationDataLoaderController']]];this['_config'][_0x21c36a(0x301)]&&_0x7974bd[_0x21c36a(0xec)]([_0x41d97c]),_0x415f18[_0x21c36a(0x13a)](this[_0x21c36a(0x129)],_0x415f18[_0x21c36a(0x26a)](_0x7974bd,(_0x38c357=this[_0x21c36a(0x112)])==null?void 0x0:_0x38c357['override']));}[_0x58d8a2(0x39c)](){const _0x51edac=_0x58d8a2;this[_0x51edac(0x1b7)](this[_0x51edac(0x2ac)]['registerRenderModule'](_0x415f18[_0x51edac(0x388)]['UNIVER_DOC'],[_0x50a3a6])),this[_0x51edac(0x1b7)](this[_0x51edac(0x2ac)]['registerRenderModule'](_0x415f18[_0x51edac(0x388)][_0x51edac(0x3ad)],[_0x28e136]));}['_initDependencies'](){const _0x3c87bf=_0x58d8a2;_0x415f18['touchDependencies'](this['_injector'],[[_0x49cf8d],[_0x20f7e8[_0x3c87bf(0x13c)]],[_0x188bb9],[_0x489c1e],[_0x20f7e8['CollaborationDataLoaderController']],[_0x286077]]),this[_0x3c87bf(0x112)][_0x3c87bf(0x301)]&&_0x415f18[_0x3c87bf(0x261)](this[_0x3c87bf(0x129)],[[_0x41d97c]]);}},_0x2b9daf(_0x20f7e8[_0x58d8a2(0x120)],'pluginName',_0x1ad2ce),_0x20f7e8[_0x58d8a2(0x120)]=_0x79c9b1([_0x415f18['DependentOn'](_0x41f4b6[_0x58d8a2(0x2dd)]),_0x1039c3(0x1,_0x364f72[_0x58d8a2(0x29d)]),_0x1039c3(0x2,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0x1039c3(0x3,_0x415f18['IConfigService'])],_0x20f7e8[_0x58d8a2(0x120)]);var _0x5f0571=Object[_0x58d8a2(0x139)],_0x4b3784=(_0x3de5de,_0x17e7a2,_0x69a40a,_0x36d64a)=>{const _0x5a6f96=_0x58d8a2;for(var _0x4bc748=_0x36d64a>0x1?void 0x0:_0x36d64a?_0x5f0571(_0x17e7a2,_0x69a40a):_0x17e7a2,_0x2ba17e=_0x3de5de[_0x5a6f96(0x1f7)]-0x1,_0x2672ae;_0x2ba17e>=0x0;_0x2ba17e--)(_0x2672ae=_0x3de5de[_0x2ba17e])&&(_0x4bc748=_0x2672ae(_0x4bc748)||_0x4bc748);return _0x4bc748;},_0xe612a3=(_0x2bf6db,_0x37ad41)=>(_0xb028d0,_0x242042)=>_0x37ad41(_0xb028d0,_0x242042,_0x2bf6db);_0x20f7e8[_0x58d8a2(0x334)]=class extends _0x41f4b6[_0x58d8a2(0x387)]{constructor(_0x1849dd,_0x5aa552,_0x600ebf,_0x327692,_0x1e1d48){super(_0x1849dd,_0x5aa552,_0x600ebf,_0x327692,_0x1e1d48);}async[_0x58d8a2(0x151)](_0xaffcf1){const _0x1fa7bb=_0x58d8a2,_0xd75016=await this[_0x1fa7bb(0x170)](),_0x254947=this[_0x1fa7bb(0x344)](_0xaffcf1,_0xd75016);return this[_0x1fa7bb(0x1fa)](_0x254947);}['_createSocketURL'](_0x57d30b,_0x32caca){const _0x538ea4=_0x58d8a2,_0x531724=typeof window>'u'?new URL(_0x57d30b):new URL(_0x57d30b,window[_0x538ea4(0x246)][_0x538ea4(0x2a5)]);_0x531724[_0x538ea4(0xf3)][_0x538ea4(0xfd)]('sessionTicket',_0x32caca);const _0x5b0e64=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x538ea4(0x246)][_0x538ea4(0xe5)]);return _0x5b0e64[_0x538ea4(0x272)](_0x538ea4(0x266))&&_0x531724[_0x538ea4(0xf3)][_0x538ea4(0xfd)](_0x538ea4(0x266),_0x5b0e64['get']('runId')),_0x531724[_0x538ea4(0xff)]();}async[_0x58d8a2(0x170)](){const _0x18779a=_0x58d8a2;var _0x29cc62,_0x4659a3,_0x4cb83a;const _0x420013=this[_0x18779a(0x290)][_0x18779a(0x221)](_0x41f4b6[_0x18779a(0x2b4)]),_0x3136b8=(_0x29cc62=_0x420013==null?void 0x0:_0x420013[_0x18779a(0x17c)])!=null?_0x29cc62:_0x41f4b6[_0x18779a(0x313)];return(_0x4cb83a=(_0x4659a3=(await this[_0x18779a(0x3b0)]['get'](_0x3136b8,{'headers':{'Content-Type':'application/json'}}))[_0x18779a(0x24a)])==null?void 0x0:_0x4659a3[_0x18779a(0x213)])!=null?_0x4cb83a:'';}},_0x20f7e8['BrowserCollaborationSocketService']=_0x4b3784([_0xe612a3(0x0,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0xe612a3(0x1,_0x415f18[_0x58d8a2(0x284)](_0x297528['HTTPService'])),_0xe612a3(0x2,_0x415f18[_0x58d8a2(0x385)]),_0xe612a3(0x3,_0x415f18[_0x58d8a2(0x3c1)]),_0xe612a3(0x4,_0xfd7b1f[_0x58d8a2(0x397)])],_0x20f7e8[_0x58d8a2(0x334)]);var _0xd970b2=Object[_0x58d8a2(0x139)],_0x39ab=(_0x3294cc,_0x10563c,_0x506e4f,_0x3d33af)=>{for(var _0x4b15bb=_0x3d33af>0x1?void 0x0:_0x3d33af?_0xd970b2(_0x10563c,_0x506e4f):_0x10563c,_0x7ffa92=_0x3294cc['length']-0x1,_0x25333d;_0x7ffa92>=0x0;_0x7ffa92--)(_0x25333d=_0x3294cc[_0x7ffa92])&&(_0x4b15bb=_0x25333d(_0x4b15bb)||_0x4b15bb);return _0x4b15bb;},_0x469630=(_0x204061,_0x109e6f)=>(_0x3bb360,_0x428328)=>_0x109e6f(_0x3bb360,_0x428328,_0x204061);_0x20f7e8[_0x58d8a2(0x27b)]=class extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(_0x3ffaca,_0x32810b,_0x581b77){const _0xd565fd=_0x58d8a2;super(),this[_0xd565fd(0x207)]=_0x3ffaca,this[_0xd565fd(0x3b0)]=_0x32810b,this[_0xd565fd(0x290)]=_0x581b77;}async[_0x58d8a2(0xdd)](_0x3aca6a,_0x461164,_0x41d33d,..._0x3b9a67){const _0x12a012=_0x58d8a2;var _0x33720f,_0x59641e,_0x419013,_0xfcfa91;const _0x325479=this[_0x12a012(0x207)]['getFocusedUnit']();if(!_0x325479)throw new Error(_0x12a012(0x364));const _0x3392b5=((_0x33720f=this[_0x12a012(0x290)][_0x12a012(0x221)](_0x41f4b6[_0x12a012(0x363)]))!=null?_0x33720f:_0x41f4b6[_0x12a012(0x244)])+'/'+_0x3aca6a+_0x12a012(0x315)+_0x461164,_0x3d2c66=new URL(window[_0x12a012(0x246)][_0x12a012(0x236)]),_0x121e41={'scriptId':_0x3aca6a,'runId':(_0x59641e=_0x3d2c66[_0x12a012(0xf3)][_0x12a012(0x272)]('runId'))!=null?_0x59641e:'','function':_0x461164,'unitId':_0x325479[_0x12a012(0x277)](),'argsOfFunction':JSON[_0x12a012(0xea)](_0x3b9a67),'invokeId':(_0x419013=_0x41d33d['invokeId'])!=null?_0x419013:'','executionId':(_0xfcfa91=_0x41d33d[_0x12a012(0x335)])!=null?_0xfcfa91:''};try{const _0x2c96a6=await this[_0x12a012(0x3b0)][_0x12a012(0x233)](_0x3392b5,{'body':_0x121e41});return _0x2c96a6[_0x12a012(0x24a)][_0x12a012(0x1b0)]&&_0x2c96a6[_0x12a012(0x24a)]['error'][_0x12a012(0x30e)]!==_0x1645b0['OK']?_0x12a012(0x1c6):_0x2c96a6[_0x12a012(0x24a)][_0x12a012(0x116)];}catch{return'Failed';}}},_0x20f7e8['RemoteUniscriptService']=_0x39ab([_0x469630(0x0,_0x415f18[_0x58d8a2(0x288)]),_0x469630(0x1,_0x415f18[_0x58d8a2(0x284)](_0x297528[_0x58d8a2(0x1d1)])),_0x469630(0x2,_0x415f18[_0x58d8a2(0x385)])],_0x20f7e8[_0x58d8a2(0x27b)]);const _0x3bf8cc=0x7530,_0x67bcc7=_0x58d8a2(0x2c0);class _0x59a19c extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(){const _0x151d21=_0x58d8a2;super(),_0x1a2e09(this,_0x151d21(0x360),_0x415f18['generateRandomId']()),_0x1a2e09(this,_0x151d21(0x311),new Set()),_0x1a2e09(this,_0x151d21(0x1c9),new Map()),_0x1a2e09(this,_0x151d21(0x346),null),_0x1a2e09(this,_0x151d21(0x271),new Map()),_0x1a2e09(this,_0x151d21(0x339),new Map()),this[_0x151d21(0x368)]();}[_0x58d8a2(0x126)](){const _0x6ee5fd=_0x58d8a2;super[_0x6ee5fd(0x126)](),this['_clearOtherTimers'][_0x6ee5fd(0x10a)]((_0x11e1a7,_0x5160cf)=>this[_0x6ee5fd(0x2c2)](_0x5160cf)),this[_0x6ee5fd(0x346)]&&window['clearInterval'](this[_0x6ee5fd(0x346)]);}[_0x58d8a2(0x38c)](_0x2e855b){const _0x3803aa=_0x58d8a2;return this['_ensureSubject'](_0x2e855b)[_0x3803aa(0xef)](_0x5a105f[_0x3803aa(0x2f9)]());}['editingUnit'](_0x10cda8){const _0x37e9fa=_0x58d8a2;this['_selfUnitIDs'][_0x37e9fa(0xda)]===0x0&&this[_0x37e9fa(0x10f)](),this['_selfUnitIDs'][_0x37e9fa(0x2a9)](_0x10cda8),this[_0x37e9fa(0x12b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x10cda8],'isForwarded':!0x1});}['disposeUnit'](_0x2b62df){const _0x4cebf3=_0x58d8a2;this['_selfUnitIDs'][_0x4cebf3(0x2e2)](_0x2b62df),this['_selfUnitIDs'][_0x4cebf3(0xda)]===0x0&&this[_0x4cebf3(0x346)]&&window[_0x4cebf3(0x1e8)](this[_0x4cebf3(0x346)]);}[_0x58d8a2(0x368)](){const _0x4412b6=_0x58d8a2;this['disposeWithMe'](_0x415f18[_0x4412b6(0x11a)](_0x5a105f[_0x4412b6(0x1f9)](window,_0x4412b6(0x20e))[_0x4412b6(0x33b)](_0xd0c548=>{const _0x4e7732=_0x4412b6;if(_0xd0c548[_0x4e7732(0xeb)]!==_0x67bcc7||!_0xd0c548[_0x4e7732(0x123)])return;const _0x346bd6=JSON[_0x4e7732(0x2c9)](_0xd0c548[_0x4e7732(0x123)]);this[_0x4e7732(0x18d)](_0x346bd6);}))),window['addEventListener'](_0x4412b6(0x2aa),()=>this['_send']({'type':0x1,'memberID':this[_0x4412b6(0x360)],'unitIDs':Array['from'](this[_0x4412b6(0x311)])}));}[_0x58d8a2(0x18d)](_0x4e4a81){const _0xcf7283=_0x58d8a2;switch(_0x4e4a81[_0xcf7283(0x25e)]){case 0x0:this[_0xcf7283(0x2ff)](_0x4e4a81);break;case 0x1:this[_0xcf7283(0x2fd)](_0x4e4a81);break;case 0x2:this[_0xcf7283(0x163)](_0x4e4a81);break;}}['_handleJoinEvent'](_0x59f89b){const _0x26a4c7=_0x58d8a2,{unitIDs:_0x35a1b6,memberID:_0x5280b0,isForwarded:_0x29e0b1}=_0x59f89b;_0x35a1b6[_0x26a4c7(0x10a)](_0x4eb4b4=>{const _0x525b17=_0x26a4c7;if(!_0x29e0b1&&this[_0x525b17(0x1c9)][_0x525b17(0x29a)](_0x4eb4b4)&&this[_0x525b17(0xdf)](_0x4eb4b4)[_0x525b17(0x1a7)](_0x41f4b6[_0x525b17(0x1ac)][_0x525b17(0x35b)]),!this[_0x525b17(0x1c9)][_0x525b17(0x29a)](_0x4eb4b4)||!this['_unitOnClients']['get'](_0x4eb4b4)[_0x525b17(0x29a)](_0x5280b0)){const _0x2da0c4=this[_0x525b17(0x1c9)][_0x525b17(0x272)](_0x4eb4b4)||new Set();_0x2da0c4[_0x525b17(0x2a9)](_0x5280b0),this[_0x525b17(0x1c9)][_0x525b17(0xfd)](_0x4eb4b4,_0x2da0c4),this['_scheduleClearOtherTimer'](_0x5280b0);}}),_0x29e0b1||this[_0x26a4c7(0x12b)]({'type':0x0,'memberID':this[_0x26a4c7(0x360)],'unitIDs':[...this[_0x26a4c7(0x311)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3ba98b){const _0x4f6f52=_0x58d8a2;this[_0x4f6f52(0x2c2)](_0x3ba98b);const _0x53843a=window[_0x4f6f52(0x369)](()=>{const _0x29a373=_0x4f6f52;this[_0x29a373(0x1c9)][_0x29a373(0x10a)](_0x3ee692=>{const _0x26f93f=_0x29a373;_0x3ee692[_0x26f93f(0x2e2)](_0x3ba98b);});},_0x3bf8cc*0x2);this['_clearOtherTimers'][_0x4f6f52(0xfd)](_0x3ba98b,_0x53843a);}[_0x58d8a2(0x2c2)](_0x568b46){const _0x4ac0e5=_0x58d8a2;if(this[_0x4ac0e5(0x271)][_0x4ac0e5(0x29a)](_0x568b46)){const _0x41a39c=this[_0x4ac0e5(0x271)]['get'](_0x568b46);_0x41a39c&&window[_0x4ac0e5(0xf0)](_0x41a39c),this[_0x4ac0e5(0x271)]['set'](_0x568b46,null);}}[_0x58d8a2(0x2fd)](_0x5e4726){const _0x558e2e=_0x58d8a2,{memberID:_0xa68738,unitIDs:_0x4f006d}=_0x5e4726;_0x4f006d[_0x558e2e(0x10a)](_0x260aae=>{const _0x557999=_0x558e2e;var _0xee7d99;const _0x3ecff3=this[_0x557999(0x1c9)]['get'](_0x260aae);_0x3ecff3&&(_0x3ecff3['delete'](_0xa68738),(_0xee7d99=this['_ensureSubject'](_0x260aae))==null||_0xee7d99[_0x557999(0x1a7)](_0x3ecff3['size']===0x0?_0x41f4b6[_0x557999(0x1ac)][_0x557999(0xd7)]:_0x41f4b6[_0x557999(0x1ac)]['OTHER_CLIENTS_EDITING']));}),this[_0x558e2e(0x2c2)](_0xa68738);}[_0x58d8a2(0x163)](_0x4040d2){const _0x10b7b0=_0x58d8a2;this[_0x10b7b0(0x114)](_0x4040d2['memberID']);}[_0x58d8a2(0x12b)](_0xdf362d){localStorage['setItem'](_0x67bcc7,JSON['stringify'](_0xdf362d));}[_0x58d8a2(0x10f)](){const _0x4fc007=_0x58d8a2;this['_heartbeatTimer']=window[_0x4fc007(0x28e)](()=>{const _0x1980c0=_0x4fc007;this[_0x1980c0(0x12b)]({'type':0x2,'memberID':this[_0x1980c0(0x360)]});},_0x3bf8cc);}[_0x58d8a2(0xdf)](_0x3f7b9e){const _0x49d784=_0x58d8a2;return this[_0x49d784(0x339)][_0x49d784(0x29a)](_0x3f7b9e)||this[_0x49d784(0x339)][_0x49d784(0xfd)](_0x3f7b9e,new _0x5a105f[(_0x49d784(0x379))](_0x41f4b6[_0x49d784(0x1ac)][_0x49d784(0xd7)])),this[_0x49d784(0x339)][_0x49d784(0x272)](_0x3f7b9e);}}_0x20f7e8['IURLService']=_0x34b68f,_0x20f7e8[_0x58d8a2(0x1b3)]=_0x5592f4,_0x20f7e8[_0x58d8a2(0x165)]=_0x59a19c,_0x20f7e8[_0x58d8a2(0x157)]=_0x39f77b,Object[_0x58d8a2(0x210)](_0x20f7e8,Symbol['toStringTag'],{'value':'Module'});}));function _0x596a(){const _0x560855=['svg','getSheetObject','IMessageService','START_CALCULATION','_anchorDot','479324edcZGP','PY_RUNTIME_SCRIPT_ERROR','EMAIL_VERIFY_CODE_MISMATCH','type','purple.300','urlChange$','touchDependencies','APPLY_DUPLICATED','includes','black','deepClone','runId','SOCKET_FAILED_RETRY','getSkeleton','@univerjs/design','mergeOverrideWithDependencies','subunit','_univerInstanceService','@univerjs/network','green.600','_notificationService','_initStatusListener','_clearOtherTimers','get','_disabled','0\x200\x2017\x2016','getCoordByCell','fill','getUnitId','getAncestorScale','Unknown\x20user','_range','RemoteUniscriptService','Tools','stage','MOBILE_VERIFY_CODE_MISMATCH','_drawTextRange','_onCursorUpdate','uni.network.url-service','white','toRgbString','Inject','_setFormulaLimitStatus','handleIRemoveRow','TEXT_RANGE_LAYER_INDEX','IUniverInstanceService','selections','getCurrentRevOfUnit','getRenderById','setConfig','ranges','setInterval','round','_configService','cursorInfo$','from','TOO_MANY_REQUESTS','assign','REDEMPTION_INVALID_CODE','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getLocalCacheKey','_docTransformStateCacheService','getMemberID','has','_labelPosition','RichTextEditingMutation','IRenderManagerService','setParam','CONNECTOR_DATA_TOO_LARGE','evenodd','RevisionService','filter','focused$','startFormulaLimitUrl','origin','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_MAX_UNITS_EXCEEDED','_checkAndWaitForCalculationPermission','add','unload','sheetId','_renderManagerService','currentTheme$','RefRangeService','_updateSubUnitFromURLParams','onMouseMove','history','_initEntityListener','_updateLocalCursor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','eventID','setAlpha','onTransformChange$','unhandledrejection','Rectangle','_roomMembers$','isArray','LOCAL_CACHE_INTERVAL','517NWHXyJ','sessionStatus$','/universer-api/license/formula/limit/start','ACTIVE_UNIT_EVENT_CHANNEL','fillStyle','_removeClearOtherTimer','on-line-icon_clip0_910_349','handleIRemoveCol','_handleHover','fillRule','forwardRef','setShapeProps','parse','React','RemoveRowCommandId','DocStateChangeManagerService','text','_docTransformIMECacheService','m1Prime','NodePositionConvertToRectRange','_docSkeletonManagerService','EffectRefRangId','addObjects','lineno','engine','getOffsetConfig','collabStatus.syncing','registerRefRange','_collabCursorController','memberID','off-line-icon','transformMutation','UniverCollaborationClientPlugin','COLORS','getMember','WECHAT_HAS_BEEN_BOUND','UNAUTHENTICATED','delete','getUniverSheetInstance','unitId','collabCursorState$','_initCommandExecutedListener','_lastPointer','_hover','UNIVER_DOC','substring','_startSheetCollabCursor','unitID','9557896Fgpmbr','InsertRowCommandId','releaseFormulaLimitUrl','bottom','DeleteRangeMoveLeftCommandId','getParam','APPLY_REVISION_CONFILICT','HEADER_MENU','INVALID_ARGUMENT','CURRENT_STATUS_CANNOT_OPERATE','ENTITLE_INVALID_COUPON_CODE','collab-rect-range-','distinctUntilChanged','MessageType','startColumn','findNodePositionByCharIndex','_handleLeaveEvent','FromArray','_handleJoinEvent','m2Prime','enableFrontendLog','merge','loadOfflineData','syncEditingCollabCursor','range','children','current','send','@univerjs/engine-formula','UniverCore','_startCalculationLimit','endRow','PAYMENT_CHANNEL_NOT_SUPPORT','code','getTypeOfUnitDisposed$','[Window\x20Error]:\x20','_selfUnitIDs','UniverProCollaboration','DEFAULT_WS_SESSION_TICKET_URL','addHandlerCallback','/run/','_localStorageService','Vector2','complete','disableLocalCache','ERROR_AGAIN','_syncEditingCollabCursorService','MUTATION','mapTo','onPointerEnter$','_updateCollabCursors','saveImage','_hovered','UniverDrawing','handleInsertRangeMoveRight','colorChannel1','collab-text-anchor-','CHANGESET_REVISION_CONFILICT','YUUMI_URL_COL_OUT_OF_RANGE','isFormulaString','_setupBeforeClosingHandler','bind','YUUMI_SUBSCRIPTION_NOT_FOUND','_urlService','moveTo','_transformService','Tooltip','idSuffix','FormulaExecutedStateType','APPLY_NON_SEQUENTIAL_REVISION','removeParam','BrowserCollaborationSocketService','executionId','font','setItem','_getScale','_unitStatus','onRendered','subscribe','Error','_initResize','attrs','isFormulaId','OffLineIcon','stack','_docSkeleton','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_createSocketURL','REDEMPTION_USER_NOT_ELIGIBLE','_heartbeatTimer','restore','_updateURLWithCurrentState','map','subUnitId','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationUIEventId','IRemoteInstanceService','hovered','LOCAL_CACHE_INTERVAL_KEY','_color','Subject','all','measureText','generateRandomId','WebSocketService','7hOJlkW','InsertColCommandId','random','assignAColorForMemberID','755304IUexiw','OTHER_CLIENTS_EDITING','combineLatest','stageInfo','UniverProCollaborationClient','handleInsertRangeMoveDown','_id','clsx','isTransformMutationFailure','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ColorKit','_applyCommand','DocSelectionManagerService','_init','setTimeout','_toggleOffline','contains','_logService','[CollaborationDataLoaderController]','InsertRangeMoveRightCommandId','UniverDocsUi','getCollabCursors$','lineTo','CollaborationEvent','EMAIL_HAS_BEEN_BOUND','off-line-icon_clip0_910_343','_saveCache','_eventUnsubscribe','reconnect','_backgroundColor','BehaviorSubject','/universer-api/license/formula/limit/done','isActive','_initCommandInterceptor','_transformHistoryAndStateStack','string','exhaustSavingTask','defIds','USER_NOT_FOUND','ENTITLE_COUPON_EXPIRED','Rect','status$','IConfigService','replaceDocRanges','CollaborationSocketService','UniverInstanceType','1em','62XSBNQf','actions','getUnitStatus$','SetTextSelectionsOperation','DATA_SOURCE_TOO_LARGE','DeleteRangeMoveUpCommandId','_anchor','_colorAssignService','handleDeleteRangeMoveUp','ENTITLE_NEED_BILLING_ADDRESS','_taskIds','IDocClipboardService','fillText','ISnapshotServerService','switchMap','_entities','_startDocCollabCursor','entries','_registerRenderDependencies','SetDocZoomRatioOperation','function','_collaborationController','INVITE_CODE_ALREADY_BOUND','ILocalStorageService','_getSheetObject','yellow.400','collaboration.closeRoom','loadUnit','_drawAnchor','Injector','LICENSE_DISTRO_REJECTED','LICENSE_EXPORT_SIZE_EXCEEDED','SetFormulaCalculationStartMutation','none','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UNIVER_SHEET','mutations','_shapes','_httpService','AUTHORIZE_CODE_ILLEGAL','currentUsage','NOT_FOUND','jsx','_cursor','UniverSheetsUi','INVITE_CODE_REQUIRED','width','_refreshCollabCursors','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getViewport','row','source','REDEMPTION_CODE_INACTIVE','permission.title','executeCommand','ILogService','REDEMPTION_CODE_NOT_STARTED','getUnhiddenWorksheets','UniverIcon','height','@univerjs/rpc','collabStatus.synced','NO_OTHER_CLIENTS_EDITING','requireSession','getColor','size','imageSourceType','handleMoveRange','runOnServer','SYNCED','_ensureSubject','closePath','collabStatus.conflict','ENTITLE_CAN_NOT_BUY_LOWER_OTP','#FFF','column','search','_draw','textRanges','_lastResponseTimestamp','show','stringify','key','push','OFFLINE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','pipe','clearTimeout','debounceTime','DocSkeletonManagerService','searchParams','registerComponent','getColorFromTheme','_collaborationSessionService','beginPath','_onCursorDelete','Warning','_localeService','M0\x200H16V16H0z','onStarting','set','jsxs','toString','useRef','RxDisposable','drawWith','_getMergeRange','ENTITLE_INSUFFICIENT_QUOTA','event$','displayName','whenReady','isTransformMutationsWithChangesetSuccess','_scene','forEach','session.collaboration-timeout','with','ISocketService','_document','_scheduleHeartbeat','then','replace','_config','CollaborationDataLoaderController','_scheduleClearOtherTimer','getRangePointData','result','_messageService','blue.400','jiqing.500','toDisposable','xlink:href','roomMembers','TRANSFORM_CHANGE_OBSERVABLE_TYPE','createInstance','getActiveSheet','UniverCollaborationClientUIPlugin','div','unshift','newValue','replaceState','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','dispose','selection','univer-mr-2\x20univer-flex\x20univer-text-xl','_injector','CollaborationUIEventService','_send','path','filename','_sheetSkeletonManagerService','url(#$1','[Unhandled\x20Rejection]:\x20','collaboration.single-unit.warning','getSheetId','UniverDocs','hide','_beforeCloseService','_initWindowErrorListener','RECT','OTHER_CLIENT_EDITING','getOwnPropertyDescriptor','registerDependencies','_colorIndex','DesktopCollaborationStatusDisplayController','_removeCollabCursors','top','saveTaskMap','INTERNAL_ERROR','deserializeRangeWithSheet','_hideTimer','USERS_LEAVE','setActiveRange','values','docStateChange$','onCommandExecuted','collab-client.tooltip.reconnect','_localCacheService','YUUMI_ASYNCIO_CANCELLED','skeleton','UNDEFINED','triggerDblclick','_getFormulaLimitStatus','getDocRanges','_cursors','createSocket','UNRECOGNIZED','@univerjs-pro/collaboration-client','updateOfflineData','backgroundColor','CollaborationStatus','WebURLService','defs','undoState','@univerjs/core','data','@univerjs-pro/collaboration','_uploadLog','reason','isEditing','max','_initEvent','YUUMI_RATE_OVER_LIMIT','_handleHeartbeatEvent','mask','WebBrowserSingleActiveUnitService','limitInfo','_status$','YUUMI_NO_CUBOID_FOR_QUESTION','arc','_currentUsage','Workbook','1268210dALUXw','socket$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_showGuardMessage','_getSessionTicket','_session','getSheetBySheetId','debounce','CollaborationController','_online','beforeCommandExecuted','getValue','UniverSheets','_uiPartsService','currentColor','InsertRangeMoveDownCommandId','wsSessionTicketUrl','_transformPreviousActiveRange','dispose$','_entityInit$','entityInit$','SOCKET_FAILED','operators','_initStatusComponent','PENDING','roomMembers$','_memberID','69357gaxleL','_setupSubUnitSync','SUCCESS','asObservable','_hasFormulaInDirtyRanges','transformRemoteChangeset','_handleEvent','SessionStatus','_scheduleSaving','addEventListener','_revisionService','serializeRangeWithSheet','_saveTaskMap','COMPLETION_FINISHED','split','ENTITLE_CHAT_LIMIT_EXCEED','_assignedColors','DocIMEInputManagerService','unsubscribe','_pollingInterval','_render','_name','transform','USER_NOT_INVITED_CODE','_dataLoaderService','_docTransformSelectionsService','YUUMI_CONNECTOR_URL_NOT_FOUND','endColumn','@univerjs/docs','\x20at\x20','getFocusedUnit','subscribeEvent','next','getMergeData','addObject','getCollabEntity$','on-line-icon','UnitStatus','MoveRangeCommandId','enableLocalCache','_docStateChangeManagerService','error','_initUnhandledRejectionListener','Disposable','SheetCollabCursorShape','rxjs/operators','removeEventListener','join','disposeWithMe','_getSaveTimeout','SetFormulaCalculationNotificationMutation','fromEventSubject','popstate','setUndoRedoMutationParamsCache','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','transformByState','_clearPolling','INVALID_INVITE_CODE','_transformUndoRedoStack','getTypeOfUnitAdded$','_maxFormulaLimit','_collabSessionService','functionsExecutedState','Failed','debug','?taskId=','_unitOnClients','DOC_RANGE_TYPE','unit','_refRangeService','_context','univer-flex\x20univer-items-center','flatMap','labelPosition','HTTPService','5UYCTBY','_docClipboardService','getCurrentSelections','UniverRpc','MOBILE_HAS_BEEN_BOUND','_cursorInfo$','_themeService','ONLINE','_monkeyPatchLogService','transformIMECache','_cursorShapes','_docSyncEditingCollabCursorService','_commandService','SUBMIT_CHANGESET_TIMEOUT','@univerjs/sheets','tag','makeDirty','init','getCurrentUnitForType','ThemeService','...','_initUserListener','clearInterval','startRow','YUUMI_UNABLE_LOAD_URL','startsWith','NOT_COLLAB','YUUMI_AI_RUN_FAILED','url(#on-line-icon_clip0_910_349)','cursorInfo','ENSURE_SNAPSHOT_EXECUTION','object','RegularPolygon','APPLY_REJECT','amd','translate(.97)','LOGIN_TOKEN_PROCESSING_FAILED','length','LocaleService','fromEvent','_doCreateSocket','min','_textBubble','getformulaLimitStatusUrl','formula.calculation.unable','UniverEngineFormula','getStateCache','UPDATE_CURSOR','doc.mutation.rich-text-editing','takeUntil','_collabCursorState$','totalFormulasToCalculate','NodePositionConvertToCursor','_instanceService','save','params','redoState','ENTITLE_DUP_SUBSCRIPTION','CollaborationSessionService','_releaseCalculationLimit','storage','YUUMI_ALL_TABLES_IS_INVALID','defineProperty','RemoveColCommandId','getVpScrollXYInfoByPosToVp','ticket','IBeforeCloseService','collabStatus.fetchMiss','Shape','onPointerLeave$','clipPath','ITransformService','_onRefRangeChange','/universer-api/frontend/logs','_registerDependencies','resize','parseInt','Success','_getAnchorBounding','getConfig','_memberService','now','APPLY_PERMISSION_DENIED','find','collaboration.offline-data-not-saved','ENTITLE_COUPON_USED_UP','getRelativeToViewportCoord','CONFLICT','UniverProCollaborationClientUi','85517qhoBCI','react/jsx-runtime','_toggleOnline','ICommandService','LICENSE_IMPORT_SIZE_EXCEEDED','currentSkeleton$','DataLoaderService','color','post','SNAPSHOT_INVALID_SNAPSHOT','@univerjs/drawing','href','_checkCalculationAvailable','SheetSkeletonManagerService','_collaborationUIEventService','CommandType','createElement','CLOSE_ROOM','[LogService\x20Error]:\x20','SHEET_VIEWPORT_KEY','throttleTime','setStateCache','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ALREADY_EXISTS','DocCollaborationEntity','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','REDEMPTION_CODE_FULLY_REDEEMED','location','INVITE_CODE_HAS_BEEN_UES','UniverDesign','_cachedData','body','9uzsutz','univerjs-icon\x20univerjs-icon-','1718112VJOQEY','UniverEngineRender','http://www.w3.org/2000/svg','REDEMPTION_CODE_HAS_BEEN_CREATED','formula.calculation.started','transformStateCache','rxjs','name','_initDependencies'];_0x596a=function(){return _0x560855;};return _0x596a();}
1
+ (function(_0x4f3322,_0x279ef4){const _0x11eea3=_0x1c91,_0xa57bf9=_0x4f3322();while(!![]){try{const _0x2d45ce=parseInt(_0x11eea3(0x36b))/0x1+-parseInt(_0x11eea3(0x304))/0x2*(-parseInt(_0x11eea3(0x284))/0x3)+parseInt(_0x11eea3(0x1eb))/0x4+-parseInt(_0x11eea3(0x309))/0x5*(parseInt(_0x11eea3(0x453))/0x6)+parseInt(_0x11eea3(0x418))/0x7*(parseInt(_0x11eea3(0x3cb))/0x8)+-parseInt(_0x11eea3(0x31e))/0x9+-parseInt(_0x11eea3(0x1f1))/0xa*(parseInt(_0x11eea3(0x228))/0xb);if(_0x2d45ce===_0x279ef4)break;else _0xa57bf9['push'](_0xa57bf9['shift']());}catch(_0x39bdba){_0xa57bf9['push'](_0xa57bf9['shift']());}}}(_0x5e56,0x9b528),function(_0x39214c,_0x230597){const _0x9b12a0=_0x1c91;typeof exports==_0x9b12a0(0x494)&&typeof module<'u'?_0x230597(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[_0x9b12a0(0x476)]?define(['exports',_0x9b12a0(0x2b3),_0x9b12a0(0x437),_0x9b12a0(0x4c9),_0x9b12a0(0x4bd),_0x9b12a0(0x417),_0x9b12a0(0x3e5),'react',_0x9b12a0(0x30e),_0x9b12a0(0x350),_0x9b12a0(0x34c),'@univerjs/network',_0x9b12a0(0x31d),'@univerjs/drawing','@univerjs-pro/collaboration',_0x9b12a0(0x3b2),_0x9b12a0(0x459),'rxjs/operators',_0x9b12a0(0x201)],_0x230597):(_0x39214c=typeof globalThis<'u'?globalThis:_0x39214c||self,_0x230597(_0x39214c['UniverProCollaborationClientUi']={},_0x39214c['React'],_0x39214c[_0x9b12a0(0x493)],_0x39214c[_0x9b12a0(0x49b)],_0x39214c['UniverUi'],_0x39214c[_0x9b12a0(0x417)],_0x39214c[_0x9b12a0(0x4b4)],_0x39214c[_0x9b12a0(0x253)],_0x39214c[_0x9b12a0(0x473)],_0x39214c[_0x9b12a0(0x463)],_0x39214c[_0x9b12a0(0x3ef)],_0x39214c[_0x9b12a0(0x307)],_0x39214c[_0x9b12a0(0x3b5)],_0x39214c['UniverDrawing'],_0x39214c['UniverProCollaboration'],_0x39214c[_0x9b12a0(0x207)],_0x39214c[_0x9b12a0(0x39f)],_0x39214c[_0x9b12a0(0x417)][_0x9b12a0(0x2d0)],_0x39214c[_0x9b12a0(0x2c9)]));}(this,function(_0x578c06,_0x1e9aca,_0x19bf42,_0x34f1d8,_0x2d6b7e,_0x385e00,_0x1dffd2,_0x1009fb,_0x38b5cc,_0xf2a465,_0x20bbd1,_0x22f61a,_0x47a231,_0x55b404,_0x40c5dd,_0x49d9c8,_0x35db63,_0x345861,_0x4d9d5f){'use strict';const _0x369468=_0x1c91;var _0x8d09d1=Object[_0x369468(0x432)],_0x163c4e=(_0x3230e1,_0x5aa058,_0x57e56d)=>_0x5aa058 in _0x3230e1?_0x8d09d1(_0x3230e1,_0x5aa058,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57e56d}):_0x3230e1[_0x5aa058]=_0x57e56d,_0x45ff9b=(_0x1c7f31,_0x38214b,_0x52e6cf)=>_0x163c4e(_0x1c7f31,typeof _0x38214b!=_0x369468(0x301)?_0x38214b+'':_0x38214b,_0x52e6cf);function _0x493feb({ref:_0x3c1ce5,..._0x1607a2}){const _0x58b108=_0x369468,{icon:_0x245ac1,id:_0x1717f4,className:_0x1f5b4f,extend:_0x5ad2f7,..._0x2613ab}=_0x1607a2,_0x18c579=('univerjs-icon\x20univerjs-icon-'+_0x1717f4+'\x20'+(_0x1f5b4f||''))['trim'](),_0x4b8b04=_0x1009fb['useRef']('_'+_0x598d11());return _0x2896cc(_0x245ac1,''+_0x1717f4,{'defIds':_0x245ac1[_0x58b108(0x44b)],'idSuffix':_0x4b8b04[_0x58b108(0x283)]},{'ref':_0x3c1ce5,'className':_0x18c579,..._0x2613ab},_0x5ad2f7);}function _0x2896cc(_0xb2409f,_0x20e097,_0x52dd58,_0x4eaca0,_0x5e001e){const _0x435ec1=_0x369468;return _0x1009fb['createElement'](_0xb2409f['tag'],{'key':_0x20e097,..._0x4e7053(_0xb2409f,_0x52dd58,_0x5e001e),..._0x4eaca0},(_0x39321d(_0xb2409f,_0x52dd58)['children']||[])['map']((_0xc4f9ab,_0x11c0cd)=>_0x2896cc(_0xc4f9ab,_0x20e097+'-'+_0xb2409f[_0x435ec1(0x32f)]+'-'+_0x11c0cd,_0x52dd58,void 0x0,_0x5e001e)));}function _0x4e7053(_0x3bf0a1,_0xec2364,_0x15436d){const _0x41f65b=_0x369468,_0x2584c1={..._0x3bf0a1[_0x41f65b(0x466)]};_0x15436d!=null&&_0x15436d[_0x41f65b(0x3d4)]&&_0x2584c1[_0x41f65b(0x208)]===_0x41f65b(0x3d4)&&(_0x2584c1['fill']=_0x15436d[_0x41f65b(0x3d4)]),_0x3bf0a1[_0x41f65b(0x32f)]===_0x41f65b(0x3f0)&&_0x2584c1['id']&&(_0x2584c1['id']=_0x2584c1['id']+_0xec2364[_0x41f65b(0x2f0)]),Object[_0x41f65b(0x351)](_0x2584c1)[_0x41f65b(0x336)](([_0x5a3812,_0x5f3d2a])=>{const _0x4cab42=_0x41f65b;_0x5a3812===_0x4cab42(0x3f0)&&typeof _0x5f3d2a==_0x4cab42(0x3c6)&&(_0x2584c1[_0x5a3812]=_0x5f3d2a[_0x4cab42(0x345)](/url\(#(.*)\)/,_0x4cab42(0x406)+_0xec2364[_0x4cab42(0x2f0)]+')'));});const {defIds:_0x6ef835}=_0xec2364;return!_0x6ef835||_0x6ef835[_0x41f65b(0x411)]===0x0||(_0x3bf0a1[_0x41f65b(0x32f)]===_0x41f65b(0x426)&&_0x2584c1[_0x41f65b(0x424)]&&(_0x2584c1[_0x41f65b(0x424)]=_0x2584c1[_0x41f65b(0x424)]+_0xec2364[_0x41f65b(0x2f0)]),Object[_0x41f65b(0x351)](_0x2584c1)[_0x41f65b(0x336)](([_0x438b4f,_0x51108f])=>{const _0x54d8f9=_0x41f65b;typeof _0x51108f=='string'&&(_0x2584c1[_0x438b4f]=_0x51108f['replace'](/url\(#(.*)\)/,_0x54d8f9(0x406)+_0xec2364[_0x54d8f9(0x2f0)]+')'));})),_0x2584c1;}function _0x39321d(_0x50bcd2,_0x202354){const _0x414db3=_0x369468;var _0x5c032b;const {defIds:_0x47e236}=_0x202354;return!_0x47e236||_0x47e236[_0x414db3(0x411)]===0x0?_0x50bcd2:_0x50bcd2[_0x414db3(0x32f)]===_0x414db3(0x492)&&((_0x5c032b=_0x50bcd2['children'])!=null&&_0x5c032b[_0x414db3(0x411)])?{..._0x50bcd2,'children':_0x50bcd2[_0x414db3(0x1fb)][_0x414db3(0x2ce)](_0x5673d7=>typeof _0x5673d7[_0x414db3(0x466)]['id']==_0x414db3(0x3c6)&&_0x47e236&&_0x47e236[_0x414db3(0x23b)](_0x5673d7[_0x414db3(0x466)]['id'])?{..._0x5673d7,'attrs':{..._0x5673d7[_0x414db3(0x466)],'id':_0x5673d7[_0x414db3(0x466)]['id']+_0x202354[_0x414db3(0x2f0)]}}:_0x5673d7)}:_0x50bcd2;}function _0x598d11(){const _0x4cb14a=_0x369468;return Math[_0x4cb14a(0x380)]()[_0x4cb14a(0x45f)](0x24)[_0x4cb14a(0x47d)](0x2,0x8);}_0x493feb['displayName']=_0x369468(0x3c9);const _0x11880f={'tag':'svg','attrs':{'xmlns':_0x369468(0x469),'fill':_0x369468(0x4a1),'viewBox':_0x369468(0x332),'width':_0x369468(0x383),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x369468(0x323)},'children':[{'tag':_0x369468(0x352),'attrs':{'stroke':_0x369468(0x2e7),'d':_0x369468(0x30c),'strokeLinecap':_0x369468(0x46c),'strokeLinejoin':_0x369468(0x46c),'strokeWidth':1.2}}]},{'tag':_0x369468(0x492),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x369468(0x44e)},'children':[{'tag':_0x369468(0x352),'attrs':{'fill':_0x369468(0x2fd),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x369468(0x44e)]},_0x5eb87c=_0x1009fb[_0x369468(0x46f)](function(_0x52a491,_0x2269fb){const _0x597847=_0x369468;return _0x1009fb['createElement'](_0x493feb,Object['assign']({},_0x52a491,{'id':_0x597847(0x243),'ref':_0x2269fb,'icon':_0x11880f}));});_0x5eb87c[_0x369468(0x2aa)]=_0x369468(0x4d4);const _0x4255ee={'tag':_0x369468(0x2a2),'attrs':{'xmlns':_0x369468(0x469),'fill':_0x369468(0x4a1),'viewBox':_0x369468(0x29e),'width':_0x369468(0x383),'height':_0x369468(0x383)},'children':[{'tag':'g','attrs':{'clipPath':_0x369468(0x2dd)},'children':[{'tag':'path','attrs':{'stroke':_0x369468(0x2e7),'d':_0x369468(0x2f1),'strokeLinecap':_0x369468(0x46c),'strokeLinejoin':_0x369468(0x46c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x369468(0x2f8),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x369468(0x310),'transform':_0x369468(0x3ea)}}]}]}],'defIds':[_0x369468(0x404)]},_0x3d2a27=_0x1009fb['forwardRef'](function(_0x2f45ac,_0x2a9911){const _0x119578=_0x369468;return _0x1009fb[_0x119578(0x3b9)](_0x493feb,Object[_0x119578(0x2f7)]({},_0x2f45ac,{'id':_0x119578(0x457),'ref':_0x2a9911,'icon':_0x4255ee}));});_0x3d2a27[_0x369468(0x2aa)]=_0x369468(0x21d);function _0x4259b8(_0x17380b){const _0x3b3b41=_0x369468;switch(_0x17380b){case _0x19bf42[_0x3b3b41(0x245)][_0x3b3b41(0x26a)]:return _0x3b3b41(0x436);case _0x19bf42[_0x3b3b41(0x245)][_0x3b3b41(0x263)]:return'collabStatus.conflict';case _0x19bf42['CollaborationStatus'][_0x3b3b41(0x277)]:return'collabStatus.fetchMiss';case _0x19bf42[_0x3b3b41(0x245)]['NOT_COLLAB']:return _0x3b3b41(0x1f8);case _0x19bf42['CollaborationStatus'][_0x3b3b41(0x3e2)]:case _0x19bf42[_0x3b3b41(0x245)][_0x3b3b41(0x329)]:return'collabStatus.syncing';case _0x19bf42[_0x3b3b41(0x245)][_0x3b3b41(0x434)]:case _0x19bf42[_0x3b3b41(0x245)][_0x3b3b41(0x405)]:return'collabStatus.synced';}}function _0x159020(_0x4faa45){const _0x379fc9=_0x369468,{status$:_0x165097}=_0x4faa45,_0x452ae6=_0x2d6b7e[_0x379fc9(0x272)](_0x165097,_0x19bf42[_0x379fc9(0x245)][_0x379fc9(0x24b)]),_0x4eecfc=_0x2d6b7e[_0x379fc9(0x4c0)](_0x34f1d8[_0x379fc9(0x33e)]),_0x547f83=_0x2d6b7e[_0x379fc9(0x4c0)](_0x19bf42[_0x379fc9(0x474)]),_0x43e64f=_0x452ae6!==_0x19bf42['CollaborationStatus'][_0x379fc9(0x26a)],_0x261ce6=_0x4eecfc['t'](_0x4259b8(_0x452ae6)),_0x164723=_0x43e64f?_0x1e9aca[_0x379fc9(0x318)](_0x3d2a27,{}):_0x1e9aca['jsx'](_0x5eb87c,{}),_0x295816=_0x1009fb[_0x379fc9(0x333)](()=>{_0x43e64f||_0x547f83['reconnect']();},[_0x43e64f,_0x547f83]);function _0x371db4(){const _0x13ef6f=_0x379fc9;return _0x1e9aca[_0x13ef6f(0x3e8)](_0x13ef6f(0x250),{'className':_0x13ef6f(0x3a2),'onClick':_0x295816,'children':[_0x1e9aca[_0x13ef6f(0x318)](_0x13ef6f(0x250),{'className':_0x1dffd2[_0x13ef6f(0x4b9)](_0x13ef6f(0x353),{'univer-text-green-500':_0x43e64f,'univer-text-red-500':!_0x43e64f}),'children':_0x164723}),_0x1e9aca['jsx'](_0x13ef6f(0x250),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x261ce6})]});}return _0x43e64f?_0x371db4():_0x1e9aca['jsx'](_0x1dffd2[_0x379fc9(0x22e)],{'title':_0x4eecfc['t']('collab-client.tooltip.reconnect'),'children':_0x371db4()});}var _0x97e350=Object['getOwnPropertyDescriptor'],_0x223553=(_0x2f4b94,_0x38a68c,_0x459e2b,_0x3214c1)=>{const _0x91c0ee=_0x369468;for(var _0x5219d5=_0x3214c1>0x1?void 0x0:_0x3214c1?_0x97e350(_0x38a68c,_0x459e2b):_0x38a68c,_0x276541=_0x2f4b94[_0x91c0ee(0x411)]-0x1,_0x412745;_0x276541>=0x0;_0x276541--)(_0x412745=_0x2f4b94[_0x276541])&&(_0x5219d5=_0x412745(_0x5219d5)||_0x5219d5);return _0x5219d5;},_0xdbba48=(_0x24908c,_0x686a78)=>(_0x40495a,_0x1e566c)=>_0x686a78(_0x40495a,_0x1e566c,_0x24908c);_0x578c06['DesktopCollaborationStatusDisplayController']=class extends _0x34f1d8[_0x369468(0x3ac)]{constructor(_0x29f0e0,_0x7042bd,_0x87c2b2,_0x1feb98){const _0x14b61f=_0x369468;super(),_0x45ff9b(this,_0x14b61f(0x22f),new _0x385e00[(_0x14b61f(0x2e1))](_0x19bf42[_0x14b61f(0x245)][_0x14b61f(0x24b)])),(this[_0x14b61f(0x31f)]=_0x29f0e0,this[_0x14b61f(0x483)]=_0x7042bd,this[_0x14b61f(0x43e)]=_0x87c2b2,this[_0x14b61f(0x4c1)]=_0x1feb98,this[_0x14b61f(0x2e9)](),this[_0x14b61f(0x3a9)]());}['_initStatusListener'](){const _0xdcb81b=_0x369468;this[_0xdcb81b(0x2d9)](this[_0xdcb81b(0x31f)][_0xdcb81b(0x3fa)][_0xdcb81b(0x2f9)](_0x385e00[_0xdcb81b(0x3cd)](()=>{const _0x288f86=_0xdcb81b,_0x56cc5e=this[_0x288f86(0x31f)][_0x288f86(0x221)]();return _0x56cc5e?this[_0x288f86(0x43e)][_0x288f86(0x23c)](_0x56cc5e[_0x288f86(0x20e)]()):_0x385e00['of'](null);}),_0x385e00[_0xdcb81b(0x3cd)](_0x57a334=>_0x57a334?_0x57a334['status$']:_0x385e00['of'](_0x19bf42['CollaborationStatus'][_0xdcb81b(0x24b)])))[_0xdcb81b(0x47a)](_0x57620d=>{const _0x2f5e16=_0xdcb81b;this[_0x2f5e16(0x22f)]['next'](_0x57620d);}));}[_0x369468(0x2e9)](){const _0x14d13d=_0x369468;this[_0x14d13d(0x2d9)](this[_0x14d13d(0x4c1)][_0x14d13d(0x2eb)](_0x2d6b7e[_0x14d13d(0x381)]['HEADER_MENU'],()=>_0x2d6b7e[_0x14d13d(0x373)](_0x31bce7({'status$':this[_0x14d13d(0x22f)][_0x14d13d(0x3bf)]()}),this[_0x14d13d(0x483)])));}},_0x578c06[_0x369468(0x2a7)]=_0x223553([_0xdbba48(0x0,_0x34f1d8['IUniverInstanceService']),_0xdbba48(0x1,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x341)])),_0xdbba48(0x2,_0x34f1d8[_0x369468(0x2db)](_0x19bf42[_0x369468(0x455)])),_0xdbba48(0x3,_0x2d6b7e['IUIPartsService'])],_0x578c06[_0x369468(0x2a7)]);function _0x31bce7(_0x22107b){const {status$:_0x32a9e8}=_0x22107b;return function(){const _0x576c7d=_0x1c91;return _0x1e9aca[_0x576c7d(0x318)](_0x159020,{'status$':_0x32a9e8});};}const _0x575f53=_0x34f1d8[_0x369468(0x31a)](_0x369468(0x3b6));var _0x3496c2=Object[_0x369468(0x40f)],_0x58123d=(_0x5a3283,_0x39dae0,_0x1cfe97,_0x3eaf79)=>{const _0x1a84f0=_0x369468;for(var _0x5b5a1e=_0x3eaf79>0x1?void 0x0:_0x3eaf79?_0x3496c2(_0x39dae0,_0x1cfe97):_0x39dae0,_0x5b760f=_0x5a3283[_0x1a84f0(0x411)]-0x1,_0x2230cc;_0x5b760f>=0x0;_0x5b760f--)(_0x2230cc=_0x5a3283[_0x5b760f])&&(_0x5b5a1e=_0x2230cc(_0x5b5a1e)||_0x5b5a1e);return _0x5b5a1e;},_0xa58610=(_0x28dffe,_0x24ccc1)=>(_0x4f5708,_0x4ccd91)=>_0x24ccc1(_0x4f5708,_0x4ccd91,_0x28dffe);_0x578c06[_0x369468(0x3db)]=class extends _0x34f1d8[_0x369468(0x204)]{constructor(_0x82b251,_0x1db017,_0xaf35e4,_0x247d80,_0x3d9baf){const _0x25e965=_0x369468;super(),this[_0x25e965(0x2b6)]=_0x82b251,this[_0x25e965(0x274)]=_0x1db017,this[_0x25e965(0x33f)]=_0xaf35e4,this[_0x25e965(0x382)]=_0x247d80,_0x3d9baf?_0x3d9baf==null||_0x3d9baf[_0x25e965(0x4ab)]()[_0x25e965(0x3e7)](()=>this[_0x25e965(0x2b0)]()):(this[_0x25e965(0x274)][_0x25e965(0x448)](_0x25e965(0x484),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x25e965(0x2b0)]());}async[_0x369468(0x2b0)](){const _0x350b28=_0x369468,_0x4c4525=this[_0x350b28(0x2b6)]['getParam'](_0x350b28(0x326)),_0x2a3003=this['_urlService'][_0x350b28(0x4c8)](_0x350b28(0x395)),_0x332d71=this[_0x350b28(0x2b6)][_0x350b28(0x4c8)](_0x350b28(0x491));if(!_0x4c4525||!_0x2a3003){this[_0x350b28(0x274)]['debug'](_0x350b28(0x484),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x424593=await this[_0x350b28(0x382)]['loadUnit'](_0x4c4525,Number(_0x2a3003),_0x332d71);_0x424593&&_0x424593 instanceof _0x34f1d8[_0x350b28(0x3ee)]&&this[_0x350b28(0x4cc)](_0x424593);}async[_0x369468(0x4cc)](_0x5ffed4){const _0x589346=_0x369468;await this[_0x589346(0x41f)](_0x5ffed4),_0x5ffed4[_0x589346(0x297)][_0x589346(0x2f9)](_0x385e00[_0x589346(0x2cd)](this[_0x589346(0x230)]))[_0x589346(0x47a)](_0x185c76=>{const _0x4cca81=_0x589346;_0x185c76&&this[_0x4cca81(0x365)](_0x185c76);}),this[_0x589346(0x2b6)][_0x589346(0x37c)][_0x589346(0x2f9)](_0x385e00['takeUntil'](this[_0x589346(0x230)]))[_0x589346(0x47a)](()=>this[_0x589346(0x41f)](_0x5ffed4));}[_0x369468(0x365)](_0xf6ddd6,_0x3ceece=!0x1){const _0xe3ac77=_0x369468,_0x4dd22e=this[_0xe3ac77(0x2b6)][_0xe3ac77(0x4c8)](_0xe3ac77(0x491));_0xf6ddd6['getSheetId']()!==_0x4dd22e&&this[_0xe3ac77(0x2b6)]['setParam'](_0xe3ac77(0x491),_0xf6ddd6['getSheetId'](),_0x3ceece);}async[_0x369468(0x41f)](_0xa82149){const _0x44bf26=_0x369468;var _0x3a1012;const _0x48c03c=this['_urlService']['getParam']('subunit');if(!_0x48c03c||!_0xa82149[_0x44bf26(0x4bc)](_0x48c03c)){const _0x586981=_0xa82149['getUnhiddenWorksheets']()[0x0],_0x53da60=_0xa82149['getSheetBySheetId'](_0x586981);if(!_0x53da60)return;this['_updateURLWithCurrentState'](_0x53da60,!0x0),await this[_0x44bf26(0x33f)][_0x44bf26(0x49e)](_0xf2a465['SetWorksheetActivateCommand']['id'],{'unitId':_0xa82149[_0x44bf26(0x20e)](),'subUnitId':_0x586981});return;}((_0x3a1012=_0xa82149['getActiveSheet']())==null?void 0x0:_0x3a1012[_0x44bf26(0x2bd)]())!==_0x48c03c&&await this[_0x44bf26(0x33f)][_0x44bf26(0x49e)](_0xf2a465[_0x44bf26(0x2cc)]['id'],{'unitId':_0xa82149[_0x44bf26(0x20e)](),'subUnitId':_0x48c03c});}},_0x578c06[_0x369468(0x3db)]=_0x58123d([_0xa58610(0x0,_0x575f53),_0xa58610(0x1,_0x34f1d8[_0x369468(0x425)]),_0xa58610(0x2,_0x34f1d8['ICommandService']),_0xa58610(0x3,_0x34f1d8['Inject'](_0x19bf42['DataLoaderService'])),_0xa58610(0x4,_0x34f1d8[_0x369468(0x24f)](_0x38b5cc[_0x369468(0x4a0)]))],_0x578c06[_0x369468(0x3db)]);var _0x50c2d7=Object['getOwnPropertyDescriptor'],_0x381a5b=(_0x1f7c5e,_0x3dc33e,_0x343f6a,_0x365b51)=>{const _0x35b563=_0x369468;for(var _0x5954ed=_0x365b51>0x1?void 0x0:_0x365b51?_0x50c2d7(_0x3dc33e,_0x343f6a):_0x3dc33e,_0x1764cb=_0x1f7c5e[_0x35b563(0x411)]-0x1,_0xe1d36b;_0x1764cb>=0x0;_0x1764cb--)(_0xe1d36b=_0x1f7c5e[_0x1764cb])&&(_0x5954ed=_0xe1d36b(_0x5954ed)||_0x5954ed);return _0x5954ed;},_0x4dd0cf=(_0x35b4e1,_0x41ff3b)=>(_0x1d4dd7,_0x1c48a6)=>_0x41ff3b(_0x1d4dd7,_0x1c48a6,_0x35b4e1);let _0xd32ba6=class extends _0x34f1d8[_0x369468(0x204)]{constructor(_0x53cebc,_0x34fb04){const _0x3c8989=_0x369468;super(),this[_0x3c8989(0x223)]=_0x53cebc,this[_0x3c8989(0x268)]=_0x34fb04,this[_0x3c8989(0x2b0)]();}[_0x369468(0x2b0)](){const _0x460039=_0x369468,_0x2891ec=this;this[_0x460039(0x2d9)](this[_0x460039(0x223)]['addClipboardHook']({'onBeforePasteImage':async _0xa8ed61=>{const _0x35b7ef=_0x460039,_0x355425=await _0x2891ec[_0x35b7ef(0x268)][_0x35b7ef(0x2ab)](_0xa8ed61);return _0x355425?{'source':_0x355425[_0x35b7ef(0x24a)],'imageSourceType':_0x355425[_0x35b7ef(0x47c)]}:null;}}));}};_0xd32ba6=_0x381a5b([_0x4dd0cf(0x0,_0x47a231[_0x369468(0x2e0)]),_0x4dd0cf(0x1,_0x55b404['IImageIoService'])],_0xd32ba6);const _0x45306c=['purple.300',_0x369468(0x3b7),_0x369468(0x3ca),_0x369468(0x2a8),_0x369468(0x3af),'yellow.400'];class _0x5b42d8 extends _0x34f1d8[_0x369468(0x3ac)]{constructor(){const _0x2ba71e=_0x369468;super(...arguments),_0x45ff9b(this,_0x2ba71e(0x31b),new Map()),_0x45ff9b(this,_0x2ba71e(0x248),0x0);}[_0x369468(0x2bc)](_0x53ad66){const _0x465357=_0x369468;if(this[_0x465357(0x31b)][_0x465357(0x48b)](_0x53ad66))return this[_0x465357(0x31b)][_0x465357(0x2b5)](_0x53ad66);const _0x30234d=_0x45306c[this[_0x465357(0x248)]];return this[_0x465357(0x248)]=(this[_0x465357(0x248)]+0x1)%_0x45306c[_0x465357(0x411)],this[_0x465357(0x31b)][_0x465357(0x386)](_0x53ad66,_0x30234d),_0x30234d;}}function _0x3bf0b7(_0x14b9a5){const _0x2b444e=_0x369468;let _0x76ed58='';for(const _0x54be87 of _0x14b9a5){const {startOffset:_0x176f71,endOffset:_0x49bb3f,isActive:_0x15a477,rangeType:_0x186269,segmentId:_0x62fe2d,segmentPage:_0x23f265}=_0x54be87;_0x76ed58[_0x2b444e(0x411)]&&(_0x76ed58+=','),_0x76ed58+=_0x176f71+':'+_0x49bb3f+':'+(_0x15a477?'1':'0')+':'+_0x186269+':'+_0x62fe2d+':'+_0x23f265;}return _0x76ed58;}function _0x2b0bcc(_0x1f22d3){const _0x333a6c=_0x369468,_0x1b4c78=_0x1f22d3[_0x333a6c(0x1f0)](','),_0x2b4b97=[];for(const _0x4c79de of _0x1b4c78){const [_0x2e5b95,_0x2aa841,_0x5b0724,_0x3f1b12,_0xb0e67f,_0x3354eb]=_0x4c79de[_0x333a6c(0x1f0)](':');_0x2b4b97[_0x333a6c(0x258)]({'startOffset':Number(_0x2e5b95),'endOffset':Number(_0x2aa841),'collapsed':_0x2e5b95===_0x2aa841,'isActive':_0x5b0724==='1','rangeType':_0x3f1b12===_0x34f1d8[_0x333a6c(0x451)][_0x333a6c(0x445)]?_0x34f1d8[_0x333a6c(0x451)]['TEXT']:_0x34f1d8[_0x333a6c(0x451)]['RECT'],'segmentId':typeof _0xb0e67f=='string'?String(_0xb0e67f):'','segmentPage':Number(_0x3354eb!=null?_0x3354eb:-0x1)});}return _0x2b4b97[_0x333a6c(0x45c)](_0x2fdf8d=>_0x2fdf8d['isActive'])||(_0x2b4b97[0x0][_0x333a6c(0x216)]=!0x0),_0x2b4b97;}class _0xda9f47 extends _0x34f1d8['RxDisposable']{constructor(){const _0x334ec9=_0x369468;super(...arguments),_0x45ff9b(this,_0x334ec9(0x286),new _0x385e00['BehaviorSubject'](null)),_0x45ff9b(this,_0x334ec9(0x288),this[_0x334ec9(0x286)][_0x334ec9(0x3bf)]());}[_0x369468(0x27f)](_0x1ba8e1){const _0x881b18=_0x369468,{unitID:_0x127eb9,memberID:_0x1d56cf,textRanges:_0x43d28f}=_0x1ba8e1,_0x16bbf5=_0x3bf0b7(_0x43d28f);if(_0x16bbf5==='')return;const _0x49831c={'unitID':_0x127eb9,'memberID':_0x1d56cf,'selection':_0x16bbf5};this[_0x881b18(0x286)]['next'](_0x49831c);}}var _0x2f152d=Object[_0x369468(0x40f)],_0x3af67b=(_0x15e2f2,_0x55ca10,_0x54102e,_0x2b4aac)=>{for(var _0x10af2b=_0x2b4aac>0x1?void 0x0:_0x2b4aac?_0x2f152d(_0x55ca10,_0x54102e):_0x55ca10,_0x54b410=_0x15e2f2['length']-0x1,_0x21117c;_0x54b410>=0x0;_0x54b410--)(_0x21117c=_0x15e2f2[_0x54b410])&&(_0x10af2b=_0x21117c(_0x10af2b)||_0x10af2b);return _0x10af2b;},_0x1882ed=(_0xe699f9,_0x14f635)=>(_0x32cca7,_0x36688f)=>_0x14f635(_0x32cca7,_0x36688f,_0xe699f9);const _0xb0ebbb=0x12c,_0x4f7abf=0x64;let _0x4a437f=class extends _0x34f1d8['RxDisposable']{constructor(_0x56a6de,_0x19bf3,_0xc72661,_0x32c448,_0x3157c4,_0x9f6c0c,_0x5cf050,_0x42660e,_0x280c88){const _0x103ca1=_0x369468;super(),_0x45ff9b(this,_0x103ca1(0x34f),!0x1),_0x45ff9b(this,'_init',!0x1),_0x45ff9b(this,_0x103ca1(0x2ca),new _0x385e00['BehaviorSubject'](new Map())),_0x45ff9b(this,_0x103ca1(0x3e1),this[_0x103ca1(0x2ca)][_0x103ca1(0x3bf)]()),_0x45ff9b(this,_0x103ca1(0x266),new _0x385e00[(_0x103ca1(0x2e1))]([])),_0x45ff9b(this,'roomMembers$',this[_0x103ca1(0x266)]['pipe'](_0x385e00['debounceTime'](_0xb0ebbb))),_0x45ff9b(this,_0x103ca1(0x299),_0x34f1d8[_0x103ca1(0x34b)](_0x1d5855=>{const _0x522554=_0x103ca1,_0x12fff1={'eventID':_0x40c5dd[_0x522554(0x20b)][_0x522554(0x271)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x522554(0x21f)](),'selection':_0x3bf0b7(_0x1d5855)}};this['_session']['send'](_0x12fff1,this[_0x522554(0x33d)]);},_0x4f7abf)),(this['unitID']=_0x56a6de,this[_0x103ca1(0x259)]=_0x19bf3,this[_0x103ca1(0x483)]=_0xc72661,this[_0x103ca1(0x2d3)]=_0x32c448,this[_0x103ca1(0x3a6)]=_0x3157c4,this[_0x103ca1(0x363)]=_0x9f6c0c,this[_0x103ca1(0x413)]=_0x5cf050,this[_0x103ca1(0x31f)]=_0x42660e,this[_0x103ca1(0x33f)]=_0x280c88);}get[_0x369468(0x2ee)](){const _0x43813b=_0x369468;return this['_cursorInfo$'][_0x43813b(0x40e)]();}get['roomMembers'](){const _0x5aa22e=_0x369468;return this[_0x5aa22e(0x266)][_0x5aa22e(0x40e)]();}[_0x369468(0x486)](){const _0xba36e8=_0x369468;super[_0xba36e8(0x486)](),this[_0xba36e8(0x2ca)]['next'](new Map()),this[_0xba36e8(0x2ca)][_0xba36e8(0x3d3)](),this[_0xba36e8(0x266)][_0xba36e8(0x396)]([]),this[_0xba36e8(0x266)][_0xba36e8(0x3d3)]();}[_0x369468(0x1fa)](){const _0x35ab7b=_0x369468;this[_0x35ab7b(0x2b0)]||(this[_0x35ab7b(0x2b0)]=!0x0,this['_session'][_0x35ab7b(0x356)]['pipe'](_0x385e00[_0x35ab7b(0x2cd)](this[_0x35ab7b(0x230)]))['subscribe'](_0x33925f=>{const _0x1b89fc=_0x35ab7b;_0x33925f===_0x19bf42['SessionStatus'][_0x1b89fc(0x257)]?this[_0x1b89fc(0x344)]():this[_0x1b89fc(0x4ba)]();}),this[_0x35ab7b(0x259)][_0x35ab7b(0x2ff)][_0x35ab7b(0x2f9)](_0x385e00[_0x35ab7b(0x2cd)](this['dispose$']))[_0x35ab7b(0x47a)](_0x49aae3=>{const _0x595843=_0x35ab7b,_0x39e4ba=_0x49aae3[_0x595843(0x20c)];_0x39e4ba===_0x40c5dd[_0x595843(0x20b)]['UPDATE_CURSOR']&&this[_0x595843(0x410)](_0x49aae3),_0x39e4ba===_0x40c5dd[_0x595843(0x20b)]['USERS_LEAVE']&&this[_0x595843(0x217)](_0x49aae3);}),this['disposeWithMe'](this[_0x35ab7b(0x33f)][_0x35ab7b(0x2f2)](_0x5330ea=>{const _0x3e9e37=_0x35ab7b,_0x6aa1c0=_0x5330ea['params'];_0x6aa1c0!=null&&this[_0x3e9e37(0x34f)]&&_0x5330ea['id']===_0x49d9c8[_0x3e9e37(0x361)]['id']&&_0x6aa1c0[_0x3e9e37(0x41d)]===this[_0x3e9e37(0x33d)]&&_0x6aa1c0[_0x3e9e37(0x3a8)]===!0x1&&_0x6aa1c0[_0x3e9e37(0x2ef)]['length']>0x0&&this[_0x3e9e37(0x299)](_0x6aa1c0['ranges']);})),this[_0x35ab7b(0x363)][_0x35ab7b(0x288)][_0x35ab7b(0x2f9)](_0x385e00[_0x35ab7b(0x2cd)](this[_0x35ab7b(0x230)]))[_0x35ab7b(0x47a)](_0x3b2eca=>{const _0x1235ee=_0x35ab7b;if((_0x3b2eca==null?void 0x0:_0x3b2eca[_0x1235ee(0x33d)])!==this[_0x1235ee(0x33d)])return;const _0x348ce4={'eventID':_0x40c5dd['CollaborationEvent'][_0x1235ee(0x271)],'data':_0x3b2eca};this[_0x1235ee(0x410)](_0x348ce4);}),this[_0x35ab7b(0x2d9)](this[_0x35ab7b(0x33f)]['onCommandExecuted'](_0x2dd44e=>{const _0x1aafc5=_0x35ab7b;if(_0x2dd44e[_0x1aafc5(0x42e)]==null)return;const _0x2363a=_0x2dd44e['params'];if(_0x2dd44e['id']!==_0x49d9c8['RichTextEditingMutation']['id']||_0x2363a[_0x1aafc5(0x41d)]!==this[_0x1aafc5(0x33d)])return;const _0xb47537={'id':'doc.mutation.rich-text-editing','params':_0x2363a},_0xce487c=this[_0x1aafc5(0x2ee)];for(const [_0x40c395,_0xc28961]of _0xce487c){const _0x499e27={'id':_0x1aafc5(0x489),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0xc28961[_0x1aafc5(0x2ef)]}},_0x11caa5=this[_0x1aafc5(0x413)][_0x1aafc5(0x21e)](_0xb47537,_0x499e27,!0x1);if(_0x40c5dd['isTransformMutationFailure'](_0x11caa5))throw _0x11caa5[_0x1aafc5(0x22b)];_0xce487c[_0x1aafc5(0x386)](_0x40c395,{..._0xc28961,'ranges':_0x11caa5['m2Prime'][_0x1aafc5(0x42e)][_0x1aafc5(0x234)]});}queueMicrotask(()=>{const _0x4ecc0e=_0x1aafc5;this['_cursorInfo$'][_0x4ecc0e(0x396)](_0xce487c);});})));}['_onCursorUpdate'](_0x55988f){const _0xaad9d=_0x369468;var _0x138150,_0x11bc0c;const {memberID:_0x48df80,selection:_0x213cc0}=_0x55988f[_0xaad9d(0x227)],_0x62b7f2=_0x2b0bcc(_0x213cc0),_0x3aad5c=(_0x11bc0c=(_0x138150=this[_0xaad9d(0x3a6)][_0xaad9d(0x30f)](this[_0xaad9d(0x33d)],_0x48df80))==null?void 0x0:_0x138150[_0xaad9d(0x330)])!=null?_0x11bc0c:_0xaad9d(0x2da),_0x3d3a0c={'color':this[_0xaad9d(0x2d3)]['assignAColorForMemberID'](_0x48df80),'name':_0x3aad5c,'ranges':_0x62b7f2},_0x36fa2c=this[_0xaad9d(0x2ee)];_0x36fa2c[_0xaad9d(0x386)](_0x48df80,_0x3d3a0c),this[_0xaad9d(0x2ca)][_0xaad9d(0x396)](_0x36fa2c);}[_0x369468(0x217)](_0x4f6489){const _0x3cd216=_0x369468,{memberID:_0x5046b4}=_0x4f6489[_0x3cd216(0x227)],_0x38776d=this['cursorInfo'];_0x38776d[_0x3cd216(0x280)](_0x5046b4),this[_0x3cd216(0x2ca)][_0x3cd216(0x396)](_0x38776d);}[_0x369468(0x344)](){const _0x51f183=_0x369468;var _0xf7512f;if(this[_0x51f183(0x34f)]=!0x0,((_0xf7512f=this[_0x51f183(0x31f)][_0x51f183(0x221)]())==null?void 0x0:_0xf7512f[_0x51f183(0x20e)]())!==this[_0x51f183(0x33d)])return;const _0x5c8452=this[_0x51f183(0x483)][_0x51f183(0x2b5)](_0x49d9c8[_0x51f183(0x428)])[_0x51f183(0x3d5)]();Array['isArray'](_0x5c8452)&&_0x5c8452[_0x51f183(0x411)]>0x0&&this[_0x51f183(0x299)](_0x5c8452);}['_toggleOffline'](){const _0x41ef27=_0x369468;this[_0x41ef27(0x34f)]=!0x1;}};_0x4a437f=_0x3af67b([_0x1882ed(0x2,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x341)])),_0x1882ed(0x3,_0x34f1d8[_0x369468(0x2db)](_0x5b42d8)),_0x1882ed(0x4,_0x34f1d8[_0x369468(0x2db)](_0x19bf42[_0x369468(0x3bd)])),_0x1882ed(0x5,_0x34f1d8[_0x369468(0x2db)](_0xda9f47)),_0x1882ed(0x6,_0x40c5dd['ITransformService']),_0x1882ed(0x7,_0x34f1d8[_0x369468(0x236)]),_0x1882ed(0x8,_0x34f1d8['ICommandService'])],_0x4a437f);var _0x5626ec=Object['getOwnPropertyDescriptor'],_0x1d845d=(_0x5c72d5,_0x11a3e3,_0x3819b5,_0x3307f4)=>{const _0xf0a356=_0x369468;for(var _0x2565fd=_0x3307f4>0x1?void 0x0:_0x3307f4?_0x5626ec(_0x11a3e3,_0x3819b5):_0x11a3e3,_0x36377c=_0x5c72d5[_0xf0a356(0x411)]-0x1,_0x4f2607;_0x36377c>=0x0;_0x36377c--)(_0x4f2607=_0x5c72d5[_0x36377c])&&(_0x2565fd=_0x4f2607(_0x2565fd)||_0x2565fd);return _0x2565fd;},_0x315bbf=(_0xe595fa,_0x3f4ad3)=>(_0xba372e,_0x483561)=>_0x3f4ad3(_0xba372e,_0x483561,_0xe595fa);const _0x3a645d=0x12c,_0x1b285d=0x64,_0x740225=()=>{let _0x50509a=[],_0x5dcaf4=!0x1;return _0x347fc9=>{_0x50509a['push'](_0x347fc9),_0x5dcaf4||(_0x5dcaf4=!0x0,setTimeout(()=>{const _0x4360e3=_0x1c91;_0x50509a[_0x4360e3(0x336)](_0x536ea8=>_0x536ea8()),_0x50509a=[],_0x5dcaf4=!0x1;}));};};let _0x3df2b4=class extends _0x34f1d8[_0x369468(0x204)]{constructor(_0x5caf7f,_0x28967c,_0x19ddab,_0x2dcf43,_0x59be0a,_0x5c6c6b,_0x52f322,_0x207992){const _0x28f0ca=_0x369468;super(),_0x45ff9b(this,_0x28f0ca(0x34f),!0x1),_0x45ff9b(this,_0x28f0ca(0x2b0),!0x1),_0x45ff9b(this,'_cursorInfo$',new _0x385e00['BehaviorSubject'](new Map())),_0x45ff9b(this,_0x28f0ca(0x3e1),this[_0x28f0ca(0x2ca)][_0x28f0ca(0x3bf)]()),_0x45ff9b(this,_0x28f0ca(0x266),new _0x385e00['BehaviorSubject']([])),_0x45ff9b(this,_0x28f0ca(0x2ec),this[_0x28f0ca(0x266)][_0x28f0ca(0x2f9)](_0x385e00[_0x28f0ca(0x384)](_0x3a645d))),_0x45ff9b(this,_0x28f0ca(0x299),_0x34f1d8[_0x28f0ca(0x34b)]((_0x323dcb,_0x19a0d1)=>{const _0x2bd794=_0x28f0ca,_0x3f3541={'eventID':_0x40c5dd[_0x2bd794(0x20b)][_0x2bd794(0x271)],'data':{'unitID':this[_0x2bd794(0x33d)],'memberID':this['_session']['getMemberID'](),'selection':_0x35db63['serializeRangeWithSheet'](_0x323dcb,_0x19a0d1[_0x2bd794(0x472)])}};this[_0x2bd794(0x259)][_0x2bd794(0x46b)](_0x3f3541,this[_0x2bd794(0x33d)]);},_0x1b285d)),(this['unitID']=_0x5caf7f,this[_0x28f0ca(0x259)]=_0x28967c,this[_0x28f0ca(0x483)]=_0x19ddab,this[_0x28f0ca(0x2d3)]=_0x2dcf43,this[_0x28f0ca(0x3a6)]=_0x59be0a,this[_0x28f0ca(0x31f)]=_0x5c6c6b,this['_commandService']=_0x52f322,this['_refRangeService']=_0x207992);}get[_0x369468(0x2ee)](){const _0x5b9b04=_0x369468;return this[_0x5b9b04(0x2ca)][_0x5b9b04(0x40e)]();}get[_0x369468(0x2a6)](){const _0x37d2be=_0x369468;return this[_0x37d2be(0x266)][_0x37d2be(0x40e)]();}[_0x369468(0x486)](){const _0x1649ad=_0x369468;super[_0x1649ad(0x486)](),this['_cursorInfo$'][_0x1649ad(0x396)](new Map()),this[_0x1649ad(0x2ca)][_0x1649ad(0x3d3)](),this['_roomMembers$'][_0x1649ad(0x396)]([]),this['_roomMembers$'][_0x1649ad(0x3d3)]();}['init'](){const _0x551be4=_0x369468;this[_0x551be4(0x2b0)]||(this[_0x551be4(0x2b0)]=!0x0,this[_0x551be4(0x259)][_0x551be4(0x356)][_0x551be4(0x2f9)](_0x385e00[_0x551be4(0x2cd)](this[_0x551be4(0x230)]))['subscribe'](_0x59f6d5=>{const _0x450f4c=_0x551be4;_0x59f6d5===_0x19bf42[_0x450f4c(0x40c)]['ONLINE']?this[_0x450f4c(0x344)]():this['_toggleOffline']();}),this[_0x551be4(0x259)][_0x551be4(0x2ff)]['pipe'](_0x385e00[_0x551be4(0x2cd)](this[_0x551be4(0x230)]))[_0x551be4(0x47a)](_0x63ed25=>{const _0x19c5fb=_0x551be4,_0x2d494f=_0x63ed25[_0x19c5fb(0x20c)];_0x2d494f===_0x40c5dd[_0x19c5fb(0x20b)][_0x19c5fb(0x271)]&&this[_0x19c5fb(0x410)](_0x63ed25),_0x2d494f===_0x40c5dd['CollaborationEvent']['USERS_LEAVE']&&this[_0x19c5fb(0x217)](_0x63ed25);}),this[_0x551be4(0x3d6)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x3f7420=>{const _0x13b8a4=_0x551be4;if(this[_0x13b8a4(0x34f)]&&_0x3f7420['id']===_0xf2a465['SetSelectionsOperation']['id']&&_0x3f7420['params'][_0x13b8a4(0x41d)]===this['unitID']){const _0x43b1a9=_0x3f7420[_0x13b8a4(0x42e)];this['_updateLocalCursor'](_0x43b1a9[_0x13b8a4(0x4a3)],_0x43b1a9['selections'][0x0]);}})));}['_onCursorUpdate'](_0x25577a){const _0x5691d7=_0x369468;var _0x270323,_0x370fd6;const {memberID:_0x4070fb,selection:_0x3516e0}=_0x25577a[_0x5691d7(0x227)],{sheetName:_0xd160d0,range:_0x50ca26}=_0x35db63[_0x5691d7(0x45d)](_0x3516e0),_0x4dceb2={'name':(_0x370fd6=(_0x270323=this[_0x5691d7(0x3a6)][_0x5691d7(0x30f)](this[_0x5691d7(0x33d)],_0x4070fb))==null?void 0x0:_0x270323[_0x5691d7(0x330)])!=null?_0x370fd6:_0x5691d7(0x2da),'range':this['_getMergeRange'](_0xd160d0,_0x50ca26),'sheetID':_0xd160d0,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x4070fb),'selection':_0x3516e0},_0x5c9901=this['cursorInfo'];_0x5c9901[_0x5691d7(0x386)](_0x4070fb,_0x4dceb2),this[_0x5691d7(0x2ca)][_0x5691d7(0x396)](_0x5c9901);}[_0x369468(0x217)](_0x29fabc){const _0x1a3230=_0x369468,{memberID:_0x3b5926}=_0x29fabc[_0x1a3230(0x227)],_0x4111e4=this[_0x1a3230(0x2ee)];_0x4111e4[_0x1a3230(0x280)](_0x3b5926),this[_0x1a3230(0x2ca)][_0x1a3230(0x396)](_0x4111e4);}['_getMergeRange'](_0x11cc3c,_0x2ac225){const _0x343559=_0x369468;var _0x4c753c,_0x1b3adc;const _0x385cf0=(_0x1b3adc=(_0x4c753c=this[_0x343559(0x31f)][_0x343559(0x42d)](this[_0x343559(0x33d)]))==null?void 0x0:_0x4c753c[_0x343559(0x4bc)](_0x11cc3c))==null?void 0x0:_0x1b3adc['getMergeData']();return(_0x385cf0==null?void 0x0:_0x385cf0[_0x343559(0x2fa)](_0x2e6b0b=>_0x34f1d8[_0x343559(0x38a)][_0x343559(0x447)](_0x2e6b0b,_0x2ac225)))||_0x2ac225;}[_0x369468(0x3d6)](){const _0x42cdf1=_0x369468,_0x430614=new _0x34f1d8[(_0x42cdf1(0x38b))](),_0xf90583=_0x740225(),_0x13c29c=()=>{const _0x28d84d=_0x42cdf1;_0x430614['dispose']();const _0x5a8bb3=(_0x50f9c7,_0x2653d1,_0x3f1abb,_0x20df7f)=>{const _0x405003=_0x1c91;let _0x195278=[];switch(_0x50f9c7['id']){case _0xf2a465[_0x405003(0x399)][_0x405003(0x20f)]:{_0x195278=_0xf2a465[_0x405003(0x2bf)](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)][_0x405003(0x237)]:{_0x195278=_0xf2a465['handleDeleteRangeMoveUp'](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)]['InsertColCommandId']:{_0x195278=_0xf2a465[_0x405003(0x3d1)](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)][_0x405003(0x3c4)]:{_0x195278=_0xf2a465[_0x405003(0x3f3)](_0x50f9c7,_0x20df7f);break;}case _0xf2a465['EffectRefRangId'][_0x405003(0x349)]:{_0x195278=_0xf2a465['handleInsertRangeMoveRight'](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)][_0x405003(0x2b7)]:{_0x195278=_0xf2a465[_0x405003(0x39a)](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)][_0x405003(0x48e)]:{_0x195278=_0xf2a465[_0x405003(0x488)](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)]['RemoveColCommandId']:{_0x195278=_0xf2a465[_0x405003(0x21a)](_0x50f9c7,_0x20df7f);break;}case _0xf2a465[_0x405003(0x399)][_0x405003(0x391)]:{_0x195278=_0xf2a465[_0x405003(0x27a)](_0x50f9c7,_0x20df7f);break;}}const _0x50f6fc=_0xf2a465[_0x405003(0x470)](_0x195278,_0x20df7f),_0x35eaac=this[_0x405003(0x2ee)][_0x405003(0x2b5)](_0x2653d1);if(_0x35eaac&&_0x50f6fc){const _0x3c01e5={..._0x35eaac,'range':_0x50f6fc};this[_0x405003(0x2ee)][_0x405003(0x386)](_0x2653d1,_0x3c01e5),_0xf90583(()=>{const _0x16d6a7=_0x405003,_0x59d26d=this[_0x16d6a7(0x339)]['registerRefRange'](_0x50f6fc,_0x20fbd3=>(_0x59d26d[_0x16d6a7(0x486)](),_0x5a8bb3(_0x20fbd3,_0x2653d1,_0x3f1abb,_0x50f6fc)));_0x430614['add'](_0x59d26d);});}return{'redos':[],'undos':[]};};this[_0x28d84d(0x2ee)]['forEach']((_0x180e20,_0x46a28c)=>{const _0x512a0c=_0x28d84d,{range:_0x5d658d,sheetID:_0x86cbf6}=_0x180e20,_0x2c3b2f=this[_0x512a0c(0x339)][_0x512a0c(0x387)](_0x5d658d,_0x399f3e=>(_0x2c3b2f[_0x512a0c(0x486)](),_0x5a8bb3(_0x399f3e,_0x46a28c,_0x86cbf6,_0x5d658d)));_0x430614[_0x512a0c(0x2d5)](_0x2c3b2f);});};this[_0x42cdf1(0x2d9)](_0x34f1d8[_0x42cdf1(0x3a1)](this[_0x42cdf1(0x2ca)]['subscribe'](()=>{_0x13c29c();})));}[_0x369468(0x344)](){const _0xb9e01b=_0x369468;var _0x5bcfaa,_0x20d35c;if(this[_0xb9e01b(0x34f)]=!0x0,((_0x5bcfaa=this[_0xb9e01b(0x31f)][_0xb9e01b(0x221)]())==null?void 0x0:_0x5bcfaa['getUnitId']())!==this[_0xb9e01b(0x33d)])return;const _0x499cdf=(_0x20d35c=this[_0xb9e01b(0x483)][_0xb9e01b(0x2b5)](_0xf2a465[_0xb9e01b(0x369)])[_0xb9e01b(0x37a)]())==null?void 0x0:_0x20d35c[0x0],_0x18af03=this[_0xb9e01b(0x31f)][_0xb9e01b(0x2c0)](_0x34f1d8['UniverInstanceType'][_0xb9e01b(0x371)])['getActiveSheet']();_0x499cdf&&_0x18af03&&this[_0xb9e01b(0x299)](_0x18af03['getSheetId'](),_0x499cdf);}[_0x369468(0x4ba)](){this['_online']=!0x1;}};_0x3df2b4=_0x1d845d([_0x315bbf(0x2,_0x34f1d8['Inject'](_0x34f1d8[_0x369468(0x341)])),_0x315bbf(0x3,_0x34f1d8[_0x369468(0x2db)](_0x5b42d8)),_0x315bbf(0x4,_0x34f1d8['Inject'](_0x19bf42[_0x369468(0x3bd)])),_0x315bbf(0x5,_0x34f1d8[_0x369468(0x236)]),_0x315bbf(0x6,_0x34f1d8[_0x369468(0x499)]),_0x315bbf(0x7,_0x34f1d8['Inject'](_0xf2a465[_0x369468(0x2ae)]))],_0x3df2b4);var _0xcd2630=Object[_0x369468(0x40f)],_0x431955=(_0x1d5eee,_0x38ee19,_0x303616,_0x596a79)=>{for(var _0x550310=_0x596a79>0x1?void 0x0:_0x596a79?_0xcd2630(_0x38ee19,_0x303616):_0x38ee19,_0x28f1ad=_0x1d5eee['length']-0x1,_0x1fd719;_0x28f1ad>=0x0;_0x28f1ad--)(_0x1fd719=_0x1d5eee[_0x28f1ad])&&(_0x550310=_0x1fd719(_0x550310)||_0x550310);return _0x550310;},_0x5ab2df=(_0x1e5c7f,_0x436c9b)=>(_0x45a30b,_0x1de883)=>_0x436c9b(_0x45a30b,_0x1de883,_0x1e5c7f);let _0x531216=class extends _0x34f1d8['RxDisposable']{constructor(_0x32c7be,_0x495329,_0x5a7f6d){const _0x27c449=_0x369468;super(),_0x45ff9b(this,_0x27c449(0x273),new Map()),_0x45ff9b(this,_0x27c449(0x355),new _0x385e00['Subject']()),(this[_0x27c449(0x31f)]=_0x32c7be,this[_0x27c449(0x483)]=_0x495329,this[_0x27c449(0x3ba)]=_0x5a7f6d,this['_init']());}['dispose'](){const _0x12e9e2=_0x369468;super[_0x12e9e2(0x486)](),this[_0x12e9e2(0x355)][_0x12e9e2(0x3d3)](),this['_entities']['forEach'](_0xd1bfd8=>_0xd1bfd8[_0x12e9e2(0x486)]());}[_0x369468(0x2f3)](_0x227a47){const _0x95207e=_0x369468;return this[_0x95207e(0x273)][_0x95207e(0x48b)](_0x227a47)?this['_entities'][_0x95207e(0x2b5)](_0x227a47)[_0x95207e(0x3e1)]:this[_0x95207e(0x355)][_0x95207e(0x2f9)](_0x385e00[_0x95207e(0x276)](_0xd25d9a=>_0xd25d9a[_0x95207e(0x33d)]===_0x227a47),_0x385e00[_0x95207e(0x3cd)](_0x46f472=>_0x46f472[_0x95207e(0x3e1)]));}[_0x369468(0x2b0)](){const _0x2ba844=_0x369468;this['_univerInstanceService'][_0x2ba844(0x23f)](_0x34f1d8[_0x2ba844(0x49d)]['UNIVER_SHEET'])[_0x2ba844(0x2f9)](_0x385e00[_0x2ba844(0x2cd)](this[_0x2ba844(0x230)]))[_0x2ba844(0x47a)](async _0x27c9be=>{const _0x5cc37c=_0x2ba844,_0x57a82a=_0x27c9be['getUnitId'](),_0x228715=await this[_0x5cc37c(0x346)](_0x57a82a);this[_0x5cc37c(0x355)][_0x5cc37c(0x396)](_0x228715),this[_0x5cc37c(0x273)][_0x5cc37c(0x386)](_0x57a82a,_0x228715);}),this[_0x2ba844(0x31f)][_0x2ba844(0x23f)](_0x34f1d8['UniverInstanceType']['UNIVER_DOC'])[_0x2ba844(0x2f9)](_0x385e00[_0x2ba844(0x2cd)](this[_0x2ba844(0x230)]))[_0x2ba844(0x2f9)](_0x385e00[_0x2ba844(0x276)](_0x411a97=>!_0x411a97[_0x2ba844(0x20e)]()['startsWith']('__')))[_0x2ba844(0x47a)](async _0x2c39c5=>{const _0x1dec4c=_0x2ba844,_0x289565=_0x2c39c5[_0x1dec4c(0x20e)](),_0x2c4398=await this['_startDocCollabCursor'](_0x289565);this[_0x1dec4c(0x355)]['next'](_0x2c4398),this['_entities'][_0x1dec4c(0x386)](_0x289565,_0x2c4398);}),_0x385e00[_0x2ba844(0x3a7)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x34f1d8[_0x2ba844(0x49d)][_0x2ba844(0x211)]),this[_0x2ba844(0x31f)][_0x2ba844(0x209)](_0x34f1d8[_0x2ba844(0x49d)][_0x2ba844(0x371)]))[_0x2ba844(0x2f9)](_0x385e00[_0x2ba844(0x2cd)](this['dispose$']))[_0x2ba844(0x47a)](_0x3881aa=>{const _0x4350ef=_0x2ba844,_0x3a67d2=_0x3881aa[_0x4350ef(0x20e)](),_0x5ac723=this[_0x4350ef(0x273)][_0x4350ef(0x2b5)](_0x3a67d2);_0x5ac723&&(_0x5ac723[_0x4350ef(0x486)](),this['_entities'][_0x4350ef(0x280)](_0x3a67d2));});}async[_0x369468(0x346)](_0x3e3e01){const _0x5c7b80=_0x369468,_0xdb4bdf=await this[_0x5c7b80(0x3ba)][_0x5c7b80(0x49f)](_0x3e3e01),_0x462d4a=this[_0x5c7b80(0x483)][_0x5c7b80(0x231)](_0x3df2b4,_0x3e3e01,_0xdb4bdf);return _0x462d4a[_0x5c7b80(0x1fa)](),_0x462d4a;}async[_0x369468(0x1f5)](_0xea9f2e){const _0x29a03c=_0x369468,_0x4508ad=await this[_0x29a03c(0x3ba)][_0x29a03c(0x49f)](_0xea9f2e),_0x13bbe7=this['_injector']['createInstance'](_0x4a437f,_0xea9f2e,_0x4508ad);return _0x13bbe7[_0x29a03c(0x1fa)](),_0x13bbe7;}};_0x531216=_0x431955([_0x5ab2df(0x0,_0x34f1d8[_0x369468(0x236)]),_0x5ab2df(0x1,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x341)])),_0x5ab2df(0x2,_0x34f1d8['Inject'](_0x19bf42[_0x369468(0x474)]))],_0x531216);const _0x1bae0c=0x14,_0x201f59=0xc8,_0x328e9d=0x4,_0x595b29=0x5;function _0x1fddc0(_0x3ad1bc,_0x1ef21d){const _0x225a69=_0x369468;let {radius:_0x1cb8bc,width:_0x6f021a,height:_0x51896e}=_0x1ef21d;_0x1cb8bc=_0x1cb8bc!=null?_0x1cb8bc:0x0,_0x6f021a=_0x6f021a!=null?_0x6f021a:0x1e,_0x51896e=_0x51896e!=null?_0x51896e:0x1e;let _0xa6fd18=0x0,_0x30fb81=0x0,_0x121bb3=0x0;_0xa6fd18=_0x30fb81=_0x121bb3=Math[_0x225a69(0x467)](_0x1cb8bc,_0x6f021a/0x2,_0x51896e/0x2),_0x3ad1bc[_0x225a69(0x375)](),_0x3ad1bc[_0x225a69(0x4c2)](_0xa6fd18,0x0),_0x3ad1bc[_0x225a69(0x282)](_0x6f021a-_0x30fb81,0x0),_0x3ad1bc[_0x225a69(0x32a)](_0x6f021a-_0x30fb81,_0x30fb81,_0x30fb81,Math['PI']*0x3/0x2,0x0,!0x1),_0x3ad1bc[_0x225a69(0x282)](_0x6f021a,_0x51896e-_0x121bb3),_0x3ad1bc[_0x225a69(0x32a)](_0x6f021a-_0x121bb3,_0x51896e-_0x121bb3,_0x121bb3,0x0,Math['PI']/0x2,!0x1),_0x3ad1bc[_0x225a69(0x282)](0x0,_0x51896e),_0x3ad1bc[_0x225a69(0x282)](0x0,_0xa6fd18),_0x3ad1bc[_0x225a69(0x32a)](_0xa6fd18,_0xa6fd18,_0xa6fd18,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3ad1bc[_0x225a69(0x3f4)](),_0x1ef21d['fill']&&(_0x3ad1bc[_0x225a69(0x48f)](),_0x3ad1bc[_0x225a69(0x4ae)]=_0x1ef21d[_0x225a69(0x208)],_0x1ef21d['fillRule']===_0x225a69(0x316)?_0x3ad1bc['fill']('evenodd'):_0x3ad1bc[_0x225a69(0x208)](),_0x3ad1bc['restore']());}class _0x2a5a24 extends _0x20bbd1[_0x369468(0x3c2)]{constructor(_0xddd4cc,_0x475cbb){const _0x2301e9=_0x369468;super(_0xddd4cc,_0x475cbb),_0x45ff9b(this,_0x2301e9(0x226)),_0x45ff9b(this,_0x2301e9(0x44a)),(this[_0x2301e9(0x226)]=_0x475cbb==null?void 0x0:_0x475cbb['color'],this[_0x2301e9(0x44a)]=_0x475cbb==null?void 0x0:_0x475cbb['text']);}static['drawWith'](_0x57178c,_0x28d687){const _0x42d2a8=_0x369468,{text:_0x2c3b73,color:_0x42e40a}=_0x28d687;_0x57178c[_0x42d2a8(0x48f)](),_0x57178c['font']=_0x42d2a8(0x295);const _0x5e5f2a=_0x57178c['measureText'](_0x2c3b73)[_0x42d2a8(0x202)],_0x16fb21=Math[_0x42d2a8(0x467)](_0x5e5f2a+0x2*_0x328e9d,_0x201f59);_0x1fddc0(_0x57178c,{'height':_0x1bae0c,'radius':0x4,'width':_0x16fb21,'fill':_0x42e40a}),_0x57178c['fillStyle']='#FFF';const _0x138353=_0x328e9d,_0x460701=_0x1bae0c-_0x595b29,_0x2e1e53=_0x201f59-0x2*_0x328e9d;if(_0x5e5f2a>_0x2e1e53){let _0x4c3257='',_0x4bb3ce=0x0;for(const _0x6986ba of _0x2c3b73){const _0x2ff72a=_0x57178c[_0x42d2a8(0x26f)](_0x6986ba)[_0x42d2a8(0x202)];if(_0x4bb3ce+_0x2ff72a<=_0x2e1e53-_0x57178c[_0x42d2a8(0x26f)](_0x42d2a8(0x34e))[_0x42d2a8(0x202)])_0x4c3257+=_0x6986ba,_0x4bb3ce+=_0x2ff72a;else{_0x4c3257+='...';break;}}_0x57178c[_0x42d2a8(0x39c)](_0x4c3257,_0x138353,_0x460701);}else _0x57178c[_0x42d2a8(0x39c)](_0x2c3b73,_0x138353,_0x460701);_0x57178c[_0x42d2a8(0x36c)]();}[_0x369468(0x3b4)](_0x59b42b){const _0x351dae=_0x369468;_0x2a5a24[_0x351dae(0x440)](_0x59b42b,this);}}const _0x388361=_0x369468(0x412),_0x1e7f75='collab-text-range-',_0x4b1022=_0x369468(0x261),_0x247b28=0x6,_0x1cdbb9=1.5,_0x3c4d17=0x4,_0x4202ac=1.5,_0x5ccd48=_0x369468(0x28d);class _0x2e9b47{constructor(_0x569719,_0x2249fd,_0xe008ec,_0x2a543e){const _0x27fc21=_0x369468;_0x45ff9b(this,_0x27fc21(0x308),[]),_0x45ff9b(this,_0x27fc21(0x3da),null),_0x45ff9b(this,_0x27fc21(0x35e),null),_0x45ff9b(this,_0x27fc21(0x28c),null),_0x45ff9b(this,_0x27fc21(0x312),null),_0x45ff9b(this,'_eventUnsubscribe',null),(this[_0x27fc21(0x4ce)]=_0x569719,this[_0x27fc21(0x454)]=_0x2249fd,this[_0x27fc21(0x2b9)]=_0xe008ec,this[_0x27fc21(0x37f)]=_0x2a543e,this[_0x27fc21(0x2c3)]());}set[_0x369468(0x48d)](_0xb86691){const _0x560d09=_0x369468;_0xb86691?(this[_0x560d09(0x28c)]&&this['_anchorDot'][_0x560d09(0x289)](),this['_textBubble']&&this[_0x560d09(0x35e)]['show']()):(this['_anchorDot']&&this[_0x560d09(0x28c)][_0x560d09(0x475)](),this[_0x560d09(0x35e)]&&this['_textBubble']['hide']());}[_0x369468(0x486)](){const _0xe14c19=_0x369468;for(const _0x52aa80 of this[_0xe14c19(0x308)])_0x52aa80[_0xe14c19(0x486)]();this[_0xe14c19(0x35e)]&&this[_0xe14c19(0x35e)][_0xe14c19(0x486)](),this[_0xe14c19(0x28c)]&&this[_0xe14c19(0x28c)]['dispose'](),this[_0xe14c19(0x3da)]&&this[_0xe14c19(0x3da)][_0xe14c19(0x486)](),this[_0xe14c19(0x317)]&&this[_0xe14c19(0x317)]();}[_0x369468(0x2c3)](){const _0x5571f3=_0x369468;var _0x1f7656;const {_docSkeleton:_0x1691d7,_document:_0x384ad8}=this,{color:_0x478ad0,name:_0x1bd755,ranges:_0x4a8a11}=this[_0x5571f3(0x4ce)],_0x3ecd3e=_0x384ad8[_0x5571f3(0x254)](),{docsLeft:_0x268113,docsTop:_0x4cbddd}=_0x3ecd3e,_0x50eff3=new _0x47a231[(_0x5571f3(0x44d))](_0x3ecd3e,_0x1691d7);for(const {startOffset:_0x431bc4,endOffset:_0x30e9de,rangeType:_0x353fcb,segmentId:_0x27dee6,segmentPage:_0x3f6ac4,collapsed:_0x2b3a07,isActive:_0x48eec8}of _0x4a8a11){const _0x13eeab=_0x1691d7['findNodePositionByCharIndex'](_0x431bc4,!0x0,_0x27dee6,_0x3f6ac4);let _0x332606=_0x1691d7[_0x5571f3(0x43f)](_0x30e9de,!0x0,_0x27dee6,_0x3f6ac4);if(_0x332606==null&&(_0x332606=_0x1691d7[_0x5571f3(0x43f)](_0x30e9de-0x1,!0x1,_0x27dee6,_0x3f6ac4)),_0x48eec8){const {contentBoxPointGroup:_0x328e07}=_0x50eff3[_0x5571f3(0x287)](_0x332606,_0x332606);if(_0x328e07['length']===0x0)continue;this['_drawAnchor'](_0x478ad0,_0x328e07,_0x268113,_0x4cbddd,_0x1bd755),this[_0x5571f3(0x317)]=this[_0x5571f3(0x3ad)]();}if(_0x13eeab&&_0x332606){if(_0x353fcb===_0x34f1d8[_0x5571f3(0x451)][_0x5571f3(0x34d)]){const _0x149aa3=new _0x47a231[(_0x5571f3(0x4b7))](_0x3ecd3e,_0x1691d7),{pointGroup:_0x1b275a}=(_0x1f7656=_0x149aa3[_0x5571f3(0x287)](_0x13eeab,_0x332606))!=null?_0x1f7656:{};if(_0x1b275a==null||_0x1b275a[_0x5571f3(0x411)]===0x0)continue;this['_drawRectRange'](_0x478ad0,_0x1b275a,_0x268113,_0x4cbddd);}else{if(!_0x2b3a07){const {borderBoxPointGroup:_0x405c24}=_0x50eff3[_0x5571f3(0x287)](_0x13eeab,_0x332606);if(_0x405c24[_0x5571f3(0x411)]===0x0)continue;this[_0x5571f3(0x24e)](_0x478ad0,_0x405c24,_0x268113,_0x4cbddd);}}}}}[_0x369468(0x2cf)](_0x48f3df,_0x293b1c,_0x1eb1af,_0x19bfc1,_0x3f6f1d){const _0x2313e4=_0x369468,_0x4ad8a3=this[_0x2313e4(0x2df)](_0x293b1c),{left:_0x4c8bf0,top:_0x29c0d2,height:_0x49d5ca}=_0x4ad8a3,_0x5b6dc4=this[_0x2313e4(0x3be)](),_0x51c1a9=_0x4202ac/_0x5b6dc4,_0x208755=new _0x20bbd1[(_0x2313e4(0x2be))](_0x388361+_0x34f1d8[_0x2313e4(0x464)](_0x247b28),{'left':_0x4c8bf0+_0x1eb1af-_0x51c1a9,'top':_0x29c0d2+_0x19bfc1,'height':_0x49d5ca,'width':_0x1cdbb9,'fill':_0x48f3df||_0x20bbd1[_0x2313e4(0x2c6)](_0x34f1d8[_0x2313e4(0x2f4)][_0x2313e4(0x480)],0x0),'strokeWidth':_0x51c1a9,'stroke':_0x5ccd48,'evented':!0x0});this['_anchor']=_0x208755,this['_scene']['addObject'](_0x208755,_0x47a231['TEXT_RANGE_LAYER_INDEX']);const _0x3f18b7=new _0x20bbd1[(_0x2313e4(0x2be))](_0x388361+_0x34f1d8['generateRandomId'](_0x247b28),{'left':_0x4c8bf0+_0x1eb1af-_0x51c1a9,'top':_0x29c0d2+_0x19bfc1-_0x3c4d17/0x2,'height':_0x3c4d17,'width':_0x3c4d17,'fill':_0x48f3df||_0x20bbd1[_0x2313e4(0x2c6)](_0x34f1d8[_0x2313e4(0x2f4)][_0x2313e4(0x480)],0x0),'strokeWidth':0x0,'stroke':_0x48f3df||_0x20bbd1['getColor'](_0x34f1d8[_0x2313e4(0x2f4)][_0x2313e4(0x480)],0x0),'evented':!0x1});this[_0x2313e4(0x28c)]=_0x3f18b7,this[_0x2313e4(0x454)]['addObject'](_0x3f18b7,_0x47a231['TEXT_RANGE_LAYER_INDEX']);const _0x5701e9=new _0x2a5a24(_0x388361+_0x34f1d8[_0x2313e4(0x464)](_0x247b28),{'left':_0x4c8bf0+_0x1eb1af-_0x51c1a9,'top':_0x29c0d2+_0x19bfc1-_0x1bae0c,'text':_0x3f6f1d,'color':_0x48f3df});this[_0x2313e4(0x35e)]=_0x5701e9,this[_0x2313e4(0x454)][_0x2313e4(0x427)](_0x5701e9,_0x47a231['TEXT_RANGE_LAYER_INDEX']),this[_0x2313e4(0x48d)]=!0x1;}['_handleHover'](){const _0x39363e=_0x369468,_0x227d92=this[_0x39363e(0x3da)][_0x39363e(0x281)][_0x39363e(0x3b0)](()=>{const _0x489d70=_0x39363e;this[_0x489d70(0x48d)]=!0x0;}),_0x298828=this[_0x39363e(0x3da)][_0x39363e(0x212)][_0x39363e(0x3b0)](()=>{const _0x10b5e6=_0x39363e;this[_0x10b5e6(0x312)]&&clearTimeout(this[_0x10b5e6(0x312)]),this[_0x10b5e6(0x312)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0xe20b8d=_0x39363e;_0x227d92[_0xe20b8d(0x419)](),_0x298828[_0xe20b8d(0x419)]();};}[_0x369468(0x24e)](_0x1d153d,_0x11c899,_0x45bdac,_0x496abd){const _0x3c7aed=_0x369468,_0x4a85e3=new _0x34f1d8[(_0x3c7aed(0x305))](_0x1d153d)[_0x3c7aed(0x2e5)](0.2)[_0x3c7aed(0x285)](),_0x113902=new _0x20bbd1['RegularPolygon'](_0x1e7f75+_0x34f1d8[_0x3c7aed(0x464)](_0x247b28),{'pointsGroup':_0x11c899,'fill':_0x4a85e3||_0x20bbd1[_0x3c7aed(0x2c6)](_0x34f1d8['COLORS'][_0x3c7aed(0x480)],0.2),'left':_0x45bdac,'top':_0x496abd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c7aed(0x308)][_0x3c7aed(0x258)](_0x113902),this[_0x3c7aed(0x454)][_0x3c7aed(0x427)](_0x113902,_0x47a231[_0x3c7aed(0x3fb)]);}['_drawRectRange'](_0x1c1942,_0x3652f7,_0x279fdb,_0x4e5f94){const _0x140ad0=_0x369468,_0xcbda95=new _0x34f1d8[(_0x140ad0(0x305))](_0x1c1942)['setAlpha'](0.2)[_0x140ad0(0x285)](),_0x293a7a=new _0x20bbd1[(_0x140ad0(0x2fc))](_0x4b1022+_0x34f1d8[_0x140ad0(0x464)](_0x247b28),{'pointsGroup':_0x3652f7,'fill':_0xcbda95||_0x20bbd1[_0x140ad0(0x2c6)](_0x34f1d8['COLORS'][_0x140ad0(0x480)],0.2),'left':_0x279fdb,'top':_0x4e5f94,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x140ad0(0x308)][_0x140ad0(0x258)](_0x293a7a),this[_0x140ad0(0x454)]['addObject'](_0x293a7a,_0x47a231['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x5616fd){const _0xb61dfb=_0x5616fd[0x0],_0x3495fd=_0xb61dfb[0x0],_0x5ebb65=_0xb61dfb[0x2],{x:_0x8176dd,y:_0x3cd027}=_0x3495fd,{x:_0x4adfda,y:_0x3438fd}=_0x5ebb65;return{'left':_0x8176dd,'top':_0x3cd027,'width':_0x4adfda-_0x8176dd,'height':_0x3438fd-_0x3cd027};}[_0x369468(0x3be)](){const _0xe680ac=_0x369468,{scaleX:_0x59c40c,scaleY:_0x5e9ef2}=this[_0xe680ac(0x454)][_0xe680ac(0x3f9)]();return Math[_0xe680ac(0x313)](_0x59c40c,_0x5e9ef2);}}var _0x31cfa5=Object[_0x369468(0x40f)],_0x277652=(_0x45e215,_0x25c4b6,_0x9cdcf2,_0x11a5c0)=>{const _0x113a7e=_0x369468;for(var _0xe9b6e9=_0x11a5c0>0x1?void 0x0:_0x11a5c0?_0x31cfa5(_0x25c4b6,_0x9cdcf2):_0x25c4b6,_0x363149=_0x45e215[_0x113a7e(0x411)]-0x1,_0x27bd72;_0x363149>=0x0;_0x363149--)(_0x27bd72=_0x45e215[_0x363149])&&(_0xe9b6e9=_0x27bd72(_0xe9b6e9)||_0xe9b6e9);return _0xe9b6e9;},_0x5a0ac0=(_0x26d0a0,_0x1c328c)=>(_0x4b2aa5,_0x35430f)=>_0x1c328c(_0x4b2aa5,_0x35430f,_0x26d0a0);let _0x331e0b=class extends _0x34f1d8['RxDisposable']{constructor(_0xe1d07,_0x373dc2,_0x253d64,_0xe740df,_0x3e3739){const _0x2d1bb7=_0x369468;super(),_0x45ff9b(this,_0x2d1bb7(0x1f2),[]),_0x45ff9b(this,_0x2d1bb7(0x22a),[]),(this[_0x2d1bb7(0x298)]=_0xe1d07,this[_0x2d1bb7(0x296)]=_0x373dc2,this[_0x2d1bb7(0x343)]=_0x253d64,this[_0x2d1bb7(0x33f)]=_0xe740df,this[_0x2d1bb7(0x348)]=_0x3e3739,this[_0x2d1bb7(0x2b0)]());}[_0x369468(0x2b0)](){const _0x525f30=_0x369468,_0x2aa7ff=this[_0x525f30(0x298)][_0x525f30(0x41d)],_0x3f77fe=this[_0x525f30(0x296)];this[_0x525f30(0x2d9)](_0x385e00[_0x525f30(0x4bb)]([this[_0x525f30(0x343)]['getCollabCursors$'](_0x2aa7ff),this['_themeService']['currentTheme$']])['pipe'](_0x345861[_0x525f30(0x2ce)](([_0x43151f,_0x39ef06])=>({'skeleton':_0x3f77fe['getSkeleton'](),'cursors':[..._0x43151f[_0x525f30(0x48a)]()][_0x525f30(0x2a1)](_0x51132e=>({..._0x51132e,'color':this[_0x525f30(0x348)][_0x525f30(0x422)](_0x51132e[_0x525f30(0x226)])}))})))[_0x525f30(0x47a)](_0x2da73f=>{const _0x489a4b=_0x525f30;if(this['_removeCollabCursors'](),_0x2da73f){const {skeleton:_0x15e808,cursors:_0x1778f9}=_0x2da73f;this[_0x489a4b(0x3d8)](_0x15e808,_0x1778f9);}})),this['_initResize'](),this[_0x525f30(0x2c5)]();}[_0x369468(0x3d8)](_0x2a9d35,_0x483036){const _0x192c3a=_0x369468,{scene:_0x42f560,mainComponent:_0x177a0d}=this[_0x192c3a(0x298)],_0x562a39=_0x483036['map'](_0x1ef7b0=>new _0x2e9b47(_0x1ef7b0,_0x42f560,_0x2a9d35,_0x177a0d));this[_0x192c3a(0x1f2)]=_0x562a39,this[_0x192c3a(0x22a)]=_0x483036;}[_0x369468(0x4a4)](){const _0x117170=_0x369468;this[_0x117170(0x435)]();const {scene:_0x1726a2,mainComponent:_0x491eb5}=this[_0x117170(0x298)],_0x2f2013=this['_docSkeletonManagerService'][_0x117170(0x47e)](),_0x4f37e3=this[_0x117170(0x22a)][_0x117170(0x2ce)](_0x469e2a=>new _0x2e9b47(_0x469e2a,_0x1726a2,_0x2f2013,_0x491eb5));this[_0x117170(0x1f2)]=_0x4f37e3;}[_0x369468(0x435)](){const _0xc21f40=_0x369468;this[_0xc21f40(0x1f2)][_0xc21f40(0x336)](_0x107a15=>_0x107a15[_0xc21f40(0x486)]()),this[_0xc21f40(0x1f2)]=[];}['_initCommandExecutedListener'](){const _0x24e17a=_0x369468,_0xd7e7f=[_0x47a231[_0x24e17a(0x25f)]['id']];this['disposeWithMe'](this['_commandService'][_0x24e17a(0x2f2)](_0x592807=>{const _0x4fb93c=_0x24e17a;_0xd7e7f['includes'](_0x592807['id'])&&_0x592807['params']['unitId']===this['_context'][_0x4fb93c(0x41d)]&&this[_0x4fb93c(0x4a4)]();}));}['_initResize'](){const _0x5b112e=_0x369468;this[_0x5b112e(0x2d9)](_0x34f1d8['fromEventSubject'](this[_0x5b112e(0x298)]['engine'][_0x5b112e(0x394)])[_0x5b112e(0x2f9)](_0x345861[_0x5b112e(0x276)](_0x4b3bba=>_0x4b3bba[_0x5b112e(0x395)]===_0x20bbd1['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x5b112e(0x34a)]),_0x345861[_0x5b112e(0x3d0)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x331e0b=_0x277652([_0x5a0ac0(0x1,_0x34f1d8[_0x369468(0x2db)](_0x49d9c8[_0x369468(0x482)])),_0x5a0ac0(0x2,_0x34f1d8['Inject'](_0x531216)),_0x5a0ac0(0x3,_0x34f1d8[_0x369468(0x499)]),_0x5a0ac0(0x4,_0x34f1d8['Inject'](_0x34f1d8[_0x369468(0x220)]))],_0x331e0b);const _0x4dfb5e=0x1,_0x5073e3=1.5;class _0x2b0016 extends _0x20bbd1[_0x369468(0x3c2)]{constructor(_0x4ecade,_0x2af31d){const _0x905ac9=_0x369468;super(_0x4ecade,_0x2af31d),_0x45ff9b(this,'_color'),_0x45ff9b(this,_0x905ac9(0x327),!0x1),_0x45ff9b(this,_0x905ac9(0x401)),_0x45ff9b(this,_0x905ac9(0x222),''),_0x45ff9b(this,_0x905ac9(0x490),_0x905ac9(0x3bc)),_0x45ff9b(this,_0x905ac9(0x1f7)),(_0x2af31d&&this[_0x905ac9(0x4aa)](_0x2af31d),this[_0x905ac9(0x281)][_0x905ac9(0x3b0)](()=>this[_0x905ac9(0x4aa)]({'hovered':!0x0})),this[_0x905ac9(0x212)][_0x905ac9(0x3b0)](()=>this[_0x905ac9(0x4aa)]({'hovered':!0x1})));}[_0x369468(0x4aa)](_0x2318d5){const _0x56a44b=_0x369468;var _0x500f5a,_0x44fbfc,_0x352430,_0x451db2,_0x4320df,_0x5a91bc;this['_color']=(_0x500f5a=_0x2318d5[_0x56a44b(0x226)])!=null?_0x500f5a:this[_0x56a44b(0x39d)],this[_0x56a44b(0x327)]=(_0x44fbfc=_0x2318d5[_0x56a44b(0x32b)])!=null?_0x44fbfc:this[_0x56a44b(0x327)],this[_0x56a44b(0x401)]=(_0x352430=_0x2318d5[_0x56a44b(0x472)])!=null?_0x352430:this[_0x56a44b(0x401)],this[_0x56a44b(0x222)]=(_0x451db2=_0x2318d5[_0x56a44b(0x330)])!=null?_0x451db2:this[_0x56a44b(0x222)],this[_0x56a44b(0x490)]=(_0x4320df=_0x2318d5[_0x56a44b(0x1fe)])!=null?_0x4320df:this[_0x56a44b(0x490)],this[_0x56a44b(0x1f7)]=(_0x5a91bc=_0x2318d5[_0x56a44b(0x3fe)])!=null?_0x5a91bc:this['_backgroundColor'],this[_0x56a44b(0x29f)]({'width':_0x2318d5['width'],'height':_0x2318d5[_0x56a44b(0x2d4)]});}[_0x369468(0x242)](_0x36fe16){const _0x84b848=_0x369468,{row:_0x19f158,column:_0x118b4f}=_0x36fe16;if(_0x19f158>=this['_range']['startRow']&&_0x19f158<=this['_range']['endRow']&&_0x118b4f>=this[_0x84b848(0x401)][_0x84b848(0x430)]&&_0x118b4f<=this['_range']['endColumn']){this[_0x84b848(0x4aa)]({'hovered':!0x0});return;}this[_0x84b848(0x4aa)]({'hovered':!0x1});}['triggerDblclick'](_0x44522c){return!0x1;}['_draw'](_0x5dc94e){const _0x2e3960=_0x369468;_0x20bbd1[_0x2e3960(0x2be)]['drawWith'](_0x5dc94e,{'width':this[_0x2e3960(0x202)],'height':this[_0x2e3960(0x2d4)],'strokeWidth':_0x5073e3,'stroke':this[_0x2e3960(0x39d)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x5dc94e[_0x2e3960(0x48f)](),_0x5dc94e['transform'](0x1,0x0,0x0,0x1,this[_0x2e3960(0x202)],this[_0x2e3960(0x490)]==='bottom'?0x0:-_0x1bae0c),_0x2a5a24['drawWith'](_0x5dc94e,{'text':this[_0x2e3960(0x222)],'color':this['_color']}),_0x5dc94e['restore']());}}var _0x3f303a=Object[_0x369468(0x40f)],_0x8edae7=(_0x4f8633,_0x13f46e,_0x28074a,_0x108fa8)=>{const _0x13bf64=_0x369468;for(var _0x50a8a7=_0x108fa8>0x1?void 0x0:_0x108fa8?_0x3f303a(_0x13f46e,_0x28074a):_0x13f46e,_0x25d196=_0x4f8633[_0x13bf64(0x411)]-0x1,_0x5f2554;_0x25d196>=0x0;_0x25d196--)(_0x5f2554=_0x4f8633[_0x25d196])&&(_0x50a8a7=_0x5f2554(_0x50a8a7)||_0x50a8a7);return _0x50a8a7;},_0x36e14e=(_0x305bed,_0x59e9fa)=>(_0x3dda08,_0x316af1)=>_0x59e9fa(_0x3dda08,_0x316af1,_0x305bed);const _0x5ba77d=0x1389;let _0x48b586=class extends _0x34f1d8[_0x369468(0x204)]{constructor(_0xd3ecbf,_0x125038,_0x3c546f,_0x4cba35){const _0x610b56=_0x369468;super(),_0x45ff9b(this,_0x610b56(0x22a),new Set()),_0x45ff9b(this,_0x610b56(0x496),null),(this[_0x610b56(0x298)]=_0xd3ecbf,this[_0x610b56(0x3bb)]=_0x125038,this[_0x610b56(0x343)]=_0x3c546f,this['_themeService']=_0x4cba35,this[_0x610b56(0x2b0)]());}[_0x369468(0x2b0)](){const _0x44b519=_0x369468;this[_0x44b519(0x3bb)]['currentSkeleton$'][_0x44b519(0x2f9)](_0x345861['takeUntil'](this[_0x44b519(0x230)]),_0x345861[_0x44b519(0x3cd)](_0x3ff5c1=>{const _0x30f3fb=_0x44b519;if(_0x3ff5c1){const _0x16d3f5=_0x3ff5c1[_0x30f3fb(0x33b)];return _0x385e00[_0x30f3fb(0x4bb)](this[_0x30f3fb(0x343)][_0x30f3fb(0x2f3)](this[_0x30f3fb(0x298)][_0x30f3fb(0x41d)]),this[_0x30f3fb(0x348)][_0x30f3fb(0x2a0)])[_0x30f3fb(0x2f9)](_0x345861[_0x30f3fb(0x2ce)](([_0x11d637,_0x5d0ab7])=>{const _0x15a955=_0x30f3fb,_0x11b52b=new Map();return _0x11d637[_0x15a955(0x336)]((_0x53d779,_0x3b5e1b)=>{const _0x18ef87=_0x15a955;if(_0x53d779[_0x18ef87(0x377)]===_0x16d3f5){const _0x220588={..._0x53d779};_0x220588[_0x18ef87(0x226)]=this['_themeService']['getColorFromTheme'](_0x53d779[_0x18ef87(0x226)]),_0x11b52b[_0x18ef87(0x386)](_0x3b5e1b,_0x220588);}}),{'skeleton':_0x3ff5c1,'cursors':_0x11b52b};}));}return _0x385e00['of']({'skeleton':null,'cursors':new Map()});}))[_0x44b519(0x47a)](({skeleton:_0x474c7d,cursors:_0x371371})=>{const _0x4e2ffd=_0x44b519;this['_removeCollabCursors'](),_0x474c7d&&this[_0x4e2ffd(0x3d8)](_0x474c7d,_0x371371);}),this[_0x44b519(0x3bb)]['currentSkeleton$'][_0x44b519(0x47a)](_0x1ad44b=>{const _0x1f8faa=_0x44b519;if(_0x1ad44b==null)return;const {skeleton:_0x2e4bab}=_0x1ad44b,{scene:_0x1f112e}=this[_0x1f8faa(0x298)];_0x1f112e[_0x1f8faa(0x49a)][_0x1f8faa(0x3b0)](_0x34f1d8['debounce'](_0x3a1fba=>{const _0x338296=_0x1f8faa;var _0x358a57,_0x475abc;const {offsetX:_0x194ff0,offsetY:_0x45e156}=_0x3a1fba,{x:_0x1dc6e6,y:_0x2afbde}=_0x1f112e[_0x338296(0x4c7)](_0x20bbd1[_0x338296(0x20a)][_0x338296(0x495)]([_0x194ff0,_0x45e156])),{scaleX:_0x3833bd,scaleY:_0x3bee62}=_0x1f112e[_0x338296(0x3f9)](),_0x38c1c5=_0x1f112e['getViewport'](_0x20bbd1[_0x338296(0x2e6)][_0x338296(0x3c5)]),_0x56da59=_0x1f112e[_0x338296(0x42b)](_0x20bbd1[_0x338296(0x20a)]['FromArray']([_0x1dc6e6,_0x2afbde]),_0x38c1c5),_0x4e5041=_0x2e4bab[_0x338296(0x251)](_0x194ff0,_0x45e156,_0x3833bd,_0x3bee62,_0x56da59);((_0x358a57=this['_lastPointer'])==null?void 0x0:_0x358a57['column'])===_0x4e5041[_0x338296(0x200)]&&((_0x475abc=this[_0x338296(0x496)])==null?void 0x0:_0x475abc[_0x338296(0x442)])===_0x4e5041[_0x338296(0x442)]||this[_0x338296(0x22a)][_0x338296(0x336)](_0x7630a5=>{_0x7630a5['onMouseMove'](_0x4e5041);});},0x64));});}[_0x369468(0x3d8)](_0x1dca38,_0x36a6f1){const _0x39bf2b=_0x369468;var _0x47cbe0;const _0x354b0f=(_0x47cbe0=this['_sheetSkeletonManagerService'][_0x39bf2b(0x3dc)]())==null?void 0x0:_0x47cbe0['skeleton'];if(!_0x354b0f)return;const _0x574b87=this['_getSheetObject']();if(!_0x574b87)return;this[_0x39bf2b(0x22a)][_0x39bf2b(0x336)](_0x339d9b=>{const _0x696be4=_0x39bf2b;_0x339d9b[_0x696be4(0x2de)]();});const {scene:_0x175a4e}=_0x574b87,_0x265eac=_0x7f6700(Array[_0x39bf2b(0x415)](_0x36a6f1[_0x39bf2b(0x48a)]()))[_0x39bf2b(0x2ce)](_0x3f3043=>{const _0x23afc9=_0x39bf2b,{color:_0x1d37fe,range:_0x4e5037,name:_0x16ff93,selection:_0x2d622b,sheetID:_0x3136e8}=_0x3f3043,{startColumn:_0x34ecc6,startRow:_0x32acbb,endColumn:_0x143f9c,endRow:_0x57cfb2}=_0x4e5037,_0x3fbf36=_0x4d9d5f[_0x23afc9(0x4b1)](_0x32acbb,_0x34ecc6,_0x175a4e,_0x354b0f),_0x398857=_0x4d9d5f[_0x23afc9(0x4b1)](_0x57cfb2,_0x143f9c,_0x175a4e,_0x354b0f),{columnHeaderHeightAndMarginTop:_0x5f4001}=_0x354b0f,{startX:_0x337b7e,startY:_0x137a3f}=_0x3fbf36,{endX:_0x4e99da,endY:_0xac4d8}=_0x398857,_0x3bd053=_0x4e99da-_0x337b7e,_0x3d8748=_0xac4d8-_0x137a3f,_0x3db473={'labelPosition':_0x137a3f-_0x5f4001>=_0x1bae0c?_0x23afc9(0x3bc):_0x23afc9(0x347),'sheetID':_0x3136e8,'range':_0x4e5037,'color':_0x1d37fe,'name':_0x16ff93,'selection':_0x2d622b,'left':_0x337b7e,'top':_0x137a3f,'width':_0x3bd053,'height':_0x3d8748,'evented':!0x1,'zIndex':_0x5ba77d};return new _0x2b0016(_0x16ff93,_0x3db473);});_0x175a4e[_0x39bf2b(0x3e3)](_0x265eac,_0x4dfb5e),this[_0x39bf2b(0x22a)]=new Set(_0x265eac);}[_0x369468(0x435)](){const _0x2f1c8b=_0x369468;var _0x2d8a1f;(_0x2d8a1f=this[_0x2f1c8b(0x22a)])==null||_0x2d8a1f[_0x2f1c8b(0x336)](_0x5d8b70=>_0x5d8b70[_0x2f1c8b(0x486)]());}['_getSheetObject'](){return _0x4d9d5f['getSheetObject'](this['_context']['unit'],this['_context']);}};_0x48b586=_0x8edae7([_0x36e14e(0x1,_0x34f1d8[_0x369468(0x2db)](_0x4d9d5f['SheetSkeletonManagerService'])),_0x36e14e(0x2,_0x34f1d8[_0x369468(0x2db)](_0x531216)),_0x36e14e(0x3,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x220)]))],_0x48b586);function _0x7f6700(_0x8a7686){const _0x42145d=_0x369468,_0x5e390a=new Map();return _0x8a7686[_0x42145d(0x336)](_0x272eb4=>{const _0x1defcd=_0x42145d;if(_0x5e390a[_0x1defcd(0x48b)](_0x272eb4[_0x1defcd(0x43b)])){const _0x54b452=_0x5e390a[_0x1defcd(0x2b5)](_0x272eb4[_0x1defcd(0x43b)]);_0x54b452[_0x1defcd(0x330)]+=',\x20'+_0x272eb4[_0x1defcd(0x330)];}else _0x5e390a[_0x1defcd(0x386)](_0x272eb4[_0x1defcd(0x43b)],_0x272eb4);}),Array[_0x42145d(0x415)](_0x5e390a[_0x42145d(0x48a)]());}var _0x3f951f=Object[_0x369468(0x40f)],_0x3968fd=(_0x428cef,_0x335f24,_0x3863fd,_0x2081d8)=>{const _0x4baa1f=_0x369468;for(var _0x134b83=_0x2081d8>0x1?void 0x0:_0x2081d8?_0x3f951f(_0x335f24,_0x3863fd):_0x335f24,_0x18d569=_0x428cef[_0x4baa1f(0x411)]-0x1,_0x379530;_0x18d569>=0x0;_0x18d569--)(_0x379530=_0x428cef[_0x18d569])&&(_0x134b83=_0x379530(_0x134b83)||_0x134b83);return _0x134b83;},_0x5a98af=(_0x35e722,_0x19208e)=>(_0x339081,_0xdbc9e)=>_0x19208e(_0x339081,_0xdbc9e,_0x35e722);let _0x37e1d9=class extends _0x34f1d8[_0x369468(0x3ac)]{constructor(_0x476d5d,_0x4bf57a,_0x36797a,_0x116f8a,_0x409434,_0x3c6bec){const _0x2b2e1c=_0x369468;super(),this[_0x2b2e1c(0x402)]=_0x476d5d,this[_0x2b2e1c(0x485)]=_0x4bf57a,this[_0x2b2e1c(0x1e9)]=_0x36797a,this[_0x2b2e1c(0x378)]=_0x116f8a,this[_0x2b2e1c(0x2e4)]=_0x409434,this[_0x2b2e1c(0x3b8)]=_0x3c6bec,this['_setupBeforeClosingHandler'](),this[_0x2b2e1c(0x279)]();}[_0x369468(0x423)](){const _0x308e7f=_0x369468;this[_0x308e7f(0x2d9)](this[_0x308e7f(0x402)]['registerBeforeClose'](()=>{const _0x36538a=_0x308e7f;if(this[_0x36538a(0x485)][_0x36538a(0x321)][_0x36538a(0x3df)])return this['_localeService']['t'](_0x36538a(0x393));}));}[_0x369468(0x279)](){const _0x36018d=_0x369468;this[_0x36018d(0x2d9)](this[_0x36018d(0x1e9)][_0x36018d(0x2ff)][_0x36018d(0x47a)](_0x17d29a=>{const _0x5a831a=_0x36018d;_0x17d29a['id']===_0x19bf42['CollaborationUIEventId'][_0x5a831a(0x2a5)]&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2[_0x5a831a(0x2e2)][_0x5a831a(0x4d3)],'content':this['_localeService']['t'](_0x5a831a(0x303))}),_0x17d29a['id']===_0x19bf42['CollaborationUIEventId'][_0x5a831a(0x421)]&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2[_0x5a831a(0x2e2)][_0x5a831a(0x4d3)],'content':this[_0x5a831a(0x3b8)]['t'](_0x5a831a(0x1fd))}),_0x17d29a['id']===_0x19bf42['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x5a831a(0x2e4)][_0x5a831a(0x475)]({'title':this[_0x5a831a(0x3b8)]['t'](_0x5a831a(0x403)),'content':this[_0x5a831a(0x3b8)]['t'](_0x5a831a(0x4cf)),'type':_0x5a831a(0x22b),'duration':0x0}),_0x17d29a['id']===_0x19bf42[_0x5a831a(0x290)][_0x5a831a(0x263)]&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2['MessageType'][_0x5a831a(0x366)],'content':this[_0x5a831a(0x3b8)]['t'](_0x5a831a(0x1fd))+'('+_0x17d29a['data']+')'}),_0x17d29a['id']===_0x19bf42['CollaborationUIEventId'][_0x5a831a(0x3f8)]&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2[_0x5a831a(0x2e2)][_0x5a831a(0x4d3)],'content':this['_localeService']['t'](_0x17d29a[_0x5a831a(0x227)]||'')}),_0x17d29a['id']===_0x19bf42[_0x5a831a(0x290)][_0x5a831a(0x3fd)]&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2[_0x5a831a(0x2e2)]['Warning'],'content':this[_0x5a831a(0x3b8)]['t']('session.will-retry')}),_0x17d29a['id']===_0x19bf42['CollaborationUIEventId'][_0x5a831a(0x3e9)]&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2['MessageType']['Error'],'content':this[_0x5a831a(0x3b8)]['t']('session.connection-failed')}),_0x17d29a['id']===_0x19bf42['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x5a831a(0x378)][_0x5a831a(0x475)]({'type':_0x1dffd2[_0x5a831a(0x2e2)]['Error'],'content':this[_0x5a831a(0x3b8)]['t'](_0x5a831a(0x45b))});}));}};_0x37e1d9=_0x3968fd([_0x5a98af(0x0,_0x2d6b7e[_0x369468(0x36e)]),_0x5a98af(0x1,_0x19bf42[_0x369468(0x3c0)]),_0x5a98af(0x2,_0x34f1d8[_0x369468(0x2db)](_0x19bf42['CollaborationUIEventService'])),_0x5a98af(0x3,_0x2d6b7e['IMessageService']),_0x5a98af(0x4,_0x2d6b7e[_0x369468(0x2d7)]),_0x5a98af(0x5,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x33e)]))],_0x37e1d9);var _0x2ada6b=Object[_0x369468(0x40f)],_0x500dd4=(_0x573268,_0xaa6252,_0xf0b1dd,_0x175a31)=>{const _0x123933=_0x369468;for(var _0x5ec8ce=_0x175a31>0x1?void 0x0:_0x175a31?_0x2ada6b(_0xaa6252,_0xf0b1dd):_0xaa6252,_0x53a512=_0x573268[_0x123933(0x411)]-0x1,_0x15ab6a;_0x53a512>=0x0;_0x53a512--)(_0x15ab6a=_0x573268[_0x53a512])&&(_0x5ec8ce=_0x15ab6a(_0x5ec8ce)||_0x5ec8ce);return _0x5ec8ce;},_0x208d06=(_0x48863e,_0x331a7b)=>(_0x52a92c,_0x58d4e6)=>_0x331a7b(_0x52a92c,_0x58d4e6,_0x48863e);let _0x2dc5fe=class extends _0x34f1d8['Disposable']{constructor(_0x3e88b4,_0x3592d9,_0x33a8f2,_0x1afb38){const _0x18f5de=_0x369468;super(),_0x45ff9b(this,_0x18f5de(0x2c2)),(this[_0x18f5de(0x483)]=_0x3e88b4,this['_httpService']=_0x3592d9,this['_logService']=_0x33a8f2,this[_0x18f5de(0x420)]=_0x1afb38,this[_0x18f5de(0x2b0)]());}[_0x369468(0x2b0)](){const _0x32d4a8=_0x369468;this['_initWindowErrorListener'](),this[_0x32d4a8(0x4cb)](),this[_0x32d4a8(0x438)](),this[_0x32d4a8(0x2b8)]();}[_0x369468(0x2b8)](){const _0x2372fa=_0x369468;this[_0x2372fa(0x2d9)](this[_0x2372fa(0x420)][_0x2372fa(0x4a2)][_0x2372fa(0x47a)](_0x2e3666=>{const _0x457bf9=_0x2372fa;this[_0x457bf9(0x2c2)]=_0x2e3666==null?void 0x0:_0x2e3666[_0x457bf9(0x26d)];}));}[_0x369468(0x203)](){const _0x23656c=_0x369468,_0xb99326=_0x5d02b1=>{const _0x4229e6=_0x1c91;var _0x553ce9;this['_uploadLog'](_0x4229e6(0x22b),_0x4229e6(0x458)+_0x5d02b1[_0x4229e6(0x358)]+_0x4229e6(0x28e)+_0x5d02b1[_0x4229e6(0x3de)]+':'+_0x5d02b1[_0x4229e6(0x43d)]+':'+_0x5d02b1[_0x4229e6(0x444)]+'\x0a'+(((_0x553ce9=_0x5d02b1[_0x4229e6(0x22b)])==null?void 0x0:_0x553ce9['stack'])||''));};window[_0x23656c(0x49c)](_0x23656c(0x22b),_0xb99326),this[_0x23656c(0x2d9)](()=>{const _0x3044d0=_0x23656c;window[_0x3044d0(0x252)](_0x3044d0(0x22b),_0xb99326);});}['_initUnhandledRejectionListener'](){const _0x334c22=_0x369468,_0xe058d4=_0x5592cb=>{const _0x17d6e7=_0x1c91;this[_0x17d6e7(0x379)]('error',_0x17d6e7(0x3dd)+_0x5592cb[_0x17d6e7(0x3ce)]);};window[_0x334c22(0x49c)](_0x334c22(0x3b3),_0xe058d4),this['disposeWithMe'](()=>{const _0x3d71e9=_0x334c22;window[_0x3d71e9(0x252)]('unhandledrejection',_0xe058d4);});}[_0x369468(0x438)](){const _0x561afe=_0x369468,_0x3e59df=this[_0x561afe(0x274)]['error']['bind'](this[_0x561afe(0x274)]);this[_0x561afe(0x274)][_0x561afe(0x22b)]=(..._0x1725e0)=>{const _0x4b9d6d=_0x561afe,_0x6fb806=_0x1725e0[_0x4b9d6d(0x2ce)](_0x4b8fc2=>_0x4b8fc2 instanceof Error?_0x4b8fc2['message']+'\x0a'+_0x4b8fc2[_0x4b9d6d(0x3fc)]:String(_0x4b8fc2))[_0x4b9d6d(0x43a)]('\x20');this[_0x4b9d6d(0x379)](_0x4b9d6d(0x22b),_0x4b9d6d(0x235)+_0x6fb806),_0x3e59df(..._0x1725e0);},this[_0x561afe(0x2d9)](()=>{const _0x4a96a5=_0x561afe;this['_logService'][_0x4a96a5(0x22b)]=_0x3e59df;});}[_0x369468(0x379)](_0xd1f2a2,_0x5709e8){const _0x3225bf=_0x369468;try{const _0x3940d8={'userId':this[_0x3225bf(0x2c2)],'logLabel':_0xd1f2a2,'content':_0x5709e8};this[_0x3225bf(0x42f)][_0x3225bf(0x4be)]('/universer-api/frontend/logs',{'body':_0x3940d8})['catch'](()=>{});}catch{}}};_0x2dc5fe=_0x500dd4([_0x208d06(0x0,_0x34f1d8['Inject'](_0x34f1d8[_0x369468(0x341)])),_0x208d06(0x1,_0x34f1d8[_0x369468(0x2db)](_0x22f61a[_0x369468(0x22c)])),_0x208d06(0x2,_0x34f1d8[_0x369468(0x425)]),_0x208d06(0x3,_0x34f1d8['Inject'](_0x19bf42[_0x369468(0x474)]))],_0x2dc5fe);const _0x425a0b='collaboration-client-ui.config',_0x1a0903={};var _0x42f1d6=Object['getOwnPropertyDescriptor'],_0x4d5319=(_0x31b088,_0x506732,_0x4a8228,_0x584fb8)=>{const _0x1f31a1=_0x369468;for(var _0x22d541=_0x584fb8>0x1?void 0x0:_0x584fb8?_0x42f1d6(_0x506732,_0x4a8228):_0x506732,_0x9c7826=_0x31b088[_0x1f31a1(0x411)]-0x1,_0x3eb36d;_0x9c7826>=0x0;_0x9c7826--)(_0x3eb36d=_0x31b088[_0x9c7826])&&(_0x22d541=_0x3eb36d(_0x22d541)||_0x22d541);return _0x22d541;},_0x56c8cb=(_0x5c5294,_0x254448)=>(_0x425ef0,_0x14f73f)=>_0x254448(_0x425ef0,_0x14f73f,_0x5c5294);let _0x5bfd19=class{constructor(_0x15f882,_0x5b4455){const _0x2940c4=_0x369468;this['_transformService']=_0x15f882,this[_0x2940c4(0x300)]=_0x5b4455;}['transformIMECache'](_0x299950){const _0x3d92db=_0x369468;this[_0x3d92db(0x4b0)](_0x299950),this[_0x3d92db(0x229)](_0x299950);}[_0x369468(0x215)](_0x4c2ed6){const _0x35473c=_0x369468,{unitID:_0x448bf1}=_0x4c2ed6,_0x2ca823=this['_renderManagerService'][_0x35473c(0x46d)](_0x448bf1)[_0x35473c(0x441)](_0x47a231[_0x35473c(0x443)]),{redoCache:_0x41cf23}=_0x2ca823['getUndoRedoMutationParamsCache']();if(_0x41cf23[_0x35473c(0x411)]===0x0)return _0x4c2ed6;let _0x13defe=_0x34f1d8[_0x35473c(0x315)]['deepClone'](_0x4c2ed6[_0x35473c(0x247)][0x0]);for(let _0xa57173=0x0;_0xa57173<_0x41cf23[_0x35473c(0x411)];_0xa57173++){const _0x4087ea={'id':'doc.mutation.rich-text-editing','params':{..._0x41cf23[_0xa57173]}},_0x4e701b=this['_transformService'][_0x35473c(0x21e)](_0x13defe,_0x4087ea,!0x1);if(_0x40c5dd[_0x35473c(0x29b)](_0x4e701b))throw _0x4e701b[_0x35473c(0x22b)];_0x13defe=_0x4e701b['m1Prime'];}return{..._0x34f1d8[_0x35473c(0x315)][_0x35473c(0x36f)](_0x4c2ed6),'mutations':[_0x13defe]};}['_transformUndoRedoStack'](_0x387602){const _0x2c4751=_0x369468,{unitID:_0x43beed}=_0x387602,_0x47261f=this[_0x2c4751(0x300)][_0x2c4751(0x46d)](_0x43beed)['with'](_0x47a231[_0x2c4751(0x443)]),{undoCache:_0x1bd47c,redoCache:_0x409f2c}=_0x47261f[_0x2c4751(0x3e4)]();if(_0x1bd47c[_0x2c4751(0x411)]===0x0||_0x409f2c[_0x2c4751(0x411)]===0x0)return;const _0x1723d7=[],_0x859fb3=[];let _0x378c1d=_0x34f1d8['Tools'][_0x2c4751(0x36f)](_0x387602['mutations'][0x0]),_0x200425=_0x34f1d8[_0x2c4751(0x315)]['deepClone'](_0x387602[_0x2c4751(0x247)][0x0]);for(let _0x3b22ab=_0x1bd47c[_0x2c4751(0x411)]-0x1;_0x3b22ab>=0x0;_0x3b22ab--){const _0x5b1ea3={'id':'doc.mutation.rich-text-editing','params':{..._0x1bd47c[_0x3b22ab]}},_0x2fe512={'id':_0x2c4751(0x489),'params':{..._0x409f2c[_0x3b22ab]}},_0x1df416=this[_0x2c4751(0x413)][_0x2c4751(0x21e)](_0x378c1d,_0x5b1ea3,!0x1),_0x2916f3=this[_0x2c4751(0x413)][_0x2c4751(0x21e)](_0x200425,_0x2fe512,!0x1);if(_0x40c5dd['isTransformMutationFailure'](_0x1df416))throw _0x1df416['error'];if(_0x40c5dd[_0x2c4751(0x29b)](_0x2916f3))throw _0x2916f3[_0x2c4751(0x22b)];_0x1723d7[_0x2c4751(0x1ec)](_0x1df416[_0x2c4751(0x3b1)][_0x2c4751(0x42e)]),_0x859fb3[_0x2c4751(0x1ec)](_0x2916f3[_0x2c4751(0x3b1)]['params']),_0x378c1d=_0x1df416[_0x2c4751(0x4ad)],_0x200425=_0x2916f3['m1Prime'];}_0x47261f[_0x2c4751(0x3f7)]({'undoCache':_0x1723d7,'redoCache':_0x859fb3});}[_0x369468(0x229)](_0x5dfb76){const _0x3a5ffa=_0x369468,{unitID:_0x1b7e06}=_0x5dfb76,_0x200cc4=this[_0x3a5ffa(0x300)]['getRenderById'](_0x1b7e06)[_0x3a5ffa(0x441)](_0x47a231[_0x3a5ffa(0x443)]),_0x1375eb=_0x200cc4[_0x3a5ffa(0x3f5)]();if(_0x1375eb==null)return;const _0x43747f=[{'id':_0x3a5ffa(0x489),'params':{'unitId':_0x5dfb76[_0x3a5ffa(0x33d)],'actions':null,'textRanges':[_0x1375eb]}}],_0x4994c2=this[_0x3a5ffa(0x413)][_0x3a5ffa(0x1fc)](_0x5dfb76,_0x43747f);if(!_0x40c5dd[_0x3a5ffa(0x3f2)](_0x4994c2))throw _0x4994c2[_0x3a5ffa(0x22b)];const _0x3b8197=_0x4994c2[_0x3a5ffa(0x3b1)][0x0][_0x3a5ffa(0x42e)]['textRanges'];Array[_0x3a5ffa(0x3c7)](_0x3b8197)&&_0x3b8197['length']&&_0x200cc4[_0x3a5ffa(0x41e)](_0x3b8197[0x0]);}};_0x5bfd19=_0x4d5319([_0x56c8cb(0x0,_0x40c5dd[_0x369468(0x246)]),_0x56c8cb(0x1,_0x20bbd1['IRenderManagerService'])],_0x5bfd19);var _0x597256=Object[_0x369468(0x40f)],_0x3c99e3=(_0x361d2d,_0x232c9a,_0x13700f,_0x4bbb62)=>{for(var _0x313cbd=_0x4bbb62>0x1?void 0x0:_0x4bbb62?_0x597256(_0x232c9a,_0x13700f):_0x232c9a,_0xe091ec=_0x361d2d['length']-0x1,_0x4d8c80;_0xe091ec>=0x0;_0xe091ec--)(_0x4d8c80=_0x361d2d[_0xe091ec])&&(_0x313cbd=_0x4d8c80(_0x313cbd)||_0x313cbd);return _0x313cbd;},_0x40fc67=(_0x50d29d,_0x22db11)=>(_0x577bbe,_0x5f2a8b)=>_0x22db11(_0x577bbe,_0x5f2a8b,_0x50d29d);let _0x174787=class{constructor(_0x3cb73d,_0x4522c6,_0x5ca012){const _0x2be7cc=_0x369468;this['_injector']=_0x3cb73d,this[_0x2be7cc(0x413)]=_0x4522c6,this[_0x2be7cc(0x340)]=_0x5ca012;}[_0x369468(0x260)](_0x480730){const _0x70e9b5=_0x369468;this[_0x70e9b5(0x3ae)](_0x480730);}[_0x369468(0x215)](_0x307bd2){const _0x5e62b9=_0x369468,{unitID:_0x5542a2}=_0x307bd2,{collaboration:_0x6e7dd0}=this[_0x5e62b9(0x340)][_0x5e62b9(0x4cd)](_0x5542a2);if(_0x6e7dd0['length']===0x0)return _0x307bd2;let _0x39d862=_0x34f1d8[_0x5e62b9(0x315)][_0x5e62b9(0x36f)](_0x307bd2[_0x5e62b9(0x247)][0x0]);for(let _0x410ee9=0x0;_0x410ee9<_0x6e7dd0[_0x5e62b9(0x411)];_0x410ee9++){const _0x7c8b3={'id':_0x5e62b9(0x489),'params':{'unitId':_0x6e7dd0[_0x410ee9]['unitId'],..._0x6e7dd0[_0x410ee9][_0x5e62b9(0x4b2)]}},_0x4403db=this[_0x5e62b9(0x413)]['transformMutation'](_0x39d862,_0x7c8b3,!0x1);if(_0x40c5dd[_0x5e62b9(0x29b)](_0x4403db))throw _0x4403db[_0x5e62b9(0x22b)];_0x39d862=_0x4403db[_0x5e62b9(0x4ad)];}return{..._0x34f1d8['Tools'][_0x5e62b9(0x36f)](_0x307bd2),'mutations':[_0x39d862]};}[_0x369468(0x3ae)](_0x2c7dd5){const _0x123eaf=_0x369468,{unitID:_0xa777a8}=_0x2c7dd5,{history:_0x284546,collaboration:_0x32404e}=this[_0x123eaf(0x340)][_0x123eaf(0x4cd)](_0xa777a8);if(_0x284546[_0x123eaf(0x411)]===0x0&&_0x32404e[_0x123eaf(0x411)]===0x0)return;const _0x48a990=[],_0x29b0b3=[];let _0xb14691=_0x34f1d8[_0x123eaf(0x315)]['deepClone'](_0x2c7dd5[_0x123eaf(0x247)][0x0]),_0x2be295=_0x34f1d8[_0x123eaf(0x315)][_0x123eaf(0x36f)](_0x2c7dd5[_0x123eaf(0x247)][0x0]);for(let _0x227b00=_0x284546[_0x123eaf(0x411)]-0x1;_0x227b00>=0x0;_0x227b00--){const _0x862b72={'id':_0x123eaf(0x489),'params':{'unitId':_0x284546[_0x227b00]['unitId'],..._0x284546[_0x227b00]['undoState']}},_0xd47ebf={'id':_0x123eaf(0x489),'params':{'unitId':_0x284546[_0x227b00][_0x123eaf(0x41d)],..._0x284546[_0x227b00][_0x123eaf(0x4b2)]}},_0x49b3c6=this['_transformService'][_0x123eaf(0x21e)](_0xb14691,_0x862b72,!0x1),_0x597cc3=this[_0x123eaf(0x413)]['transformMutation'](_0x2be295,_0xd47ebf,!0x1);if(_0x40c5dd[_0x123eaf(0x29b)](_0x49b3c6))throw _0x49b3c6[_0x123eaf(0x22b)];if(_0x40c5dd[_0x123eaf(0x29b)](_0x597cc3))throw _0x597cc3[_0x123eaf(0x22b)];_0x48a990['unshift']({..._0x284546[_0x227b00],'undoState':_0x49b3c6['m2Prime'][_0x123eaf(0x42e)],'redoState':_0x597cc3[_0x123eaf(0x3b1)]['params']}),_0xb14691=_0x49b3c6[_0x123eaf(0x4ad)],_0x2be295=_0x597cc3[_0x123eaf(0x4ad)];}_0xb14691=_0x34f1d8[_0x123eaf(0x315)][_0x123eaf(0x36f)](_0x2c7dd5[_0x123eaf(0x247)][0x0]),_0x2be295=_0x34f1d8[_0x123eaf(0x315)][_0x123eaf(0x36f)](_0x2c7dd5[_0x123eaf(0x247)][0x0]);for(let _0x484d36=_0x32404e[_0x123eaf(0x411)]-0x1;_0x484d36>=0x0;_0x484d36--){const _0xb53c45={'id':_0x123eaf(0x489),'params':{'unitId':_0x32404e[_0x484d36][_0x123eaf(0x41d)],..._0x32404e[_0x484d36]['undoState']}},_0x4b9d9d={'id':_0x123eaf(0x489),'params':{'unitId':_0x32404e[_0x484d36][_0x123eaf(0x41d)],..._0x32404e[_0x484d36]['redoState']}},_0x6053ca=this['_transformService'][_0x123eaf(0x21e)](_0xb14691,_0xb53c45,!0x1),_0x31200c=this['_transformService'][_0x123eaf(0x21e)](_0x2be295,_0x4b9d9d,!0x1);if(_0x40c5dd[_0x123eaf(0x29b)](_0x6053ca))throw _0x6053ca[_0x123eaf(0x22b)];if(_0x40c5dd[_0x123eaf(0x29b)](_0x31200c))throw _0x31200c[_0x123eaf(0x22b)];_0x29b0b3['unshift']({..._0x32404e[_0x484d36],'undoState':_0x6053ca[_0x123eaf(0x3b1)][_0x123eaf(0x42e)],'redoState':_0x31200c['m2Prime'][_0x123eaf(0x42e)]}),_0xb14691=_0x6053ca['m1Prime'],_0x2be295=_0x31200c[_0x123eaf(0x4ad)];}this[_0x123eaf(0x340)][_0x123eaf(0x47f)](_0xa777a8,{'history':_0x48a990,'collaboration':_0x29b0b3});}};_0x174787=_0x3c99e3([_0x40fc67(0x0,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x341)])),_0x40fc67(0x1,_0x40c5dd['ITransformService']),_0x40fc67(0x2,_0x34f1d8[_0x369468(0x2db)](_0x47a231['DocStateChangeManagerService']))],_0x174787);var _0x817a97=Object[_0x369468(0x40f)],_0x4d22bd=(_0x51ce9d,_0x4aadad,_0x58db89,_0x273b1c)=>{const _0x461dc7=_0x369468;for(var _0xed486b=_0x273b1c>0x1?void 0x0:_0x273b1c?_0x817a97(_0x4aadad,_0x58db89):_0x4aadad,_0x361fc1=_0x51ce9d[_0x461dc7(0x411)]-0x1,_0x53afe3;_0x361fc1>=0x0;_0x361fc1--)(_0x53afe3=_0x51ce9d[_0x361fc1])&&(_0xed486b=_0x53afe3(_0xed486b)||_0xed486b);return _0xed486b;},_0x5a6b10=(_0x4ef65e,_0x21d29e)=>(_0x3c1b3b,_0x4450f4)=>_0x21d29e(_0x3c1b3b,_0x4450f4,_0x4ef65e);let _0x44503d=class{constructor(_0x1e40f7,_0x1480d6){const _0x39a211=_0x369468;this[_0x39a211(0x483)]=_0x1e40f7,this['_transformService']=_0x1480d6;}[_0x369468(0x23e)](_0x9e45ff){const _0x49160a=_0x369468;var _0x49eccf;const _0x326631=this['_injector']['get'](_0x49d9c8[_0x49160a(0x428)]),_0x53dff8=(_0x49eccf=_0x326631[_0x49160a(0x3d5)]())!=null?_0x49eccf:[];if(_0x53dff8[_0x49160a(0x411)]===0x0)return;const _0x486509=_0x9e45ff['unitID'],_0x7cd4fa=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x486509,'actions':null,'textRanges':_0x53dff8}}],_0x5d22cd=this[_0x49160a(0x413)][_0x49160a(0x1fc)](_0x9e45ff,_0x7cd4fa);if(!_0x40c5dd[_0x49160a(0x3f2)](_0x5d22cd))throw _0x5d22cd['error'];const _0x14b2d3=_0x5d22cd[_0x49160a(0x3b1)][0x0][_0x49160a(0x42e)][_0x49160a(0x234)];Array[_0x49160a(0x3c7)](_0x14b2d3)&&_0x14b2d3['length']&&_0x326631[_0x49160a(0x28f)](_0x14b2d3,{'unitId':_0x486509,'subUnitId':_0x486509},!0x1);}};_0x44503d=_0x4d22bd([_0x5a6b10(0x0,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x341)])),_0x5a6b10(0x1,_0x40c5dd[_0x369468(0x246)])],_0x44503d);var _0x45aa5e=Object[_0x369468(0x40f)],_0x45acfa=(_0x2e2a6f,_0x489dc0,_0xd4dde4,_0x367b95)=>{const _0x432403=_0x369468;for(var _0x1de31c=_0x367b95>0x1?void 0x0:_0x367b95?_0x45aa5e(_0x489dc0,_0xd4dde4):_0x489dc0,_0x342807=_0x2e2a6f[_0x432403(0x411)]-0x1,_0x477058;_0x342807>=0x0;_0x342807--)(_0x477058=_0x2e2a6f[_0x342807])&&(_0x1de31c=_0x477058(_0x1de31c)||_0x1de31c);return _0x1de31c;},_0x529e87=(_0x1a9875,_0x2d8bd9)=>(_0x4c4959,_0x3d5c7a)=>_0x2d8bd9(_0x4c4959,_0x3d5c7a,_0x1a9875);let _0x379dde=class extends _0x34f1d8[_0x369468(0x3ac)]{constructor(_0x397092,_0x51b231,_0x135656,_0x2ca5bd,_0x283d8c,_0x92d012,_0x2d994a,_0x4f17ed){const _0x5702e6=_0x369468;super(),_0x45ff9b(this,_0x5702e6(0x22f),new _0x385e00[(_0x5702e6(0x2e1))](_0x19bf42[_0x5702e6(0x245)][_0x5702e6(0x24b)])),(this[_0x5702e6(0x340)]=_0x397092,this[_0x5702e6(0x43e)]=_0x51b231,this[_0x5702e6(0x239)]=_0x135656,this[_0x5702e6(0x478)]=_0x2ca5bd,this[_0x5702e6(0x3e0)]=_0x283d8c,this[_0x5702e6(0x3cc)]=_0x92d012,this['_messageService']=_0x2d994a,this[_0x5702e6(0x3b8)]=_0x4f17ed,this[_0x5702e6(0x28a)]());}['_initEntityListener'](){const _0x3e9f09=_0x369468;this[_0x3e9f09(0x2d9)](this['_collaborationController'][_0x3e9f09(0x4a8)][_0x3e9f09(0x47a)](_0x4f28e5=>{const _0x1d3f3d=_0x3e9f09,_0x463af7=this[_0x1d3f3d(0x340)][_0x1d3f3d(0x22d)][_0x1d3f3d(0x47a)](_0x767ceb=>{const _0x3be0e3=_0x1d3f3d;if(_0x767ceb==null)return;const {unitId:_0x528a00,redoState:_0xf1c186,commandId:_0x3ad770}=_0x767ceb;if(_0x528a00!==_0x4f28e5[_0x3be0e3(0x33d)])return;const _0x194bdb={'id':_0x3ad770,'type':_0x34f1d8[_0x3be0e3(0x42c)]['MUTATION'],'params':{'unitId':_0x528a00,'actions':_0xf1c186['actions'],'textRanges':null}};_0x4f28e5[_0x3be0e3(0x2d6)](_0x194bdb);});if(_0x4f28e5[_0x1d3f3d(0x2d9)](_0x463af7),_0x4f28e5 instanceof _0x19bf42[_0x1d3f3d(0x392)]){const _0x42cdb6={'onTransformIME':_0x48e809=>this[_0x1d3f3d(0x239)][_0x1d3f3d(0x32d)](_0x48e809),'onTransformState':_0x5b590d=>this[_0x1d3f3d(0x478)][_0x1d3f3d(0x260)](_0x5b590d),'onTransformSelections':_0x569b88=>this[_0x1d3f3d(0x3e0)][_0x1d3f3d(0x23e)](_0x569b88),'onSyncEditingCollabCursor':_0x38aa73=>this[_0x1d3f3d(0x3cc)][_0x1d3f3d(0x27f)](_0x38aa73),'onTransformRemoteChangesetByIMECache':_0x5430d7=>this[_0x1d3f3d(0x239)]['transformRemoteChangeset'](_0x5430d7),'onTransformRemoteChangesetByStateCache':_0x116ccf=>this[_0x1d3f3d(0x478)][_0x1d3f3d(0x215)](_0x116ccf)};_0x4f28e5[_0x1d3f3d(0x24c)](_0x42cdb6);}}));}};_0x379dde=_0x45acfa([_0x529e87(0x0,_0x34f1d8[_0x369468(0x2db)](_0x47a231[_0x369468(0x25d)])),_0x529e87(0x1,_0x34f1d8[_0x369468(0x2db)](_0x19bf42[_0x369468(0x455)])),_0x529e87(0x2,_0x34f1d8[_0x369468(0x2db)](_0x5bfd19)),_0x529e87(0x3,_0x34f1d8[_0x369468(0x2db)](_0x174787)),_0x529e87(0x4,_0x34f1d8['Inject'](_0x44503d)),_0x529e87(0x5,_0x34f1d8[_0x369468(0x2db)](_0xda9f47)),_0x529e87(0x6,_0x2d6b7e[_0x369468(0x35f)]),_0x529e87(0x7,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x33e)]))],_0x379dde);var _0x3fc67b=(_0x5358e9=>(_0x5358e9[_0x5358e9[_0x369468(0x302)]=0x0]='UNDEFINED',_0x5358e9[_0x5358e9['OK']=0x1]='OK',_0x5358e9[_0x5358e9[_0x369468(0x334)]=0x2]='INTERNAL_ERROR',_0x5358e9[_0x5358e9['PERMISSION_DENIED']=0x3]=_0x369468(0x28b),_0x5358e9[_0x5358e9['NOT_FOUND']=0x4]='NOT_FOUND',_0x5358e9[_0x5358e9[_0x369468(0x4a5)]=0x5]='UNAUTHENTICATED',_0x5358e9[_0x5358e9['ALREADY_EXISTS']=0x6]=_0x369468(0x3c8),_0x5358e9[_0x5358e9[_0x369468(0x1f9)]=0x7]=_0x369468(0x1f9),_0x5358e9[_0x5358e9[_0x369468(0x32c)]=0x8]=_0x369468(0x32c),_0x5358e9[_0x5358e9['COMPLETION_FINISHED']=0x9]=_0x369468(0x45e),_0x5358e9[_0x5358e9['LOGIN_FAILED']=0xa]=_0x369468(0x265),_0x5358e9[_0x5358e9[_0x369468(0x39b)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5358e9[_0x5358e9[_0x369468(0x2f6)]=0xc]=_0x369468(0x2f6),_0x5358e9[_0x5358e9[_0x369468(0x26b)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5358e9[_0x5358e9['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5358e9[_0x5358e9[_0x369468(0x39e)]=0xf]=_0x369468(0x39e),_0x5358e9[_0x5358e9[_0x369468(0x45a)]=0x10]=_0x369468(0x45a),_0x5358e9[_0x5358e9[_0x369468(0x1ed)]=0x64]=_0x369468(0x1ed),_0x5358e9[_0x5358e9[_0x369468(0x264)]=0x65]=_0x369468(0x264),_0x5358e9[_0x5358e9[_0x369468(0x429)]=0xc9]='USER_NOT_FOUND',_0x5358e9[_0x5358e9[_0x369468(0x325)]=0xca]=_0x369468(0x325),_0x5358e9[_0x5358e9[_0x369468(0x27b)]=0x1389]=_0x369468(0x27b),_0x5358e9[_0x5358e9[_0x369468(0x3c1)]=0x1771]=_0x369468(0x3c1),_0x5358e9[_0x5358e9[_0x369468(0x37b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5358e9[_0x5358e9[_0x369468(0x224)]=0x1773]=_0x369468(0x224),_0x5358e9[_0x5358e9[_0x369468(0x40b)]=0x1b59]=_0x369468(0x40b),_0x5358e9[_0x5358e9[_0x369468(0x354)]=0x1b5a]=_0x369468(0x354),_0x5358e9[_0x5358e9[_0x369468(0x397)]=0x1b5b]=_0x369468(0x397),_0x5358e9[_0x5358e9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x369468(0x331),_0x5358e9[_0x5358e9['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5358e9[_0x5358e9[_0x369468(0x3e6)]=0x1f41]=_0x369468(0x3e6),_0x5358e9[_0x5358e9[_0x369468(0x3a4)]=0x2329]=_0x369468(0x3a4),_0x5358e9[_0x5358e9[_0x369468(0x46e)]=0x232a]=_0x369468(0x46e),_0x5358e9[_0x5358e9[_0x369468(0x364)]=0x232b]=_0x369468(0x364),_0x5358e9[_0x5358e9[_0x369468(0x465)]=0x232c]=_0x369468(0x465),_0x5358e9[_0x5358e9[_0x369468(0x205)]=0x232d]=_0x369468(0x205),_0x5358e9[_0x5358e9[_0x369468(0x4d2)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5358e9[_0x5358e9[_0x369468(0x244)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5358e9[_0x5358e9['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5358e9[_0x5358e9[_0x369468(0x210)]=0x2714]=_0x369468(0x210),_0x5358e9[_0x5358e9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x369468(0x41a),_0x5358e9[_0x5358e9['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x369468(0x256),_0x5358e9[_0x5358e9[_0x369468(0x376)]=0x271c]=_0x369468(0x376),_0x5358e9[_0x5358e9[_0x369468(0x33c)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5358e9[_0x5358e9['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5358e9[_0x5358e9['YUUMI_AI_RUN_FAILED']=0x271f]=_0x369468(0x2a4),_0x5358e9[_0x5358e9[_0x369468(0x26c)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5358e9[_0x5358e9[_0x369468(0x241)]=0x2af9]=_0x369468(0x241),_0x5358e9[_0x5358e9[_0x369468(0x278)]=0x2ee1]=_0x369468(0x278),_0x5358e9[_0x5358e9[_0x369468(0x3d9)]=0x2ee2]=_0x369468(0x3d9),_0x5358e9[_0x5358e9[_0x369468(0x4ca)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5358e9[_0x5358e9[_0x369468(0x446)]=0x2ee4]=_0x369468(0x446),_0x5358e9[_0x5358e9[_0x369468(0x3ec)]=0x2ee5]=_0x369468(0x3ec),_0x5358e9[_0x5358e9[_0x369468(0x21c)]=0x32c9]=_0x369468(0x21c),_0x5358e9[_0x5358e9[_0x369468(0x27d)]=0x32ca]=_0x369468(0x27d),_0x5358e9[_0x5358e9[_0x369468(0x3eb)]=0x32cb]=_0x369468(0x3eb),_0x5358e9[_0x5358e9['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x369468(0x374),_0x5358e9[_0x5358e9[_0x369468(0x2b2)]=0x36b2]=_0x369468(0x2b2),_0x5358e9[_0x5358e9[_0x369468(0x23a)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x5358e9[_0x5358e9[_0x369468(0x4bf)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x5358e9[_0x5358e9[_0x369468(0x4d1)]=0x36b5]=_0x369468(0x4d1),_0x5358e9[_0x5358e9['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x369468(0x311),_0x5358e9[_0x5358e9[_0x369468(0x1f4)]=0x36b7]=_0x369468(0x1f4),_0x5358e9[_0x5358e9[_0x369468(0x2fb)]=0x36b8]=_0x369468(0x2fb),_0x5358e9[_0x5358e9[_0x369468(0x29d)]=0x3715]=_0x369468(0x29d),_0x5358e9[_0x5358e9[_0x369468(0x44c)]=0x3716]=_0x369468(0x44c),_0x5358e9[_0x5358e9[_0x369468(0x4c3)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x5358e9[_0x5358e9[_0x369468(0x29a)]=0x37dd]=_0x369468(0x29a),_0x5358e9[_0x5358e9['REDEMPTION_INVALID_CODE']=0x3a99]=_0x369468(0x477),_0x5358e9[_0x5358e9[_0x369468(0x368)]=0x3a9a]=_0x369468(0x368),_0x5358e9[_0x5358e9['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x369468(0x4d0),_0x5358e9[_0x5358e9['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x5358e9[_0x5358e9[_0x369468(0x3aa)]=0x3a9d]=_0x369468(0x3aa),_0x5358e9[_0x5358e9[_0x369468(0x389)]=0x3a9e]=_0x369468(0x389),_0x5358e9[_0x5358e9[_0x369468(0x31c)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5358e9[_0x5358e9[_0x369468(0x461)]=0x3e81]=_0x369468(0x461),_0x5358e9[_0x5358e9[_0x369468(0x462)]=-0x1]=_0x369468(0x462),_0x5358e9))(_0x3fc67b||{});function _0x49b20d(_0x186fa5){const _0x23c076=_0x369468;var _0x46ac0a,_0x9e3fc0;const _0x10a965=(_0x46ac0a=_0x186fa5[_0x23c076(0x337)])==null?void 0x0:_0x46ac0a[_0x23c076(0x2fe)],_0x2961f4=((_0x9e3fc0=_0x186fa5[_0x23c076(0x337)])==null?void 0x0:_0x9e3fc0['totalFormulasToCalculate'])||0x0;return _0x10a965===_0x35db63[_0x23c076(0x2d1)][_0x23c076(0x37d)]&&_0x2961f4>0x0;}function _0x210c6b(_0x1c2d23){const _0x518bd7=_0x369468;return _0x1c2d23['functionsExecutedState']===_0x35db63[_0x518bd7(0x3a5)]['SUCCESS'];}var _0x2f8f2b=Object[_0x369468(0x40f)],_0x16cac8=(_0x33cadd,_0x119ae3,_0x39b209,_0x2ec600)=>{const _0x4fe651=_0x369468;for(var _0x4a9e14=_0x2ec600>0x1?void 0x0:_0x2ec600?_0x2f8f2b(_0x119ae3,_0x39b209):_0x119ae3,_0x4de8e5=_0x33cadd[_0x4fe651(0x411)]-0x1,_0x33994a;_0x4de8e5>=0x0;_0x4de8e5--)(_0x33994a=_0x33cadd[_0x4de8e5])&&(_0x4a9e14=_0x33994a(_0x4a9e14)||_0x4a9e14);return _0x4a9e14;},_0x12a3d8=(_0x574948,_0x5bf117)=>(_0x4a3d6f,_0x240d8b)=>_0x5bf117(_0x4a3d6f,_0x240d8b,_0x574948);const _0x366dac='/universer-api/license/formula/limit/status',_0x6c4d91=_0x369468(0x328),_0x861b3d=_0x369468(0x409);let _0xc97bb1=class extends _0x34f1d8[_0x369468(0x3ac)]{constructor(_0x1cd6bb,_0x4f1ff8,_0x7d5e59,_0x4d02a7,_0x4015d5,_0x325a10,_0x3dfb11){const _0x288c08=_0x369468;super(),_0x45ff9b(this,'_pollingInterval',null),_0x45ff9b(this,'_maxFormulaLimit',0x0),_0x45ff9b(this,'_currentUsage',0x0),_0x45ff9b(this,_0x288c08(0x1e8),[]),_0x45ff9b(this,_0x288c08(0x292),0x0),(this[_0x288c08(0x378)]=_0x1cd6bb,this[_0x288c08(0x33f)]=_0x4f1ff8,this[_0x288c08(0x487)]=_0x7d5e59,this[_0x288c08(0x42f)]=_0x4d02a7,this[_0x288c08(0x31f)]=_0x4015d5,this[_0x288c08(0x274)]=_0x325a10,this[_0x288c08(0x3b8)]=_0x3dfb11,this[_0x288c08(0x25c)]());}[_0x369468(0x25c)](){const _0x3697ce=_0x369468;this[_0x3697ce(0x2d9)](this[_0x3697ce(0x33f)][_0x3697ce(0x294)]((_0x3ccda1,_0x6ad66f)=>{const _0x214f96=_0x3697ce;var _0x4f4edd;if(_0x3ccda1['id']!==_0x35db63[_0x214f96(0x2ed)]['id'])return;const _0xccc8ba=_0x3ccda1[_0x214f96(0x42e)];if(!this[_0x214f96(0x214)]((_0x4f4edd=_0xccc8ba['dirtyRanges'])!=null?_0x4f4edd:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x214f96(0x319)](_0x3ccda1,_0x6ad66f),this[_0x214f96(0x47b)](),new _0x34f1d8[(_0x214f96(0x2b4))]();})),this[_0x3697ce(0x2d9)](this['_commandService']['onCommandExecuted']((_0x531f76,_0x293aa4)=>{const _0x69546=_0x3697ce;if(_0x531f76['id']!==_0x35db63[_0x69546(0x42a)]['id'])return;const _0x4e58ef=_0x531f76[_0x69546(0x42e)];if(_0x49b20d(_0x4e58ef)){const _0x5547aa=_0x34f1d8[_0x69546(0x464)]();this['_taskIds'][_0x69546(0x258)](_0x5547aa),this[_0x69546(0x213)](_0x5547aa);}else{if(_0x210c6b(_0x4e58ef)&&this[_0x69546(0x1e8)][_0x69546(0x411)]>0x0){const _0x127e71=this[_0x69546(0x1e8)][_0x69546(0x43c)]();this['_releaseCalculationLimit'](_0x127e71);}}}));}['dispose'](){const _0x1f9e0e=_0x369468;super[_0x1f9e0e(0x486)](),this['_clearPolling'](),this[_0x1f9e0e(0x1e8)]=[],this[_0x1f9e0e(0x4b5)]=0x0,this[_0x1f9e0e(0x4ac)]=0x0,this[_0x1f9e0e(0x292)]=0x0;}async[_0x369468(0x319)](_0x4b6c61,_0x5339ab){const _0x36cf9f=_0x369468;for(let _0x24ec56=0x0;_0x24ec56<0x1e;_0x24ec56++)try{if(await this[_0x36cf9f(0x206)](),this[_0x36cf9f(0x4a9)]()){this['_applyCommand'](_0x4b6c61,_0x5339ab),this[_0x36cf9f(0x378)][_0x36cf9f(0x475)]({'content':this['_localeService']['t'](_0x36cf9f(0x46a)),'type':_0x1dffd2[_0x36cf9f(0x2e2)][_0x36cf9f(0x322)]});return;}await new Promise(_0x5c94a6=>{const _0x566db6=_0x36cf9f;this['_pollingInterval']=window[_0x566db6(0x4a6)](_0x5c94a6,0x3e8);});}catch(_0x20cac0){this['_logService'][_0x36cf9f(0x22b)](_0x20cac0);}this['_messageService'][_0x36cf9f(0x475)]({'content':this[_0x36cf9f(0x3b8)]['t'](_0x36cf9f(0x359)),'type':_0x1dffd2[_0x36cf9f(0x2e2)][_0x36cf9f(0x366)]});}[_0x369468(0x3cf)](_0x57a693,_0x12f6a9){const _0xd50bb8=_0x369468;try{this['_commandService'][_0xd50bb8(0x49e)](_0x57a693['id'],_0x57a693[_0xd50bb8(0x42e)],_0x12f6a9);}catch(_0x386a05){this[_0xd50bb8(0x274)][_0xd50bb8(0x22b)](_0x386a05);}}[_0x369468(0x262)](_0x1bf107,_0x209d33){const _0x2d5ab2=_0x369468;_0x209d33<this[_0x2d5ab2(0x292)]||(this[_0x2d5ab2(0x292)]=_0x209d33,this['_maxFormulaLimit']=Number[_0x2d5ab2(0x48c)](_0x1bf107[_0x2d5ab2(0x30d)]),this['_currentUsage']=Number[_0x2d5ab2(0x48c)](_0x1bf107[_0x2d5ab2(0x335)]));}async[_0x369468(0x213)](_0xd26321){const _0x17ff88=_0x369468;var _0x446f3c,_0x21146f;const _0x144684=Date[_0x17ff88(0x4b3)]();try{const _0x3014c4=((_0x446f3c=this['_configService']['getConfig'](_0x19bf42[_0x17ff88(0x4af)]))==null?void 0x0:_0x446f3c[_0x17ff88(0x38d)])||_0x6c4d91,_0x18fd48=(await this['_httpService']['post'](_0x3014c4,{'body':JSON[_0x17ff88(0x26e)]({'taskId':_0xd26321})}))['body'];if(((_0x21146f=_0x18fd48[_0x17ff88(0x22b)])==null?void 0x0:_0x21146f[_0x17ff88(0x468)])!==_0x3fc67b['OK'])return;this[_0x17ff88(0x262)](_0x18fd48['limitInfo'],_0x144684);}catch(_0x1d8b79){this[_0x17ff88(0x274)][_0x17ff88(0x22b)](_0x1d8b79);}}async[_0x369468(0x206)](_0x10eb7f){const _0x2dfcef=_0x369468;var _0x2c66a2,_0x385ef6;const _0x1985a8=Date['now']();try{const _0x3c2bf1=((_0x2c66a2=this[_0x2dfcef(0x487)]['getConfig'](_0x19bf42[_0x2dfcef(0x4af)]))==null?void 0x0:_0x2c66a2[_0x2dfcef(0x456)])||_0x366dac,_0x4098fe=_0x10eb7f?_0x3c2bf1+'?taskId='+encodeURIComponent(_0x10eb7f):_0x3c2bf1,_0x1d821c=(await this[_0x2dfcef(0x42f)][_0x2dfcef(0x2b5)](_0x4098fe))[_0x2dfcef(0x233)];if(((_0x385ef6=_0x1d821c[_0x2dfcef(0x22b)])==null?void 0x0:_0x385ef6['code'])!==_0x3fc67b['OK'])return;this['_setFormulaLimitStatus'](_0x1d821c['limitInfo'],_0x1985a8);}catch(_0x179d68){this[_0x2dfcef(0x274)][_0x2dfcef(0x22b)](_0x179d68);}}async[_0x369468(0x400)](_0x7495a5){const _0x26989b=_0x369468;var _0x3399b8,_0x431415;const _0x43c7d5=Date[_0x26989b(0x4b3)]();try{const _0x5375ec=((_0x3399b8=this[_0x26989b(0x487)][_0x26989b(0x324)](_0x19bf42[_0x26989b(0x4af)]))==null?void 0x0:_0x3399b8[_0x26989b(0x342)])||_0x861b3d,_0x97de01=(await this[_0x26989b(0x42f)][_0x26989b(0x4be)](_0x5375ec,{'body':JSON[_0x26989b(0x26e)]({'taskId':_0x7495a5})}))[_0x26989b(0x233)];if(((_0x431415=_0x97de01['error'])==null?void 0x0:_0x431415['code'])!==_0x3fc67b['OK'])return;this['_setFormulaLimitStatus'](_0x97de01[_0x26989b(0x2a3)],_0x43c7d5);}catch(_0x3b1074){this['_logService'][_0x26989b(0x22b)](_0x3b1074);}}['_checkCalculationAvailable'](){const _0x5e682b=_0x369468;return this[_0x5e682b(0x4ac)]===0x0?!0x0:this[_0x5e682b(0x4ac)]-this[_0x5e682b(0x4b5)]>0x0;}[_0x369468(0x306)](){const _0x50bf6e=_0x369468;this[_0x50bf6e(0x3a3)]&&(clearTimeout(this['_pollingInterval']),this[_0x50bf6e(0x3a3)]=null);}[_0x369468(0x47b)](){const _0x4773cf=_0x369468;this[_0x4773cf(0x378)]['show']({'content':this[_0x4773cf(0x3b8)]['t'](_0x4773cf(0x471)),'type':_0x1dffd2[_0x4773cf(0x2e2)]['Loading']});}[_0x369468(0x214)](_0x1ae026){const _0x50f0e0=_0x369468;for(const _0x40bae7 of _0x1ae026){const {unitId:_0x4300d6,sheetId:_0x4eb20e,range:_0x3f926c}=_0x40bae7,_0x53232d=this[_0x50f0e0(0x31f)][_0x50f0e0(0x3f6)](_0x4300d6);if(!_0x53232d)continue;const _0x4db7e3=_0x53232d['getSheetBySheetId'](_0x4eb20e);if(!_0x4db7e3)continue;const _0x2d17ad=_0x4db7e3[_0x50f0e0(0x452)]();for(let _0x56d9aa=_0x3f926c['startRow'];_0x56d9aa<=_0x3f926c[_0x50f0e0(0x3d7)];_0x56d9aa++)for(let _0x205a77=_0x3f926c[_0x50f0e0(0x430)];_0x205a77<=_0x3f926c[_0x50f0e0(0x40d)];_0x205a77++){const _0x180e93=_0x2d17ad['getValue'](_0x56d9aa,_0x205a77);if(_0x180e93&&(_0x34f1d8[_0x50f0e0(0x40a)](_0x180e93['f'])||_0x34f1d8[_0x50f0e0(0x479)](_0x180e93['si'])))return!0x0;}}return!0x1;}};_0xc97bb1=_0x16cac8([_0x12a3d8(0x0,_0x34f1d8[_0x369468(0x2db)](_0x2d6b7e[_0x369468(0x35f)])),_0x12a3d8(0x1,_0x34f1d8[_0x369468(0x499)]),_0x12a3d8(0x2,_0x34f1d8[_0x369468(0x33a)]),_0x12a3d8(0x3,_0x34f1d8[_0x369468(0x2db)](_0x22f61a[_0x369468(0x22c)])),_0x12a3d8(0x4,_0x34f1d8[_0x369468(0x236)]),_0x12a3d8(0x5,_0x34f1d8[_0x369468(0x425)]),_0x12a3d8(0x6,_0x34f1d8['Inject'](_0x34f1d8[_0x369468(0x33e)]))],_0xc97bb1);var _0x3a2491=Object[_0x369468(0x40f)],_0x43b320=(_0x2f3524,_0x2ddf41,_0x5e5135,_0x23e462)=>{const _0x2d31b9=_0x369468;for(var _0x57bcab=_0x23e462>0x1?void 0x0:_0x23e462?_0x3a2491(_0x2ddf41,_0x5e5135):_0x2ddf41,_0x1475cb=_0x2f3524[_0x2d31b9(0x411)]-0x1,_0xbf6cde;_0x1475cb>=0x0;_0x1475cb--)(_0xbf6cde=_0x2f3524[_0x1475cb])&&(_0x57bcab=_0xbf6cde(_0x57bcab)||_0x57bcab);return _0x57bcab;},_0x305ed6=(_0x55526f,_0x405ca5)=>(_0x25e8bf,_0x2b5848)=>_0x405ca5(_0x25e8bf,_0x2b5848,_0x55526f);let _0x4bcff3=class extends _0x34f1d8[_0x369468(0x3ac)]{constructor(_0x5ce1ce,_0x3db02e,_0x2cf508){const _0x4e9395=_0x369468;super(),_0x45ff9b(this,_0x4e9395(0x38c),new Map()),_0x45ff9b(this,_0x4e9395(0x35a),new Map()),_0x45ff9b(this,_0x4e9395(0x44f),!0x1),(this[_0x4e9395(0x487)]=_0x5ce1ce,this['_localStorageService']=_0x3db02e,this[_0x4e9395(0x2d2)]=_0x2cf508);}[_0x369468(0x30a)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x440c93=_0x369468;this[_0x440c93(0x44f)]=!0x1;}get[_0x369468(0x321)](){const _0x70e7e4=_0x369468;return this[_0x70e7e4(0x35a)];}[_0x369468(0x486)](){const _0x1aaee0=_0x369468;this['exhaustSavingTask']()[_0x1aaee0(0x3e7)](()=>super['dispose']());}async[_0x369468(0x35d)](_0x43a3c4){const _0xc5e603=_0x369468;return this['_disabled']?null:this[_0xc5e603(0x3ab)][_0xc5e603(0x3f1)](_0x19bf42[_0xc5e603(0x2dc)](_0x43a3c4));}async[_0x369468(0x2bb)](_0x306526,_0x22c2f2){const _0x1f531a=_0x369468;return!!this[_0x1f531a(0x3ab)]['setItem'](_0x306526,_0x22c2f2);}['updateOfflineData'](_0x213fe6,_0x29769f,_0x5cd695,_0x31e367){const _0x498fce=_0x369468,_0x2fca2b=this[_0x498fce(0x2d2)]['getCurrentRevOfUnit'](_0x213fe6);this['_cachedData']['set'](_0x213fe6,{'unitID':_0x213fe6,'type':_0x29769f,'awaitingChangeset':_0x5cd695,'mutations':_0x31e367,'rev':_0x2fca2b}),this[_0x498fce(0x35a)][_0x498fce(0x48b)](_0x213fe6)||this[_0x498fce(0x416)](_0x213fe6);}[_0x369468(0x416)](_0x538e8e){const _0x25c9c1=_0x369468,_0x6069bb=this[_0x25c9c1(0x4b8)]();_0x6069bb===0x0?this['_saveCache'](_0x538e8e):this[_0x25c9c1(0x35a)][_0x25c9c1(0x386)](_0x538e8e,setTimeout(()=>this['_saveCache'](_0x538e8e),_0x6069bb));}['_getSaveTimeout'](){const _0x3f59b3=_0x369468;var _0x2df871;return(_0x2df871=this[_0x3f59b3(0x487)][_0x3f59b3(0x324)](_0x19bf42[_0x3f59b3(0x38e)]))!=null?_0x2df871:_0x19bf42[_0x3f59b3(0x450)];}[_0x369468(0x3a0)](_0x28e391){const _0x89dbe3=_0x369468,_0x3ed28a=this['_saveTaskMap'][_0x89dbe3(0x2b5)](_0x28e391);return _0x3ed28a!==void 0x0&&window[_0x89dbe3(0x1e6)](_0x3ed28a),this['_localStorageService'][_0x89dbe3(0x41c)](_0x19bf42[_0x89dbe3(0x2dc)](_0x28e391),this[_0x89dbe3(0x38c)][_0x89dbe3(0x2b5)](_0x28e391))[_0x89dbe3(0x3e7)](()=>this[_0x89dbe3(0x35a)][_0x89dbe3(0x280)](_0x28e391));}async[_0x369468(0x1ee)](){const _0x46d4=_0x369468,_0x33ae21=[];this[_0x46d4(0x35a)]['forEach']((_0x390a4e,_0x4e44f0)=>{const _0x2f91c2=_0x46d4;window[_0x2f91c2(0x1e6)](_0x390a4e),_0x33ae21['push'](this[_0x2f91c2(0x3a0)](_0x4e44f0)[_0x2f91c2(0x3e7)](()=>{const _0x3bdea3=_0x2f91c2;this[_0x3bdea3(0x35a)][_0x3bdea3(0x280)](_0x4e44f0);}));}),await Promise[_0x46d4(0x2ba)](_0x33ae21);}};_0x4bcff3=_0x43b320([_0x305ed6(0x0,_0x34f1d8[_0x369468(0x33a)]),_0x305ed6(0x1,_0x34f1d8[_0x369468(0x218)]),_0x305ed6(0x2,_0x34f1d8[_0x369468(0x2db)](_0x40c5dd[_0x369468(0x449)]))],_0x4bcff3);class _0x2b6e72 extends _0x34f1d8[_0x369468(0x204)]{constructor(){const _0x304837=_0x369468;super(),_0x45ff9b(this,_0x304837(0x37c)),this[_0x304837(0x37c)]=_0x385e00[_0x304837(0x2c7)](window,_0x304837(0x360))[_0x304837(0x2f9)](_0x385e00[_0x304837(0x2cd)](this[_0x304837(0x230)]),_0x385e00[_0x304837(0x388)](0x1),_0x385e00[_0x304837(0x338)](void 0x0));}[_0x369468(0x25a)](_0x317589,_0x53c3b6,_0x4f4566=!0x1){const _0x41d28c=_0x369468,_0x501dce=new URL(window[_0x41d28c(0x267)][_0x41d28c(0x2ad)]);_0x501dce['searchParams'][_0x41d28c(0x386)](_0x317589,_0x53c3b6),_0x4f4566?window[_0x41d28c(0x2d8)][_0x41d28c(0x38f)]('','',_0x501dce[_0x41d28c(0x45f)]()):window['history'][_0x41d28c(0x4c4)]('','',_0x501dce['toString']());}['removeParam'](_0x41b288,_0x4873d2=!0x1){const _0x300bd7=_0x369468,_0x4c39ed=new URL(window[_0x300bd7(0x267)][_0x300bd7(0x2ad)]);_0x4c39ed[_0x300bd7(0x270)][_0x300bd7(0x280)](_0x41b288),_0x4873d2?window[_0x300bd7(0x2d8)][_0x300bd7(0x38f)]('','',_0x4c39ed['toString']()):window['history'][_0x300bd7(0x4c4)]('','',_0x4c39ed[_0x300bd7(0x45f)]());}[_0x369468(0x4c8)](_0x2bf217){const _0x385147=_0x369468;var _0x23dfb5;return(_0x23dfb5=new URL(window['location']['href'])['searchParams'][_0x385147(0x2b5)](_0x2bf217))!=null?_0x23dfb5:void 0x0;}}var _0x55e6b0=Object['defineProperty'],_0x4fb594=Object[_0x369468(0x40f)],_0x21def5=(_0x4820ed,_0x2455eb,_0x47a0e0)=>_0x2455eb in _0x4820ed?_0x55e6b0(_0x4820ed,_0x2455eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47a0e0}):_0x4820ed[_0x2455eb]=_0x47a0e0,_0x18a028=(_0x53dd2c,_0x4feddc,_0xa2bd09,_0x589254)=>{const _0x5a2edf=_0x369468;for(var _0x1f835d=_0x589254>0x1?void 0x0:_0x589254?_0x4fb594(_0x4feddc,_0xa2bd09):_0x4feddc,_0x43ada2=_0x53dd2c[_0x5a2edf(0x411)]-0x1,_0x5544ba;_0x43ada2>=0x0;_0x43ada2--)(_0x5544ba=_0x53dd2c[_0x43ada2])&&(_0x1f835d=_0x5544ba(_0x1f835d)||_0x1f835d);return _0x1f835d;},_0x321e53=(_0x4564c6,_0x258261)=>(_0x51b5a4,_0xf9212b)=>_0x258261(_0x51b5a4,_0xf9212b,_0x4564c6),_0x2659ae=(_0x163a88,_0x35c179,_0x3b972c)=>_0x21def5(_0x163a88,_0x35c179+'',_0x3b972c);const _0x2dcae8=_0x369468(0x3c3);_0x578c06[_0x369468(0x20d)]=class extends _0x34f1d8[_0x369468(0x2c1)]{constructor(_0x4abac2=_0x1a0903,_0x844801,_0x5a119a,_0x340834){const _0x54e79c=_0x369468;super(),this[_0x54e79c(0x314)]=_0x4abac2,this['_renderManagerService']=_0x844801,this[_0x54e79c(0x483)]=_0x5a119a,this[_0x54e79c(0x487)]=_0x340834;const {..._0x31f28}=_0x34f1d8[_0x54e79c(0x3a7)]({},_0x1a0903,this['_config']);this['_configService'][_0x54e79c(0x370)](_0x425a0b,_0x31f28);}['onStarting'](){const _0x29ac30=_0x369468;this[_0x29ac30(0x1e7)](),this[_0x29ac30(0x21b)]();}[_0x369468(0x372)](){this['_registerRenderDependencies']();}[_0x369468(0x1e7)](){const _0x244339=_0x369468;var _0x57b172;const _0x294834=[[_0x5b42d8],[_0xc97bb1],[_0x44503d],[_0x5bfd19],[_0x174787],[_0xda9f47],[_0x575f53,{'useClass':_0x2b6e72}],[_0x22f61a['ISocketService'],{'useClass':_0x22f61a[_0x244339(0x249)]}],[_0x19bf42['ILocalCacheService'],{'useClass':_0x4bcff3}],[_0x578c06['DesktopCollaborationStatusDisplayController']],[_0x379dde],[_0x37e1d9],[_0x531216],[_0xd32ba6],[_0x578c06[_0x244339(0x3db)]]];this[_0x244339(0x314)]['enableFrontendLog']&&_0x294834[_0x244339(0x258)]([_0x2dc5fe]),_0x34f1d8[_0x244339(0x219)](this[_0x244339(0x483)],_0x34f1d8[_0x244339(0x4c5)](_0x294834,(_0x57b172=this[_0x244339(0x314)])==null?void 0x0:_0x57b172[_0x244339(0x481)]));}[_0x369468(0x232)](){const _0x3a727a=_0x369468;this['disposeWithMe'](this[_0x3a727a(0x300)]['registerRenderModule'](_0x34f1d8['UniverInstanceType'][_0x3a727a(0x211)],[_0x331e0b])),this['disposeWithMe'](this[_0x3a727a(0x300)][_0x3a727a(0x269)](_0x34f1d8[_0x3a727a(0x49d)][_0x3a727a(0x371)],[_0x48b586]));}[_0x369468(0x21b)](){const _0x105554=_0x369468;_0x34f1d8[_0x105554(0x4c6)](this[_0x105554(0x483)],[[_0x531216],[_0x578c06[_0x105554(0x2a7)]],[_0x379dde],[_0x37e1d9],[_0x578c06[_0x105554(0x3db)]],[_0xc97bb1]]),this[_0x105554(0x314)][_0x105554(0x1ef)]&&_0x34f1d8[_0x105554(0x4c6)](this[_0x105554(0x483)],[[_0x2dc5fe]]);}},_0x2659ae(_0x578c06[_0x369468(0x20d)],_0x369468(0x36a),_0x2dcae8),_0x578c06[_0x369468(0x20d)]=_0x18a028([_0x34f1d8[_0x369468(0x255)](_0x19bf42['UniverCollaborationClientPlugin']),_0x321e53(0x1,_0x20bbd1['IRenderManagerService']),_0x321e53(0x2,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8['Injector'])),_0x321e53(0x3,_0x34f1d8[_0x369468(0x33a)])],_0x578c06[_0x369468(0x20d)]);var _0x331d08=Object[_0x369468(0x40f)],_0x2c6c42=(_0x107a56,_0x2e2631,_0x4858e5,_0x527f6b)=>{for(var _0x1209d5=_0x527f6b>0x1?void 0x0:_0x527f6b?_0x331d08(_0x2e2631,_0x4858e5):_0x2e2631,_0x5c168e=_0x107a56['length']-0x1,_0x23de89;_0x5c168e>=0x0;_0x5c168e--)(_0x23de89=_0x107a56[_0x5c168e])&&(_0x1209d5=_0x23de89(_0x1209d5)||_0x1209d5);return _0x1209d5;},_0x35d0c1=(_0x3fe92a,_0x1759b4)=>(_0x4a19f2,_0x281395)=>_0x1759b4(_0x4a19f2,_0x281395,_0x3fe92a);_0x578c06[_0x369468(0x3ff)]=class extends _0x19bf42[_0x369468(0x3d2)]{constructor(_0x11acd1,_0x5e92e9,_0x3d5776,_0x2ba488,_0x5ed28d){super(_0x11acd1,_0x5e92e9,_0x3d5776,_0x2ba488,_0x5ed28d);}async[_0x369468(0x2ac)](_0x310012){const _0x34f1e7=_0x369468,_0x2c3e4e=await this[_0x34f1e7(0x1ea)](),_0x37e066=this[_0x34f1e7(0x32e)](_0x310012,_0x2c3e4e);return this[_0x34f1e7(0x460)](_0x37e066);}['_createSocketURL'](_0x2a171b,_0x5e97ea){const _0x17c527=_0x369468,_0x3811cf=typeof window>'u'?new URL(_0x2a171b):new URL(_0x2a171b,window[_0x17c527(0x267)][_0x17c527(0x497)]);_0x3811cf[_0x17c527(0x270)][_0x17c527(0x386)](_0x17c527(0x385),_0x5e97ea);const _0x46e0eb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x17c527(0x267)][_0x17c527(0x408)]);return _0x46e0eb[_0x17c527(0x2b5)](_0x17c527(0x3ed))&&_0x3811cf[_0x17c527(0x270)][_0x17c527(0x386)](_0x17c527(0x3ed),_0x46e0eb[_0x17c527(0x2b5)](_0x17c527(0x3ed))),_0x3811cf[_0x17c527(0x45f)]();}async[_0x369468(0x1ea)](){const _0x8eb980=_0x369468;var _0x1fcc7c,_0x3998b5,_0x13f9a3;const _0x2b227c=this['_configService'][_0x8eb980(0x324)](_0x19bf42[_0x8eb980(0x4af)]),_0x513bfb=(_0x1fcc7c=_0x2b227c==null?void 0x0:_0x2b227c[_0x8eb980(0x27c)])!=null?_0x1fcc7c:_0x19bf42[_0x8eb980(0x4b6)];return(_0x13f9a3=(_0x3998b5=(await this[_0x8eb980(0x42f)][_0x8eb980(0x2b5)](_0x513bfb,{'headers':{'Content-Type':_0x8eb980(0x2ea)}}))[_0x8eb980(0x233)])==null?void 0x0:_0x3998b5[_0x8eb980(0x2c4)])!=null?_0x13f9a3:'';}},_0x578c06[_0x369468(0x3ff)]=_0x2c6c42([_0x35d0c1(0x0,_0x34f1d8[_0x369468(0x2db)](_0x34f1d8[_0x369468(0x341)])),_0x35d0c1(0x1,_0x34f1d8[_0x369468(0x2db)](_0x22f61a[_0x369468(0x22c)])),_0x35d0c1(0x2,_0x34f1d8[_0x369468(0x33a)]),_0x35d0c1(0x3,_0x34f1d8[_0x369468(0x425)]),_0x35d0c1(0x4,_0x40c5dd[_0x369468(0x1ff)])],_0x578c06['BrowserCollaborationSocketService']);var _0x52bd7c=Object[_0x369468(0x40f)],_0x2875d4=(_0x51b8ee,_0x43f09d,_0x3551c4,_0x19624c)=>{for(var _0x45cd9e=_0x19624c>0x1?void 0x0:_0x19624c?_0x52bd7c(_0x43f09d,_0x3551c4):_0x43f09d,_0xda098b=_0x51b8ee['length']-0x1,_0x2c24a5;_0xda098b>=0x0;_0xda098b--)(_0x2c24a5=_0x51b8ee[_0xda098b])&&(_0x45cd9e=_0x2c24a5(_0x45cd9e)||_0x45cd9e);return _0x45cd9e;},_0x2833e1=(_0x18e6fb,_0x5b5511)=>(_0x4dc549,_0x1f2cfb)=>_0x5b5511(_0x4dc549,_0x1f2cfb,_0x18e6fb);_0x578c06[_0x369468(0x293)]=class extends _0x34f1d8[_0x369468(0x3ac)]{constructor(_0x4333f2,_0x8f01e3,_0x1d4a16){const _0x547866=_0x369468;super(),this['_instanceService']=_0x4333f2,this[_0x547866(0x42f)]=_0x8f01e3,this[_0x547866(0x487)]=_0x1d4a16;}async[_0x369468(0x362)](_0x2fd518,_0x32f034,_0x2438c4,..._0x219b65){const _0x558d88=_0x369468;var _0x15b8a4,_0x239ad3,_0x2104ef,_0x43a3ae;const _0x129d79=this[_0x558d88(0x238)][_0x558d88(0x221)]();if(!_0x129d79)throw new Error(_0x558d88(0x357));const _0x28e6c0=((_0x15b8a4=this[_0x558d88(0x487)]['getConfig'](_0x19bf42[_0x558d88(0x275)]))!=null?_0x15b8a4:_0x19bf42[_0x558d88(0x35b)])+'/'+_0x2fd518+_0x558d88(0x23d)+_0x32f034,_0x160817=new URL(window[_0x558d88(0x267)][_0x558d88(0x2ad)]),_0x4c1029={'scriptId':_0x2fd518,'runId':(_0x239ad3=_0x160817[_0x558d88(0x270)][_0x558d88(0x2b5)](_0x558d88(0x3ed)))!=null?_0x239ad3:'','function':_0x32f034,'unitId':_0x129d79['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x219b65),'invokeId':(_0x2104ef=_0x2438c4[_0x558d88(0x30b)])!=null?_0x2104ef:'','executionId':(_0x43a3ae=_0x2438c4[_0x558d88(0x431)])!=null?_0x43a3ae:''};try{const _0xe700a1=await this[_0x558d88(0x42f)][_0x558d88(0x4be)](_0x28e6c0,{'body':_0x4c1029});return _0xe700a1[_0x558d88(0x233)][_0x558d88(0x22b)]&&_0xe700a1[_0x558d88(0x233)]['error'][_0x558d88(0x468)]!==_0x3fc67b['OK']?_0x558d88(0x29c):_0xe700a1[_0x558d88(0x233)][_0x558d88(0x35c)];}catch{return _0x558d88(0x29c);}}},_0x578c06[_0x369468(0x293)]=_0x2875d4([_0x2833e1(0x0,_0x34f1d8[_0x369468(0x236)]),_0x2833e1(0x1,_0x34f1d8[_0x369468(0x2db)](_0x22f61a[_0x369468(0x22c)])),_0x2833e1(0x2,_0x34f1d8[_0x369468(0x33a)])],_0x578c06[_0x369468(0x293)]);const _0x2d81ac=0x7530,_0x12eb95=_0x369468(0x398);class _0x9956bd extends _0x34f1d8[_0x369468(0x3ac)]{constructor(){const _0x510800=_0x369468;super(),_0x45ff9b(this,_0x510800(0x25e),_0x34f1d8[_0x510800(0x464)]()),_0x45ff9b(this,_0x510800(0x36d),new Set()),_0x45ff9b(this,_0x510800(0x291),new Map()),_0x45ff9b(this,_0x510800(0x4a7),null),_0x45ff9b(this,_0x510800(0x2e8),new Map()),_0x45ff9b(this,_0x510800(0x390),new Map()),this['_init']();}[_0x369468(0x486)](){const _0x5c0d0f=_0x369468;super['dispose'](),this['_clearOtherTimers'][_0x5c0d0f(0x336)]((_0x1c81e4,_0xbe10e9)=>this[_0x5c0d0f(0x2c8)](_0xbe10e9)),this[_0x5c0d0f(0x4a7)]&&window[_0x5c0d0f(0x24d)](this[_0x5c0d0f(0x4a7)]);}[_0x369468(0x2f5)](_0x258f45){const _0x280215=_0x369468;return this['_ensureSubject'](_0x258f45)[_0x280215(0x2f9)](_0x385e00['distinctUntilChanged']());}['editingUnit'](_0x4ded33){const _0x4c00d8=_0x369468;this[_0x4c00d8(0x36d)][_0x4c00d8(0x3df)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs']['add'](_0x4ded33),this[_0x4c00d8(0x2e3)]({'type':0x0,'memberID':this[_0x4c00d8(0x25e)],'unitIDs':[_0x4ded33],'isForwarded':!0x1});}[_0x369468(0x407)](_0x35c7b0){const _0x5490c6=_0x369468;this[_0x5490c6(0x36d)]['delete'](_0x35c7b0),this[_0x5490c6(0x36d)][_0x5490c6(0x3df)]===0x0&&this[_0x5490c6(0x4a7)]&&window[_0x5490c6(0x24d)](this[_0x5490c6(0x4a7)]);}['_init'](){const _0x260c64=_0x369468;this['disposeWithMe'](_0x34f1d8['toDisposable'](_0x385e00[_0x260c64(0x2c7)](window,_0x260c64(0x439))['subscribe'](_0x56888e=>{const _0x426c6f=_0x260c64;if(_0x56888e['key']!==_0x12eb95||!_0x56888e[_0x426c6f(0x225)])return;const _0x2a80de=JSON['parse'](_0x56888e[_0x426c6f(0x225)]);this[_0x426c6f(0x1f6)](_0x2a80de);}))),window[_0x260c64(0x49c)](_0x260c64(0x1f3),()=>this[_0x260c64(0x2e3)]({'type':0x1,'memberID':this[_0x260c64(0x25e)],'unitIDs':Array[_0x260c64(0x415)](this[_0x260c64(0x36d)])}));}[_0x369468(0x1f6)](_0x254ebd){const _0x5939ef=_0x369468;switch(_0x254ebd['type']){case 0x0:this[_0x5939ef(0x320)](_0x254ebd);break;case 0x1:this[_0x5939ef(0x41b)](_0x254ebd);break;case 0x2:this[_0x5939ef(0x2b1)](_0x254ebd);break;}}[_0x369468(0x320)](_0x3503ef){const _0x33a9b3=_0x369468,{unitIDs:_0x199500,memberID:_0x578993,isForwarded:_0x587808}=_0x3503ef;_0x199500[_0x33a9b3(0x336)](_0x3585fc=>{const _0xa0ffda=_0x33a9b3;if(!_0x587808&&this['_unitOnClients'][_0xa0ffda(0x48b)](_0x3585fc)&&this[_0xa0ffda(0x27e)](_0x3585fc)[_0xa0ffda(0x396)](_0x19bf42[_0xa0ffda(0x367)][_0xa0ffda(0x498)]),!this[_0xa0ffda(0x291)]['has'](_0x3585fc)||!this[_0xa0ffda(0x291)][_0xa0ffda(0x2b5)](_0x3585fc)[_0xa0ffda(0x48b)](_0x578993)){const _0x3ca5e8=this['_unitOnClients'][_0xa0ffda(0x2b5)](_0x3585fc)||new Set();_0x3ca5e8['add'](_0x578993),this[_0xa0ffda(0x291)][_0xa0ffda(0x386)](_0x3585fc,_0x3ca5e8),this['_scheduleClearOtherTimer'](_0x578993);}}),_0x587808||this['_send']({'type':0x0,'memberID':this[_0x33a9b3(0x25e)],'unitIDs':[...this[_0x33a9b3(0x36d)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x513683){const _0x3359a8=_0x369468;this[_0x3359a8(0x2c8)](_0x513683);const _0x49b36f=window[_0x3359a8(0x4a6)](()=>{const _0x5a713e=_0x3359a8;this[_0x5a713e(0x291)]['forEach'](_0x3f183e=>{const _0x564132=_0x5a713e;_0x3f183e[_0x564132(0x280)](_0x513683);});},_0x2d81ac*0x2);this[_0x3359a8(0x2e8)][_0x3359a8(0x386)](_0x513683,_0x49b36f);}[_0x369468(0x2c8)](_0x4bdb24){const _0x15a43b=_0x369468;if(this[_0x15a43b(0x2e8)][_0x15a43b(0x48b)](_0x4bdb24)){const _0x3536b0=this[_0x15a43b(0x2e8)]['get'](_0x4bdb24);_0x3536b0&&window['clearTimeout'](_0x3536b0),this['_clearOtherTimers'][_0x15a43b(0x386)](_0x4bdb24,null);}}[_0x369468(0x41b)](_0x7691a7){const _0x47fb47=_0x369468,{memberID:_0x2cd336,unitIDs:_0x1347d1}=_0x7691a7;_0x1347d1[_0x47fb47(0x336)](_0x59ee36=>{const _0xc7d5eb=_0x47fb47;var _0x2e12b3;const _0x5e4dc6=this['_unitOnClients']['get'](_0x59ee36);_0x5e4dc6&&(_0x5e4dc6['delete'](_0x2cd336),(_0x2e12b3=this['_ensureSubject'](_0x59ee36))==null||_0x2e12b3[_0xc7d5eb(0x396)](_0x5e4dc6[_0xc7d5eb(0x3df)]===0x0?_0x19bf42[_0xc7d5eb(0x367)][_0xc7d5eb(0x240)]:_0x19bf42['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x47fb47(0x2c8)](_0x2cd336);}['_handleHeartbeatEvent'](_0x31deda){const _0x3d44b3=_0x369468;this[_0x3d44b3(0x37e)](_0x31deda[_0x3d44b3(0x26d)]);}[_0x369468(0x2e3)](_0x9b9c61){const _0x25601d=_0x369468;localStorage[_0x25601d(0x41c)](_0x12eb95,JSON[_0x25601d(0x26e)](_0x9b9c61));}[_0x369468(0x2a9)](){const _0x3687d2=_0x369468;this[_0x3687d2(0x4a7)]=window['setInterval'](()=>{const _0x3c05d7=_0x3687d2;this[_0x3c05d7(0x2e3)]({'type':0x2,'memberID':this[_0x3c05d7(0x25e)]});},_0x2d81ac);}[_0x369468(0x27e)](_0x5dcb3c){const _0x2f92eb=_0x369468;return this[_0x2f92eb(0x390)][_0x2f92eb(0x48b)](_0x5dcb3c)||this[_0x2f92eb(0x390)]['set'](_0x5dcb3c,new _0x385e00['BehaviorSubject'](_0x19bf42[_0x2f92eb(0x367)][_0x2f92eb(0x240)])),this[_0x2f92eb(0x390)][_0x2f92eb(0x2b5)](_0x5dcb3c);}}_0x578c06[_0x369468(0x2cb)]=_0x575f53,_0x578c06['SheetCollabCursorShape']=_0x2b0016,_0x578c06[_0x369468(0x433)]=_0x9956bd,_0x578c06[_0x369468(0x25b)]=_0x2b6e72,Object[_0x369468(0x432)](_0x578c06,Symbol[_0x369468(0x414)],{'value':_0x369468(0x2af)});}));function _0x1c91(_0x445f5,_0x2e7089){_0x445f5=_0x445f5-0x1e6;const _0x5e565e=_0x5e56();let _0x1c912d=_0x5e565e[_0x445f5];return _0x1c912d;}function _0x5e56(){const _0xfd3415=['USER_NOT_FOUND','SetFormulaCalculationNotificationMutation','getVpScrollXYInfoByPosToVp','CommandType','getUniverSheetInstance','params','_httpService','startColumn','executionId','defineProperty','WebBrowserSingleActiveUnitService','SYNCED','_removeCollabCursors','collabStatus.offline','@univerjs-pro/collaboration-client','_monkeyPatchLogService','storage','join','selection','shift','lineno','_collaborationController','findNodePositionByCharIndex','drawWith','with','row','DocIMEInputManagerService','colno','TEXT','USER_NOT_INVITED_CODE','contains','debug','RevisionService','text','defIds','ENTITLE_REPORT_LIMIT_EXCEED','NodePositionConvertToCursor','off-line-icon_clip0_910_343','_disabled','LOCAL_CACHE_INTERVAL','DOC_RANGE_TYPE','getCellMatrix','948DHgwIF','_scene','CollaborationController','getformulaLimitStatusUrl','on-line-icon','[Window\x20Error]:\x20','@univerjs/engine-formula','LOGIN_TOKEN_PROCESSING_FAILED','session.collaboration-timeout','some','deserializeRangeWithSheet','COMPLETION_FINISHED','toString','_doCreateSocket','DATA_SOURCE_TOO_LARGE','UNRECOGNIZED','UniverSheets','generateRandomId','LICENSE_EXPORT_SIZE_EXCEEDED','attrs','min','code','http://www.w3.org/2000/svg','formula.calculation.started','send','round','getRenderById','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','forwardRef','runRefRangeMutations','formula.calculation.waiting','range','UniverRpc','CollaborationSessionService','show','amd','REDEMPTION_INVALID_CODE','_docTransformStateCacheService','isFormulaId','subscribe','_showGuardMessage','imageSourceType','substring','getSkeleton','setStateCache','black','override','DocSkeletonManagerService','_injector','[CollaborationDataLoaderController]','_localCacheService','dispose','_configService','handleMoveRange','doc.mutation.rich-text-editing','values','has','parseInt','_hover','MoveRangeCommandId','save','_labelPosition','subunit','defs','UniverProCollaborationClient','object','FromArray','_lastPointer','origin','OTHER_CLIENTS_EDITING','ICommandService','onPointerMove$','UniverCore','addEventListener','UniverInstanceType','executeCommand','requireSession','IRemoteInstanceService','none','socket$','subUnitId','_refreshCollabCursors','UNAUTHENTICATED','setTimeout','_heartbeatTimer','entityInit$','_checkCalculationAvailable','setShapeProps','whenReady','_maxFormulaLimit','m1Prime','fillStyle','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_transformUndoRedoStack','getCoordByCell','redoState','now','UniverDesign','_currentUsage','DEFAULT_WS_SESSION_TICKET_URL','NodePositionConvertToRectRange','_getSaveTimeout','clsx','_toggleOffline','combineLatest','getSheetBySheetId','@univerjs/ui','post','PAYMENT_CHANNEL_NOT_SUPPORT','useDependency','_uiPartsService','moveTo','ENTITLE_INSUFFICIENT_QUOTA','pushState','mergeOverrideWithDependencies','touchDependencies','getRelativeToViewportCoord','getParam','@univerjs/core','INVITE_CODE_REQUIRED','_initUnhandledRejectionListener','_setupSubUnitSync','getStateCache','_cursor','permission.content','REDEMPTION_CODE_FULLY_REDEEMED','ENTITLE_INVALID_COUPON_CODE','YUUMI_UNABLE_LOAD_URL','Warning','OffLineIcon','clearTimeout','_registerDependencies','_taskIds','_collaborationUIEventService','_getSessionTicket','3442476eDkFdY','unshift','CURRENT_STATUS_CANNOT_OPERATE','exhaustSavingTask','enableFrontendLog','split','510FXEHHX','_cursorShapes','unload','ENTITLE_COUPON_USED_UP','_startDocCollabCursor','_handleEvent','_backgroundColor','collabStatus.notCollab','INVALID_ARGUMENT','init','children','transformMutationsWithChangeset','collaboration.closeRoom','labelPosition','ISnapshotServerService','column','@univerjs/sheets-ui','width','_initWindowErrorListener','RxDisposable','LICENSE_DISTRO_REJECTED','_getFormulaLimitStatus','UniverDocs','fill','getTypeOfUnitDisposed$','Vector2','CollaborationEvent','eventID','UniverCollaborationClientUIPlugin','getUnitId','DeleteRangeMoveLeftCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','UNIVER_DOC','onPointerLeave$','_startCalculationLimit','_hasFormulaInDirtyRanges','transformRemoteChangeset','isActive','_onCursorDelete','ILocalStorageService','registerDependencies','handleIRemoveCol','_initDependencies','WECHAT_HAS_BEEN_BOUND','OnLineIcon','transformMutation','getMemberID','ThemeService','getFocusedUnit','_name','_docClipboardService','ENSURE_SNAPSHOT_EXECUTION','newValue','color','data','476487OovkNP','_transformPreviousActiveRange','_cursors','error','HTTPService','docStateChange$','Tooltip','_status$','dispose$','createInstance','_registerRenderDependencies','body','textRanges','[LogService\x20Error]:\x20','IUniverInstanceService','DeleteRangeMoveUpCommandId','_instanceService','_docTransformIMECacheService','ENTITLE_DUP_SUBSCRIPTION','includes','getCollabEntity$','/run/','transformSelections','getTypeOfUnitAdded$','NO_OTHER_CLIENTS_EDITING','PY_RUNTIME_SCRIPT_ERROR','onMouseMove','off-line-icon','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationStatus','ITransformService','mutations','_colorIndex','WebSocketService','source','NOT_COLLAB','addHandlerCallback','clearInterval','_drawTextRange','Optional','div','getCellPositionByOffset','removeEventListener','React','getOffsetConfig','DependentOn','YUUMI_ASYNCIO_CANCELLED','ONLINE','push','_session','setParam','WebURLService','_initCommandInterceptor','DocStateChangeManagerService','_id','SetDocZoomRatioOperation','transformStateCache','collab-rect-range-','_setFormulaLimitStatus','CONFLICT','ERROR_AGAIN','LOGIN_FAILED','_roomMembers$','location','_imageIoService','registerRenderModule','OFFLINE','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_CONNECTOR_URL_NOT_FOUND','memberID','stringify','measureText','searchParams','UPDATE_CURSOR','useObservable','_entities','_logService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','filter','FETCH_MISS','INVITE_CODE_HAS_BEEN_UES','_initEvent','handleIRemoveRow','CHANGESET_REVISION_CONFILICT','wsSessionTicketUrl','MOBILE_HAS_BEEN_BOUND','_ensureSubject','syncEditingCollabCursor','delete','onPointerEnter$','lineTo','current','975861KNIPWD','toRgbString','_collabCursorState$','getRangePointData','collabCursorState$','hide','_initEntityListener','PERMISSION_DENIED','_anchorDot','rgba(255,\x20255,\x20255,\x200.01)','\x20at\x20','replaceDocRanges','CollaborationUIEventId','_unitOnClients','_lastResponseTimestamp','RemoteUniscriptService','beforeCommandExecuted','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_docSkeletonManagerService','activeSheet$','_context','_updateLocalCursor','ENTITLE_NEED_BILLING_ADDRESS','isTransformMutationFailure','Failed','ENTITLE_CHAT_LIMIT_EXCEED','0\x200\x2017\x2016','transformByState','currentTheme$','flatMap','svg','limitInfo','YUUMI_AI_RUN_FAILED','OTHER_CLIENT_EDITING','roomMembers','DesktopCollaborationStatusDisplayController','red.300','_scheduleHeartbeat','displayName','saveImage','createSocket','href','RefRangeService','Module','_init','_handleHeartbeatEvent','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','react/jsx-runtime','CanceledError','get','_urlService','InsertRowCommandId','_initUserListener','_docSkeleton','all','saveOfflineData','assignAColorForMemberID','getSheetId','Rect','handleDeleteRangeMoveLeft','getCurrentUnitForType','Plugin','_memberID','_render','ticket','_initCommandExecutedListener','getColor','fromEvent','_removeClearOtherTimer','UniverSheetsUi','_cursorInfo$','IURLService','SetWorksheetActivateCommand','takeUntil','map','_drawAnchor','operators','FormulaExecuteStageType','_revisionService','_colorAssignService','height','add','onLocalMutation','INotificationService','history','disposeWithMe','Unknown\x20user','Inject','getLocalCacheKey','url(#on-line-icon_clip0_910_349)','makeDirty','_getAnchorBounding','IDocClipboardService','BehaviorSubject','MessageType','_send','_notificationService','setAlpha','SHEET_VIEWPORT_KEY','currentColor','_clearOtherTimers','_initStatusComponent','application/json','registerComponent','roomMembers$','SetFormulaCalculationStartMutation','cursorInfo','ranges','idSuffix','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','onCommandExecuted','getCollabCursors$','COLORS','getUnitStatus$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','assign','clipPath','pipe','find','ENTITLE_USE_COUPON_NOT_1ST_TRADE','RegularPolygon','white','stage','event$','_renderManagerService','symbol','UNDEFINED','collaboration.single-unit.warning','2FYaCvb','ColorKit','_clearPolling','UniverNetwork','_shapes','16890CkDOTS','disableLocalCache','invokeId','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','maxFormulaLimit','@univerjs/rpc','getMember','M0\x200H16V16H0z','ENTITLE_COUPON_EXPIRED','_hideTimer','max','_config','Tools','evenodd','_eventUnsubscribe','jsx','_checkAndWaitForCalculationPermission','createIdentifier','_assignedColors','REDEMPTION_CODE_HAS_BEEN_CREATED','@univerjs/docs-ui','1737351qDKOko','_univerInstanceService','_handleJoinEvent','saveTaskMap','Success','url(#off-line-icon_clip0_910_343)','getConfig','USER_IS_ANONYMOUS','unit','_hovered','/universer-api/license/formula/limit/start','AWAITING_WITH_PENDING','arc','hovered','TOO_MANY_REQUESTS','transformIMECache','_createSocketURL','tag','name','APPLY_PERMISSION_DENIED','0\x200\x2016\x2016','useCallback','INTERNAL_ERROR','currentUsage','forEach','stageInfo','mapTo','_refRangeService','IConfigService','sheetId','YUUMI_ALL_TABLES_IS_INVALID','unitID','LocaleService','_commandService','_docStateChangeManagerService','Injector','releaseFormulaLimitUrl','_collabCursorController','_toggleOnline','replace','_startSheetCollabCursor','bottom','_themeService','InsertRangeMoveRightCommandId','resize','debounce','@univerjs/engine-render','RECT','...','_online','@univerjs/sheets','entries','path','univer-mr-2\x20univer-flex\x20univer-text-xl','APPLY_NON_SEQUENTIAL_REVISION','_entityInit$','sessionStatus$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','message','formula.calculation.unable','_saveTaskMap','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','result','loadOfflineData','_textBubble','IMessageService','popstate','SetTextSelectionsOperation','runOnServer','_syncEditingCollabCursorService','LICENSE_IMPORT_SIZE_EXCEEDED','_updateURLWithCurrentState','Error','UnitStatus','REDEMPTION_CODE_INACTIVE','SheetsSelectionsService','pluginName','1260902clhvOq','restore','_selfUnitIDs','IBeforeCloseService','deepClone','setConfig','UNIVER_SHEET','onRendered','connectInjector','ENTITLE_CAN_NOT_BUY_LOWER_OTP','beginPath','YUUMI_TABLE_NOT_FOUND_IN_UNIT','sheetID','_messageService','_uploadLog','getCurrentSelections','SNAPSHOT_HAS_BEEN_REMOVED','urlChange$','START_CALCULATION','_scheduleClearOtherTimer','_document','random','BuiltInUIPart','_dataLoaderService','1em','debounceTime','sessionTicket','set','registerRefRange','shareReplay','REDEMPTION_USER_REDEEM_TIMES_EXCEED','Rectangle','DisposableCollection','_cachedData','startFormulaLimitUrl','LOCAL_CACHE_INTERVAL_KEY','replaceState','_unitStatus','RemoveRowCommandId','DocCollaborationEntity','collaboration.offline-data-not-saved','onTransformChange$','type','next','APPLY_REVISION_CONFILICT','ACTIVE_UNIT_EVENT_CHANNEL','EffectRefRangId','handleInsertRow','MOBILE_VERIFY_CODE_MISMATCH','fillText','_color','AUTHORIZE_CODE_ILLEGAL','UniverEngineFormula','_saveCache','toDisposable','univer-flex\x20univer-items-center','_pollingInterval','LICENSE_MAX_UNITS_EXCEEDED','FormulaExecutedStateType','_memberService','merge','isEditing','_initStatusListener','REDEMPTION_USER_NOT_ELIGIBLE','_localStorageService','Disposable','_handleHover','_transformHistoryAndStateStack','blue.400','subscribeEvent','m2Prime','@univerjs/docs','unhandledrejection','_draw','UniverDocsUi','uni.network.url-service','jiqing.500','_localeService','createElement','_collabSessionService','_sheetSkeletonManagerService','top','MemberService','_getScale','asObservable','ILocalCacheService','SNAPSHOT_INVALID_SNAPSHOT','Shape','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','InsertRangeMoveDownCommandId','VIEW_MAIN','string','isArray','ALREADY_EXISTS','UniverIcon','green.600','176VREAfq','_docSyncEditingCollabCursorService','switchMap','reason','_applyCommand','throttleTime','handleInsertCol','CollaborationSocketService','complete','colorChannel1','getDocRanges','_onRefRangeChange','endRow','_updateCollabCursors','INVALID_INVITE_CODE','_anchor','CollaborationDataLoaderController','getCurrent','[Unhandled\x20Rejection]:\x20','filename','size','_docTransformSelectionsService','cursorInfo$','AWAITING','addObjects','getUndoRedoMutationParamsCache','@univerjs/design','CONNECTOR_DATA_TOO_LARGE','then','jsxs','SOCKET_FAILED','translate(.97)','EMAIL_HAS_BEEN_BOUND','INVITE_CODE_ALREADY_BOUND','runId','Workbook','UniverEngineRender','mask','getItem','isTransformMutationsWithChangesetSuccess','handleInsertRangeMoveDown','closePath','getActiveRange','getUnit','setUndoRedoMutationParamsCache','JOIN_ROOM_FAILED','getAncestorScale','focused$','TEXT_RANGE_LAYER_INDEX','stack','SOCKET_FAILED_RETRY','backgroundColor','BrowserCollaborationSocketService','_releaseCalculationLimit','_range','_beforeCloseService','permission.title','on-line-icon_clip0_910_349','PENDING','url(#$1','disposeUnit','search','/universer-api/license/formula/limit/done','isFormulaString','APPLY_REJECT','SessionStatus','endColumn','getValue','getOwnPropertyDescriptor','_onCursorUpdate','length','collab-text-anchor-','_transformService','toStringTag','from','_scheduleSaving','rxjs','358057nsAizf','unsubscribe','YUUMI_NO_CUBOID_FOR_QUESTION','_handleLeaveEvent','setItem','unitId','setActiveRange','_updateSubUnitFromURLParams','_collaborationSessionService','CLOSE_ROOM','getColorFromTheme','_setupBeforeClosingHandler','xlink:href','ILogService','use','addObject','DocSelectionManagerService'];_0x5e56=function(){return _0xfd3415;};return _0x5e56();}