@univerjs-pro/collaboration-client-ui 1.0.0-alpha.8 → 1.0.0-beta.1

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 (104) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.css +10 -26
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/types/commands/operations/update-remote-unit-presence.operation.d.ts +25 -0
  66. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +2 -4
  67. package/lib/types/controllers/collab-cursor/unit-presence-collab-cursor-entity.d.ts +38 -0
  68. package/lib/types/controllers/collab-cursor/unit-presence-collab-cursor.controller.d.ts +21 -0
  69. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +8 -13
  70. package/lib/types/controllers/data-loader/data-loader.controller.d.ts +1 -2
  71. package/lib/types/controllers/snapshot-loading/snapshot-loading.controller.d.ts +3 -15
  72. package/lib/types/locale/en-US.d.ts +0 -1
  73. package/lib/types/models/cursor.d.ts +0 -25
  74. package/lib/types/plugin.d.ts +3 -2
  75. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +3 -3
  76. package/lib/types/views/components/SnapshotLoadingTimeout.d.ts +0 -4
  77. package/lib/types/views/shapes/doc-collab-cursor.d.ts +6 -1
  78. package/lib/umd/facade.js +1 -1
  79. package/lib/umd/index.js +1 -1
  80. package/lib/umd/locale/ar-SA.js +1 -1
  81. package/lib/umd/locale/ca-ES.js +1 -1
  82. package/lib/umd/locale/de-DE.js +1 -1
  83. package/lib/umd/locale/en-US.js +1 -1
  84. package/lib/umd/locale/es-ES.js +1 -1
  85. package/lib/umd/locale/fa-IR.js +1 -1
  86. package/lib/umd/locale/fr-FR.js +1 -1
  87. package/lib/umd/locale/id-ID.js +1 -1
  88. package/lib/umd/locale/it-IT.js +1 -1
  89. package/lib/umd/locale/ja-JP.js +1 -1
  90. package/lib/umd/locale/ko-KR.js +1 -1
  91. package/lib/umd/locale/pl-PL.js +1 -1
  92. package/lib/umd/locale/pt-BR.js +1 -1
  93. package/lib/umd/locale/ru-RU.js +1 -1
  94. package/lib/umd/locale/sk-SK.js +1 -1
  95. package/lib/umd/locale/vi-VN.js +1 -1
  96. package/lib/umd/locale/zh-CN.js +1 -1
  97. package/lib/umd/locale/zh-HK.js +1 -1
  98. package/lib/umd/locale/zh-TW.js +1 -1
  99. package/package.json +19 -23
  100. package/lib/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +0 -31
  101. package/lib/types/controllers/collab-cursor/board-collab-cursor-render.controller.d.ts +0 -21
  102. package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +0 -34
  103. package/lib/types/controllers/collab-cursor/slide-collab-cursor-render.controller.d.ts +0 -21
  104. package/lib/types/views/shapes/slide-collab-cursor.shape.d.ts +0 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0xbfb2(_0x50c090,_0x25e45a){_0x50c090=_0x50c090-0x9e;const _0x29c834=_0x29c8();let _0xbfb270=_0x29c834[_0x50c090];return _0xbfb270;}(function(_0x128892,_0x1cb711){const _0x648847=_0xbfb2,_0x48750e=_0x128892();while(!![]){try{const _0xa17ac0=parseInt(_0x648847(0xe0))/0x1*(-parseInt(_0x648847(0xf6))/0x2)+parseInt(_0x648847(0x3b1))/0x3+parseInt(_0x648847(0x1c3))/0x4+parseInt(_0x648847(0x1a5))/0x5*(-parseInt(_0x648847(0x35f))/0x6)+parseInt(_0x648847(0x2b8))/0x7+-parseInt(_0x648847(0x189))/0x8*(parseInt(_0x648847(0x3e1))/0x9)+-parseInt(_0x648847(0x262))/0xa;if(_0xa17ac0===_0x1cb711)break;else _0x48750e['push'](_0x48750e['shift']());}catch(_0x57ccad){_0x48750e['push'](_0x48750e['shift']());}}}(_0x29c8,0x6ad57),function(_0x2be312,_0xd782b4){const _0x41e34f=_0xbfb2;typeof exports==_0x41e34f(0x2a7)&&typeof module<'u'?_0xd782b4(exports,require('@univerjs-pro/boards-ui'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define==_0x41e34f(0x14f)&&define[_0x41e34f(0x33d)]?define([_0x41e34f(0x292),_0x41e34f(0xb6),_0x41e34f(0x1ea),_0x41e34f(0xfa),_0x41e34f(0x31c),_0x41e34f(0x3a8),_0x41e34f(0x188),'@univerjs/design',_0x41e34f(0x219),_0x41e34f(0x1a4),_0x41e34f(0xc2),'@univerjs-pro/license',_0x41e34f(0x338),'@univerjs/docs-ui','@univerjs/engine-render',_0x41e34f(0x198),_0x41e34f(0x185),_0x41e34f(0xee),_0x41e34f(0x124),_0x41e34f(0x239),_0x41e34f(0x407),'@univerjs/protocol'],_0xd782b4):(_0x2be312=typeof globalThis<'u'?globalThis:_0x2be312||self,_0xd782b4(_0x2be312[_0x41e34f(0xfc)]={},_0x2be312['UniverProBoardsUi'],_0x2be312[_0x41e34f(0x1e9)],_0x2be312[_0x41e34f(0x402)],_0x2be312[_0x41e34f(0x267)],_0x2be312['rxjs'],_0x2be312['rxjs'][_0x41e34f(0x297)],_0x2be312[_0x41e34f(0x345)],_0x2be312[_0x41e34f(0x25b)],_0x2be312[_0x41e34f(0x25b)],_0x2be312[_0x41e34f(0x2d0)],_0x2be312[_0x41e34f(0x211)],_0x2be312['UniverDocs'],_0x2be312[_0x41e34f(0x14c)],_0x2be312[_0x41e34f(0x30d)],_0x2be312[_0x41e34f(0x139)],_0x2be312[_0x41e34f(0x35a)],_0x2be312[_0x41e34f(0x3a1)],_0x2be312[_0x41e34f(0x14a)],_0x2be312[_0x41e34f(0x162)],_0x2be312[_0x41e34f(0x9e)],_0x2be312['UniverProtocol']));}(this,function(_0x73ee80,_0x20b4fa,_0x2248ce,_0x3188ec,_0xad5ce,_0x3a9a2c,_0x30c188,_0x36a1a4,_0x1f628d,_0x418e4f,_0x1cdb30,_0x427b41,_0x12c761,_0x390782,_0x38b39d,_0x29944c,_0x3b4f90,_0x14f8c0,_0x2c454c,_0x4d43bb,_0x157a03,_0x46dd95){const _0x386c9a=_0xbfb2;Object[_0x386c9a(0x12f)](_0x73ee80,Symbol[_0x386c9a(0x3d3)],{'value':'Module'});function _0xff9b60({ref:_0x278a3a,..._0x5e11a5}){const _0x4793ce=_0x386c9a;let {icon:_0x283a57,id:_0xe64492,className:_0x1ee019,extend:_0x4cf8bc,..._0x194e2e}=_0x5e11a5,_0x1f45e2=('univerjs-icon\x20univerjs-icon-'+_0xe64492+'\x20'+(_0x1ee019||''))[_0x4793ce(0x1e2)](),_0x46fc18=(0x0,_0x1f628d[_0x4793ce(0x2cc)])('_'+_0x2ab16d());return _0x4c2809(_0x283a57,''+_0xe64492,{'defIds':_0x283a57[_0x4793ce(0x12a)],'idSuffix':_0x46fc18['current']},{'ref':_0x278a3a,'className':_0x1f45e2,..._0x194e2e},_0x4cf8bc);}function _0x4c2809(_0x5e2089,_0x607033,_0x3dd61c,_0x3b4fc6,_0x4268ae){const _0x1029b9=_0x386c9a;return(0x0,_0x1f628d[_0x1029b9(0x3f9)])(_0x5e2089[_0x1029b9(0x354)],{'key':_0x607033,..._0x343df6(_0x5e2089,_0x3dd61c,_0x4268ae),..._0x3b4fc6},(_0x28bbe7(_0x5e2089,_0x3dd61c)[_0x1029b9(0x176)]||[])[_0x1029b9(0x2a3)]((_0x41486e,_0x2b32e2)=>_0x4c2809(_0x41486e,_0x607033+'-'+_0x5e2089[_0x1029b9(0x354)]+'-'+_0x2b32e2,_0x3dd61c,void 0x0,_0x4268ae)));}function _0x343df6(_0x213113,_0x2bf855,_0x30ac2a){const _0x2c486a=_0x386c9a;let _0x51e1b5={..._0x213113['attrs']};_0x30ac2a!=null&&_0x30ac2a[_0x2c486a(0x352)]&&_0x51e1b5[_0x2c486a(0x15c)]===_0x2c486a(0x352)&&(_0x51e1b5[_0x2c486a(0x15c)]=_0x30ac2a['colorChannel1']),_0x30ac2a!=null&&_0x30ac2a[_0x2c486a(0x352)]&&_0x51e1b5[_0x2c486a(0x11b)]==='colorChannel1'&&(_0x51e1b5[_0x2c486a(0x11b)]=_0x30ac2a['colorChannel1']),_0x213113['tag']===_0x2c486a(0x1f7)&&_0x51e1b5['id']&&(_0x51e1b5['id']+=_0x2bf855[_0x2c486a(0x36a)]),Object[_0x2c486a(0x215)](_0x51e1b5)[_0x2c486a(0x32f)](([_0x286c32,_0x4470aa])=>{const _0x33d206=_0x2c486a;_0x286c32===_0x33d206(0x1f7)&&typeof _0x4470aa==_0x33d206(0x1b0)&&(_0x51e1b5[_0x286c32]=_0x4470aa[_0x33d206(0x131)](/url\(#(.*)\)/,_0x33d206(0x15b)+_0x2bf855[_0x33d206(0x36a)]+')'));});let {defIds:_0x1182e6}=_0x2bf855;return!_0x1182e6||_0x1182e6[_0x2c486a(0x368)]===0x0?_0x51e1b5:(_0x213113[_0x2c486a(0x354)]===_0x2c486a(0x38c)&&_0x51e1b5[_0x2c486a(0xec)]&&(_0x51e1b5['xlink:href']+=_0x2bf855['idSuffix']),Object[_0x2c486a(0x215)](_0x51e1b5)['forEach'](([_0x30544f,_0x48b3e8])=>{const _0xf291c1=_0x2c486a;typeof _0x48b3e8==_0xf291c1(0x1b0)&&(_0x51e1b5[_0x30544f]=_0x48b3e8[_0xf291c1(0x131)](/url\(#(.*)\)/,_0xf291c1(0x15b)+_0x2bf855[_0xf291c1(0x36a)]+')'));}),_0x51e1b5);}function _0x28bbe7(_0x5cc590,_0x54445b){const _0x2634c4=_0x386c9a;var _0x5eb355;let {defIds:_0x1b2204}=_0x54445b;return!_0x1b2204||_0x1b2204[_0x2634c4(0x368)]===0x0?_0x5cc590:_0x5cc590[_0x2634c4(0x354)]===_0x2634c4(0x197)&&(_0x5eb355=_0x5cc590[_0x2634c4(0x176)])!=null&&_0x5eb355[_0x2634c4(0x368)]?{..._0x5cc590,'children':_0x5cc590[_0x2634c4(0x176)][_0x2634c4(0x2a3)](_0x32db79=>typeof _0x32db79[_0x2634c4(0x16c)]['id']==_0x2634c4(0x1b0)&&_0x1b2204&&_0x1b2204[_0x2634c4(0x261)](_0x32db79[_0x2634c4(0x16c)]['id'])?{..._0x32db79,'attrs':{..._0x32db79['attrs'],'id':_0x32db79[_0x2634c4(0x16c)]['id']+_0x54445b[_0x2634c4(0x36a)]}}:_0x32db79)}:_0x5cc590;}function _0x2ab16d(){const _0x56ecbc=_0x386c9a;return Math[_0x56ecbc(0x224)]()['toString'](0x24)['substring'](0x2,0x8);}_0xff9b60[_0x386c9a(0x13d)]='UniverIcon';let _0x59f1ea={'tag':_0x386c9a(0x19b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x386c9a(0x3a9),'viewBox':'0\x200\x2016\x2016','width':_0x386c9a(0x190),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x386c9a(0xa6)},'children':[{'tag':_0x386c9a(0xbe),'attrs':{'stroke':_0x386c9a(0x3a0),'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':_0x386c9a(0xa2),'strokeLinejoin':_0x386c9a(0xa2),'strokeWidth':1.2}}]},{'tag':_0x386c9a(0x197),'attrs':{},'children':[{'tag':_0x386c9a(0x3ce),'attrs':{'id':_0x386c9a(0x1f8)},'children':[{'tag':'path','attrs':{'fill':_0x386c9a(0x371),'d':_0x386c9a(0x3c8)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2e4189=(0x0,_0x1f628d[_0x386c9a(0x27f)])(function(_0x356ea1,_0x10600a){const _0x3da23c=_0x386c9a;return(0x0,_0x1f628d[_0x3da23c(0x3f9)])(_0xff9b60,Object[_0x3da23c(0x33e)]({},_0x356ea1,{'id':'off-line-icon','ref':_0x10600a,'icon':_0x59f1ea}));});_0x2e4189[_0x386c9a(0x13d)]=_0x386c9a(0x38f);let _0x3a8e99={'tag':_0x386c9a(0x19b),'attrs':{'xmlns':_0x386c9a(0xe7),'fill':_0x386c9a(0x3a9),'viewBox':'0\x200\x2017\x2016','width':_0x386c9a(0x190),'height':_0x386c9a(0x190)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x386c9a(0xbe),'attrs':{'stroke':_0x386c9a(0x3a0),'d':_0x386c9a(0x1d8),'strokeLinecap':_0x386c9a(0xa2),'strokeLinejoin':_0x386c9a(0xa2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x386c9a(0x3ce),'attrs':{'id':_0x386c9a(0x333)},'children':[{'tag':_0x386c9a(0xbe),'attrs':{'fill':_0x386c9a(0x371),'d':'M0\x200H16V16H0z','transform':_0x386c9a(0x398)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4f1d14=(0x0,_0x1f628d['forwardRef'])(function(_0x1eb0b5,_0x22813b){const _0x43be9d=_0x386c9a;return(0x0,_0x1f628d[_0x43be9d(0x3f9)])(_0xff9b60,Object[_0x43be9d(0x33e)]({},_0x1eb0b5,{'id':_0x43be9d(0x3fa),'ref':_0x22813b,'icon':_0x3a8e99}));});_0x4f1d14[_0x386c9a(0x13d)]=_0x386c9a(0xef);let _0x26c483={'tag':'svg','attrs':{'xmlns':_0x386c9a(0xe7),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x386c9a(0x190),'height':_0x386c9a(0x190)},'children':[{'tag':_0x386c9a(0xbe),'attrs':{'fill':'currentColor','d':_0x386c9a(0x25f),'fillRule':_0x386c9a(0x329),'clipRule':_0x386c9a(0x329)}}]},_0x183917=(0x0,_0x1f628d[_0x386c9a(0x27f)])(function(_0x346ecc,_0x129179){const _0x5ca8fc=_0x386c9a;return(0x0,_0x1f628d[_0x5ca8fc(0x3f9)])(_0xff9b60,Object[_0x5ca8fc(0x33e)]({},_0x346ecc,{'id':_0x5ca8fc(0xdb),'ref':_0x129179,'icon':_0x26c483}));});_0x183917[_0x386c9a(0x13d)]=_0x386c9a(0x108);let _0x1ca886={'tag':_0x386c9a(0x19b),'attrs':{'xmlns':_0x386c9a(0xe7),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x386c9a(0x190),'height':_0x386c9a(0x190)},'children':[{'tag':'path','attrs':{'fill':'#0B9EFB','d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x386c9a(0x329),'clipRule':_0x386c9a(0x329)}},{'tag':_0x386c9a(0xbe),'attrs':{'fill':_0x386c9a(0x332),'d':_0x386c9a(0x40d),'fillRule':_0x386c9a(0x329),'clipRule':_0x386c9a(0x329)}}]},_0x458409=(0x0,_0x1f628d['forwardRef'])(function(_0x245995,_0x39fe58){const _0xc79763=_0x386c9a;return(0x0,_0x1f628d[_0xc79763(0x3f9)])(_0xff9b60,Object[_0xc79763(0x33e)]({},_0x245995,{'id':_0xc79763(0x2b2),'ref':_0x39fe58,'icon':_0x1ca886}));});_0x458409[_0x386c9a(0x13d)]=_0x386c9a(0x28d);function _0x4de66d(_0x2e7f30){const _0xc2ca27=_0x386c9a;switch(_0x2e7f30){case _0x2248ce[_0xc2ca27(0x323)][_0xc2ca27(0x1e0)]:return{'icon':(0x0,_0x418e4f['jsx'])(_0x2e4189,{}),'colorClass':'univer-text-red-500','i18nKey':_0xc2ca27(0x406),'tooltipKey':_0xc2ca27(0xe8),'clickable':!0x0,'indicator':_0xc2ca27(0x3a5)};case _0x2248ce['CollaborationStatus'][_0xc2ca27(0xbc)]:return{'icon':(0x0,_0x418e4f['jsx'])(_0x2e4189,{}),'colorClass':_0xc2ca27(0xa9),'i18nKey':_0xc2ca27(0xc4),'clickable':!0x1,'indicator':'static'};case _0x2248ce['CollaborationStatus'][_0xc2ca27(0x105)]:return{'icon':(0x0,_0x418e4f[_0xc2ca27(0x1df)])(_0x458409,{}),'colorClass':_0xc2ca27(0x3e5),'i18nKey':_0xc2ca27(0xab),'clickable':!0x1,'indicator':_0xc2ca27(0x1aa)};case _0x2248ce[_0xc2ca27(0x323)]['NOT_COLLAB']:return{'icon':(0x0,_0x418e4f[_0xc2ca27(0x1df)])(_0x4f1d14,{}),'colorClass':'univer-text-gray-400','i18nKey':_0xc2ca27(0x20a),'clickable':!0x1,'indicator':'static'};case _0x2248ce[_0xc2ca27(0x323)]['AWAITING']:case _0x2248ce['CollaborationStatus'][_0xc2ca27(0x1a8)]:return{'icon':(0x0,_0x418e4f['jsx'])(_0x458409,{}),'colorClass':_0xc2ca27(0x3e5),'i18nKey':_0xc2ca27(0xa3),'clickable':!0x1,'indicator':'spin'};case _0x2248ce['CollaborationStatus'][_0xc2ca27(0xe6)]:return{'icon':(0x0,_0x418e4f[_0xc2ca27(0x1df)])(_0x458409,{}),'colorClass':_0xc2ca27(0x3e5),'i18nKey':_0xc2ca27(0xa3),'clickable':!0x1,'indicator':_0xc2ca27(0x1aa)};case _0x2248ce[_0xc2ca27(0x323)]['SYNCED']:return{'icon':(0x0,_0x418e4f['jsx'])(_0x4f1d14,{}),'colorClass':_0xc2ca27(0x27c),'i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':'static'};}}function _0x597e4b(_0x1cdbd0){const _0x495b42=_0x386c9a;let {status$:_0x2c0d95}=_0x1cdbd0,_0x260417=(0x0,_0xad5ce['useObservable'])(_0x2c0d95,_0x2248ce[_0x495b42(0x323)][_0x495b42(0x376)]),_0x1ceed3=(0x0,_0xad5ce[_0x495b42(0x36b)])(_0x3188ec[_0x495b42(0x2cb)]),_0x28379f=(0x0,_0xad5ce[_0x495b42(0x36b)])(_0x2248ce['CollaborationSessionService']),_0x2c7f42=(0x0,_0x1f628d['useMemo'])(()=>_0x4de66d(_0x260417),[_0x260417]),_0x3a77c5=_0x260417!==_0x2248ce[_0x495b42(0x323)][_0x495b42(0x1e0)],_0x301286=_0x1ceed3['t'](_0x2c7f42[_0x495b42(0x1dd)]),_0x5b5e23=_0x2c7f42[_0x495b42(0x24a)]?_0x1ceed3['t'](_0x2c7f42[_0x495b42(0x24a)]):_0x301286,_0x41b602=(0x0,_0x1f628d[_0x495b42(0x165)])(()=>{const _0x1a0387=_0x495b42;_0x3a77c5||_0x28379f[_0x1a0387(0x243)]();},[_0x3a77c5,_0x28379f]),_0x31f3f3=(0x0,_0x1f628d[_0x495b42(0x165)])(_0x508766=>{const _0x36238e=_0x495b42;!_0x3a77c5&&(_0x508766[_0x36238e(0x155)]===_0x36238e(0x2c8)||_0x508766[_0x36238e(0x155)]==='\x20')&&(_0x508766[_0x36238e(0x11e)](),_0x28379f['reconnect']());},[_0x3a77c5,_0x28379f]),_0x4ea4e7=(0x0,_0x418e4f[_0x495b42(0x1df)])('span',{'className':(0x0,_0x36a1a4['clsx'])(_0x495b42(0x3e9),_0x495b42(0x337),_0x2c7f42['colorClass'],{'univer-animate-spin':_0x2c7f42['indicator']===_0x495b42(0x1aa),'univer-animate-pulse':_0x2c7f42[_0x495b42(0x23a)]===_0x495b42(0x343)}),'aria-hidden':_0x495b42(0xe3),'children':_0x2c7f42[_0x495b42(0x327)]}),_0x4e1212=(0x0,_0x418e4f[_0x495b42(0x1df)])('span',{'className':(0x0,_0x36a1a4[_0x495b42(0x35c)])(_0x495b42(0x3e9),_0x495b42(0x356),_0x495b42(0x10a),_0x495b42(0x291),_0x495b42(0x363),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x2c7f42[_0x495b42(0x2dd)],'univer-cursor-default':!_0x2c7f42[_0x495b42(0x2dd)]}),'children':_0x4ea4e7});return _0x2c7f42[_0x495b42(0x2dd)]?(0x0,_0x418e4f[_0x495b42(0x1df)])(_0x36a1a4['Tooltip'],{'title':_0x5b5e23,'placement':_0x495b42(0x123),'children':(0x0,_0x418e4f[_0x495b42(0x1df)])(_0x495b42(0x396),{'type':_0x495b42(0x396),'onClick':_0x41b602,'onKeyDown':_0x31f3f3,'className':(0x0,_0x36a1a4[_0x495b42(0x35c)])(_0x495b42(0x259),_0x495b42(0x17d),_0x495b42(0x1e4),'univer-appearance-none'),'aria-label':_0x301286+'\x20-\x20'+_0x5b5e23,'role':_0x495b42(0xcf),'aria-live':_0x495b42(0x3d0),'aria-atomic':_0x495b42(0xe3),'children':_0x4e1212})}):(0x0,_0x418e4f[_0x495b42(0x1df)])(_0x36a1a4[_0x495b42(0x121)],{'title':_0x5b5e23,'placement':_0x495b42(0x123),'children':(0x0,_0x418e4f[_0x495b42(0x1df)])('div',{'className':(0x0,_0x36a1a4['clsx'])(_0x495b42(0x259),_0x495b42(0x17d),_0x495b42(0x1e4)),'aria-label':_0x301286,'role':_0x495b42(0xcf),'aria-live':_0x495b42(0x3d0),'aria-atomic':_0x495b42(0xe3),'children':_0x4e1212})});}function _0x3507b1(_0x1d829f){'@babel/helpers - typeof';const _0x1d0673=_0x386c9a;return _0x3507b1=typeof Symbol==_0x1d0673(0x14f)&&typeof Symbol[_0x1d0673(0x3c9)]==_0x1d0673(0x3af)?function(_0x478dc0){return typeof _0x478dc0;}:function(_0x2c2a6a){const _0x3596ba=_0x1d0673;return _0x2c2a6a&&typeof Symbol=='function'&&_0x2c2a6a[_0x3596ba(0x277)]===Symbol&&_0x2c2a6a!==Symbol[_0x3596ba(0x253)]?'symbol':typeof _0x2c2a6a;},_0x3507b1(_0x1d829f);}function _0x3fbce2(_0x12b551,_0x12d08f){const _0x381023=_0x386c9a;if(_0x3507b1(_0x12b551)!=_0x381023(0x2a7)||!_0x12b551)return _0x12b551;var _0x54a885=_0x12b551[Symbol['toPrimitive']];if(_0x54a885!==void 0x0){var _0x521a13=_0x54a885['call'](_0x12b551,_0x12d08f||'default');if(_0x3507b1(_0x521a13)!=_0x381023(0x2a7))return _0x521a13;throw TypeError(_0x381023(0x33a));}return(_0x12d08f==='string'?String:Number)(_0x12b551);}function _0x3f1545(_0x273e5d){const _0x1cf015=_0x386c9a;var _0x108d1f=_0x3fbce2(_0x273e5d,_0x1cf015(0x1b0));return _0x3507b1(_0x108d1f)=='symbol'?_0x108d1f:_0x108d1f+'';}function _0x2109ac(_0x11582b,_0xe205f8,_0x4b429b){const _0x1d4c74=_0x386c9a;return(_0xe205f8=_0x3f1545(_0xe205f8))in _0x11582b?Object[_0x1d4c74(0x12f)](_0x11582b,_0xe205f8,{'value':_0x4b429b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x11582b[_0xe205f8]=_0x4b429b,_0x11582b;}function _0x148b43(_0x13c930,_0x36678c){return function(_0x736173,_0x1a62be){_0x36678c(_0x736173,_0x1a62be,_0x13c930);};}function _0x442f80(_0x14eeed,_0x278574,_0x320587,_0x4933d){const _0x2340d8=_0x386c9a;var _0x4b0ecb=arguments['length'],_0x1ac346=_0x4b0ecb<0x3?_0x278574:_0x4933d===null?_0x4933d=Object[_0x2340d8(0x303)](_0x278574,_0x320587):_0x4933d,_0xcc60de;if(typeof Reflect==_0x2340d8(0x2a7)&&typeof Reflect['decorate']==_0x2340d8(0x14f))_0x1ac346=Reflect[_0x2340d8(0x1af)](_0x14eeed,_0x278574,_0x320587,_0x4933d);else{for(var _0x4ee377=_0x14eeed['length']-0x1;_0x4ee377>=0x0;_0x4ee377--)(_0xcc60de=_0x14eeed[_0x4ee377])&&(_0x1ac346=(_0x4b0ecb<0x3?_0xcc60de(_0x1ac346):_0x4b0ecb>0x3?_0xcc60de(_0x278574,_0x320587,_0x1ac346):_0xcc60de(_0x278574,_0x320587))||_0x1ac346);}return _0x4b0ecb>0x3&&_0x1ac346&&Object[_0x2340d8(0x12f)](_0x278574,_0x320587,_0x1ac346),_0x1ac346;}let _0x1152cb=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x530a37,_0xf1b526,_0x3e4387,_0x10d5a9){const _0x2ccce0=_0x386c9a;super(),this[_0x2ccce0(0x315)]=_0x530a37,this[_0x2ccce0(0x2f4)]=_0xf1b526,this[_0x2ccce0(0x33b)]=_0x3e4387,this['_uiPartsService']=_0x10d5a9,_0x2109ac(this,_0x2ccce0(0x3a2),new _0x3a9a2c[(_0x2ccce0(0x1ba))](_0x2248ce[_0x2ccce0(0x323)][_0x2ccce0(0x376)])),this[_0x2ccce0(0x1f4)](),this['_initStatusListener']();}[_0x386c9a(0x2fc)](){const _0x4dcfd3=_0x386c9a;this['disposeWithMe']((0x0,_0x3a9a2c[_0x4dcfd3(0x252)])(this[_0x4dcfd3(0x315)][_0x4dcfd3(0x3c7)],this['_univerInstanceService'][_0x4dcfd3(0x150)](_0x3188ec[_0x4dcfd3(0x28e)][_0x4dcfd3(0x3ae)]),this[_0x4dcfd3(0x315)][_0x4dcfd3(0x150)](_0x3188ec[_0x4dcfd3(0x28e)][_0x4dcfd3(0x133)]))[_0x4dcfd3(0x32a)]((0x0,_0x30c188[_0x4dcfd3(0x2a3)])(()=>_0x3c4059(this['_univerInstanceService'])),(0x0,_0x30c188[_0x4dcfd3(0x3e2)])(),(0x0,_0x3a9a2c[_0x4dcfd3(0x177)])(_0x15d214=>_0x15d214?this[_0x4dcfd3(0x33b)][_0x4dcfd3(0x2a8)](_0x15d214):(0x0,_0x3a9a2c['of'])(null)),(0x0,_0x3a9a2c[_0x4dcfd3(0x177)])(_0x219c6a=>_0x219c6a?_0x219c6a[_0x4dcfd3(0x272)]:(0x0,_0x3a9a2c['of'])(_0x2248ce[_0x4dcfd3(0x323)]['NOT_COLLAB'])))[_0x4dcfd3(0x341)](_0x10a3af=>{const _0x535d57=_0x4dcfd3;this[_0x535d57(0x3a2)][_0x535d57(0x362)](_0x10a3af);}));}[_0x386c9a(0x1f4)](){const _0x5d719e=_0x386c9a;this[_0x5d719e(0x2da)](this['_uiPartsService'][_0x5d719e(0x210)](_0xad5ce[_0x5d719e(0xaf)][_0x5d719e(0x104)],()=>(0x0,_0xad5ce[_0x5d719e(0x3ad)])(_0x13426a({'status$':this[_0x5d719e(0x3a2)][_0x5d719e(0x12b)]()}),this[_0x5d719e(0x2f4)])));}};_0x1152cb=_0x442f80([_0x148b43(0x0,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec['Injector'])),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0x1ed)])),_0x148b43(0x3,_0xad5ce['IUIPartsService'])],_0x1152cb);let _0x21e743=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x4a7df2,_0x46b55f,_0x270310,_0x746a70){const _0x579665=_0x386c9a;super(),this['_univerInstanceService']=_0x4a7df2,this['_injector']=_0x46b55f,this['_collaborationController']=_0x270310,this['_uiPartsService']=_0x746a70,_0x2109ac(this,_0x579665(0x3a2),new _0x3a9a2c['BehaviorSubject'](_0x2248ce['CollaborationStatus']['NOT_COLLAB'])),this[_0x579665(0x1f4)](),this[_0x579665(0x2fc)]();}['_initStatusListener'](){const _0x3f0d32=_0x386c9a;this['disposeWithMe']((0x0,_0x3a9a2c[_0x3f0d32(0x252)])((0x0,_0x3a9a2c['of'])(null),this[_0x3f0d32(0x315)][_0x3f0d32(0x150)](_0x3188ec[_0x3f0d32(0x28e)][_0x3f0d32(0xa0)]))[_0x3f0d32(0x32a)]((0x0,_0x30c188[_0x3f0d32(0x2a3)])(()=>_0xcb9171(this[_0x3f0d32(0x315)])),(0x0,_0x30c188['distinctUntilChanged'])(),(0x0,_0x3a9a2c[_0x3f0d32(0x177)])(_0x230646=>_0x230646?this[_0x3f0d32(0x33b)][_0x3f0d32(0x2a8)](_0x230646):(0x0,_0x3a9a2c['of'])(null)),(0x0,_0x3a9a2c[_0x3f0d32(0x177)])(_0x1a0a75=>_0x1a0a75?_0x1a0a75[_0x3f0d32(0x272)]:(0x0,_0x3a9a2c['of'])(_0x2248ce['CollaborationStatus'][_0x3f0d32(0x376)])))[_0x3f0d32(0x341)](_0x38d2cb=>{const _0x1735e5=_0x3f0d32;this['_status$'][_0x1735e5(0x362)](_0x38d2cb);}));}[_0x386c9a(0x1f4)](){const _0x17813b=_0x386c9a;this['disposeWithMe'](this['_uiPartsService'][_0x17813b(0x210)](_0x20b4fa[_0x17813b(0x24f)],()=>(0x0,_0xad5ce[_0x17813b(0x3ad)])(_0x13426a({'status$':this[_0x17813b(0x3a2)][_0x17813b(0x12b)]()}),this[_0x17813b(0x2f4)])));}};_0x21e743=_0x442f80([_0x148b43(0x0,_0x3188ec['IUniverInstanceService']),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0x1ed)])),_0x148b43(0x3,_0xad5ce[_0x386c9a(0x214)])],_0x21e743);function _0x3c4059(_0x1ea994){const _0x3c58b9=_0x386c9a;let _0x4a8152=_0x1ea994[_0x3c58b9(0x369)](),_0x28d6bd=_0x4a8152==null?void 0x0:_0x4a8152[_0x3c58b9(0x3e8)]();if(_0x28d6bd&&!(0x0,_0x3188ec[_0x3c58b9(0x3f4)])(_0x28d6bd))return _0x28d6bd;let _0x542605=_0x1ea994[_0x3c58b9(0x2ca)](_0x3188ec[_0x3c58b9(0x28e)][_0x3c58b9(0x3ae)]),_0x4c1962=_0x542605==null?void 0x0:_0x542605[_0x3c58b9(0x3e8)]();if(_0x4c1962&&!(0x0,_0x3188ec[_0x3c58b9(0x3f4)])(_0x4c1962))return _0x4c1962;let _0x16b256=_0x1ea994[_0x3c58b9(0x2ca)](_0x3188ec[_0x3c58b9(0x28e)][_0x3c58b9(0x133)]);if(_0x16b256)return _0x16b256[_0x3c58b9(0x3e8)]();let _0x587432=_0x1ea994[_0x3c58b9(0x1f9)](_0x3188ec[_0x3c58b9(0x28e)][_0x3c58b9(0x3ae)])['find'](_0x5d9595=>!(0x0,_0x3188ec[_0x3c58b9(0x3f4)])(_0x5d9595['getUnitId']()));return _0x587432?_0x587432[_0x3c58b9(0x3e8)]():null;}function _0xcb9171(_0x35cbdd){const _0x293728=_0x386c9a;var _0x3b5045;let _0x38291c=_0x35cbdd['getCurrentUnitOfType'](_0x3188ec['UniverInstanceType'][_0x293728(0xa0)]);return(_0x3b5045=_0x38291c==null?void 0x0:_0x38291c[_0x293728(0x3e8)]())==null?null:_0x3b5045;}function _0x13426a(_0x2b5368){let {status$:_0x118677}=_0x2b5368;return function(){const _0x343102=_0xbfb2;return(0x0,_0x418e4f[_0x343102(0x1df)])(_0x597e4b,{'status$':_0x118677});};}var _0x573e1f=_0x386c9a(0x317),_0x161965=_0x386c9a(0x2d4);let _0x38b360={},_0x4c0fe9=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0x59b3be,_0xeb7225){const _0x478ab3=_0x386c9a;super(),this[_0x478ab3(0x346)]=_0x59b3be,this[_0x478ab3(0xfb)]=_0xeb7225,this['_init']();}['_init'](){const _0x379403=_0x386c9a;let _0x4e779a=this;this[_0x379403(0x2da)](this[_0x379403(0x346)][_0x379403(0xd7)]({'onBeforePasteImage':async _0x398b3c=>{const _0x215d01=_0x379403;let _0x384a80=await _0x4e779a[_0x215d01(0xfb)]['saveImage'](_0x398b3c);return _0x384a80?{'source':_0x384a80[_0x215d01(0xc5)],'imageSourceType':_0x384a80[_0x215d01(0x3b8)]}:null;}}));}};_0x4c0fe9=_0x442f80([_0x148b43(0x0,_0x390782['IDocClipboardService']),_0x148b43(0x1,_0x3188ec[_0x386c9a(0x2e0)])],_0x4c0fe9);function _0x25e53d(_0x4bfba0,_0x1a9861){const _0x4e7fa1=_0x386c9a;_0x4bfba0['save'](),_0x4bfba0[_0x4e7fa1(0x113)]=_0x4e7fa1(0x2c6);let _0x2d8240=_0x4bfba0['measureText'](_0x1a9861)['width'];return _0x4bfba0[_0x4e7fa1(0xad)](),Math[_0x4e7fa1(0x3f2)](_0x2d8240+0x8,0xc8);}function _0x30d44b(_0x3aba42,_0x58a2dc){const _0x5acc13=_0x386c9a;var _0x34e5d1,_0x42bdc8,_0x3e0649;let {radius:_0x32541b,width:_0x28f4b5,height:_0xef1ad9}=_0x58a2dc;_0x32541b=(_0x34e5d1=_0x32541b)==null?0x0:_0x34e5d1,_0x28f4b5=(_0x42bdc8=_0x28f4b5)==null?0x1e:_0x42bdc8,_0xef1ad9=(_0x3e0649=_0xef1ad9)==null?0x1e:_0x3e0649;let _0xa097c1=0x0,_0x103e64=0x0,_0x49adde=0x0;_0xa097c1=_0x103e64=_0x49adde=Math[_0x5acc13(0x3f2)](_0x32541b,_0x28f4b5/0x2,_0xef1ad9/0x2),_0x3aba42['beginPath'](),_0x3aba42[_0x5acc13(0xa1)](_0xa097c1,0x0),_0x3aba42[_0x5acc13(0x37c)](_0x28f4b5-_0x103e64,0x0),_0x3aba42[_0x5acc13(0x390)](_0x28f4b5-_0x103e64,_0x103e64,_0x103e64,Math['PI']*0x3/0x2,0x0,!0x1),_0x3aba42[_0x5acc13(0x37c)](_0x28f4b5,_0xef1ad9-_0x49adde),_0x3aba42[_0x5acc13(0x390)](_0x28f4b5-_0x49adde,_0xef1ad9-_0x49adde,_0x49adde,0x0,Math['PI']/0x2,!0x1),_0x3aba42[_0x5acc13(0x37c)](0x0,_0xef1ad9),_0x3aba42[_0x5acc13(0x37c)](0x0,_0xa097c1),_0x3aba42[_0x5acc13(0x390)](_0xa097c1,_0xa097c1,_0xa097c1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3aba42[_0x5acc13(0x3cf)](),_0x58a2dc[_0x5acc13(0x15c)]&&(_0x3aba42[_0x5acc13(0x2f6)](),_0x3aba42[_0x5acc13(0x2a6)]=_0x58a2dc[_0x5acc13(0x15c)],_0x58a2dc[_0x5acc13(0x3b7)]===_0x5acc13(0x329)?_0x3aba42['fill']('evenodd'):_0x3aba42['fill'](),_0x3aba42['restore']());}var _0x19e9c3=class _0x576de9 extends _0x38b39d[_0x386c9a(0xf2)]{constructor(_0x48f3ec,_0x20124f){const _0x4b28f6=_0x386c9a;super(_0x48f3ec,_0x20124f),_0x2109ac(this,_0x4b28f6(0x325),void 0x0),_0x2109ac(this,_0x4b28f6(0x3ec),void 0x0),this['color']=_0x20124f==null?void 0x0:_0x20124f['color'],this['text']=_0x20124f==null?void 0x0:_0x20124f[_0x4b28f6(0x3ec)];}static[_0x386c9a(0x282)](_0x589e71,_0x2f9109){const _0x3176a2=_0x386c9a;let {text:_0x4a7e2a,color:_0xfdc559}=_0x2f9109;_0x589e71[_0x3176a2(0x2f6)](),_0x589e71['font']=_0x3176a2(0x17a);let _0x3533d9=_0x589e71['measureText'](_0x4a7e2a)[_0x3176a2(0x380)];if(_0x30d44b(_0x589e71,{'height':0x14,'radius':0x4,'width':_0x25e53d(_0x589e71,_0x4a7e2a),'fill':_0xfdc559,'evented':!0x1}),_0x589e71[_0x3176a2(0x2a6)]=_0x3176a2(0x37a),_0x3533d9>0xc0){let _0x36033c='',_0x4a2e20=0x0;for(let _0x1eba5a of _0x4a7e2a){let _0x4e0826=_0x589e71[_0x3176a2(0x312)](_0x1eba5a)[_0x3176a2(0x380)];if(_0x4a2e20+_0x4e0826<=0xc0-_0x589e71[_0x3176a2(0x312)]('...')[_0x3176a2(0x380)])_0x36033c+=_0x1eba5a,_0x4a2e20+=_0x4e0826;else{_0x36033c+='...';break;}}_0x589e71[_0x3176a2(0x147)](_0x36033c,0x4,0xf);}else _0x589e71[_0x3176a2(0x147)](_0x4a7e2a,0x4,0xf);_0x589e71[_0x3176a2(0xad)]();}['_draw'](_0x52431e){const _0x42c7e7=_0x386c9a;_0x576de9[_0x42c7e7(0x282)](_0x52431e,this);}};let _0x4f92ff=0x138a;var _0x36c05d=class extends _0x38b39d['Shape']{constructor(_0x29d8a4,_0x279d32){const _0xdacb74=_0x386c9a;super(_0x29d8a4,{..._0x279d32,'evented':!0x1}),_0x2109ac(this,_0xdacb74(0xa7),_0xdacb74(0x1d3)),_0x2109ac(this,'_name',''),_0x2109ac(this,_0xdacb74(0x318),!0x0),_0x279d32&&this[_0xdacb74(0x3b4)](_0x279d32);}[_0x386c9a(0x3b4)](_0x371de6){const _0x25812b=_0x386c9a;var _0x96690f,_0x5a4ef8,_0x2bcdf7,_0x5df5a2,_0x2a598c,_0x28b85b,_0x4b1847,_0x5d6b7c;this[_0x25812b(0xa7)]=(_0x96690f=_0x371de6[_0x25812b(0x325)])==null?this[_0x25812b(0xa7)]:_0x96690f,this[_0x25812b(0x1bd)]=(_0x5a4ef8=_0x371de6[_0x25812b(0x10e)])==null?this['_name']:_0x5a4ef8,this[_0x25812b(0x318)]=(_0x2bcdf7=_0x371de6['showText'])==null?this[_0x25812b(0x318)]:_0x2bcdf7,this[_0x25812b(0x238)]=!0x1,this[_0x25812b(0x1f0)]({'left':(_0x5df5a2=_0x371de6[_0x25812b(0x268)])==null?this[_0x25812b(0x268)]:_0x5df5a2,'top':(_0x2a598c=_0x371de6[_0x25812b(0x138)])==null?this[_0x25812b(0x138)]:_0x2a598c,'width':(_0x28b85b=_0x371de6[_0x25812b(0x380)])==null?this[_0x25812b(0x380)]:_0x28b85b,'height':(_0x4b1847=_0x371de6[_0x25812b(0x302)])==null?this['height']:_0x4b1847,'angle':(_0x5d6b7c=_0x371de6[_0x25812b(0x2b7)])==null?this['angle']:_0x5d6b7c});}['_draw'](_0x30e5d8){const _0x405713=_0x386c9a;_0x30e5d8[_0x405713(0x2f6)](),_0x30e5d8[_0x405713(0x114)]=this[_0x405713(0xa7)],_0x30e5d8[_0x405713(0x33c)]=this['strokeWidth']||1.5,_0x30e5d8[_0x405713(0x353)]([0x6,0x4]),_0x30e5d8[_0x405713(0x27e)](0x0,0x0,this[_0x405713(0x380)],this[_0x405713(0x302)]),_0x30e5d8[_0x405713(0xad)](),this[_0x405713(0x318)]&&(_0x30e5d8[_0x405713(0x2f6)](),_0x30e5d8[_0x405713(0x2c1)](0x1,0x0,0x0,0x1,this[_0x405713(0x380)],-0x14),_0x19e9c3['drawWith'](_0x30e5d8,{'text':this[_0x405713(0x1bd)],'color':this[_0x405713(0xa7)]}),_0x30e5d8[_0x405713(0xad)]());}};let _0x31665e=[_0x386c9a(0x174),_0x386c9a(0x21d),'green.600','red.300',_0x386c9a(0x23c),_0x386c9a(0x12e)];var _0x4cf754=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(..._0x5575cc){super(..._0x5575cc),_0x2109ac(this,'_assignedColors',new Map()),_0x2109ac(this,'_colorIndex',0x0);}[_0x386c9a(0xb4)](_0xca3190){const _0x5672d3=_0x386c9a;if(this[_0x5672d3(0x196)]['has'](_0xca3190))return this[_0x5672d3(0x196)]['get'](_0xca3190);let _0x45004e=_0x31665e[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x31665e[_0x5672d3(0x368)],this[_0x5672d3(0x196)]['set'](_0xca3190,_0x45004e),_0x45004e;}};function _0xaf36e2(_0x29c420){const _0x1823b6=_0x386c9a;let _0x2ca6bf;try{_0x2ca6bf=JSON['parse'](_0x29c420);}catch{return null;}if(typeof _0x2ca6bf!=_0x1823b6(0x2a7)||!_0x2ca6bf)return null;let _0x3abf0f=_0x2ca6bf;if(_0x3abf0f[_0x1823b6(0x1b1)]!==_0x1823b6(0x2b6)||typeof _0x3abf0f['unitId']!=_0x1823b6(0x1b0)||typeof _0x3abf0f[_0x1823b6(0x2f0)]!=_0x1823b6(0x1b0))return null;let _0x36942d=Array[_0x1823b6(0x1bc)](_0x3abf0f[_0x1823b6(0x2bc)])?_0x3abf0f[_0x1823b6(0x2bc)][_0x1823b6(0x26a)](_0x1920bb=>typeof _0x1920bb==_0x1823b6(0x1b0)):[],_0x1952c2=typeof _0x3abf0f[_0x1823b6(0x16e)]==_0x1823b6(0x1b0)?_0x3abf0f[_0x1823b6(0x16e)]:null;return{'kind':_0x1823b6(0x2b6),'unitId':_0x3abf0f[_0x1823b6(0x232)],'subUnitId':_0x3abf0f['subUnitId'],'selectedIds':_0x36942d,'focusedId':_0x1952c2};}let _0x3e60a0=class extends _0x3188ec[_0x386c9a(0x164)]{get[_0x386c9a(0x202)](){const _0x22f4c6=_0x386c9a;return this['_cursorInfo$'][_0x22f4c6(0x1c7)]();}get['roomMembers'](){const _0x332bb3=_0x386c9a;return this[_0x332bb3(0x205)]['getValue']();}constructor(_0x1b13d3,_0x539e7d,_0xb28dd6,_0x5af13c,_0x377b60){const _0x41c743=_0x386c9a;super(),this['unitID']=_0x1b13d3,this[_0x41c743(0x35e)]=_0x539e7d,this[_0x41c743(0xd0)]=_0xb28dd6,this['_memberService']=_0x5af13c,this[_0x41c743(0x3f3)]=_0x377b60,_0x2109ac(this,_0x41c743(0x39f),!0x1),_0x2109ac(this,_0x41c743(0x34d),!0x1),_0x2109ac(this,'_cursorInfo$',new _0x3a9a2c[(_0x41c743(0x1ba))](new Map())),_0x2109ac(this,_0x41c743(0x169),this[_0x41c743(0x21c)][_0x41c743(0x12b)]()),_0x2109ac(this,_0x41c743(0x205),new _0x3a9a2c[(_0x41c743(0x1ba))]([])),_0x2109ac(this,_0x41c743(0x19f),this[_0x41c743(0x205)][_0x41c743(0x32a)]((0x0,_0x3a9a2c[_0x41c743(0x21a)])(0x12c))),_0x2109ac(this,_0x41c743(0x404),(0x0,_0x3188ec[_0x41c743(0x15a)])(_0x52fb78=>{const _0x5da77e=_0x41c743;let _0x18b4bf=_0x52fb78[_0x5da77e(0xcc)];if(!_0x18b4bf||_0x18b4bf[_0x5da77e(0x232)]!==this['unitID'])return;let _0x23155b={'kind':_0x5da77e(0x2b6),'unitId':_0x18b4bf[_0x5da77e(0x232)],'subUnitId':_0x18b4bf['subUnitId'],'selectedIds':_0x52fb78[_0x5da77e(0x2bc)][_0x5da77e(0x26a)](_0x14154e=>typeof _0x14154e=='string'),'focusedId':_0x52fb78[_0x5da77e(0x16e)]},_0xd0bb49={'eventID':_0x1cdb30[_0x5da77e(0x2e8)][_0x5da77e(0x1d9)],'data':{'unitID':this['unitID'],'memberID':this[_0x5da77e(0x35e)]['getMemberID'](),'selection':JSON['stringify'](_0x23155b)}};this[_0x5da77e(0x35e)][_0x5da77e(0x36e)](_0xd0bb49,this[_0x5da77e(0x141)]);},0x64));}[_0x386c9a(0x228)](){const _0x4d2df8=_0x386c9a;super['dispose'](),this[_0x4d2df8(0x21c)][_0x4d2df8(0x362)](new Map()),this['_cursorInfo$'][_0x4d2df8(0x30c)](),this['_roomMembers$'][_0x4d2df8(0x362)]([]),this['_roomMembers$'][_0x4d2df8(0x30c)]();}[_0x386c9a(0x206)](){const _0x274b45=_0x386c9a;this[_0x274b45(0x34d)]||(this[_0x274b45(0x34d)]=!0x0,this[_0x274b45(0x35e)][_0x274b45(0x157)][_0x274b45(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this[_0x274b45(0x181)]))[_0x274b45(0x341)](_0x2f57f5=>{const _0x235714=_0x274b45;_0x2f57f5===_0x2248ce[_0x235714(0x31b)]['ONLINE']?this['_toggleOnline']():this[_0x235714(0x34a)]();}),this[_0x274b45(0x35e)][_0x274b45(0x365)]['pipe']((0x0,_0x3a9a2c['takeUntil'])(this['dispose$']))[_0x274b45(0x341)](_0x43716e=>{const _0x1c82f6=_0x274b45;let _0x2c8f50=_0x43716e[_0x1c82f6(0x11f)];_0x2c8f50===_0x1cdb30['CollaborationEvent'][_0x1c82f6(0x1d9)]&&this[_0x1c82f6(0x128)](_0x43716e),_0x2c8f50===_0x1cdb30['CollaborationEvent']['USERS_LEAVE']&&this[_0x1c82f6(0x149)](_0x43716e);}),this['_boardElementStateService'][_0x274b45(0x3e7)][_0x274b45(0x32a)]((0x0,_0x3a9a2c[_0x274b45(0x1ef)])(this['dispose$']))['subscribe'](_0x2aba4a=>{const _0x539821=_0x274b45;this['_online']&&this[_0x539821(0x404)](_0x2aba4a);}));}[_0x386c9a(0x128)](_0x5b1e0d){const _0x59687d=_0x386c9a;var _0x317b03,_0x2f3351,_0x25b01e,_0x78d4;let {memberID:_0x276d0b,selection:_0xf7da95}=_0x5b1e0d[_0x59687d(0x17c)];if(_0x276d0b===((_0x317b03=(_0x2f3351=this[_0x59687d(0x35e)])[_0x59687d(0xd5)])==null?void 0x0:_0x317b03[_0x59687d(0x266)](_0x2f3351)))return;let _0x2e95d0=_0xaf36e2(_0xf7da95);if(!_0x2e95d0||_0x2e95d0[_0x59687d(0x232)]!==this[_0x59687d(0x141)])return;let _0x4721bb=(_0x25b01e=(_0x78d4=this['_memberService'][_0x59687d(0x1ae)](this['unitID'],_0x276d0b))==null?void 0x0:_0x78d4['name'])==null?_0x59687d(0x284):_0x25b01e,_0x277d0d={'color':this[_0x59687d(0xd0)][_0x59687d(0xb4)](_0x276d0b),'name':_0x4721bb,'unitId':_0x2e95d0[_0x59687d(0x232)],'subUnitId':_0x2e95d0[_0x59687d(0x2f0)],'selectedIds':_0x2e95d0[_0x59687d(0x2bc)],'focusedId':_0x2e95d0[_0x59687d(0x16e)],'selection':_0xf7da95},_0x58c410=new Map(this[_0x59687d(0x202)]);_0x58c410[_0x59687d(0x2eb)](_0x276d0b,_0x277d0d),this['_cursorInfo$']['next'](_0x58c410);}[_0x386c9a(0x149)](_0x14a057){const _0x533375=_0x386c9a;let {memberID:_0x5083c8}=_0x14a057[_0x533375(0x17c)],_0x20725e=new Map(this[_0x533375(0x202)]);_0x20725e[_0x533375(0x22f)](_0x5083c8),this['_cursorInfo$'][_0x533375(0x362)](_0x20725e);}['_toggleOnline'](){const _0x4d0cb8=_0x386c9a;this[_0x4d0cb8(0x39f)]=!0x0,this['_updateLocalCursor'](this[_0x4d0cb8(0x3f3)]['getSnapshot']());}['_toggleOffline'](){const _0x1704a1=_0x386c9a;this[_0x1704a1(0x39f)]=!0x1;}};_0x3e60a0=_0x442f80([_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4cf754)),_0x148b43(0x3,(0x0,_0x3188ec['Inject'])(_0x2248ce[_0x386c9a(0x1e1)])),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x20b4fa[_0x386c9a(0x18a)]))],_0x3e60a0);function _0x551653(_0x8df430){let _0xf732df='';for(let _0x1985da of _0x8df430){let {startOffset:_0x229be5,endOffset:_0x47d8ae,isActive:_0x221eab,rangeType:_0x270ed8,segmentId:_0x5a771b,segmentPage:_0x3d30eb}=_0x1985da;_0xf732df['length']&&(_0xf732df+=','),_0xf732df+=_0x229be5+':'+_0x47d8ae+':'+(_0x221eab?'1':'0')+':'+_0x270ed8+':'+_0x5a771b+':'+_0x3d30eb;}return _0xf732df;}function _0x17e0b3(_0x157440){const _0x1acb22=_0x386c9a;let _0x27c750=_0x157440['split'](','),_0x308cc2=[];for(let _0x2204bb of _0x27c750){let [_0x5c238c,_0x376b95,_0x3188ea,_0x11cc79,_0x320585,_0x842085]=_0x2204bb[_0x1acb22(0x1c1)](':');_0x308cc2[_0x1acb22(0x18e)]({'startOffset':Number(_0x5c238c),'endOffset':Number(_0x376b95),'collapsed':_0x5c238c===_0x376b95,'isActive':_0x3188ea==='1','rangeType':_0x11cc79===_0x3188ec[_0x1acb22(0x35d)][_0x1acb22(0x22b)]?_0x3188ec[_0x1acb22(0x35d)]['TEXT']:_0x3188ec['DOC_RANGE_TYPE'][_0x1acb22(0x260)],'segmentId':typeof _0x320585==_0x1acb22(0x1b0)?String(_0x320585):'','segmentPage':Number(_0x842085==null?-0x1:_0x842085)});}return _0x308cc2[_0x1acb22(0x2af)](_0x29c625=>_0x29c625['isActive'])||(_0x308cc2[0x0]['isActive']=!0x0),_0x308cc2;}var _0x31641e=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(..._0x348eb2){const _0x5e65a1=_0x386c9a;super(..._0x348eb2),_0x2109ac(this,_0x5e65a1(0x220),new _0x3a9a2c['BehaviorSubject'](null)),_0x2109ac(this,_0x5e65a1(0x237),this[_0x5e65a1(0x220)]['asObservable']());}[_0x386c9a(0x229)](_0x471dc){const _0x32bfcc=_0x386c9a;let {unitID:_0x6cf922,memberID:_0x1d32fe,textRanges:_0x3f6bae}=_0x471dc,_0x3dc8ac=_0x551653(_0x3f6bae);if(_0x3dc8ac==='')return;let _0x13d9df={'unitID':_0x6cf922,'memberID':_0x1d32fe,'selection':_0x3dc8ac};this[_0x32bfcc(0x220)]['next'](_0x13d9df);}};let _0x155527=class extends _0x3188ec['RxDisposable']{get[_0x386c9a(0x202)](){const _0x2eaa76=_0x386c9a;return this[_0x2eaa76(0x21c)]['getValue']();}get[_0x386c9a(0x256)](){const _0xbddb80=_0x386c9a;return this['_roomMembers$'][_0xbddb80(0x1c7)]();}constructor(_0x408910,_0x2761c3,_0x111ed9,_0x4c77ae,_0xe58017,_0x50d134,_0x2bc841,_0x556e18,_0x549206){const _0x39a06a=_0x386c9a;super(),this[_0x39a06a(0x141)]=_0x408910,this[_0x39a06a(0x35e)]=_0x2761c3,this[_0x39a06a(0x2f4)]=_0x111ed9,this['_colorAssignService']=_0x4c77ae,this[_0x39a06a(0x236)]=_0xe58017,this[_0x39a06a(0x301)]=_0x50d134,this[_0x39a06a(0x246)]=_0x2bc841,this['_univerInstanceService']=_0x556e18,this['_commandService']=_0x549206,_0x2109ac(this,'_online',!0x1),_0x2109ac(this,_0x39a06a(0x34d),!0x1),_0x2109ac(this,'_cursorInfo$',new _0x3a9a2c['BehaviorSubject'](new Map())),_0x2109ac(this,_0x39a06a(0x169),this[_0x39a06a(0x21c)][_0x39a06a(0x12b)]()),_0x2109ac(this,_0x39a06a(0x205),new _0x3a9a2c['BehaviorSubject']([])),_0x2109ac(this,_0x39a06a(0x19f),this[_0x39a06a(0x205)][_0x39a06a(0x32a)]((0x0,_0x3a9a2c['debounceTime'])(0x12c))),_0x2109ac(this,_0x39a06a(0x404),(0x0,_0x3188ec[_0x39a06a(0x15a)])(_0x4e7e7d=>{const _0x116451=_0x39a06a;let _0x34ecea={'eventID':_0x1cdb30[_0x116451(0x2e8)][_0x116451(0x1d9)],'data':{'unitID':this[_0x116451(0x141)],'memberID':this['_session']['getMemberID'](),'selection':_0x551653(_0x4e7e7d)}};this[_0x116451(0x35e)][_0x116451(0x36e)](_0x34ecea,this[_0x116451(0x141)]);},0x64));}[_0x386c9a(0x228)](){const _0x21b10e=_0x386c9a;super['dispose'](),this[_0x21b10e(0x21c)][_0x21b10e(0x362)](new Map()),this[_0x21b10e(0x21c)][_0x21b10e(0x30c)](),this['_roomMembers$'][_0x21b10e(0x362)]([]),this[_0x21b10e(0x205)][_0x21b10e(0x30c)]();}[_0x386c9a(0x206)](){const _0x349492=_0x386c9a;this[_0x349492(0x34d)]||(this[_0x349492(0x34d)]=!0x0,this[_0x349492(0x35e)][_0x349492(0x157)][_0x349492(0x32a)]((0x0,_0x3a9a2c[_0x349492(0x1ef)])(this[_0x349492(0x181)]))['subscribe'](_0x451be4=>{const _0x6e611d=_0x349492;_0x451be4===_0x2248ce[_0x6e611d(0x31b)]['ONLINE']?this[_0x6e611d(0x213)]():this['_toggleOffline']();}),this['_session'][_0x349492(0x365)][_0x349492(0x32a)]((0x0,_0x3a9a2c[_0x349492(0x1ef)])(this['dispose$']))[_0x349492(0x341)](_0x1c149c=>{const _0x30c35f=_0x349492;let _0x21e2d9=_0x1c149c[_0x30c35f(0x11f)];_0x21e2d9===_0x1cdb30[_0x30c35f(0x2e8)][_0x30c35f(0x1d9)]&&this[_0x30c35f(0x128)](_0x1c149c),_0x21e2d9===_0x1cdb30[_0x30c35f(0x2e8)][_0x30c35f(0x109)]&&this[_0x30c35f(0x149)](_0x1c149c);}),this[_0x349492(0x2da)](this['_commandService'][_0x349492(0xaa)](_0x825027=>{const _0x462979=_0x349492;let _0xfc3a6b=_0x825027['params'];_0xfc3a6b!=null&&this[_0x462979(0x39f)]&&_0x825027['id']===_0x12c761[_0x462979(0xe9)]['id']&&_0xfc3a6b['unitId']===this[_0x462979(0x141)]&&_0xfc3a6b[_0x462979(0x1b8)]===!0x1&&_0xfc3a6b[_0x462979(0x24c)]['length']>0x0&&this[_0x462979(0x404)](_0xfc3a6b['ranges']);})),this[_0x349492(0x301)][_0x349492(0x237)][_0x349492(0x32a)]((0x0,_0x3a9a2c[_0x349492(0x1ef)])(this[_0x349492(0x181)]))[_0x349492(0x341)](_0x1b2743=>{const _0x5f08e0=_0x349492;if((_0x1b2743==null?void 0x0:_0x1b2743[_0x5f08e0(0x141)])!==this[_0x5f08e0(0x141)])return;let _0x53c809={'eventID':_0x1cdb30[_0x5f08e0(0x2e8)][_0x5f08e0(0x1d9)],'data':_0x1b2743};this['_onCursorUpdate'](_0x53c809);}),this[_0x349492(0x2da)](this[_0x349492(0xc7)][_0x349492(0xaa)](_0x16cd11=>{const _0x49c2d8=_0x349492;if(_0x16cd11[_0x49c2d8(0x3a4)]==null)return;let _0x29cfad=_0x16cd11[_0x49c2d8(0x3a4)];if(_0x16cd11['id']!==_0x12c761[_0x49c2d8(0x322)]['id']||_0x29cfad[_0x49c2d8(0x232)]!==this[_0x49c2d8(0x141)])return;let _0x301df3={'id':'doc.mutation.rich-text-editing','params':_0x29cfad},_0x1248ce=this[_0x49c2d8(0x202)];for(let [_0x347e48,_0x1fcb37]of _0x1248ce){let _0x3fa963={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x49c2d8(0x141)],'actions':null,'textRanges':_0x1fcb37[_0x49c2d8(0x24c)]}},_0x1d0c2f=this[_0x49c2d8(0x246)][_0x49c2d8(0x27b)](_0x301df3,_0x3fa963,!0x1);if((0x0,_0x1cdb30['isTransformMutationFailure'])(_0x1d0c2f))throw _0x1d0c2f[_0x49c2d8(0x3f1)];_0x1248ce[_0x49c2d8(0x2eb)](_0x347e48,{..._0x1fcb37,'ranges':_0x1d0c2f[_0x49c2d8(0x25d)][_0x49c2d8(0x3a4)]['textRanges']});}queueMicrotask(()=>{const _0x5573e3=_0x49c2d8;this[_0x5573e3(0x21c)][_0x5573e3(0x362)](_0x1248ce);});})));}[_0x386c9a(0x128)](_0x2277b4){const _0x2b9d06=_0x386c9a;var _0x2eb84b,_0x4ccaa9;let {memberID:_0x1d9032,selection:_0x29e464}=_0x2277b4[_0x2b9d06(0x17c)],_0x218c84=_0x17e0b3(_0x29e464),_0x23b4fb=(_0x2eb84b=(_0x4ccaa9=this['_memberService']['getMember'](this[_0x2b9d06(0x141)],_0x1d9032))==null?void 0x0:_0x4ccaa9[_0x2b9d06(0x10e)])==null?_0x2b9d06(0x284):_0x2eb84b,_0xfb67a8={'color':this[_0x2b9d06(0xd0)][_0x2b9d06(0xb4)](_0x1d9032),'name':_0x23b4fb,'ranges':_0x218c84},_0xdc8461=this[_0x2b9d06(0x202)];_0xdc8461[_0x2b9d06(0x2eb)](_0x1d9032,_0xfb67a8),this[_0x2b9d06(0x21c)][_0x2b9d06(0x362)](_0xdc8461);}[_0x386c9a(0x149)](_0x179d85){const _0x3fd3dd=_0x386c9a;let {memberID:_0x5f1660}=_0x179d85[_0x3fd3dd(0x17c)],_0x2e1a3a=this[_0x3fd3dd(0x202)];_0x2e1a3a['delete'](_0x5f1660),this[_0x3fd3dd(0x21c)][_0x3fd3dd(0x362)](_0x2e1a3a);}[_0x386c9a(0x213)](){const _0x5b173c=_0x386c9a;var _0x2c93ba;if(this[_0x5b173c(0x39f)]=!0x0,((_0x2c93ba=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x2c93ba[_0x5b173c(0x3e8)]())!==this[_0x5b173c(0x141)])return;let _0x697970=this[_0x5b173c(0x2f4)]['get'](_0x12c761[_0x5b173c(0x409)])[_0x5b173c(0x2ab)]();Array[_0x5b173c(0x1bc)](_0x697970)&&_0x697970[_0x5b173c(0x368)]>0x0&&this[_0x5b173c(0x404)](_0x697970);}[_0x386c9a(0x34a)](){const _0x228db1=_0x386c9a;this[_0x228db1(0x39f)]=!0x1;}};_0x155527=_0x442f80([_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4cf754)),_0x148b43(0x4,(0x0,_0x3188ec['Inject'])(_0x2248ce[_0x386c9a(0x1e1)])),_0x148b43(0x5,(0x0,_0x3188ec['Inject'])(_0x31641e)),_0x148b43(0x6,_0x1cdb30[_0x386c9a(0xd6)]),_0x148b43(0x7,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x8,_0x3188ec[_0x386c9a(0x13c)])],_0x155527);let _0x20638e=()=>{let _0x2bc350=[],_0x53ffd2=!0x1;return _0x7c3866=>{const _0x4be8c5=_0xbfb2;_0x2bc350[_0x4be8c5(0x18e)](_0x7c3866),_0x53ffd2||(_0x53ffd2=!0x0,setTimeout(()=>{const _0x55c85a=_0x4be8c5;_0x2bc350[_0x55c85a(0x32f)](_0x152abd=>_0x152abd()),_0x2bc350=[],_0x53ffd2=!0x1;}));};},_0x2e20c9=class extends _0x3188ec[_0x386c9a(0x164)]{get[_0x386c9a(0x202)](){const _0x5c2111=_0x386c9a;return this[_0x5c2111(0x21c)][_0x5c2111(0x1c7)]();}get[_0x386c9a(0x256)](){const _0x5b9b1f=_0x386c9a;return this[_0x5b9b1f(0x205)][_0x5b9b1f(0x1c7)]();}constructor(_0x514810,_0x4adb04,_0x2826d7,_0x3ec1c4,_0x166156,_0x9a23f2,_0x4b9e75,_0x2e569c){const _0x470571=_0x386c9a;super(),this[_0x470571(0x141)]=_0x514810,this[_0x470571(0x35e)]=_0x4adb04,this[_0x470571(0x2f4)]=_0x2826d7,this[_0x470571(0xd0)]=_0x3ec1c4,this['_memberService']=_0x166156,this['_univerInstanceService']=_0x9a23f2,this[_0x470571(0xc7)]=_0x4b9e75,this[_0x470571(0x3c2)]=_0x2e569c,_0x2109ac(this,_0x470571(0x39f),!0x1),_0x2109ac(this,_0x470571(0x34d),!0x1),_0x2109ac(this,_0x470571(0x21c),new _0x3a9a2c[(_0x470571(0x1ba))](new Map())),_0x2109ac(this,'cursorInfo$',this[_0x470571(0x21c)]['asObservable']()),_0x2109ac(this,_0x470571(0x205),new _0x3a9a2c[(_0x470571(0x1ba))]([])),_0x2109ac(this,_0x470571(0x19f),this[_0x470571(0x205)][_0x470571(0x32a)]((0x0,_0x3a9a2c['debounceTime'])(0x12c))),_0x2109ac(this,_0x470571(0x404),(0x0,_0x3188ec[_0x470571(0x15a)])((_0x5245a7,_0x506cc3)=>{const _0x513eca=_0x470571;let _0x204f45={'eventID':_0x1cdb30[_0x513eca(0x2e8)][_0x513eca(0x1d9)],'data':{'unitID':this['unitID'],'memberID':this[_0x513eca(0x35e)][_0x513eca(0xd5)](),'selection':(0x0,_0x3b4f90[_0x513eca(0x3de)])(_0x5245a7,_0x506cc3[_0x513eca(0x3b6)])}};this[_0x513eca(0x35e)][_0x513eca(0x36e)](_0x204f45,this['unitID']);},0x64));}[_0x386c9a(0x228)](){const _0x3e408d=_0x386c9a;super[_0x3e408d(0x228)](),this[_0x3e408d(0x21c)][_0x3e408d(0x362)](new Map()),this[_0x3e408d(0x21c)]['complete'](),this['_roomMembers$'][_0x3e408d(0x362)]([]),this[_0x3e408d(0x205)][_0x3e408d(0x30c)]();}['init'](){const _0x16fcb7=_0x386c9a;this[_0x16fcb7(0x34d)]||(this[_0x16fcb7(0x34d)]=!0x0,this['_session'][_0x16fcb7(0x157)]['pipe']((0x0,_0x3a9a2c[_0x16fcb7(0x1ef)])(this[_0x16fcb7(0x181)]))['subscribe'](_0x6bbce4=>{const _0x196d24=_0x16fcb7;_0x6bbce4===_0x2248ce[_0x196d24(0x31b)]['ONLINE']?this[_0x196d24(0x213)]():this['_toggleOffline']();}),this[_0x16fcb7(0x35e)][_0x16fcb7(0x365)][_0x16fcb7(0x32a)]((0x0,_0x3a9a2c[_0x16fcb7(0x1ef)])(this['dispose$']))[_0x16fcb7(0x341)](_0x4be10e=>{const _0x1a6f48=_0x16fcb7;let _0x2dd664=_0x4be10e[_0x1a6f48(0x11f)];_0x2dd664===_0x1cdb30['CollaborationEvent'][_0x1a6f48(0x1d9)]&&this[_0x1a6f48(0x128)](_0x4be10e),_0x2dd664===_0x1cdb30[_0x1a6f48(0x2e8)][_0x1a6f48(0x109)]&&this[_0x1a6f48(0x149)](_0x4be10e);}),this[_0x16fcb7(0x170)](),this[_0x16fcb7(0x2da)](this[_0x16fcb7(0xc7)][_0x16fcb7(0xaa)](_0x443ae4=>{const _0x33ba72=_0x16fcb7;if(this[_0x33ba72(0x39f)]&&_0x443ae4['id']===_0x14f8c0[_0x33ba72(0x359)]['id']&&_0x443ae4[_0x33ba72(0x3a4)][_0x33ba72(0x232)]===this[_0x33ba72(0x141)]){let _0x5233d6=_0x443ae4['params'];this[_0x33ba72(0x404)](_0x5233d6[_0x33ba72(0x2f0)],_0x5233d6[_0x33ba72(0x18b)][0x0]);}})));}[_0x386c9a(0x128)](_0x3f8b66){const _0x24822d=_0x386c9a;var _0x1219ee,_0x1c92e3;let {memberID:_0x365572,selection:_0x5a0999}=_0x3f8b66[_0x24822d(0x17c)],{sheetName:_0x553b67,range:_0x44e425}=(0x0,_0x3b4f90[_0x24822d(0x231)])(_0x5a0999),_0x3e3b6e={'name':(_0x1219ee=(_0x1c92e3=this['_memberService'][_0x24822d(0x1ae)](this[_0x24822d(0x141)],_0x365572))==null?void 0x0:_0x1c92e3[_0x24822d(0x10e)])==null?_0x24822d(0x284):_0x1219ee,'range':this['_getMergeRange'](_0x553b67,_0x44e425),'sheetID':_0x553b67,'color':this[_0x24822d(0xd0)]['assignAColorForMemberID'](_0x365572),'selection':_0x5a0999},_0x5b4797=this[_0x24822d(0x202)];_0x5b4797[_0x24822d(0x2eb)](_0x365572,_0x3e3b6e),this['_cursorInfo$'][_0x24822d(0x362)](_0x5b4797);}['_onCursorDelete'](_0x2881c2){const _0x248021=_0x386c9a;let {memberID:_0x272d1f}=_0x2881c2[_0x248021(0x17c)],_0x18a25c=this[_0x248021(0x202)];_0x18a25c[_0x248021(0x22f)](_0x272d1f),this[_0x248021(0x21c)][_0x248021(0x362)](_0x18a25c);}['_getMergeRange'](_0x311061,_0x44c34c){const _0x3ff0d0=_0x386c9a;var _0xc10ecf;let _0x544551=(_0xc10ecf=this['_univerInstanceService'][_0x3ff0d0(0x1a1)](this[_0x3ff0d0(0x141)],_0x3188ec[_0x3ff0d0(0x28e)][_0x3ff0d0(0x133)]))==null||(_0xc10ecf=_0xc10ecf[_0x3ff0d0(0x2e6)](_0x311061))==null?void 0x0:_0xc10ecf[_0x3ff0d0(0x1e5)]();return(_0x544551==null?void 0x0:_0x544551['find'](_0x2b749b=>_0x3188ec[_0x3ff0d0(0x2b9)][_0x3ff0d0(0x271)](_0x2b749b,_0x44c34c)))||_0x44c34c;}['_onRefRangeChange'](){const _0x3f46fb=_0x386c9a;let _0x1a535f=new _0x3188ec[(_0x3f46fb(0x1c2))](),_0x108cf6=_0x20638e(),_0x213ac0=()=>{const _0x57498e=_0x3f46fb;_0x1a535f[_0x57498e(0x228)]();let _0x1bf1cc=(_0x30a3b7,_0x6a6733,_0x2331c3,_0x1ac68d)=>{const _0x1805db=_0x57498e;let _0x1105bc=[];switch(_0x30a3b7['id']){case _0x14f8c0[_0x1805db(0xe2)]['DeleteRangeMoveLeftCommandId']:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x110)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)][_0x1805db(0x10d)]:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x1ad)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)]['InsertColCommandId']:_0x1105bc=(0x0,_0x14f8c0['handleInsertCol'])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0['EffectRefRangId'][_0x1805db(0x38b)]:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x3b5)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)]['InsertRangeMoveRightCommandId']:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x2ff)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)][_0x1805db(0xa5)]:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x195)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)]['MoveRangeCommandId']:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x242)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0['EffectRefRangId'][_0x1805db(0x335)]:_0x1105bc=(0x0,_0x14f8c0['handleIRemoveCol'])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0['EffectRefRangId'][_0x1805db(0x19d)]:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x3f0)])(_0x30a3b7,_0x1ac68d);break;}let _0x3c34c8=(0x0,_0x14f8c0['runRefRangeMutations'])(_0x1105bc,_0x1ac68d),_0x1657bb=this[_0x1805db(0x202)][_0x1805db(0x26b)](_0x6a6733);if(_0x1657bb&&_0x3c34c8){let _0x38a2f9={..._0x1657bb,'range':_0x3c34c8};this[_0x1805db(0x202)][_0x1805db(0x2eb)](_0x6a6733,_0x38a2f9),_0x108cf6(()=>{const _0x376463=_0x1805db;let _0x414029=this[_0x376463(0x3c2)][_0x376463(0x383)](_0x3c34c8,_0x2a8a9e=>(_0x414029[_0x376463(0x228)](),_0x1bf1cc(_0x2a8a9e,_0x6a6733,_0x2331c3,_0x3c34c8)));_0x1a535f[_0x376463(0x3d8)](_0x414029);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x57498e(0x32f)]((_0x12be94,_0x1f4ce7)=>{const _0x134021=_0x57498e;let {range:_0x57d2db,sheetID:_0x3fe8f8}=_0x12be94,_0x4897e2=this['_refRangeService'][_0x134021(0x383)](_0x57d2db,_0x82a934=>(_0x4897e2['dispose'](),_0x1bf1cc(_0x82a934,_0x1f4ce7,_0x3fe8f8,_0x57d2db)));_0x1a535f['add'](_0x4897e2);});};this['disposeWithMe']((0x0,_0x3188ec['toDisposable'])(this['_cursorInfo$'][_0x3f46fb(0x341)](()=>{_0x213ac0();})));}[_0x386c9a(0x213)](){const _0x12698b=_0x386c9a;var _0x530b68,_0x5011a2;if(this['_online']=!0x0,((_0x530b68=this[_0x12698b(0x315)]['getFocusedUnit']())==null?void 0x0:_0x530b68['getUnitId']())!==this[_0x12698b(0x141)])return;let _0xaf46e1=(_0x5011a2=this[_0x12698b(0x2f4)]['get'](_0x14f8c0[_0x12698b(0x102)])[_0x12698b(0x136)]())==null?void 0x0:_0x5011a2[0x0],_0x1361bb=this[_0x12698b(0x315)][_0x12698b(0x2ca)](_0x3188ec['UniverInstanceType'][_0x12698b(0x133)])[_0x12698b(0x29d)]();_0xaf46e1&&_0x1361bb&&this[_0x12698b(0x404)](_0x1361bb['getSheetId'](),_0xaf46e1);}['_toggleOffline'](){const _0x515c1e=_0x386c9a;this[_0x515c1e(0x39f)]=!0x1;}};_0x2e20c9=_0x442f80([_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4cf754)),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0x1e1)])),_0x148b43(0x5,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x6,_0x3188ec[_0x386c9a(0x13c)]),_0x148b43(0x7,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x14f8c0[_0x386c9a(0x32d)]))],_0x2e20c9);function _0x3ab7d9(_0x2e8dd0){const _0x21ba51=_0x386c9a;let _0x286249;try{_0x286249=JSON[_0x21ba51(0x3dc)](_0x2e8dd0);}catch{return null;}if(typeof _0x286249!=_0x21ba51(0x2a7)||!_0x286249)return null;let _0x2650c4=_0x286249;if(_0x2650c4[_0x21ba51(0x1b1)]!=='slide-element-selection'||typeof _0x2650c4[_0x21ba51(0x232)]!=_0x21ba51(0x1b0)||typeof _0x2650c4[_0x21ba51(0x2f0)]!='string')return null;let _0x35f340=Array[_0x21ba51(0x1bc)](_0x2650c4[_0x21ba51(0x2bc)])?_0x2650c4['selectedIds'][_0x21ba51(0x26a)](_0x10743a=>typeof _0x10743a==_0x21ba51(0x1b0)):[],_0x38cf08=typeof _0x2650c4[_0x21ba51(0x16e)]==_0x21ba51(0x1b0)?_0x2650c4['focusedId']:null;return{'kind':_0x21ba51(0x392),'unitId':_0x2650c4[_0x21ba51(0x232)],'subUnitId':_0x2650c4[_0x21ba51(0x2f0)],'selectedIds':_0x35f340,'focusedId':_0x38cf08};}let _0x2c552f=class extends _0x3188ec[_0x386c9a(0x164)]{get[_0x386c9a(0x202)](){const _0x585030=_0x386c9a;return this['_cursorInfo$'][_0x585030(0x1c7)]();}get['roomMembers'](){const _0x1ee19a=_0x386c9a;return this[_0x1ee19a(0x205)]['getValue']();}constructor(_0x244ece,_0xced533,_0x6eda01,_0x3b363f,_0x359226){const _0x2a169d=_0x386c9a;super(),this[_0x2a169d(0x141)]=_0x244ece,this[_0x2a169d(0x35e)]=_0xced533,this[_0x2a169d(0xd0)]=_0x6eda01,this[_0x2a169d(0x236)]=_0x3b363f,this[_0x2a169d(0x191)]=_0x359226,_0x2109ac(this,_0x2a169d(0x39f),!0x1),_0x2109ac(this,_0x2a169d(0x34d),!0x1),_0x2109ac(this,_0x2a169d(0x21c),new _0x3a9a2c['BehaviorSubject'](new Map())),_0x2109ac(this,'cursorInfo$',this[_0x2a169d(0x21c)][_0x2a169d(0x12b)]()),_0x2109ac(this,_0x2a169d(0x205),new _0x3a9a2c[(_0x2a169d(0x1ba))]([])),_0x2109ac(this,_0x2a169d(0x19f),this[_0x2a169d(0x205)][_0x2a169d(0x32a)]((0x0,_0x3a9a2c[_0x2a169d(0x21a)])(0x12c))),_0x2109ac(this,_0x2a169d(0x404),(0x0,_0x3188ec[_0x2a169d(0x15a)])(_0x3e60ed=>{const _0x364f15=_0x2a169d;let _0x2260b=_0x3e60ed[_0x364f15(0xcc)];if(!_0x2260b||_0x2260b['unitId']!==this[_0x364f15(0x141)])return;let _0x35b8c3={'kind':'slide-element-selection','unitId':_0x2260b[_0x364f15(0x232)],'subUnitId':_0x2260b[_0x364f15(0x2f0)],'selectedIds':_0x3e60ed[_0x364f15(0x2bc)]['filter'](_0x32e15e=>typeof _0x32e15e==_0x364f15(0x1b0)),'focusedId':_0x3e60ed['focusedId']},_0xe5cb28={'eventID':_0x1cdb30[_0x364f15(0x2e8)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x364f15(0x141)],'memberID':this[_0x364f15(0x35e)]['getMemberID'](),'selection':JSON[_0x364f15(0x257)](_0x35b8c3)}};this[_0x364f15(0x35e)]['send'](_0xe5cb28,this['unitID']);},0x64));}[_0x386c9a(0x228)](){const _0x1de85b=_0x386c9a;super[_0x1de85b(0x228)](),this[_0x1de85b(0x21c)][_0x1de85b(0x362)](new Map()),this['_cursorInfo$'][_0x1de85b(0x30c)](),this[_0x1de85b(0x205)][_0x1de85b(0x362)]([]),this[_0x1de85b(0x205)]['complete']();}[_0x386c9a(0x206)](){const _0x3d48b3=_0x386c9a;this[_0x3d48b3(0x34d)]||(this[_0x3d48b3(0x34d)]=!0x0,this[_0x3d48b3(0x35e)][_0x3d48b3(0x157)][_0x3d48b3(0x32a)]((0x0,_0x3a9a2c[_0x3d48b3(0x1ef)])(this['dispose$']))[_0x3d48b3(0x341)](_0x71789d=>{const _0x838f39=_0x3d48b3;_0x71789d===_0x2248ce[_0x838f39(0x31b)][_0x838f39(0x221)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x3d48b3(0x35e)][_0x3d48b3(0x365)][_0x3d48b3(0x32a)]((0x0,_0x3a9a2c[_0x3d48b3(0x1ef)])(this[_0x3d48b3(0x181)]))[_0x3d48b3(0x341)](_0x13cee7=>{const _0x3c3d51=_0x3d48b3;let _0x5ef904=_0x13cee7[_0x3c3d51(0x11f)];_0x5ef904===_0x1cdb30[_0x3c3d51(0x2e8)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x13cee7),_0x5ef904===_0x1cdb30[_0x3c3d51(0x2e8)][_0x3c3d51(0x109)]&&this[_0x3c3d51(0x149)](_0x13cee7);}),this[_0x3d48b3(0x191)][_0x3d48b3(0x3e7)][_0x3d48b3(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this['dispose$']))['subscribe'](_0x2f2cda=>{const _0x287b93=_0x3d48b3;this[_0x287b93(0x39f)]&&this[_0x287b93(0x404)](_0x2f2cda);}));}[_0x386c9a(0x128)](_0x1631a0){const _0x42d9c8=_0x386c9a;var _0x5e1554,_0x5be7ac,_0x4e4f36,_0x19ec25;let {memberID:_0x57907e,selection:_0x40fea5}=_0x1631a0[_0x42d9c8(0x17c)];if(_0x57907e===((_0x5e1554=(_0x5be7ac=this[_0x42d9c8(0x35e)])[_0x42d9c8(0xd5)])==null?void 0x0:_0x5e1554[_0x42d9c8(0x266)](_0x5be7ac)))return;let _0x1f210c=_0x3ab7d9(_0x40fea5);if(!_0x1f210c||_0x1f210c[_0x42d9c8(0x232)]!==this[_0x42d9c8(0x141)])return;let _0x3ec2c5=(_0x4e4f36=(_0x19ec25=this['_memberService'][_0x42d9c8(0x1ae)](this[_0x42d9c8(0x141)],_0x57907e))==null?void 0x0:_0x19ec25[_0x42d9c8(0x10e)])==null?_0x42d9c8(0x284):_0x4e4f36,_0x5894e6={'color':this[_0x42d9c8(0xd0)][_0x42d9c8(0xb4)](_0x57907e),'name':_0x3ec2c5,'unitId':_0x1f210c['unitId'],'subUnitId':_0x1f210c[_0x42d9c8(0x2f0)],'selectedIds':_0x1f210c['selectedIds'],'focusedId':_0x1f210c[_0x42d9c8(0x16e)],'selection':_0x40fea5},_0x4f548a=new Map(this[_0x42d9c8(0x202)]);_0x4f548a['set'](_0x57907e,_0x5894e6),this['_cursorInfo$'][_0x42d9c8(0x362)](_0x4f548a);}[_0x386c9a(0x149)](_0x2587ef){const _0x404825=_0x386c9a;let {memberID:_0x2492b8}=_0x2587ef['data'],_0x2dd438=new Map(this[_0x404825(0x202)]);_0x2dd438[_0x404825(0x22f)](_0x2492b8),this['_cursorInfo$']['next'](_0x2dd438);}['_toggleOnline'](){const _0x1b915=_0x386c9a;this['_online']=!0x0,this[_0x1b915(0x404)](this[_0x1b915(0x191)][_0x1b915(0x31a)]());}[_0x386c9a(0x34a)](){const _0x2a3446=_0x386c9a;this[_0x2a3446(0x39f)]=!0x1;}};_0x2c552f=_0x442f80([_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4cf754)),_0x148b43(0x3,(0x0,_0x3188ec['Inject'])(_0x2248ce[_0x386c9a(0x1e1)])),_0x148b43(0x4,(0x0,_0x3188ec['Inject'])(_0x2c454c[_0x386c9a(0x2de)]))],_0x2c552f);let _0x54c193=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0x472ade,_0x30cb4e,_0x63155){const _0x2b29d7=_0x386c9a;super(),this[_0x2b29d7(0x315)]=_0x472ade,this[_0x2b29d7(0x2f4)]=_0x30cb4e,this[_0x2b29d7(0x310)]=_0x63155,_0x2109ac(this,'_entities',new Map()),_0x2109ac(this,_0x2b29d7(0x331),new _0x3a9a2c[(_0x2b29d7(0x2fa))]()),this[_0x2b29d7(0x34d)]();}[_0x386c9a(0x228)](){const _0x3555be=_0x386c9a;super[_0x3555be(0x228)](),this[_0x3555be(0x331)][_0x3555be(0x30c)](),this[_0x3555be(0x120)][_0x3555be(0x32f)](_0x140454=>_0x140454[_0x3555be(0x228)]());}['getCollabCursors$'](_0x5c652b){const _0x3c37da=_0x386c9a;return this[_0x3c37da(0x120)][_0x3c37da(0x244)](_0x5c652b)?this[_0x3c37da(0x120)][_0x3c37da(0x26b)](_0x5c652b)['cursorInfo$']:this[_0x3c37da(0x331)][_0x3c37da(0x32a)]((0x0,_0x3a9a2c[_0x3c37da(0x26a)])(_0xc9c316=>_0xc9c316[_0x3c37da(0x141)]===_0x5c652b),(0x0,_0x3a9a2c['switchMap'])(_0x2d003a=>_0x2d003a['cursorInfo$']));}[_0x386c9a(0x34d)](){const _0x273de6=_0x386c9a;this[_0x273de6(0x315)][_0x273de6(0x1b2)](_0x3188ec['UniverInstanceType'][_0x273de6(0x133)])['pipe']((0x0,_0x3a9a2c[_0x273de6(0x1ef)])(this[_0x273de6(0x181)]))[_0x273de6(0x341)](async _0x5eb045=>{const _0x37f55f=_0x273de6;let _0x567e18=_0x5eb045[_0x37f55f(0x1f3)]['getUnitId'](),_0x42bdfa=await this[_0x37f55f(0x117)](_0x567e18);this[_0x37f55f(0x331)][_0x37f55f(0x362)](_0x42bdfa),this[_0x37f55f(0x120)][_0x37f55f(0x2eb)](_0x567e18,_0x42bdfa);}),this[_0x273de6(0x315)][_0x273de6(0x1b2)](_0x3188ec[_0x273de6(0x28e)][_0x273de6(0x3ae)])[_0x273de6(0x32a)]((0x0,_0x3a9a2c[_0x273de6(0x1ef)])(this[_0x273de6(0x181)]))[_0x273de6(0x32a)]((0x0,_0x3a9a2c[_0x273de6(0x26a)])(_0x46a122=>!_0x46a122['unit'][_0x273de6(0x3e8)]()['startsWith']('__')))[_0x273de6(0x341)](async _0x183078=>{const _0xa34bab=_0x273de6;let {unit:_0x1af156}=_0x183078,_0x23a1e8=_0x1af156[_0xa34bab(0x3e8)](),_0x58dbc4=await this['_startDocCollabCursor'](_0x23a1e8);this[_0xa34bab(0x331)][_0xa34bab(0x362)](_0x58dbc4),this[_0xa34bab(0x120)][_0xa34bab(0x2eb)](_0x23a1e8,_0x58dbc4);}),this[_0x273de6(0x315)][_0x273de6(0x1b2)](_0x3188ec[_0x273de6(0x28e)][_0x273de6(0x11c)])[_0x273de6(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this[_0x273de6(0x181)]))[_0x273de6(0x341)](async _0x5b0cf8=>{const _0x29775d=_0x273de6;let _0x1f3ece=_0x5b0cf8[_0x29775d(0x1f3)][_0x29775d(0x3e8)](),_0x19351f=await this[_0x29775d(0x15e)](_0x1f3ece);this[_0x29775d(0x331)][_0x29775d(0x362)](_0x19351f),this[_0x29775d(0x120)][_0x29775d(0x2eb)](_0x1f3ece,_0x19351f);}),this[_0x273de6(0x315)]['getTypeOfUnitAdded$'](_0x3188ec['UniverInstanceType'][_0x273de6(0xa0)])[_0x273de6(0x32a)]((0x0,_0x3a9a2c[_0x273de6(0x1ef)])(this[_0x273de6(0x181)]))[_0x273de6(0x341)](async _0x415e7a=>{const _0x2627dd=_0x273de6;let _0x4ccc99=_0x415e7a['unit'][_0x2627dd(0x3e8)](),_0x5c2256=await this[_0x2627dd(0x3a7)](_0x4ccc99);this[_0x2627dd(0x331)]['next'](_0x5c2256),this[_0x2627dd(0x120)][_0x2627dd(0x2eb)](_0x4ccc99,_0x5c2256);}),(0x0,_0x3a9a2c[_0x273de6(0x252)])(this[_0x273de6(0x315)]['getTypeOfUnitDisposed$'](_0x3188ec[_0x273de6(0x28e)]['UNIVER_DOC']),this[_0x273de6(0x315)][_0x273de6(0x361)](_0x3188ec[_0x273de6(0x28e)][_0x273de6(0x133)]),this[_0x273de6(0x315)][_0x273de6(0x361)](_0x3188ec['UniverInstanceType'][_0x273de6(0x11c)]),this[_0x273de6(0x315)][_0x273de6(0x361)](_0x3188ec[_0x273de6(0x28e)]['UNIVER_BOARD']))[_0x273de6(0x32a)]((0x0,_0x3a9a2c[_0x273de6(0x1ef)])(this[_0x273de6(0x181)]))[_0x273de6(0x341)](_0x11ada6=>{const _0x3e8edf=_0x273de6;let _0x32d78b=_0x11ada6['getUnitId'](),_0x5c30fd=this[_0x3e8edf(0x120)][_0x3e8edf(0x26b)](_0x32d78b);_0x5c30fd&&(_0x5c30fd[_0x3e8edf(0x228)](),this[_0x3e8edf(0x120)]['delete'](_0x32d78b));});}async[_0x386c9a(0x117)](_0x316d68){const _0x4dbd31=_0x386c9a;let _0x3b45ff=await this['_collabSessionService']['requireSession'](_0x316d68),_0x42e759=this['_injector'][_0x4dbd31(0x300)](_0x2e20c9,_0x316d68,_0x3b45ff);return _0x42e759[_0x4dbd31(0x206)](),_0x42e759;}async[_0x386c9a(0x23b)](_0x1425eb){const _0x28b245=_0x386c9a;let _0x2a5698=await this[_0x28b245(0x310)]['requireSession'](_0x1425eb),_0x10f152=this[_0x28b245(0x2f4)][_0x28b245(0x300)](_0x155527,_0x1425eb,_0x2a5698);return _0x10f152[_0x28b245(0x206)](),_0x10f152;}async[_0x386c9a(0x15e)](_0x3f932){const _0x81d7fe=_0x386c9a;let _0x5d593a=await this[_0x81d7fe(0x310)][_0x81d7fe(0x140)](_0x3f932),_0x4a33e6=this[_0x81d7fe(0x2f4)][_0x81d7fe(0x300)](_0x2c552f,_0x3f932,_0x5d593a);return _0x4a33e6['init'](),_0x4a33e6;}async[_0x386c9a(0x3a7)](_0x1398c3){const _0x327748=_0x386c9a;let _0x5a90b5=await this['_collabSessionService'][_0x327748(0x140)](_0x1398c3),_0x322ff8=this['_injector'][_0x327748(0x300)](_0x3e60a0,_0x1398c3,_0x5a90b5);return _0x322ff8[_0x327748(0x206)](),_0x322ff8;}};_0x54c193=_0x442f80([_0x148b43(0x0,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0xed)]))],_0x54c193);let _0x53ff03=class extends _0x3188ec['RxDisposable']{constructor(_0x2b6258,_0x4113be,_0x451d70){const _0x4ece41=_0x386c9a;super(),this[_0x4ece41(0x334)]=_0x2b6258,this[_0x4ece41(0x1ca)]=_0x4113be,this[_0x4ece41(0x342)]=_0x451d70,_0x2109ac(this,'_cursors',new Set()),_0x2109ac(this,_0x4ece41(0xc6),!0x1),_0x2109ac(this,_0x4ece41(0xf9),!0x1),_0x2109ac(this,_0x4ece41(0x3bd),new Map()),this[_0x4ece41(0x34d)]();}[_0x386c9a(0x228)](){const _0x23d2a5=_0x386c9a;this[_0x23d2a5(0x289)](),super[_0x23d2a5(0x228)]();}[_0x386c9a(0x34d)](){const _0x598b23=_0x386c9a;let _0x4c826b=this[_0x598b23(0x1ca)]['getCollabCursors$'](this[_0x598b23(0x334)][_0x598b23(0x232)]);this[_0x598b23(0x2da)]((0x0,_0x3188ec[_0x598b23(0x34e)])((0x0,_0x3a9a2c[_0x598b23(0x2f9)])([_0x4c826b,this['_context']['unit']['theme$'],this[_0x598b23(0x342)][_0x598b23(0x29c)]])[_0x598b23(0x32a)]((0x0,_0x3a9a2c[_0x598b23(0x1ef)])(this[_0x598b23(0x181)]))[_0x598b23(0x341)](([_0x1c86f1])=>{const _0xd568ab=_0x598b23;let _0x9e68c6=this[_0xd568ab(0x334)][_0xd568ab(0x1f3)][_0xd568ab(0x22a)](),_0x5356e1=new Map();_0x1c86f1[_0xd568ab(0x32f)]((_0x138706,_0x1ceb52)=>{const _0x28216d=_0xd568ab;_0x138706[_0x28216d(0x2f0)]===_0x9e68c6&&_0x5356e1[_0x28216d(0x2eb)](_0x1ceb52,{..._0x138706,'color':this[_0x28216d(0x342)][_0x28216d(0x38e)](_0x138706[_0x28216d(0x325)])});}),this[_0xd568ab(0x3bd)]=_0x5356e1,this[_0xd568ab(0xbd)]();})));let _0x4a0076=this[_0x598b23(0x334)][_0x598b23(0x1a3)];this[_0x598b23(0x2da)]((0x0,_0x3188ec[_0x598b23(0x34e)])(_0x4a0076[_0x598b23(0xb5)]['pipe']((0x0,_0x3a9a2c[_0x598b23(0x1ef)])(this[_0x598b23(0x181)]))[_0x598b23(0x341)](()=>{const _0x5639c4=_0x598b23;this[_0x5639c4(0xf9)]||this['_scheduleRender']();})));}[_0x386c9a(0xbd)](){const _0x36a0f8=_0x386c9a;this['_renderScheduled']||(this['_renderScheduled']=!0x0,Promise['resolve']()[_0x36a0f8(0x11a)](()=>{const _0xf241b7=_0x36a0f8;this[_0xf241b7(0xc6)]=!0x1,this[_0xf241b7(0x15f)]();}));}[_0x386c9a(0x15f)](){const _0x393b9c=_0x386c9a;this[_0x393b9c(0x289)]();let _0x4eed57=this[_0x393b9c(0x334)][_0x393b9c(0x1f3)][_0x393b9c(0x22a)](),_0x113017=[];if(this[_0x393b9c(0x3bd)][_0x393b9c(0x32f)]((_0x5e1932,_0x431422)=>{const _0x1886d2=_0x393b9c;_0x5e1932[_0x1886d2(0x2f0)]===_0x4eed57&&_0x5e1932[_0x1886d2(0x2bc)][_0x1886d2(0x32f)](_0x1a6047=>{const _0x273312=_0x1886d2;let _0x1637a7=(0x0,_0x20b4fa[_0x273312(0x20c)])(_0x5e1932[_0x273312(0x232)],_0x1a6047),_0x429387=this[_0x273312(0x37e)](_0x1637a7);if(!_0x429387)return;let _0x1dfae2=this[_0x273312(0x19e)](_0x429387);_0x113017['push'](new _0x36c05d(_0x273312(0x3e6)+_0x431422+'-'+_0x1a6047,{..._0x5e1932,'left':_0x1dfae2[_0x273312(0x268)],'top':_0x1dfae2[_0x273312(0x138)],'width':_0x1dfae2['width'],'height':_0x1dfae2[_0x273312(0x302)],'angle':_0x429387[_0x273312(0x2b7)],'evented':!0x1,'zIndex':_0x4f92ff}));});}),_0x113017[_0x393b9c(0x368)]===0x0){this[_0x393b9c(0x334)][_0x393b9c(0x1a3)]['makeDirty'](!0x0);return;}this[_0x393b9c(0xf9)]=!0x0,this[_0x393b9c(0x334)][_0x393b9c(0x1a3)][_0x393b9c(0x1b6)](_0x113017,_0x4f92ff),this[_0x393b9c(0xf9)]=!0x1,this[_0x393b9c(0x160)]=new Set(_0x113017),this[_0x393b9c(0x334)][_0x393b9c(0x1a3)][_0x393b9c(0x216)](!0x0);}['_removeCollabCursors'](){const _0x1500bd=_0x386c9a;let _0x4aba3d=Array[_0x1500bd(0x143)](this[_0x1500bd(0x160)]);if(_0x4aba3d[_0x1500bd(0x368)]===0x0)return;let _0x340cb8=this[_0x1500bd(0x334)][_0x1500bd(0x1a3)];_0x1500bd(0x12c)in _0x340cb8&&typeof _0x340cb8[_0x1500bd(0x12c)]=='function'?_0x340cb8['removeObjects'](_0x4aba3d):_0x4aba3d['forEach'](_0x24b359=>{const _0xaeb2f0=_0x1500bd;_0xaeb2f0(0x1fa)in _0x340cb8&&typeof _0x340cb8[_0xaeb2f0(0x1fa)]==_0xaeb2f0(0x14f)?_0x340cb8[_0xaeb2f0(0x1fa)](_0x24b359):_0x24b359[_0xaeb2f0(0x228)]();}),this[_0x1500bd(0x160)][_0x1500bd(0x2e2)](),_0x340cb8[_0x1500bd(0x216)](!0x0);}[_0x386c9a(0x37e)](_0x1543a9){const _0x4a6e45=_0x386c9a;var _0x3d9d4c,_0x2d76d3,_0x55a486;let _0xbbc8d8=this[_0x4a6e45(0x334)][_0x4a6e45(0x1a3)];return(_0x3d9d4c=(_0x2d76d3=(_0x55a486=_0xbbc8d8[_0x4a6e45(0x1fe)])==null?void 0x0:_0x55a486[_0x4a6e45(0x266)](_0xbbc8d8,_0x1543a9))==null?_0xbbc8d8[_0x4a6e45(0x2a1)](_0x1543a9):_0x2d76d3)==null?null:_0x3d9d4c;}[_0x386c9a(0x19e)](_0x239332){const _0x21c0a5=_0x386c9a;var _0x2e6b5f,_0x4c9d3f;let _0x530439=_0x239332;return(_0x2e6b5f=(_0x4c9d3f=_0x530439[_0x21c0a5(0x1a0)])==null?void 0x0:_0x4c9d3f[_0x21c0a5(0x266)](_0x530439))==null?{'left':_0x239332[_0x21c0a5(0x268)],'top':_0x239332['top'],'width':_0x239332['width'],'height':_0x239332[_0x21c0a5(0x302)]}:_0x2e6b5f;}};_0x53ff03=_0x442f80([_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x54c193)),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x3d6)]))],_0x53ff03);let _0x33ebc2=_0x386c9a(0x3b9);var _0x2946af=class{constructor(_0x4ab7d8,_0x5d32f8,_0x3008a7,_0x217592){const _0x327ce1=_0x386c9a;this[_0x327ce1(0x132)]=_0x4ab7d8,this[_0x327ce1(0x23d)]=_0x5d32f8,this[_0x327ce1(0x385)]=_0x3008a7,this[_0x327ce1(0xf7)]=_0x217592,_0x2109ac(this,'_shapes',[]),_0x2109ac(this,_0x327ce1(0x20d),null),_0x2109ac(this,_0x327ce1(0x194),null),_0x2109ac(this,_0x327ce1(0x2f7),null),_0x2109ac(this,_0x327ce1(0x25a),null),_0x2109ac(this,'_eventUnsubscribe',null),this[_0x327ce1(0x15f)]();}set[_0x386c9a(0x336)](_0x229536){const _0x2b8aa2=_0x386c9a;_0x229536?(this[_0x2b8aa2(0x2f7)]&&this['_anchorDot'][_0x2b8aa2(0x397)](),this['_textBubble']&&this[_0x2b8aa2(0x194)][_0x2b8aa2(0x386)]()):(this['_anchorDot']&&this[_0x2b8aa2(0x2f7)][_0x2b8aa2(0x386)](),this['_textBubble']&&this[_0x2b8aa2(0x194)][_0x2b8aa2(0x397)]());}['dispose'](){const _0x166f3f=_0x386c9a;for(let _0x4a0d48 of this[_0x166f3f(0x26c)])_0x4a0d48[_0x166f3f(0x228)]();this[_0x166f3f(0x194)]&&this[_0x166f3f(0x194)][_0x166f3f(0x228)](),this[_0x166f3f(0x2f7)]&&this[_0x166f3f(0x2f7)][_0x166f3f(0x228)](),this[_0x166f3f(0x20d)]&&this[_0x166f3f(0x20d)]['dispose'](),this['_eventUnsubscribe']&&this[_0x166f3f(0x34c)]();}['_render'](){const _0x461c6f=_0x386c9a;let {_docSkeleton:_0x11245e,_document:_0x5c2926}=this,{color:_0x1e043c,name:_0x5377e5,ranges:_0x43e8df}=this[_0x461c6f(0x132)],_0x2ef92f=_0x5c2926[_0x461c6f(0x192)](),{docsLeft:_0x1f3538,docsTop:_0x58b0d1}=_0x2ef92f,_0x341831=new _0x390782[(_0x461c6f(0x393))](_0x2ef92f,_0x11245e);for(let {startOffset:_0x28c384,endOffset:_0x4e1f93,rangeType:_0x2e048e,segmentId:_0x517789,segmentPage:_0x33bf8e,collapsed:_0x8cc3ad,isActive:_0x2c221f}of _0x43e8df){let _0x28db49=_0x11245e[_0x461c6f(0x1e8)](_0x28c384,!0x0,_0x517789,_0x33bf8e),_0xe0611f=_0x11245e['findNodePositionByCharIndex'](_0x4e1f93,!0x0,_0x517789,_0x33bf8e);if(_0xe0611f==null&&(_0xe0611f=_0x11245e[_0x461c6f(0x1e8)](_0x4e1f93-0x1,!0x1,_0x517789,_0x33bf8e)),_0x2c221f){let {contentBoxPointGroup:_0x3d6378}=_0x341831[_0x461c6f(0x2e3)](_0xe0611f,_0xe0611f);if(_0x3d6378[_0x461c6f(0x368)]===0x0)continue;this[_0x461c6f(0x3ab)](_0x1e043c,_0x3d6378,_0x1f3538,_0x58b0d1,_0x5377e5),this[_0x461c6f(0x34c)]=this['_handleHover']();}if(_0x28db49&&_0xe0611f){if(_0x2e048e===_0x3188ec[_0x461c6f(0x35d)]['RECT']){var _0x30eb08;let {pointGroup:_0x13df13}=(_0x30eb08=new _0x390782['NodePositionConvertToRectRange'](_0x2ef92f,_0x11245e)['getRangePointData'](_0x28db49,_0xe0611f))==null?{}:_0x30eb08;if(_0x13df13==null||_0x13df13[_0x461c6f(0x368)]===0x0)continue;this[_0x461c6f(0x137)](_0x1e043c,_0x13df13,_0x1f3538,_0x58b0d1);}else{if(!_0x8cc3ad){let {borderBoxPointGroup:_0x520205}=_0x341831[_0x461c6f(0x2e3)](_0x28db49,_0xe0611f);if(_0x520205[_0x461c6f(0x368)]===0x0)continue;this[_0x461c6f(0x3e0)](_0x1e043c,_0x520205,_0x1f3538,_0x58b0d1);}}}}}[_0x386c9a(0x3ab)](_0x5a8e14,_0x82cbb0,_0x444ac0,_0x3f9f2e,_0x4f996b){const _0xf41ec4=_0x386c9a;let {left:_0x31597f,top:_0x365767,height:_0x261072}=this[_0xf41ec4(0xb2)](_0x82cbb0),_0x5c2f74=1.5/this[_0xf41ec4(0x173)](),_0xa0eaa=new _0x38b39d[(_0xf41ec4(0x281))](_0x33ebc2+(0x0,_0x3188ec['generateRandomId'])(0x6),{'left':_0x31597f+_0x444ac0-_0x5c2f74,'top':_0x365767+_0x3f9f2e,'height':_0x261072,'width':1.5,'fill':_0x5a8e14||(0x0,_0x38b39d[_0xf41ec4(0x3c0)])(_0x3188ec[_0xf41ec4(0x319)]['black'],0x0),'strokeWidth':_0x5c2f74,'stroke':_0xf41ec4(0x3ef),'evented':!0x0});this['_anchor']=_0xa0eaa,this[_0xf41ec4(0x23d)][_0xf41ec4(0x30f)](_0xa0eaa,_0x390782[_0xf41ec4(0x23f)]);let _0x5a711d=new _0x38b39d[(_0xf41ec4(0x281))](_0x33ebc2+(0x0,_0x3188ec['generateRandomId'])(0x6),{'left':_0x31597f+_0x444ac0-_0x5c2f74,'top':_0x365767+_0x3f9f2e-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x5a8e14||(0x0,_0x38b39d['getColor'])(_0x3188ec[_0xf41ec4(0x319)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x5a8e14||(0x0,_0x38b39d['getColor'])(_0x3188ec[_0xf41ec4(0x319)][_0xf41ec4(0x1da)],0x0),'evented':!0x1});this[_0xf41ec4(0x2f7)]=_0x5a711d,this['_scene'][_0xf41ec4(0x30f)](_0x5a711d,_0x390782[_0xf41ec4(0x23f)]);let _0x2af94c=new _0x19e9c3(_0x33ebc2+(0x0,_0x3188ec[_0xf41ec4(0x1b4)])(0x6),{'left':_0x31597f+_0x444ac0-_0x5c2f74,'top':_0x365767+_0x3f9f2e-0x14,'text':_0x4f996b,'color':_0x5a8e14});this[_0xf41ec4(0x194)]=_0x2af94c,this['_scene']['addObject'](_0x2af94c,_0x390782['TEXT_RANGE_LAYER_INDEX']),this[_0xf41ec4(0x336)]=!0x1;}[_0x386c9a(0x296)](){const _0x467340=_0x386c9a;let _0x5b3cf3=this['_anchor'][_0x467340(0x29b)][_0x467340(0x347)](()=>{const _0x302e88=_0x467340;this[_0x302e88(0x336)]=!0x0;}),_0x4b6c6e=this[_0x467340(0x20d)][_0x467340(0x40c)]['subscribeEvent'](()=>{const _0x4df926=_0x467340;this['_hideTimer']&&clearTimeout(this[_0x4df926(0x25a)]),this[_0x4df926(0x25a)]=setTimeout(()=>{const _0x1c4ef7=_0x4df926;this[_0x1c4ef7(0x336)]=!0x1;},0x7d0);});return()=>{const _0x25e87e=_0x467340;_0x5b3cf3[_0x25e87e(0x2db)](),_0x4b6c6e[_0x25e87e(0x2db)]();};}[_0x386c9a(0x3e0)](_0x46e43a,_0x2e1b28,_0x2a02db,_0x18b46f){const _0x489113=_0x386c9a;let _0x304c95=0.2,_0x4d34ff=new _0x3188ec['ColorKit'](_0x46e43a)['setAlpha'](_0x304c95)[_0x489113(0x2be)](),_0x53703c=new _0x38b39d[(_0x489113(0x2b1))](_0x489113(0x13b)+(0x0,_0x3188ec[_0x489113(0x1b4)])(0x6),{'pointsGroup':_0x2e1b28,'fill':_0x4d34ff||(0x0,_0x38b39d[_0x489113(0x3c0)])(_0x3188ec[_0x489113(0x319)][_0x489113(0x1da)],_0x304c95),'left':_0x2a02db,'top':_0x18b46f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x489113(0x18e)](_0x53703c),this[_0x489113(0x23d)][_0x489113(0x30f)](_0x53703c,_0x390782[_0x489113(0x23f)]);}['_drawRectRange'](_0x2fe901,_0x1dcc5f,_0x1bf09a,_0x247707){const _0x820638=_0x386c9a;let _0x59e587=0.2,_0x1d44e9=new _0x3188ec['ColorKit'](_0x2fe901)['setAlpha'](_0x59e587)[_0x820638(0x2be)](),_0x433ca6=new _0x38b39d[(_0x820638(0x2b1))](_0x820638(0xd3)+(0x0,_0x3188ec[_0x820638(0x1b4)])(0x6),{'pointsGroup':_0x1dcc5f,'fill':_0x1d44e9||(0x0,_0x38b39d[_0x820638(0x3c0)])(_0x3188ec['COLORS'][_0x820638(0x1da)],_0x59e587),'left':_0x1bf09a,'top':_0x247707,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x820638(0x26c)][_0x820638(0x18e)](_0x433ca6),this[_0x820638(0x23d)][_0x820638(0x30f)](_0x433ca6,_0x390782[_0x820638(0x23f)]);}[_0x386c9a(0xb2)](_0x272318){let _0x1fb558=_0x272318[0x0],_0x12d0c5=_0x1fb558[0x0],_0x2ccfde=_0x1fb558[0x2],{x:_0x1e8edc,y:_0x32a908}=_0x12d0c5,{x:_0x46ec63,y:_0x497341}=_0x2ccfde;return{'left':_0x1e8edc,'top':_0x32a908,'width':_0x46ec63-_0x1e8edc,'height':_0x497341-_0x32a908};}[_0x386c9a(0x173)](){const _0xf29d5f=_0x386c9a;let {scaleX:_0x26ddbe,scaleY:_0x238f7f}=this['_scene']['getAncestorScale']();return Math[_0xf29d5f(0x3da)](_0x26ddbe,_0x238f7f);}};let _0x55d48b=class extends _0x3188ec['RxDisposable']{constructor(_0x2769f8,_0xa25ba6,_0x1b53f8,_0x107656,_0x54f27d){const _0xf29a13=_0x386c9a;super(),this[_0xf29a13(0x334)]=_0x2769f8,this[_0xf29a13(0x145)]=_0xa25ba6,this[_0xf29a13(0x1ca)]=_0x1b53f8,this['_commandService']=_0x107656,this[_0xf29a13(0x342)]=_0x54f27d,_0x2109ac(this,_0xf29a13(0x313),[]),_0x2109ac(this,'_cursors',[]),this[_0xf29a13(0x34d)]();}[_0x386c9a(0x34d)](){const _0x4436f9=_0x386c9a;let _0x50058b=this[_0x4436f9(0x334)][_0x4436f9(0x232)],_0x1d400e=this[_0x4436f9(0x145)];this[_0x4436f9(0x2da)]((0x0,_0x3a9a2c[_0x4436f9(0x2f9)])([this[_0x4436f9(0x1ca)][_0x4436f9(0x203)](_0x50058b),this[_0x4436f9(0x342)][_0x4436f9(0x29c)]])[_0x4436f9(0x32a)]((0x0,_0x30c188['map'])(([_0x2fa5b7,_0x295257])=>({'skeleton':_0x1d400e['getSkeleton'](),'cursors':[..._0x2fa5b7['values']()][_0x4436f9(0x366)](_0x421d19=>({..._0x421d19,'color':this[_0x4436f9(0x342)][_0x4436f9(0x38e)](_0x421d19[_0x4436f9(0x325)])}))})))[_0x4436f9(0x341)](_0x341f9d=>{const _0x4c7dc2=_0x4436f9;if(this[_0x4c7dc2(0x289)](),_0x341f9d){let {skeleton:_0x3602f7,cursors:_0x10f5bf}=_0x341f9d;this[_0x4c7dc2(0x2ce)](_0x3602f7,_0x10f5bf);}})),this[_0x4436f9(0x13e)](),this[_0x4436f9(0x2ae)]();}[_0x386c9a(0x2ce)](_0x35ba6a,_0x387b92){const _0x40aed8=_0x386c9a;let {scene:_0x5e5d37,mainComponent:_0x33e316}=this['_context'],_0x564f6a=_0x387b92[_0x40aed8(0x2a3)](_0x295e99=>new _0x2946af(_0x295e99,_0x5e5d37,_0x35ba6a,_0x33e316));this[_0x40aed8(0x313)]=_0x564f6a,this['_cursors']=_0x387b92;}['_refreshCollabCursors'](){const _0xd0a8f5=_0x386c9a;this[_0xd0a8f5(0x289)]();let {scene:_0x32d847,mainComponent:_0x50e2ec}=this[_0xd0a8f5(0x334)],_0x3c2064=this['_docSkeletonManagerService']['getSkeleton'](),_0x1d0aef=this[_0xd0a8f5(0x160)][_0xd0a8f5(0x2a3)](_0x264f6b=>new _0x2946af(_0x264f6b,_0x32d847,_0x3c2064,_0x50e2ec));this[_0xd0a8f5(0x313)]=_0x1d0aef;}[_0x386c9a(0x289)](){const _0x2bb587=_0x386c9a;this[_0x2bb587(0x313)][_0x2bb587(0x32f)](_0x304795=>_0x304795[_0x2bb587(0x228)]()),this['_cursorShapes']=[];}[_0x386c9a(0x2ae)](){const _0x87b6e=_0x386c9a;let _0xde2eb0=[_0x390782[_0x87b6e(0x340)]['id']];this[_0x87b6e(0x2da)](this[_0x87b6e(0xc7)]['onCommandExecuted'](_0x5bfaf0=>{const _0x133ad3=_0x87b6e;_0xde2eb0[_0x133ad3(0x261)](_0x5bfaf0['id'])&&_0x5bfaf0[_0x133ad3(0x3a4)]['unitId']===this[_0x133ad3(0x334)][_0x133ad3(0x232)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x46bbaa=_0x386c9a;this[_0x46bbaa(0x2da)]((0x0,_0x3188ec[_0x46bbaa(0x1ab)])(this[_0x46bbaa(0x334)][_0x46bbaa(0x2b0)][_0x46bbaa(0x382)])[_0x46bbaa(0x32a)]((0x0,_0x30c188[_0x46bbaa(0x26a)])(_0x2b3fae=>_0x2b3fae['type']===_0x38b39d[_0x46bbaa(0x2ec)][_0x46bbaa(0x112)]),(0x0,_0x30c188[_0x46bbaa(0x10f)])(0x10))['subscribe'](()=>{const _0x1e1778=_0x46bbaa;this[_0x1e1778(0x1ee)]();}));}};_0x55d48b=_0x442f80([_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x12c761[_0x386c9a(0x349)])),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x54c193)),_0x148b43(0x3,_0x3188ec[_0x386c9a(0x13c)]),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec['ThemeService']))],_0x55d48b);var _0x294254=class extends _0x38b39d['Shape']{constructor(_0x5c3c8a,_0x3b6708){const _0x4fdad6=_0x386c9a;if(super(_0x5c3c8a,_0x3b6708),_0x2109ac(this,_0x4fdad6(0xa7),void 0x0),_0x2109ac(this,_0x4fdad6(0x13a),!0x1),_0x2109ac(this,_0x4fdad6(0x344),void 0x0),_0x2109ac(this,_0x4fdad6(0x1bd),''),_0x2109ac(this,_0x4fdad6(0x1b7),_0x4fdad6(0x138)),_0x2109ac(this,'_backgroundColor',void 0x0),_0x2109ac(this,'_showText',void 0x0),_0x2109ac(this,'_highlight',void 0x0),_0x2109ac(this,_0x4fdad6(0x25e),0x4),_0x2109ac(this,_0x4fdad6(0x314),void 0x0),_0x2109ac(this,_0x4fdad6(0x14e),void 0x0),_0x2109ac(this,_0x4fdad6(0x278),!0x0),_0x2109ac(this,_0x4fdad6(0xca),0x0),_0x2109ac(this,_0x4fdad6(0x1f6),_0x4fdad6(0x28c)),_0x3b6708){var _0x36e437;if(this['setShapeProps'](_0x3b6708),_0x3b6708[_0x4fdad6(0x40a)]&&((_0x36e437=_0x3b6708[_0x4fdad6(0x2d7)])==null?this['_highlightSecond']:_0x36e437)){var _0x2403c6;this['_startBlinking']((_0x2403c6=_0x3b6708[_0x4fdad6(0x2d7)])==null?this['_highlightSecond']:_0x2403c6);}}this[_0x4fdad6(0x29b)][_0x4fdad6(0x347)](()=>this[_0x4fdad6(0x3b4)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x4fdad6(0x3b4)]({'hovered':!0x1}));}[_0x386c9a(0x280)](_0x2025ad){const _0x1cc82a=_0x386c9a;this[_0x1cc82a(0xca)]=_0x2025ad;}[_0x386c9a(0x3b4)](_0x2dbc2e){const _0x4cb65a=_0x386c9a;var _0x489b9a,_0x31bbb2,_0x4a480f,_0x5831a2,_0x13271b,_0x341f20,_0x2890ad,_0x3c0ea0;this[_0x4cb65a(0xa7)]=(_0x489b9a=_0x2dbc2e[_0x4cb65a(0x325)])==null?this[_0x4cb65a(0xa7)]:_0x489b9a,this[_0x4cb65a(0x13a)]=(_0x31bbb2=_0x2dbc2e[_0x4cb65a(0x372)])==null?this[_0x4cb65a(0x13a)]:_0x31bbb2,this['_range']=(_0x4a480f=_0x2dbc2e['range'])==null?this[_0x4cb65a(0x344)]:_0x4a480f,this[_0x4cb65a(0x1bd)]=(_0x5831a2=_0x2dbc2e[_0x4cb65a(0x10e)])==null?this[_0x4cb65a(0x1bd)]:_0x5831a2,this['_labelPosition']=(_0x13271b=_0x2dbc2e[_0x4cb65a(0x1d4)])==null?this[_0x4cb65a(0x1b7)]:_0x13271b,this[_0x4cb65a(0x285)]=(_0x341f20=_0x2dbc2e[_0x4cb65a(0x1ce)])==null?this[_0x4cb65a(0x285)]:_0x341f20,this['_showText']=(_0x2890ad=_0x2dbc2e[_0x4cb65a(0x40f)])==null?this['_showText']:_0x2890ad,this[_0x4cb65a(0x1f6)]=(_0x3c0ea0=_0x2dbc2e[_0x4cb65a(0xda)])==null?this[_0x4cb65a(0x1f6)]:_0x3c0ea0,_0x2dbc2e[_0x4cb65a(0x2d7)]!==void 0x0&&(this[_0x4cb65a(0x25e)]=_0x2dbc2e[_0x4cb65a(0x2d7)]),_0x2dbc2e[_0x4cb65a(0x40a)]!==void 0x0&&(this[_0x4cb65a(0x2f5)]=_0x2dbc2e[_0x4cb65a(0x40a)]),_0x2dbc2e['offsetY']!==void 0x0&&(this['_offsetY']=_0x2dbc2e[_0x4cb65a(0x130)]),this['transformByState']({'width':_0x2dbc2e['width'],'height':_0x2dbc2e[_0x4cb65a(0x302)]});}[_0x386c9a(0x1f1)](_0xd7e83f){const _0x5028b8=_0x386c9a;let {row:_0x269506,column:_0xd745a1}=_0xd7e83f;if(_0x269506>=this['_range'][_0x5028b8(0x200)]&&_0x269506<=this[_0x5028b8(0x344)][_0x5028b8(0x39a)]&&_0xd745a1>=this[_0x5028b8(0x344)]['startColumn']&&_0xd745a1<=this[_0x5028b8(0x344)][_0x5028b8(0x279)]){this[_0x5028b8(0x3b4)]({'hovered':!0x0});return;}this[_0x5028b8(0x3b4)]({'hovered':!0x1});}['_startBlinking'](_0x8e7300){const _0x292dd3=_0x386c9a;this[_0x292dd3(0x16a)](),this[_0x292dd3(0x278)]=!0x0,this[_0x292dd3(0x14e)]=window['setInterval'](()=>{const _0x54edc0=_0x292dd3;this[_0x54edc0(0x278)]=!this[_0x54edc0(0x278)],this[_0x54edc0(0x216)](!0x0);},0x1f4),this[_0x292dd3(0x314)]=window['setTimeout'](()=>{const _0x4d4d86=_0x292dd3;this[_0x4d4d86(0x16a)](),this['_isBlinkVisible']=!0x0,this[_0x4d4d86(0x216)](!0x0);},_0x8e7300*0x3e8);}[_0x386c9a(0x16a)](){const _0x445d7e=_0x386c9a;this[_0x445d7e(0x14e)]&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x445d7e(0x14e)]=void 0x0),this[_0x445d7e(0x314)]&&(window[_0x445d7e(0x3c6)](this[_0x445d7e(0x314)]),this['_blinkTimer']=void 0x0);}['triggerDblclick'](_0x4e7a85){return!0x1;}['dispose'](){const _0x39893e=_0x386c9a;this[_0x39893e(0x16a)](),super[_0x39893e(0x228)]();}[_0x386c9a(0x263)](_0x12f729){const _0x4384df=_0x386c9a;let _0x2a36ff=this[_0x4384df(0xa7)],_0x2063df=this[_0x4384df(0x285)];if(this[_0x4384df(0x2f5)]&&!this[_0x4384df(0x278)]&&(_0x2a36ff=this['_getLighterColor'](this['_color']),_0x2063df=this['_backgroundColor']?this[_0x4384df(0xb9)](this[_0x4384df(0x285)]):void 0x0),_0x38b39d[_0x4384df(0x281)]['drawWith'](_0x12f729,{'width':this[_0x4384df(0x380)],'height':this[_0x4384df(0x302)],'strokeWidth':this[_0x4384df(0x115)]||1.5,'stroke':_0x2a36ff,'evented':!0x1,'fill':_0x2063df}),this[_0x4384df(0x13a)]||this[_0x4384df(0x318)]){var _0xc3ffe;_0x12f729['save']();let _0x39b5b7=this['_labelHorizontalPosition']===_0x4384df(0x268)?-_0x25e53d(_0x12f729,this[_0x4384df(0x1bd)]):this[_0x4384df(0x380)];_0x12f729[_0x4384df(0x2c1)](0x1,0x0,0x0,0x1,_0x39b5b7,(this[_0x4384df(0x1b7)]===_0x4384df(0x123)?0x0:-0x14)+((_0xc3ffe=this[_0x4384df(0xca)])==null?0x0:_0xc3ffe)),_0x19e9c3[_0x4384df(0x282)](_0x12f729,{'text':this['_name'],'color':_0x2a36ff}),_0x12f729[_0x4384df(0xad)]();}}['_getLighterColor'](_0x4d8269){const _0x47c9d3=_0x386c9a;return _0x4d8269[_0x47c9d3(0x2bb)]('#')?_0x47c9d3(0x33f)+Number[_0x47c9d3(0x11d)](_0x4d8269['slice'](0x1,0x3),0x10)+',\x20'+Number[_0x47c9d3(0x11d)](_0x4d8269[_0x47c9d3(0x400)](0x3,0x5),0x10)+',\x20'+Number[_0x47c9d3(0x11d)](_0x4d8269[_0x47c9d3(0x400)](0x5,0x7),0x10)+',\x200.2)':_0x4d8269[_0x47c9d3(0x2bb)](_0x47c9d3(0x2ad))?_0x4d8269[_0x47c9d3(0x131)](/[\d.]+\)$/g,_0x47c9d3(0xb7)):_0x4d8269[_0x47c9d3(0x2bb)](_0x47c9d3(0x265))?_0x4d8269[_0x47c9d3(0x131)](_0x47c9d3(0x265),'rgba')[_0x47c9d3(0x131)](')',_0x47c9d3(0x29f)):_0x4d8269;}};let _0x460895=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0x4f44e9,_0x4df486,_0x2778e4,_0x3a9441){const _0x179a5a=_0x386c9a;super(),this['_context']=_0x4f44e9,this[_0x179a5a(0x264)]=_0x4df486,this[_0x179a5a(0x1ca)]=_0x2778e4,this[_0x179a5a(0x342)]=_0x3a9441,_0x2109ac(this,_0x179a5a(0x160),new Set()),_0x2109ac(this,_0x179a5a(0x321),null),_0x2109ac(this,_0x179a5a(0x3f6),null),this[_0x179a5a(0x34d)]();}[_0x386c9a(0x34d)](){const _0x54ff73=_0x386c9a;this[_0x54ff73(0x264)][_0x54ff73(0x27d)][_0x54ff73(0x32a)]((0x0,_0x30c188['takeUntil'])(this['dispose$']),(0x0,_0x30c188[_0x54ff73(0x177)])(_0x45ab55=>{const _0x5b4981=_0x54ff73;if(_0x45ab55){let _0x57f5db=_0x45ab55['sheetId'];return(0x0,_0x3a9a2c[_0x5b4981(0x2f9)])(this[_0x5b4981(0x1ca)]['getCollabCursors$'](this[_0x5b4981(0x334)][_0x5b4981(0x232)]),this['_themeService'][_0x5b4981(0x29c)])[_0x5b4981(0x32a)]((0x0,_0x30c188[_0x5b4981(0x2a3)])(([_0x30bc77,_0x347dd4])=>{let _0x43ec61=new Map();return _0x30bc77['forEach']((_0x1b716e,_0x2da8b1)=>{const _0x4ef92f=_0xbfb2;if(_0x1b716e[_0x4ef92f(0x2ef)]===_0x57f5db){let _0x456a3d={..._0x1b716e};_0x456a3d[_0x4ef92f(0x325)]=this[_0x4ef92f(0x342)]['getColorFromTheme'](_0x1b716e['color']),_0x43ec61[_0x4ef92f(0x2eb)](_0x2da8b1,_0x456a3d);}}),{'skeleton':_0x45ab55,'cursors':_0x43ec61};}));}return(0x0,_0x3a9a2c['of'])({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x15b869,cursors:_0x46ab18})=>{const _0x39ff7c=_0x54ff73;this['_removeCollabCursors'](),_0x15b869&&this[_0x39ff7c(0x2ce)](_0x15b869,_0x46ab18);}),this[_0x54ff73(0x2da)](this[_0x54ff73(0x264)][_0x54ff73(0x27d)][_0x54ff73(0x32a)]((0x0,_0x30c188[_0x54ff73(0x1ef)])(this['dispose$']))[_0x54ff73(0x341)](_0x249d91=>{const _0xe27445=_0x54ff73;var _0x378597;if(_0x249d91==null)return;(_0x378597=this[_0xe27445(0x3f6)])==null||_0x378597[_0xe27445(0x2db)](),this[_0xe27445(0x3f6)]=null;let {skeleton:_0x2214ae}=_0x249d91,{scene:_0x5c2e61}=this[_0xe27445(0x334)];this[_0xe27445(0x3f6)]=_0x5c2e61['onPointerMove$']['subscribeEvent']((0x0,_0x3188ec[_0xe27445(0x15a)])(_0x45a40e=>{const _0x153430=_0xe27445;var _0x2fd930,_0x20d34c;let {offsetX:_0x32de3b,offsetY:_0x55a9bf}=_0x45a40e,{x:_0x40cbb4,y:_0x290025}=_0x5c2e61[_0x153430(0x1e3)](_0x38b39d[_0x153430(0x3fc)]['FromArray']([_0x32de3b,_0x55a9bf])),{scaleX:_0x4270a2,scaleY:_0x1884db}=_0x5c2e61[_0x153430(0xdd)](),_0x273a8a=_0x5c2e61[_0x153430(0x2e9)](_0x38b39d[_0x153430(0x218)][_0x153430(0xf8)]),_0x5ae0b8=_0x5c2e61[_0x153430(0x306)](_0x38b39d[_0x153430(0x3fc)][_0x153430(0x36c)]([_0x40cbb4,_0x290025]),_0x273a8a),_0x483f5b=_0x2214ae['getCellIndexByOffset'](_0x32de3b,_0x55a9bf,_0x4270a2,_0x1884db,_0x5ae0b8);(((_0x2fd930=this[_0x153430(0x321)])==null?void 0x0:_0x2fd930['column'])!==_0x483f5b[_0x153430(0x187)]||((_0x20d34c=this['_lastPointer'])==null?void 0x0:_0x20d34c['row'])!==_0x483f5b[_0x153430(0x2cf)])&&this[_0x153430(0x160)][_0x153430(0x32f)](_0x3a89ab=>{const _0x478040=_0x153430;_0x3a89ab[_0x478040(0x1f1)](_0x483f5b);});},0x64));})),this['disposeWithMe']((0x0,_0x3188ec[_0x54ff73(0x34e)])(()=>{const _0x1f0556=_0x54ff73;var _0xb383e0;(_0xb383e0=this[_0x1f0556(0x3f6)])==null||_0xb383e0[_0x1f0556(0x2db)](),this[_0x1f0556(0x3f6)]=null;}));}[_0x386c9a(0x2ce)](_0x17519c,_0x4ac487){const _0x404c47=_0x386c9a;let _0x1dd9ee=this['_sheetSkeletonManagerService'][_0x404c47(0x2c0)]();if(!_0x1dd9ee)return;let _0x4e412d=this[_0x404c47(0x247)]();if(!_0x4e412d)return;this[_0x404c47(0x160)][_0x404c47(0x32f)](_0x2d07c4=>{const _0x3594f1=_0x404c47;_0x2d07c4[_0x3594f1(0x216)]();});let {scene:_0x132792}=_0x4e412d,_0x210c37=_0x12cd55(Array[_0x404c47(0x143)](_0x4ac487['values']()))[_0x404c47(0x2a3)](_0x25dcda=>{const _0x5575fb=_0x404c47;let {color:_0x18c0cf,range:_0xa3365d,name:_0x4a1faa,selection:_0x26517a,sheetID:_0x545f92}=_0x25dcda,{startColumn:_0x4d39a6,startRow:_0x4d8a51,endColumn:_0x3babd3,endRow:_0x487f07}=_0xa3365d,_0x3c073a=(0x0,_0x4d43bb[_0x5575fb(0x17f)])(_0x4d8a51,_0x4d39a6,_0x132792,_0x1dd9ee),_0x27052f=(0x0,_0x4d43bb[_0x5575fb(0x17f)])(_0x487f07,_0x3babd3,_0x132792,_0x1dd9ee),{columnHeaderHeightAndMarginTop:_0xee6839}=_0x1dd9ee,{startX:_0x34c4b5,startY:_0x4fd421}=_0x3c073a,{endX:_0x1d6421,endY:_0x5b857f}=_0x27052f,_0x391a44=_0x1d6421-_0x34c4b5,_0x4789ad=_0x5b857f-_0x4fd421;return new _0x294254(_0x4a1faa,{'labelPosition':_0x4fd421-_0xee6839>=0x14?'top':_0x5575fb(0x123),'sheetID':_0x545f92,'range':_0xa3365d,'color':_0x18c0cf,'name':_0x4a1faa,'selection':_0x26517a,'left':_0x34c4b5,'top':_0x4fd421,'width':_0x391a44,'height':_0x4789ad,'evented':!0x1,'zIndex':0x1389});});_0x132792[_0x404c47(0x1b6)](_0x210c37,0x1),this['_cursors']=new Set(_0x210c37);}['_removeCollabCursors'](){var _0x1f01b2;(_0x1f01b2=this['_cursors'])==null||_0x1f01b2['forEach'](_0x56aeae=>_0x56aeae['dispose']());}[_0x386c9a(0x247)](){const _0x324672=_0x386c9a;return(0x0,_0x4d43bb[_0x324672(0x10b)])(this['_context']['unit'],this[_0x324672(0x334)]);}};_0x460895=_0x442f80([_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4d43bb['SheetSkeletonManagerService'])),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x54c193)),_0x148b43(0x3,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x3d6)]))],_0x460895);function _0x12cd55(_0x2d5472){const _0x517b14=_0x386c9a;let _0x48ab54=new Map();return _0x2d5472['forEach'](_0x2fc8c5=>{const _0x3a2953=_0xbfb2;if(_0x48ab54['has'](_0x2fc8c5['selection'])){let _0x38f932=_0x48ab54[_0x3a2953(0x26b)](_0x2fc8c5['selection']);_0x38f932['name']+=',\x20'+_0x2fc8c5[_0x3a2953(0x10e)];}else _0x48ab54[_0x3a2953(0x2eb)](_0x2fc8c5[_0x3a2953(0x126)],_0x2fc8c5);}),Array['from'](_0x48ab54[_0x517b14(0x2a0)]());}let _0x5b52a2=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0x5035a1,_0x3a3df5,_0x43b465){const _0xbac833=_0x386c9a;super(),this[_0xbac833(0x334)]=_0x5035a1,this[_0xbac833(0x1ca)]=_0x3a3df5,this[_0xbac833(0x342)]=_0x43b465,_0x2109ac(this,_0xbac833(0x160),new Set()),_0x2109ac(this,_0xbac833(0xc6),!0x1),_0x2109ac(this,_0xbac833(0xf9),!0x1),_0x2109ac(this,_0xbac833(0x3bd),new Map()),this[_0xbac833(0x34d)]();}[_0x386c9a(0x228)](){const _0x2f2045=_0x386c9a;this[_0x2f2045(0x289)](),super[_0x2f2045(0x228)]();}[_0x386c9a(0x34d)](){const _0xa09a06=_0x386c9a;let _0x423903=this[_0xa09a06(0x334)]['unit'][_0xa09a06(0x1a2)][_0xa09a06(0xb0)],_0x3e7a94=this['_collabCursorController']['getCollabCursors$'](this['_context'][_0xa09a06(0x232)]);this['disposeWithMe']((0x0,_0x3188ec['toDisposable'])((0x0,_0x3a9a2c[_0xa09a06(0x2f9)])([_0x3e7a94,_0x423903,this[_0xa09a06(0x342)][_0xa09a06(0x29c)]])[_0xa09a06(0x32a)]((0x0,_0x3a9a2c[_0xa09a06(0x1ef)])(this[_0xa09a06(0x181)]))['subscribe'](([_0x569b31,_0x4dfb69])=>{const _0x24e72a=_0xa09a06;let _0xa868d2=new Map();_0x569b31[_0x24e72a(0x32f)]((_0x31f236,_0x13814a)=>{const _0x57cb23=_0x24e72a;_0x31f236[_0x57cb23(0x2f0)]===_0x4dfb69&&_0xa868d2[_0x57cb23(0x2eb)](_0x13814a,{..._0x31f236,'color':this[_0x57cb23(0x342)][_0x57cb23(0x38e)](_0x31f236[_0x57cb23(0x325)])});}),this[_0x24e72a(0x3bd)]=_0xa868d2,this['_scheduleRender']();})));let _0x3c9ba8=this[_0xa09a06(0x334)]['scene'];this[_0xa09a06(0x2da)]((0x0,_0x3188ec[_0xa09a06(0x34e)])(_0x3c9ba8[_0xa09a06(0xb5)]['pipe']((0x0,_0x3a9a2c[_0xa09a06(0x1ef)])(this[_0xa09a06(0x181)]))['subscribe'](()=>{const _0x340a51=_0xa09a06;this[_0x340a51(0xf9)]||this['_scheduleRender']();})));}['_scheduleRender'](){const _0x2b9570=_0x386c9a;this['_renderScheduled']||(this[_0x2b9570(0xc6)]=!0x0,Promise['resolve']()['then'](()=>{const _0x13ea40=_0x2b9570;this[_0x13ea40(0xc6)]=!0x1,this[_0x13ea40(0x15f)]();}));}[_0x386c9a(0x15f)](){const _0x470dcf=_0x386c9a;var _0x1cba4f;this[_0x470dcf(0x289)]();let _0x4a3c3a=(_0x1cba4f=this[_0x470dcf(0x334)]['unit'][_0x470dcf(0x1a2)][_0x470dcf(0x20f)]())==null?void 0x0:_0x1cba4f[_0x470dcf(0x1eb)]();if(!_0x4a3c3a)return;let _0x532c85=[];if(this[_0x470dcf(0x3bd)]['forEach']((_0x4c2ec6,_0x53b556)=>{const _0x11a9ab=_0x470dcf;_0x4c2ec6[_0x11a9ab(0x2f0)]===_0x4a3c3a&&_0x4c2ec6[_0x11a9ab(0x2bc)][_0x11a9ab(0x32f)](_0x2e8dba=>{const _0x29e2d1=_0x11a9ab;let _0x1ad806=(0x0,_0x2c454c[_0x29e2d1(0x37d)])(_0x4c2ec6[_0x29e2d1(0x232)],_0x4c2ec6[_0x29e2d1(0x2f0)],_0x2e8dba),_0x3dcd34=this[_0x29e2d1(0x37e)](_0x1ad806);if(!_0x3dcd34)return;let _0x5df3c7=this[_0x29e2d1(0x19e)](_0x3dcd34);_0x532c85[_0x29e2d1(0x18e)](new _0x36c05d(_0x29e2d1(0x179)+_0x53b556+'-'+_0x2e8dba,{..._0x4c2ec6,'left':_0x5df3c7['left'],'top':_0x5df3c7[_0x29e2d1(0x138)],'width':_0x5df3c7[_0x29e2d1(0x380)],'height':_0x5df3c7[_0x29e2d1(0x302)],'angle':_0x3dcd34[_0x29e2d1(0x2b7)],'evented':!0x1,'zIndex':_0x4f92ff}));});}),_0x532c85[_0x470dcf(0x368)]===0x0){this[_0x470dcf(0x334)][_0x470dcf(0x1a3)][_0x470dcf(0x216)](!0x0);return;}this[_0x470dcf(0xf9)]=!0x0,this['_context'][_0x470dcf(0x1a3)][_0x470dcf(0x1b6)](_0x532c85,_0x4f92ff),this['_isApplyingOverlays']=!0x1,this[_0x470dcf(0x160)]=new Set(_0x532c85),this[_0x470dcf(0x334)][_0x470dcf(0x1a3)][_0x470dcf(0x216)](!0x0);}[_0x386c9a(0x289)](){const _0x2a2091=_0x386c9a;let _0x20a5d7=Array[_0x2a2091(0x143)](this['_cursors']);if(_0x20a5d7[_0x2a2091(0x368)]===0x0)return;let _0x1abddd=this[_0x2a2091(0x334)][_0x2a2091(0x1a3)];'removeObjects'in _0x1abddd&&typeof _0x1abddd[_0x2a2091(0x12c)]==_0x2a2091(0x14f)?_0x1abddd['removeObjects'](_0x20a5d7):_0x20a5d7[_0x2a2091(0x32f)](_0x18b166=>{const _0x319df6=_0x2a2091;_0x319df6(0x1fa)in _0x1abddd&&typeof _0x1abddd[_0x319df6(0x1fa)]=='function'?_0x1abddd[_0x319df6(0x1fa)](_0x18b166):_0x18b166[_0x319df6(0x228)]();}),this[_0x2a2091(0x160)][_0x2a2091(0x2e2)](),_0x1abddd['makeDirty'](!0x0);}[_0x386c9a(0x37e)](_0x977743){const _0x377dcd=_0x386c9a;var _0x493711,_0x3b19aa,_0x2d7faf;let _0x25c96f=this['_context'][_0x377dcd(0x1a3)];return(_0x493711=(_0x3b19aa=(_0x2d7faf=_0x25c96f[_0x377dcd(0x1fe)])==null?void 0x0:_0x2d7faf[_0x377dcd(0x266)](_0x25c96f,_0x977743))==null?_0x25c96f[_0x377dcd(0x2a1)](_0x977743):_0x3b19aa)==null?null:_0x493711;}[_0x386c9a(0x19e)](_0x2c8ede){const _0x216f35=_0x386c9a;var _0xd432e3,_0x24d0fd;let _0x3866f3=_0x2c8ede;return(_0xd432e3=(_0x24d0fd=_0x3866f3[_0x216f35(0x1a0)])==null?void 0x0:_0x24d0fd[_0x216f35(0x266)](_0x3866f3))==null?{'left':_0x2c8ede['left'],'top':_0x2c8ede[_0x216f35(0x138)],'width':_0x2c8ede[_0x216f35(0x380)],'height':_0x2c8ede[_0x216f35(0x302)]}:_0xd432e3;}};_0x5b52a2=_0x442f80([_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x54c193)),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x3d6)]))],_0x5b52a2);let _0x4e3b37=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x16c00e,_0x3a00c2,_0x4556d1,_0x5b0a11,_0x1ddd78,_0x110c83){const _0x57cad3=_0x386c9a;super(),this[_0x57cad3(0x27a)]=_0x16c00e,this[_0x57cad3(0x299)]=_0x3a00c2,this[_0x57cad3(0x40b)]=_0x4556d1,this['_messageService']=_0x5b0a11,this[_0x57cad3(0x16d)]=_0x1ddd78,this['_localeService']=_0x110c83,this[_0x57cad3(0x255)](),this[_0x57cad3(0x2a9)]();}[_0x386c9a(0x255)](){const _0x422d1b=_0x386c9a;this['disposeWithMe'](this[_0x422d1b(0x27a)][_0x422d1b(0xdc)](()=>{const _0x56d626=_0x422d1b;if(this[_0x56d626(0x299)]['saveTaskMap'][_0x56d626(0x1cd)])return this[_0x56d626(0xeb)]['t']('collaboration-client-ui.collaboration.offline-data-not-saved');}));}[_0x386c9a(0x2a9)](){const _0x5f3d61=_0x386c9a;this['disposeWithMe'](this[_0x5f3d61(0x40b)]['event$'][_0x5f3d61(0x341)](_0x4f2e3f=>{const _0x558621=_0x5f3d61;_0x4f2e3f['id']===_0x2248ce['CollaborationUIEventId'][_0x558621(0x233)]&&this[_0x558621(0x1dc)][_0x558621(0x386)]({'type':_0x36a1a4[_0x558621(0x212)][_0x558621(0xba)],'content':this[_0x558621(0xeb)]['t']('collaboration-client-ui.collaboration.single-unit.warning')}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)]['CLOSE_ROOM']&&this[_0x558621(0x1dc)][_0x558621(0x386)]({'type':_0x36a1a4[_0x558621(0x212)]['Warning'],'content':this[_0x558621(0xeb)]['t'](_0x558621(0x10c))}),_0x4f2e3f['id']===_0x2248ce['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0x558621(0x386)]({'title':this[_0x558621(0xeb)]['t'](_0x558621(0x39d)),'content':this[_0x558621(0xeb)]['t'](_0x558621(0x16b)),'type':_0x558621(0x3f1),'duration':0x0}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)][_0x558621(0xbc)]&&this[_0x558621(0x16d)][_0x558621(0x386)]({'title':this[_0x558621(0xeb)]['t'](_0x558621(0x1ac)),'content':this[_0x558621(0xeb)]['t'](_0x558621(0x22c)),'type':'error','duration':0x0}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)][_0x558621(0x9f)]&&this[_0x558621(0x1dc)]['show']({'type':_0x36a1a4[_0x558621(0x212)][_0x558621(0xba)],'content':this['_localeService']['t'](_0x4f2e3f['data']||'')}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)][_0x558621(0xae)]&&this[_0x558621(0x1dc)]['show']({'type':_0x36a1a4['MessageType'][_0x558621(0xba)],'content':this[_0x558621(0xeb)]['t'](_0x558621(0x1d5))}),_0x4f2e3f['id']===_0x2248ce['CollaborationUIEventId'][_0x558621(0x106)]&&this[_0x558621(0x1dc)]['show']({'type':_0x36a1a4[_0x558621(0x212)]['Error'],'content':this['_localeService']['t'](_0x558621(0x3bc))}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)][_0x558621(0x184)]&&this['_messageService'][_0x558621(0x386)]({'type':_0x36a1a4[_0x558621(0x212)]['Error'],'content':this['_localeService']['t'](_0x558621(0x3fe))});}));}};_0x4e3b37=_0x442f80([_0x148b43(0x0,_0xad5ce[_0x386c9a(0x3d7)]),_0x148b43(0x1,_0x2248ce[_0x386c9a(0x251)]),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce['CollaborationUIEventService'])),_0x148b43(0x3,_0xad5ce[_0x386c9a(0xf1)]),_0x148b43(0x4,_0xad5ce[_0x386c9a(0x3ff)]),_0x148b43(0x5,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x2cb)]))],_0x4e3b37);let _0x34f04d=(0x0,_0x3188ec[_0x386c9a(0x370)])(_0x386c9a(0x193)),_0x1f1812=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0xe7d706,_0x4c2e71,_0x5daf0a,_0x1855f0,_0x122017){const _0x56f600=_0x386c9a;super(),this[_0x56f600(0xcd)]=_0xe7d706,this['_logService']=_0x4c2e71,this[_0x56f600(0xc7)]=_0x5daf0a,this['_dataLoaderService']=_0x1855f0,_0x122017?_0x122017[_0x56f600(0x1d7)]()[_0x56f600(0x11a)](()=>this['_init']()):(this[_0x56f600(0x125)]['debug'](_0x56f600(0x28f),_0x56f600(0x3fd)),this['_init']());}async[_0x386c9a(0x34d)](){const _0x371da7=_0x386c9a;let _0x2875fa=this[_0x371da7(0xcd)][_0x371da7(0x3c4)](_0x371da7(0x1f3)),_0x34be5d=this[_0x371da7(0xcd)][_0x371da7(0x3c4)](_0x371da7(0x2fd)),_0xc38b58=this[_0x371da7(0xcd)][_0x371da7(0x3c4)](_0x371da7(0x290));if(!_0x2875fa||!_0x34be5d){this[_0x371da7(0x125)]['debug'](_0x371da7(0x28f),_0x371da7(0x151));return;}let _0x3f567a=await this[_0x371da7(0x3aa)][_0x371da7(0x1f5)](_0x2875fa,Number(_0x34be5d),_0xc38b58);_0x3f567a&&_0x3f567a instanceof _0x3188ec[_0x371da7(0x283)]&&this[_0x371da7(0x134)](_0x3f567a);}async['_setupSubUnitSync'](_0x411460){const _0x2122a1=_0x386c9a;await this['_updateSubUnitFromURLParams'](_0x411460),_0x411460[_0x2122a1(0x144)][_0x2122a1(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this[_0x2122a1(0x181)]))[_0x2122a1(0x341)](_0x276cb8=>{const _0x23fe91=_0x2122a1;_0x276cb8&&this[_0x23fe91(0x3b2)](_0x276cb8);}),this[_0x2122a1(0xcd)][_0x2122a1(0xe1)][_0x2122a1(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this[_0x2122a1(0x181)]))[_0x2122a1(0x341)](()=>this['_updateSubUnitFromURLParams'](_0x411460));}[_0x386c9a(0x3b2)](_0xd25de1,_0x378538=!0x1){const _0x487c23=_0x386c9a;let _0x1de19d=this[_0x487c23(0xcd)][_0x487c23(0x3c4)](_0x487c23(0x290));_0xd25de1[_0x487c23(0x3d4)]()!==_0x1de19d&&this['_urlService'][_0x487c23(0x408)](_0x487c23(0x290),_0xd25de1[_0x487c23(0x3d4)](),_0x378538);}async[_0x386c9a(0xb3)](_0x5987e){const _0x37006d=_0x386c9a;var _0x2d67bd;let _0x279977=this[_0x37006d(0xcd)][_0x37006d(0x3c4)](_0x37006d(0x290));if(!_0x279977||!_0x5987e[_0x37006d(0x2e6)](_0x279977)){let _0x57d06a=_0x5987e[_0x37006d(0x19a)]()[0x0],_0x491832=_0x5987e[_0x37006d(0x2e6)](_0x57d06a);if(!_0x491832)return;this[_0x37006d(0x3b2)](_0x491832,!0x0),await this[_0x37006d(0xc7)][_0x37006d(0x381)](_0x14f8c0[_0x37006d(0x3ea)]['id'],{'unitId':_0x5987e[_0x37006d(0x3e8)](),'subUnitId':_0x57d06a});return;}((_0x2d67bd=_0x5987e[_0x37006d(0x29d)]())==null?void 0x0:_0x2d67bd['getSheetId']())!==_0x279977&&await this[_0x37006d(0xc7)][_0x37006d(0x381)](_0x14f8c0['SetWorksheetActivateCommand']['id'],{'unitId':_0x5987e[_0x37006d(0x3e8)](),'subUnitId':_0x279977});}};_0x1f1812=_0x442f80([_0x148b43(0x0,_0x34f04d),_0x148b43(0x1,_0x3188ec[_0x386c9a(0x3eb)]),_0x148b43(0x2,_0x3188ec[_0x386c9a(0x13c)]),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce['DataLoaderService'])),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x22d)])(_0x157a03['IRemoteInstanceService']))],_0x1f1812);let _0x10c576=class{constructor(_0x39fb7a,_0x40a6f1){const _0xf6811c=_0x386c9a;this[_0xf6811c(0x246)]=_0x39fb7a,this['_renderManagerService']=_0x40a6f1;}['transformIMECache'](_0x46a573){const _0x22bf37=_0x386c9a;this['_transformUndoRedoStack'](_0x46a573),this[_0x22bf37(0x1c6)](_0x46a573);}[_0x386c9a(0x161)](_0x3c04e1){const _0x54a144=_0x386c9a;let {unitID:_0x85d36c}=_0x3c04e1,{redoCache:_0x3a1d40}=this[_0x54a144(0x3c5)][_0x54a144(0x389)](_0x85d36c)[_0x54a144(0x30e)](_0x390782[_0x54a144(0x2b4)])[_0x54a144(0x178)]();if(_0x3a1d40['length']===0x0)return _0x3c04e1;let _0x5354e1=_0x3188ec['Tools'][_0x54a144(0x209)](_0x3c04e1[_0x54a144(0x304)][0x0]);for(let _0x166716=0x0;_0x166716<_0x3a1d40[_0x54a144(0x368)];_0x166716++){let _0x215e52={'id':_0x54a144(0x394),'params':{..._0x3a1d40[_0x166716]}},_0x39a796=this[_0x54a144(0x246)]['transformMutation'](_0x5354e1,_0x215e52,!0x1);if((0x0,_0x1cdb30[_0x54a144(0x116)])(_0x39a796))throw _0x39a796[_0x54a144(0x3f1)];_0x5354e1=_0x39a796['m1Prime'];}return{..._0x3188ec[_0x54a144(0x31e)]['deepClone'](_0x3c04e1),'mutations':[_0x5354e1]};}[_0x386c9a(0x269)](_0x2fffb5){const _0x568e3e=_0x386c9a;let {unitID:_0x555a98}=_0x2fffb5,_0x5ed06a=this['_renderManagerService'][_0x568e3e(0x389)](_0x555a98)[_0x568e3e(0x30e)](_0x390782[_0x568e3e(0x2b4)]),{undoCache:_0x34f121,redoCache:_0x489a37}=_0x5ed06a['getUndoRedoMutationParamsCache']();if(_0x34f121[_0x568e3e(0x368)]===0x0||_0x489a37[_0x568e3e(0x368)]===0x0)return;let _0x28af55=[],_0x85770=[],_0x34fc93=_0x3188ec[_0x568e3e(0x31e)][_0x568e3e(0x209)](_0x2fffb5[_0x568e3e(0x304)][0x0]),_0x152f15=_0x3188ec[_0x568e3e(0x31e)][_0x568e3e(0x209)](_0x2fffb5['mutations'][0x0]);for(let _0x4aa371=_0x34f121[_0x568e3e(0x368)]-0x1;_0x4aa371>=0x0;_0x4aa371--){let _0x59db1a={'id':_0x568e3e(0x394),'params':{..._0x34f121[_0x4aa371]}},_0x3b5079={'id':_0x568e3e(0x394),'params':{..._0x489a37[_0x4aa371]}},_0x499ae9=this[_0x568e3e(0x246)][_0x568e3e(0x27b)](_0x34fc93,_0x59db1a,!0x1),_0x19df38=this[_0x568e3e(0x246)][_0x568e3e(0x27b)](_0x152f15,_0x3b5079,!0x1);if((0x0,_0x1cdb30['isTransformMutationFailure'])(_0x499ae9))throw _0x499ae9[_0x568e3e(0x3f1)];if((0x0,_0x1cdb30[_0x568e3e(0x116)])(_0x19df38))throw _0x19df38[_0x568e3e(0x3f1)];_0x28af55[_0x568e3e(0x20b)](_0x499ae9[_0x568e3e(0x25d)][_0x568e3e(0x3a4)]),_0x85770[_0x568e3e(0x20b)](_0x19df38[_0x568e3e(0x25d)][_0x568e3e(0x3a4)]),_0x34fc93=_0x499ae9[_0x568e3e(0x311)],_0x152f15=_0x19df38[_0x568e3e(0x311)];}_0x5ed06a[_0x568e3e(0x15d)]({'undoCache':_0x28af55,'redoCache':_0x85770});}[_0x386c9a(0x1c6)](_0x39ae87){const _0x505140=_0x386c9a;let {unitID:_0x2fe39e}=_0x39ae87,_0x3c8cbd=this['_renderManagerService'][_0x505140(0x389)](_0x2fe39e)['with'](_0x390782[_0x505140(0x2b4)]),_0x2b70a5=_0x3c8cbd[_0x505140(0x40e)]();if(_0x2b70a5==null)return;let _0x52a685=[{'id':_0x505140(0x394),'params':{'unitId':_0x39ae87['unitID'],'actions':null,'textRanges':[_0x2b70a5]}}],_0x2ce26f=this[_0x505140(0x246)][_0x505140(0x167)](_0x39ae87,_0x52a685);if(!(0x0,_0x1cdb30[_0x505140(0x273)])(_0x2ce26f))throw _0x2ce26f[_0x505140(0x3f1)];let _0x2b2996=_0x2ce26f['m2Prime'][0x0][_0x505140(0x3a4)][_0x505140(0x1d2)];Array['isArray'](_0x2b2996)&&_0x2b2996[_0x505140(0x368)]&&_0x3c8cbd[_0x505140(0x122)](_0x2b2996[0x0]);}};_0x10c576=_0x442f80([_0x148b43(0x0,_0x1cdb30[_0x386c9a(0xd6)]),_0x148b43(0x1,_0x38b39d[_0x386c9a(0x373)])],_0x10c576);let _0x5e6353=class{constructor(_0x41dd22,_0x47d23a,_0x167e71){const _0x2e3736=_0x386c9a;this[_0x2e3736(0x2f4)]=_0x41dd22,this['_transformService']=_0x47d23a,this['_docStateChangeManagerService']=_0x167e71;}['transformStateCache'](_0x4dd07f){this['_transformHistoryAndStateStack'](_0x4dd07f);}[_0x386c9a(0x161)](_0x29a86c){const _0x4c437b=_0x386c9a;let {unitID:_0x207bd7}=_0x29a86c,{collaboration:_0x55f60d}=this[_0x4c437b(0x1de)][_0x4c437b(0x316)](_0x207bd7);if(_0x55f60d[_0x4c437b(0x368)]===0x0)return _0x29a86c;let _0x3d1775=_0x3188ec[_0x4c437b(0x31e)][_0x4c437b(0x209)](_0x29a86c[_0x4c437b(0x304)][0x0]);for(let _0x1a48aa=0x0;_0x1a48aa<_0x55f60d[_0x4c437b(0x368)];_0x1a48aa++){let _0x30bbbe={'id':_0x4c437b(0x394),'params':{'unitId':_0x55f60d[_0x1a48aa][_0x4c437b(0x232)],..._0x55f60d[_0x1a48aa]['redoState']}},_0x259f93=this[_0x4c437b(0x246)]['transformMutation'](_0x3d1775,_0x30bbbe,!0x1);if((0x0,_0x1cdb30[_0x4c437b(0x116)])(_0x259f93))throw _0x259f93[_0x4c437b(0x3f1)];_0x3d1775=_0x259f93[_0x4c437b(0x311)];}return{..._0x3188ec[_0x4c437b(0x31e)][_0x4c437b(0x209)](_0x29a86c),'mutations':[_0x3d1775]};}[_0x386c9a(0x30b)](_0x4ab1c1){const _0xbd018a=_0x386c9a;let {unitID:_0x4095ab}=_0x4ab1c1,{history:_0x28997c,collaboration:_0x4c61ee}=this[_0xbd018a(0x1de)][_0xbd018a(0x316)](_0x4095ab);if(_0x28997c[_0xbd018a(0x368)]===0x0&&_0x4c61ee['length']===0x0)return;let _0x198db2=[],_0x474acd=[],_0x38c545=_0x3188ec[_0xbd018a(0x31e)]['deepClone'](_0x4ab1c1['mutations'][0x0]),_0x516e9=_0x3188ec['Tools'][_0xbd018a(0x209)](_0x4ab1c1[_0xbd018a(0x304)][0x0]);for(let _0x19eeb7=_0x28997c['length']-0x1;_0x19eeb7>=0x0;_0x19eeb7--){let _0x3b8ac2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x28997c[_0x19eeb7]['unitId'],..._0x28997c[_0x19eeb7][_0xbd018a(0x166)]}},_0x36b4b7={'id':_0xbd018a(0x394),'params':{'unitId':_0x28997c[_0x19eeb7][_0xbd018a(0x232)],..._0x28997c[_0x19eeb7][_0xbd018a(0xf3)]}},_0x81b3d9=this['_transformService'][_0xbd018a(0x27b)](_0x38c545,_0x3b8ac2,!0x1),_0x5b1187=this['_transformService'][_0xbd018a(0x27b)](_0x516e9,_0x36b4b7,!0x1);if((0x0,_0x1cdb30[_0xbd018a(0x116)])(_0x81b3d9))throw _0x81b3d9[_0xbd018a(0x3f1)];if((0x0,_0x1cdb30[_0xbd018a(0x116)])(_0x5b1187))throw _0x5b1187[_0xbd018a(0x3f1)];_0x198db2['unshift']({..._0x28997c[_0x19eeb7],'undoState':_0x81b3d9[_0xbd018a(0x25d)][_0xbd018a(0x3a4)],'redoState':_0x5b1187[_0xbd018a(0x25d)]['params']}),_0x38c545=_0x81b3d9['m1Prime'],_0x516e9=_0x5b1187['m1Prime'];}_0x38c545=_0x3188ec['Tools']['deepClone'](_0x4ab1c1[_0xbd018a(0x304)][0x0]),_0x516e9=_0x3188ec[_0xbd018a(0x31e)][_0xbd018a(0x209)](_0x4ab1c1[_0xbd018a(0x304)][0x0]);for(let _0x121e6f=_0x4c61ee[_0xbd018a(0x368)]-0x1;_0x121e6f>=0x0;_0x121e6f--){let _0x4cf502={'id':_0xbd018a(0x394),'params':{'unitId':_0x4c61ee[_0x121e6f][_0xbd018a(0x232)],..._0x4c61ee[_0x121e6f][_0xbd018a(0x166)]}},_0x40f76e={'id':_0xbd018a(0x394),'params':{'unitId':_0x4c61ee[_0x121e6f][_0xbd018a(0x232)],..._0x4c61ee[_0x121e6f]['redoState']}},_0x3f3546=this['_transformService'][_0xbd018a(0x27b)](_0x38c545,_0x4cf502,!0x1),_0x4b4828=this['_transformService'][_0xbd018a(0x27b)](_0x516e9,_0x40f76e,!0x1);if((0x0,_0x1cdb30[_0xbd018a(0x116)])(_0x3f3546))throw _0x3f3546['error'];if((0x0,_0x1cdb30[_0xbd018a(0x116)])(_0x4b4828))throw _0x4b4828[_0xbd018a(0x3f1)];_0x474acd[_0xbd018a(0x20b)]({..._0x4c61ee[_0x121e6f],'undoState':_0x3f3546[_0xbd018a(0x25d)][_0xbd018a(0x3a4)],'redoState':_0x4b4828['m2Prime'][_0xbd018a(0x3a4)]}),_0x38c545=_0x3f3546[_0xbd018a(0x311)],_0x516e9=_0x4b4828[_0xbd018a(0x311)];}this['_docStateChangeManagerService'][_0xbd018a(0x287)](_0x4095ab,{'history':_0x198db2,'collaboration':_0x474acd});}};_0x5e6353=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x1,_0x1cdb30[_0x386c9a(0xd6)]),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x12c761['DocStateChangeManagerService']))],_0x5e6353);let _0x51eddf=class{constructor(_0x2c2711,_0x9c0938){const _0x55b51e=_0x386c9a;this[_0x55b51e(0x2f4)]=_0x2c2711,this[_0x55b51e(0x246)]=_0x9c0938;}[_0x386c9a(0x350)](_0x3559c5){const _0x441642=_0x386c9a;var _0x30283e;let _0x4df543=this[_0x441642(0x2f4)][_0x441642(0x26b)](_0x12c761[_0x441642(0x409)]),_0x4d06f4=(_0x30283e=_0x4df543['getDocRanges']())==null?[]:_0x30283e;if(_0x4d06f4['length']===0x0)return;let _0x3c834d=_0x3559c5[_0x441642(0x141)],_0x284e60=[{'id':_0x441642(0x394),'params':{'unitId':_0x3c834d,'actions':null,'textRanges':_0x4d06f4}}],_0x2433d6=this[_0x441642(0x246)][_0x441642(0x167)](_0x3559c5,_0x284e60);if(!(0x0,_0x1cdb30[_0x441642(0x273)])(_0x2433d6))throw _0x2433d6[_0x441642(0x3f1)];let _0x41e669=_0x2433d6[_0x441642(0x25d)][0x0]['params']['textRanges'];Array[_0x441642(0x1bc)](_0x41e669)&&_0x41e669[_0x441642(0x368)]&&_0x4df543[_0x441642(0x391)](_0x41e669,{'unitId':_0x3c834d,'subUnitId':_0x3c834d},!0x1);}};_0x51eddf=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x1,_0x1cdb30['ITransformService'])],_0x51eddf);let _0x2ea462=class extends _0x3188ec['Disposable']{constructor(_0x2dc2db,_0x2cafd7,_0x19eace,_0x538c6f,_0xbd2b7f,_0x36a10c,_0xd71791){const _0x16c326=_0x386c9a;super(),this[_0x16c326(0x33b)]=_0x2dc2db,this[_0x16c326(0x153)]=_0x2cafd7,this[_0x16c326(0x378)]=_0x19eace,this[_0x16c326(0x111)]=_0x538c6f,this['_docSyncEditingCollabCursorService']=_0xbd2b7f,this['_messageService']=_0x36a10c,this[_0x16c326(0xeb)]=_0xd71791,_0x2109ac(this,_0x16c326(0x3a2),new _0x3a9a2c[(_0x16c326(0x1ba))](_0x2248ce[_0x16c326(0x323)][_0x16c326(0x376)])),this[_0x16c326(0xcb)]();}[_0x386c9a(0xcb)](){const _0xb77b3a=_0x386c9a;this[_0xb77b3a(0x2da)](this[_0xb77b3a(0x33b)]['entityInit$']['subscribe'](_0x127e9c=>{const _0x3ecf74=_0xb77b3a;_0x127e9c instanceof _0x2248ce[_0x3ecf74(0x326)]&&_0x127e9c[_0x3ecf74(0xc1)]({'onTransformIME':_0x404bf7=>this[_0x3ecf74(0x153)]['transformIMECache'](_0x404bf7),'onTransformState':_0x3bdf16=>this[_0x3ecf74(0x378)][_0x3ecf74(0x2a2)](_0x3bdf16),'onTransformSelections':_0x5fe9f9=>this[_0x3ecf74(0x111)]['transformSelections'](_0x5fe9f9),'onSyncEditingCollabCursor':_0x1a35d1=>this[_0x3ecf74(0x339)][_0x3ecf74(0x229)](_0x1a35d1),'onTransformRemoteChangesetByIMECache':_0x49fac4=>this[_0x3ecf74(0x153)][_0x3ecf74(0x161)](_0x49fac4),'onTransformRemoteChangesetByStateCache':_0x404868=>this[_0x3ecf74(0x378)][_0x3ecf74(0x161)](_0x404868)});}));}};_0x2ea462=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0x1ed)])),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x10c576)),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x5e6353)),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x51eddf)),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x31641e)),_0x148b43(0x5,_0xad5ce['IMessageService']),_0x148b43(0x6,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x2cb)]))],_0x2ea462);let _0x450c2a=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x2db8fa,_0x453794,_0x24e604,_0x4ed0dd){const _0x2dae0d=_0x386c9a;super(),this[_0x2dae0d(0x2f4)]=_0x2db8fa,this[_0x2dae0d(0x2b3)]=_0x453794,this[_0x2dae0d(0x125)]=_0x24e604,this[_0x2dae0d(0x405)]=_0x4ed0dd,_0x2109ac(this,_0x2dae0d(0x235),void 0x0),this[_0x2dae0d(0x34d)]();}[_0x386c9a(0x34d)](){const _0x11499d=_0x386c9a;this[_0x11499d(0xea)](),this['_initUnhandledRejectionListener'](),this[_0x11499d(0x1b9)](),this[_0x11499d(0x3d2)]();}[_0x386c9a(0x3d2)](){const _0x2a7561=_0x386c9a;this[_0x2a7561(0x2da)](this['_collaborationSessionService'][_0x2a7561(0xd1)][_0x2a7561(0x341)](_0x366875=>{const _0x2d053b=_0x2a7561;this[_0x2d053b(0x235)]=_0x366875==null?void 0x0:_0x366875['memberID'];}));}[_0x386c9a(0xea)](){const _0x1770b5=_0x386c9a;let _0x5e8c91=_0x1226b3=>{const _0x25bffc=_0xbfb2;var _0x503179;this[_0x25bffc(0x1cb)](_0x25bffc(0x3f1),_0x25bffc(0x2a4)+_0x1226b3[_0x25bffc(0xf5)]+_0x25bffc(0x29e)+_0x1226b3[_0x25bffc(0x403)]+':'+_0x1226b3[_0x25bffc(0x39e)]+':'+_0x1226b3[_0x25bffc(0x3b3)]+'\x0a'+(((_0x503179=_0x1226b3[_0x25bffc(0x3f1)])==null?void 0x0:_0x503179[_0x25bffc(0x32c)])||''));};window[_0x1770b5(0x2f2)](_0x1770b5(0x3f1),_0x5e8c91),this[_0x1770b5(0x2da)](()=>{const _0x1f00c2=_0x1770b5;window['removeEventListener'](_0x1f00c2(0x3f1),_0x5e8c91);});}[_0x386c9a(0x295)](){const _0x218bdd=_0x386c9a;let _0x31efae=_0x4ba96b=>{const _0x1a3d15=_0xbfb2;this[_0x1a3d15(0x1cb)](_0x1a3d15(0x3f1),_0x1a3d15(0x330)+_0x4ba96b[_0x1a3d15(0x207)]);};window[_0x218bdd(0x2f2)](_0x218bdd(0x1bf),_0x31efae),this['disposeWithMe'](()=>{const _0x46179b=_0x218bdd;window[_0x46179b(0x2d2)](_0x46179b(0x1bf),_0x31efae);});}[_0x386c9a(0x1b9)](){const _0x3870a2=_0x386c9a;let _0x3ed245=this[_0x3870a2(0x125)][_0x3870a2(0x3f1)][_0x3870a2(0x1c5)](this['_logService']);this['_logService'][_0x3870a2(0x3f1)]=(..._0x5134ea)=>{const _0x22d1eb=_0x3870a2;let _0x46edf9=_0x5134ea[_0x22d1eb(0x2a3)](_0x5634d4=>_0x5634d4 instanceof Error?_0x5634d4[_0x22d1eb(0xf5)]+'\x0a'+_0x5634d4['stack']:String(_0x5634d4))[_0x22d1eb(0x1b3)]('\x20');this['_uploadLog'](_0x22d1eb(0x3f1),_0x22d1eb(0x305)+_0x46edf9),_0x3ed245(..._0x5134ea);},this[_0x3870a2(0x2da)](()=>{const _0x2eb49c=_0x3870a2;this[_0x2eb49c(0x125)][_0x2eb49c(0x3f1)]=_0x3ed245;});}[_0x386c9a(0x1cb)](_0x2d4fc3,_0x2a4bf2){const _0x508607=_0x386c9a;try{let _0x5a2b02={'userId':this[_0x508607(0x235)],'logLabel':_0x2d4fc3,'content':_0x2a4bf2};this[_0x508607(0x2b3)][_0x508607(0x172)](_0x508607(0x1a6),{'body':_0x5a2b02})[_0x508607(0x180)](()=>{});}catch{}}};_0x450c2a=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x29944c[_0x386c9a(0xb8)])),_0x148b43(0x2,_0x3188ec[_0x386c9a(0x3eb)]),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0xed)]))],_0x450c2a);function _0x3e995f({state$:_0xa67e29,interactionBlocked$:_0x2ae779}){const _0x4263a3=_0x386c9a;return(0x0,_0x418e4f['jsxs'])(_0x418e4f[_0x4263a3(0x26d)],{'children':[(0x0,_0xad5ce[_0x4263a3(0x3dd)])(_0x2ae779,!0x1,!0x0)&&(0x0,_0x418e4f[_0x4263a3(0x1df)])('div',{'data-u-comp':_0x4263a3(0x374),'aria-hidden':!0x0,'className':'univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-cursor-wait'}),(0x0,_0x418e4f[_0x4263a3(0x1df)])(_0x383236,{'state$':_0xa67e29})]});}function _0x383236({state$:_0x1436bb}){const _0x304ef9=_0x386c9a;let _0x56dbdb=(0x0,_0xad5ce['useObservable'])(_0x1436bb,null,!0x0);return _0x56dbdb?(0x0,_0x418e4f[_0x304ef9(0xc0)])('div',{'data-u-comp':_0x304ef9(0x3d9),'role':'alert','className':_0x304ef9(0x2e7),'children':[(0x0,_0x418e4f[_0x304ef9(0x1df)])(_0x183917,{'className':_0x304ef9(0x1bb)}),(0x0,_0x418e4f[_0x304ef9(0x1df)])('span',{'children':_0x56dbdb[_0x304ef9(0x358)]}),(0x0,_0x418e4f[_0x304ef9(0x1df)])(_0x36a1a4[_0x304ef9(0x3fb)],{'size':_0x304ef9(0x309),'variant':_0x304ef9(0x3bf),'onClick':()=>window['location'][_0x304ef9(0x18f)](),'children':_0x56dbdb['refreshLabel']})]}):null;}let _0x432166=_0x386c9a(0x1e6),_0x122225=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x1497e5,_0x5b4c39,_0x34e86a,_0x32a955,_0x27ea65,_0x58a932,_0x5c420d,_0x417a2c){const _0x53cd8c=_0x386c9a;super(),this[_0x53cd8c(0x142)]=_0x1497e5,this[_0x53cd8c(0x1dc)]=_0x5b4c39,this[_0x53cd8c(0xeb)]=_0x34e86a,this['_injector']=_0x32a955,this[_0x53cd8c(0x14d)]=_0x27ea65,this[_0x53cd8c(0x3d5)]=_0x5c420d,this[_0x53cd8c(0xcd)]=_0x417a2c,_0x2109ac(this,'_timeoutState$',new _0x3a9a2c[(_0x53cd8c(0x1ba))](null)),_0x2109ac(this,'_interactionBlocked$',new _0x3a9a2c[(_0x53cd8c(0x1ba))](!0x1)),_0x2109ac(this,'_messageIds',new Set()),_0x2109ac(this,'_blockProgressWatches',new Map()),_0x2109ac(this,_0x53cd8c(0x28a),new Set()),_0x2109ac(this,_0x53cd8c(0x2f8),new Map()),_0x2109ac(this,_0x53cd8c(0x24e),void 0x0),_0x2109ac(this,_0x53cd8c(0x3a3),void 0x0),_0x2109ac(this,_0x53cd8c(0x17b),void 0x0),_0x2109ac(this,_0x53cd8c(0x3d1),this[_0x53cd8c(0x2c2)][_0x53cd8c(0x12b)]());let _0x1d1c3a=()=>(0x0,_0x1f628d[_0x53cd8c(0x3f9)])(_0x3e995f,{'state$':this[_0x53cd8c(0x3d1)],'interactionBlocked$':this[_0x53cd8c(0x26f)]});this['disposeWithMe'](_0x58a932[_0x53cd8c(0x210)](_0xad5ce[_0x53cd8c(0xaf)][_0x53cd8c(0x163)],()=>(0x0,_0xad5ce[_0x53cd8c(0x3ad)])(_0x1d1c3a,this[_0x53cd8c(0x2f4)]))),this[_0x53cd8c(0x2da)](this[_0x53cd8c(0x142)][_0x53cd8c(0x3e7)][_0x53cd8c(0x341)](_0x2c9aa3=>{const _0x2fce55=_0x53cd8c;this[_0x2fce55(0x2f8)]=_0x2c9aa3,_0x2c9aa3[_0x2fce55(0x32f)](_0x105c62=>{const _0x5796d0=_0x2fce55;this[_0x5796d0(0x286)](_0x105c62),this['_updateSheetPreview'](_0x105c62);});})),this['disposeWithMe'](this['_urlService']['urlChange$'][_0x53cd8c(0x341)](()=>{const _0x5a6e09=_0x53cd8c;this[_0x5a6e09(0x2f8)]['forEach'](_0x45fe11=>{const _0x2526ff=_0x5a6e09;this['_updateMessage'](_0x45fe11),this[_0x2526ff(0xf0)](_0x45fe11);});}));}[_0x386c9a(0x228)](){const _0x41a5e9=_0x386c9a;var _0x341291;if(this[_0x41a5e9(0x245)]['forEach'](_0x5a1b1a=>this['_messageService'][_0x41a5e9(0x294)](_0x5a1b1a)),this[_0x41a5e9(0x245)][_0x41a5e9(0x2e2)](),this[_0x41a5e9(0x24e)]){var _0x177776;(_0x177776=this[_0x41a5e9(0x17b)])==null||_0x177776[_0x41a5e9(0x397)](this[_0x41a5e9(0x24e)]);}this[_0x41a5e9(0x24e)]=void 0x0,this[_0x41a5e9(0x399)][_0x41a5e9(0x32f)](({timeoutId:_0x285695})=>clearTimeout(_0x285695)),this[_0x41a5e9(0x399)]['clear'](),(_0x341291=this['_shortcutBlock'])==null||_0x341291['dispose'](),this[_0x41a5e9(0x3a3)]=void 0x0,this[_0x41a5e9(0x2c2)][_0x41a5e9(0x30c)](),this[_0x41a5e9(0x26f)][_0x41a5e9(0x30c)](),super[_0x41a5e9(0x228)]();}[_0x386c9a(0x286)](_0xc3effe){const _0x401dc4=_0x386c9a;let _0x1cfe2d=''+_0x432166+_0xc3effe[_0x401dc4(0x232)];if(_0xc3effe[_0x401dc4(0x258)]===_0x1cdb30[_0x401dc4(0x34b)][_0x401dc4(0x298)]){if(this['_clearBlockProgressWatch'](_0xc3effe['unitId']),this['_isVisibleUnit'](_0xc3effe[_0x401dc4(0x232)])&&this[_0x401dc4(0x24e)]===_0xc3effe[_0x401dc4(0x232)]){this[_0x401dc4(0x1dc)][_0x401dc4(0x386)]({'id':_0x1cfe2d,'type':_0x36a1a4[_0x401dc4(0x212)][_0x401dc4(0x28b)],'duration':0x1/0x0,'content':this[_0x401dc4(0xeb)]['t'](_0x401dc4(0xfe))}),this['_messageIds'][_0x401dc4(0x3d8)](_0x1cfe2d);return;}this[_0x401dc4(0x36d)](_0xc3effe[_0x401dc4(0x232)]),this[_0x401dc4(0x1dc)][_0x401dc4(0x294)](_0x1cfe2d),this['_messageIds'][_0x401dc4(0x22f)](_0x1cfe2d);return;}if(!this[_0x401dc4(0x308)](_0xc3effe[_0x401dc4(0x232)])){this[_0x401dc4(0x35b)](_0xc3effe[_0x401dc4(0x232)]),this[_0x401dc4(0x36d)](_0xc3effe['unitId']),this['_messageService'][_0x401dc4(0x294)](_0x1cfe2d),this[_0x401dc4(0x245)]['delete'](_0x1cfe2d);return;}if(_0xc3effe[_0x401dc4(0x258)]===_0x1cdb30[_0x401dc4(0x34b)][_0x401dc4(0x379)]){this[_0x401dc4(0x35b)](_0xc3effe[_0x401dc4(0x232)]),this['_clearTimeoutState'](_0xc3effe['unitId']),this[_0x401dc4(0x1dc)][_0x401dc4(0x386)]({'id':_0x1cfe2d,'type':_0x36a1a4[_0x401dc4(0x212)][_0x401dc4(0xc9)],'content':this[_0x401dc4(0xeb)]['t'](_0x401dc4(0x3bc))}),this[_0x401dc4(0x245)][_0x401dc4(0x22f)](_0x1cfe2d);return;}if(_0xc3effe['stage']!==_0x1cdb30[_0x401dc4(0x34b)][_0x401dc4(0x2d9)]||_0xc3effe[_0x401dc4(0x387)]<=0xa){this['_clearBlockProgressWatch'](_0xc3effe['unitId']),this['_messageService'][_0x401dc4(0x294)](_0x1cfe2d),this[_0x401dc4(0x245)]['delete'](_0x1cfe2d);return;}this[_0x401dc4(0x24b)](_0xc3effe)||(this['_messageService']['show']({'id':_0x1cfe2d,'type':_0x36a1a4['MessageType'][_0x401dc4(0x28b)],'duration':0x1/0x0,'content':this[_0x401dc4(0xeb)]['t'](_0x401dc4(0xab))+'\x20'+_0xc3effe['loadedBlocks']+'/'+_0xc3effe[_0x401dc4(0x387)]}),this[_0x401dc4(0x245)][_0x401dc4(0x3d8)](_0x1cfe2d));}[_0x386c9a(0x24b)](_0x4ab6a5){const _0x89d8f0=_0x386c9a;let _0x2fb3d9=this['_blockProgressWatches'][_0x89d8f0(0x26b)](_0x4ab6a5[_0x89d8f0(0x232)]);if((_0x2fb3d9==null?void 0x0:_0x2fb3d9[_0x89d8f0(0xac)])===_0x4ab6a5[_0x89d8f0(0xac)])return _0x2fb3d9[_0x89d8f0(0x3be)];this[_0x89d8f0(0x35b)](_0x4ab6a5['unitId']);let _0x25eeed=setTimeout(()=>{const _0x3bc852=_0x89d8f0;let _0x15d630=this[_0x3bc852(0x399)][_0x3bc852(0x26b)](_0x4ab6a5[_0x3bc852(0x232)]);if(!_0x15d630||_0x15d630[_0x3bc852(0x2f3)]!==_0x25eeed)return;_0x15d630[_0x3bc852(0x3be)]=!0x0;let _0xa29fc2=''+_0x432166+_0x4ab6a5[_0x3bc852(0x232)];this['_messageService'][_0x3bc852(0x294)](_0xa29fc2),this[_0x3bc852(0x245)][_0x3bc852(0x22f)](_0xa29fc2),this[_0x3bc852(0x2c2)][_0x3bc852(0x362)]({'unitId':_0x4ab6a5[_0x3bc852(0x232)],'content':this[_0x3bc852(0xeb)]['t']('collaboration-client-ui.snapshotLoading.timeout',String(_0x4ab6a5[_0x3bc852(0xac)]),String(_0x4ab6a5['totalBlocks'])),'refreshLabel':this[_0x3bc852(0xeb)]['t']('collaboration-client-ui.snapshotLoading.refresh')});},0xea60);return this[_0x89d8f0(0x399)][_0x89d8f0(0x2eb)](_0x4ab6a5[_0x89d8f0(0x232)],{'loadedBlocks':_0x4ab6a5[_0x89d8f0(0xac)],'timedOut':!0x1,'timeoutId':_0x25eeed}),!0x1;}[_0x386c9a(0x35b)](_0x190147){const _0xcce99e=_0x386c9a;let _0x15ef57=this[_0xcce99e(0x399)][_0xcce99e(0x26b)](_0x190147);_0x15ef57&&(clearTimeout(_0x15ef57[_0xcce99e(0x2f3)]),this[_0xcce99e(0x399)][_0xcce99e(0x22f)](_0x190147),this[_0xcce99e(0x36d)](_0x190147));}['_clearTimeoutState'](_0x185f33){const _0x1ef7c5=_0x386c9a;var _0x227907;((_0x227907=this[_0x1ef7c5(0x2c2)][_0x1ef7c5(0x401)])==null?void 0x0:_0x227907[_0x1ef7c5(0x232)])===_0x185f33&&this[_0x1ef7c5(0x2c2)][_0x1ef7c5(0x362)](null);}[_0x386c9a(0xf0)](_0x4dd801){const _0x1be82d=_0x386c9a;if(_0x4dd801['stage']===_0x1cdb30[_0x1be82d(0x34b)][_0x1be82d(0x1d0)]&&this[_0x1be82d(0x28a)][_0x1be82d(0x22f)](_0x4dd801[_0x1be82d(0x232)]),!this[_0x1be82d(0x308)](_0x4dd801['unitId'])){this[_0x1be82d(0x2ba)](_0x4dd801[_0x1be82d(0x232)]);return;}if(_0x4dd801['stage']===_0x1cdb30[_0x1be82d(0x34b)][_0x1be82d(0x379)]||_0x4dd801[_0x1be82d(0x387)]<=0xa){this[_0x1be82d(0x2ba)](_0x4dd801[_0x1be82d(0x232)]);return;}if(_0x4dd801[_0x1be82d(0x258)]===_0x1cdb30[_0x1be82d(0x34b)][_0x1be82d(0x298)]){this[_0x1be82d(0x129)](_0x4dd801[_0x1be82d(0x232)]);return;}if(_0x4dd801[_0x1be82d(0x258)]===_0x1cdb30[_0x1be82d(0x34b)][_0x1be82d(0x2d9)]&&_0x4dd801[_0x1be82d(0x17e)]&&_0x4dd801[_0x1be82d(0xd4)]){let _0x28e6cf=this[_0x1be82d(0x25c)]();if(!_0x28e6cf)return;this[_0x1be82d(0x24e)]&&this['_previewUnitId']!==_0x4dd801['unitId']&&this['_hidePreview'](this[_0x1be82d(0x24e)]),_0x28e6cf[_0x1be82d(0x3cc)](_0x4dd801[_0x1be82d(0x17e)],_0x4dd801[_0x1be82d(0xd4)]),this[_0x1be82d(0x24e)]=_0x4dd801[_0x1be82d(0x232)],this['_setInteractionBlocked'](!0x0),_0x4dd801[_0x1be82d(0x324)]&&_0x28e6cf[_0x1be82d(0x386)](_0x4dd801[_0x1be82d(0x17e)],_0x4dd801[_0x1be82d(0xd4)],_0x4dd801[_0x1be82d(0x168)]);}}[_0x386c9a(0x129)](_0x2df5e5){const _0x21f0b0=_0x386c9a;if(this['_previewUnitId']!==_0x2df5e5||this['_handoffUnitIds'][_0x21f0b0(0x244)](_0x2df5e5))return;let _0x4bca67=this[_0x21f0b0(0x17b)];_0x4bca67&&(this[_0x21f0b0(0x28a)][_0x21f0b0(0x3d8)](_0x2df5e5),_0x4bca67[_0x21f0b0(0x348)](_0x2df5e5,0x2710)[_0x21f0b0(0x11a)](_0x496f46=>{const _0x39a5d3=_0x21f0b0;if(this[_0x39a5d3(0x24e)]!==_0x2df5e5)return;if(_0x496f46){let _0x1831e0=''+_0x432166+_0x2df5e5;this[_0x39a5d3(0x1dc)][_0x39a5d3(0x294)](_0x1831e0),this['_messageIds'][_0x39a5d3(0x22f)](_0x1831e0),this[_0x39a5d3(0x24e)]=void 0x0,this[_0x39a5d3(0x377)](!0x1);return;}let _0xff6f8e=''+_0x432166+_0x2df5e5;this[_0x39a5d3(0x1dc)][_0x39a5d3(0x294)](_0xff6f8e),this[_0x39a5d3(0x245)][_0x39a5d3(0x22f)](_0xff6f8e),this['_timeoutState$'][_0x39a5d3(0x362)]({'unitId':_0x2df5e5,'content':this[_0x39a5d3(0xeb)]['t'](_0x39a5d3(0x3bc)),'refreshLabel':this['_localeService']['t']('collaboration-client-ui.snapshotLoading.refresh')});}));}[_0x386c9a(0x2ba)](_0x8a8692){const _0x563a3d=_0x386c9a;var _0x1953bb;this['_previewUnitId']===_0x8a8692&&((_0x1953bb=this['_sheetLoadingRenderService'])==null||_0x1953bb[_0x563a3d(0x397)](_0x8a8692),this[_0x563a3d(0x24e)]=void 0x0,this[_0x563a3d(0x377)](!0x1));}[_0x386c9a(0x377)](_0xc9f758){const _0x56db51=_0x386c9a;if(_0xc9f758!==this['_interactionBlocked$'][_0x56db51(0x401)]){if(_0xc9f758)this[_0x56db51(0x3a3)]=this[_0x56db51(0x3d5)][_0x56db51(0x240)]();else{var _0x567a38;(_0x567a38=this['_shortcutBlock'])==null||_0x567a38[_0x56db51(0x228)](),this[_0x56db51(0x3a3)]=void 0x0;}this[_0x56db51(0x26f)][_0x56db51(0x362)](_0xc9f758);}}['_isVisibleUnit'](_0xf1f16b){const _0x1911be=_0x386c9a;let _0x39e440=this[_0x1911be(0xcd)][_0x1911be(0x3c4)](_0x1911be(0x1f3));return!_0x39e440||_0x39e440===_0xf1f16b;}[_0x386c9a(0x25c)](){const _0x118b69=_0x386c9a;return this[_0x118b69(0x17b)]?this['_sheetLoadingRenderService']:(this[_0x118b69(0x14d)]['startPluginsForType'](_0x3188ec[_0x118b69(0x28e)][_0x118b69(0x133)]),this[_0x118b69(0x2f4)][_0x118b69(0x244)](_0x4d43bb[_0x118b69(0x39c)])&&(this[_0x118b69(0x17b)]=this['_injector'][_0x118b69(0x26b)](_0x4d43bb[_0x118b69(0x39c)])),this['_sheetLoadingRenderService']);}};_0x122225=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x1cdb30[_0x386c9a(0x226)])),_0x148b43(0x1,_0xad5ce[_0x386c9a(0xf1)]),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x2cb)])),_0x148b43(0x3,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x4,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0xde)])),_0x148b43(0x5,_0xad5ce[_0x386c9a(0x214)]),_0x148b43(0x6,_0xad5ce[_0x386c9a(0x1c9)]),_0x148b43(0x7,_0x34f04d)],_0x122225);function _0x5116fe(_0x18f564){const _0x1bc9de=_0x386c9a;var _0x2d4caa,_0x505fe7;let _0x10c939=(_0x2d4caa=_0x18f564[_0x1bc9de(0x101)])==null?void 0x0:_0x2d4caa[_0x1bc9de(0x258)],_0x40375c=((_0x505fe7=_0x18f564['stageInfo'])==null?void 0x0:_0x505fe7[_0x1bc9de(0x2bd)])||0x0;return _0x10c939===_0x3b4f90['FormulaExecuteStageType'][_0x1bc9de(0xb1)]&&_0x40375c>0x0;}function _0x4cde66(_0x251ed2){const _0x4f9f00=_0x386c9a;return _0x251ed2[_0x4f9f00(0x1ec)]===_0x3b4f90[_0x4f9f00(0x3f5)][_0x4f9f00(0x148)];}let _0x5165a0=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0xdd191a,_0x5673d4,_0x20bc1f,_0x877669,_0x1cd3e0,_0x207971,_0x3b560c){const _0x23d20d=_0x386c9a;super(),this[_0x23d20d(0x1dc)]=_0xdd191a,this[_0x23d20d(0xc7)]=_0x5673d4,this['_configService']=_0x20bc1f,this[_0x23d20d(0x2b3)]=_0x877669,this[_0x23d20d(0x315)]=_0x1cd3e0,this[_0x23d20d(0x125)]=_0x207971,this[_0x23d20d(0xeb)]=_0x3b560c,_0x2109ac(this,_0x23d20d(0x234),null),_0x2109ac(this,_0x23d20d(0x154),0x0),_0x2109ac(this,_0x23d20d(0x2a5),0x0),_0x2109ac(this,'_taskIds',[]),_0x2109ac(this,_0x23d20d(0x1fb),0x0),this['_initCommandInterceptor']();}[_0x386c9a(0x230)](){const _0x3274dc=_0x386c9a;this[_0x3274dc(0x2da)](this[_0x3274dc(0xc7)][_0x3274dc(0x2bf)]((_0x1bb264,_0x1f4a37)=>{const _0x277d4c=_0x3274dc;var _0x5c0520;if(_0x1bb264['id']!==_0x3b4f90[_0x277d4c(0x18d)]['id'])return;let _0x5a4e21=_0x1bb264[_0x277d4c(0x3a4)];if(this[_0x277d4c(0x1cc)]((_0x5c0520=_0x5a4e21[_0x277d4c(0x31f)])==null?[]:_0x5c0520)&&!this[_0x277d4c(0x2d3)]())throw this['_checkAndWaitForCalculationPermission'](_0x1bb264,_0x1f4a37),this[_0x277d4c(0x2cd)](),new _0x3188ec[(_0x277d4c(0x1c0))]();})),this[_0x3274dc(0x2da)](this['_commandService'][_0x3274dc(0xaa)]((_0xd0504b,_0x131e1a)=>{const _0x11e644=_0x3274dc;if(_0xd0504b['id']!==_0x3b4f90[_0x11e644(0x20e)]['id'])return;let _0x56ce2d=_0xd0504b[_0x11e644(0x3a4)];if(_0x5116fe(_0x56ce2d)){let _0x59b955=(0x0,_0x3188ec[_0x11e644(0x1b4)])();this[_0x11e644(0x3e4)][_0x11e644(0x18e)](_0x59b955),this[_0x11e644(0xce)](_0x59b955);}else{if(_0x4cde66(_0x56ce2d)&&this[_0x11e644(0x3e4)][_0x11e644(0x368)]>0x0){let _0x30a659=this['_taskIds'][_0x11e644(0x23e)]();this[_0x11e644(0x36f)](_0x30a659);}}}));}[_0x386c9a(0x228)](){const _0x263841=_0x386c9a;super[_0x263841(0x228)](),this[_0x263841(0x222)](),this[_0x263841(0x3e4)]=[],this[_0x263841(0x2a5)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x263841(0x1fb)]=0x0;}async[_0x386c9a(0x34f)](_0x4e4d85,_0x1ecd08){const _0x48362f=_0x386c9a;for(let _0x2fd993=0x0;_0x2fd993<0x1e;_0x2fd993++)try{if(await this['_getFormulaLimitStatus'](),this[_0x48362f(0x2d3)]()){this[_0x48362f(0x1b5)](_0x4e4d85,_0x1ecd08),this[_0x48362f(0x1dc)][_0x48362f(0x386)]({'content':this['_localeService']['t'](_0x48362f(0x2b5)),'type':_0x36a1a4['MessageType'][_0x48362f(0x241)]});return;}await new Promise(_0x1b0bb0=>{const _0x31203d=_0x48362f;this[_0x31203d(0x234)]=window['setTimeout'](_0x1b0bb0,0x3e8);});}catch(_0x3e2b03){this['_logService'][_0x48362f(0x3f1)](_0x3e2b03);}this[_0x48362f(0x1dc)][_0x48362f(0x386)]({'content':this[_0x48362f(0xeb)]['t'](_0x48362f(0x288)),'type':_0x36a1a4[_0x48362f(0x212)]['Error']});}[_0x386c9a(0x1b5)](_0xffd661,_0x26027b){const _0x5c7ca4=_0x386c9a;try{this['_commandService'][_0x5c7ca4(0x381)](_0xffd661['id'],_0xffd661['params'],_0x26027b);}catch(_0x1d76b6){this[_0x5c7ca4(0x125)][_0x5c7ca4(0x3f1)](_0x1d76b6);}}['_setFormulaLimitStatus'](_0x1a2f1b,_0x205297){const _0x2aa1fe=_0x386c9a;_0x205297<this[_0x2aa1fe(0x1fb)]||(this[_0x2aa1fe(0x1fb)]=_0x205297,this['_maxFormulaLimit']=Number['parseInt'](_0x1a2f1b[_0x2aa1fe(0x2d6)]),this[_0x2aa1fe(0x2a5)]=Number[_0x2aa1fe(0x11d)](_0x1a2f1b[_0x2aa1fe(0x186)]));}async[_0x386c9a(0xce)](_0x1df892){const _0x3f232a=_0x386c9a;let _0x157b76=Date[_0x3f232a(0x26e)]();try{var _0x245885,_0x214ff7;let _0x10a964=((_0x245885=this[_0x3f232a(0x270)][_0x3f232a(0x29a)](_0x2248ce[_0x3f232a(0xfd)]))==null?void 0x0:_0x245885[_0x3f232a(0x39b)])||_0x3f232a(0x249),_0xfb0302=(await this[_0x3f232a(0x2b3)][_0x3f232a(0x172)](_0x10a964,{'body':JSON[_0x3f232a(0x257)]({'taskId':_0x1df892})}))['body'];if(((_0x214ff7=_0xfb0302[_0x3f232a(0x3f1)])==null?void 0x0:_0x214ff7['code'])!==_0x46dd95[_0x3f232a(0x2e1)]['OK'])return;this[_0x3f232a(0x384)](_0xfb0302[_0x3f232a(0x3ee)],_0x157b76);}catch(_0x1a8921){this[_0x3f232a(0x125)][_0x3f232a(0x3f1)](_0x1a8921);}}async['_getFormulaLimitStatus'](_0x3e5118){const _0x597294=_0x386c9a;let _0x38d704=Date[_0x597294(0x26e)]();try{var _0x3bbdfe,_0x17cc00;let _0x302eaf=((_0x3bbdfe=this[_0x597294(0x270)][_0x597294(0x29a)](_0x2248ce[_0x597294(0xfd)]))==null?void 0x0:_0x3bbdfe[_0x597294(0x1db)])||'/universer-api/license/formula/limit/status',_0x335066=_0x3e5118?_0x302eaf+_0x597294(0x1a9)+encodeURIComponent(_0x3e5118):_0x302eaf,_0x39a360=(await this[_0x597294(0x2b3)][_0x597294(0x26b)](_0x335066))[_0x597294(0xd9)];if(((_0x17cc00=_0x39a360[_0x597294(0x3f1)])==null?void 0x0:_0x17cc00[_0x597294(0x225)])!==_0x46dd95[_0x597294(0x2e1)]['OK'])return;this[_0x597294(0x384)](_0x39a360[_0x597294(0x3ee)],_0x38d704);}catch(_0x571f78){this[_0x597294(0x125)]['error'](_0x571f78);}}async['_releaseCalculationLimit'](_0x50b9c8){const _0x476d58=_0x386c9a;let _0x1311fc=Date[_0x476d58(0x26e)]();try{var _0x148287,_0x4b2b02;let _0x5ec5f5=((_0x148287=this[_0x476d58(0x270)][_0x476d58(0x29a)](_0x2248ce[_0x476d58(0xfd)]))==null?void 0x0:_0x148287['releaseFormulaLimitUrl'])||_0x476d58(0xc3),_0x47b674=(await this[_0x476d58(0x2b3)][_0x476d58(0x172)](_0x5ec5f5,{'body':JSON[_0x476d58(0x257)]({'taskId':_0x50b9c8})}))[_0x476d58(0xd9)];if(((_0x4b2b02=_0x47b674[_0x476d58(0x3f1)])==null?void 0x0:_0x4b2b02[_0x476d58(0x225)])!==_0x46dd95['ErrorCode']['OK'])return;this[_0x476d58(0x384)](_0x47b674['limitInfo'],_0x1311fc);}catch(_0x1202b8){this[_0x476d58(0x125)][_0x476d58(0x3f1)](_0x1202b8);}}['_checkCalculationAvailable'](){const _0x2eb254=_0x386c9a;return this[_0x2eb254(0x154)]===0x0||this[_0x2eb254(0x154)]-this['_currentUsage']>0x0;}[_0x386c9a(0x222)](){const _0x12b199=_0x386c9a;this[_0x12b199(0x234)]&&(clearTimeout(this[_0x12b199(0x234)]),this[_0x12b199(0x234)]=null);}['_showGuardMessage'](){const _0x2114b7=_0x386c9a;this[_0x2114b7(0x1dc)][_0x2114b7(0x386)]({'content':this['_localeService']['t'](_0x2114b7(0x1a7)),'type':_0x36a1a4['MessageType'][_0x2114b7(0x28b)]});}['_hasFormulaInDirtyRanges'](_0x401bb3){const _0x1c2873=_0x386c9a;for(let _0x3b564f of _0x401bb3){let {unitId:_0x4464e8,sheetId:_0x523250,range:_0x4d5d31}=_0x3b564f,_0x2a1ae2=this['_univerInstanceService']['getUnit'](_0x4464e8,_0x3188ec['UniverInstanceType']['UNIVER_SHEET']);if(!_0x2a1ae2)continue;let _0x36c16c=_0x2a1ae2[_0x1c2873(0x2e6)](_0x523250);if(!_0x36c16c)continue;let _0x34fb8d=_0x36c16c[_0x1c2873(0x21f)]();for(let _0x12934d=_0x4d5d31[_0x1c2873(0x200)];_0x12934d<=_0x4d5d31['endRow'];_0x12934d++)for(let _0x2932c8=_0x4d5d31[_0x1c2873(0x2fb)];_0x2932c8<=_0x4d5d31[_0x1c2873(0x279)];_0x2932c8++){let _0x29b9e3=_0x34fb8d[_0x1c2873(0x1c7)](_0x12934d,_0x2932c8);if(_0x29b9e3&&((0x0,_0x3188ec[_0x1c2873(0x307)])(_0x29b9e3['f'])||(0x0,_0x3188ec['isFormulaId'])(_0x29b9e3['si'])))return!0x0;}}return!0x1;}};_0x5165a0=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0xad5ce[_0x386c9a(0xf1)])),_0x148b43(0x1,_0x3188ec[_0x386c9a(0x13c)]),_0x148b43(0x2,_0x3188ec[_0x386c9a(0x146)]),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x29944c[_0x386c9a(0xb8)])),_0x148b43(0x4,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x5,_0x3188ec[_0x386c9a(0x3eb)]),_0x148b43(0x6,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x2cb)]))],_0x5165a0);let _0x26b43b=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x4cc32e,_0x2581e5,_0x13bc21){const _0x4dfa3c=_0x386c9a;super(),this[_0x4dfa3c(0x270)]=_0x4cc32e,this[_0x4dfa3c(0x204)]=_0x2581e5,this[_0x4dfa3c(0x1d6)]=_0x13bc21,_0x2109ac(this,_0x4dfa3c(0x118),new Map()),_0x2109ac(this,'_saveTaskMap',new Map()),_0x2109ac(this,_0x4dfa3c(0x1f2),!0x1);}[_0x386c9a(0x182)](){const _0x522413=_0x386c9a;this[_0x522413(0x1f2)]=!0x0;}[_0x386c9a(0x2c5)](){const _0x2f2496=_0x386c9a;this[_0x2f2496(0x1f2)]=!0x1;}get[_0x386c9a(0x24d)](){const _0x35c914=_0x386c9a;return this[_0x35c914(0x14b)];}['dispose'](){const _0x5e636d=_0x386c9a;this[_0x5e636d(0x171)]()[_0x5e636d(0x11a)](()=>super[_0x5e636d(0x228)]());}async['loadOfflineData'](_0x487cfe){const _0x10fd60=_0x386c9a;return this[_0x10fd60(0x1f2)]?null:this[_0x10fd60(0x204)]['getItem']((0x0,_0x2248ce['getLocalCacheKey'])(_0x487cfe));}async['saveOfflineData'](_0x5d44e5,_0x4725a1){const _0x574ec1=_0x386c9a;return!!this[_0x574ec1(0x204)][_0x574ec1(0x21e)]((0x0,_0x2248ce[_0x574ec1(0x2aa)])(_0x5d44e5),_0x4725a1);}async[_0x386c9a(0x1c8)](_0x5044a4,_0x2715ae){const _0x1c4b76=_0x386c9a;var _0x26fa55;let _0x286529=(_0x26fa55=this[_0x1c4b76(0x118)][_0x1c4b76(0x26b)](_0x5044a4))==null?await this['_localStorageService'][_0x1c4b76(0x360)]((0x0,_0x2248ce['getLocalCacheKey'])(_0x5044a4)):_0x26fa55;if(!_0x286529)return;let _0x403f3f=Date['now'](),_0x2f1540=new Date(_0x403f3f)[_0x1c4b76(0x208)]();await this[_0x1c4b76(0x204)][_0x1c4b76(0x21e)]((0x0,_0x2248ce[_0x1c4b76(0x2aa)])(_0x5044a4)+_0x1c4b76(0x320)+_0x403f3f,{'reason':_0x2715ae,'createdAt':_0x2f1540,'data':_0x286529});}[_0x386c9a(0x2c7)](_0x1abe52,_0x2f8657,_0x441fb7,_0x561653){const _0x90495d=_0x386c9a;let _0x5677b1=this['_revisionService']['getCurrentRevOfUnit'](_0x1abe52);this['_cachedData']['set'](_0x1abe52,{'unitID':_0x1abe52,'type':_0x2f8657,'awaitingChangeset':_0x441fb7,'mutations':_0x561653,'rev':_0x5677b1}),this[_0x90495d(0x14b)][_0x90495d(0x244)](_0x1abe52)||this[_0x90495d(0x1fc)](_0x1abe52);}[_0x386c9a(0x1fc)](_0x5ef1ad){const _0x6f21fb=_0x386c9a;let _0x4147f1=this['_getSaveTimeout']();_0x4147f1===0x0?this[_0x6f21fb(0x3f7)](_0x5ef1ad):this['_saveTaskMap'][_0x6f21fb(0x2eb)](_0x5ef1ad,window[_0x6f21fb(0x2f1)](()=>this[_0x6f21fb(0x3f7)](_0x5ef1ad),_0x4147f1));}[_0x386c9a(0x13f)](){const _0xa2d941=_0x386c9a;var _0x1e17ee;return(_0x1e17ee=this[_0xa2d941(0x270)][_0xa2d941(0x29a)](_0x2248ce[_0xa2d941(0x21b)]))==null?_0x2248ce[_0xa2d941(0x3bb)]:_0x1e17ee;}[_0x386c9a(0x3f7)](_0x31ba1f){const _0x53b4d6=_0x386c9a;let _0x2569f=this[_0x53b4d6(0x14b)][_0x53b4d6(0x26b)](_0x31ba1f);return _0x2569f!==void 0x0&&window[_0x53b4d6(0x3c6)](_0x2569f),this[_0x53b4d6(0x204)][_0x53b4d6(0x21e)]((0x0,_0x2248ce[_0x53b4d6(0x2aa)])(_0x31ba1f),this['_cachedData'][_0x53b4d6(0x26b)](_0x31ba1f))['then'](()=>this[_0x53b4d6(0x14b)]['delete'](_0x31ba1f));}async['exhaustSavingTask'](){const _0x5d1166=_0x386c9a;let _0x2db30c=[];this[_0x5d1166(0x14b)][_0x5d1166(0x32f)]((_0xab3411,_0x59973a)=>{const _0x102c8f=_0x5d1166;window[_0x102c8f(0x3c6)](_0xab3411),_0x2db30c['push'](this[_0x102c8f(0x3f7)](_0x59973a)[_0x102c8f(0x11a)](()=>{const _0x39f783=_0x102c8f;this[_0x39f783(0x14b)][_0x39f783(0x22f)](_0x59973a);}));}),await Promise[_0x5d1166(0x32e)](_0x2db30c);}};_0x26b43b=_0x442f80([_0x148b43(0x0,_0x3188ec[_0x386c9a(0x146)]),_0x148b43(0x1,_0x3188ec[_0x386c9a(0xa8)]),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x1cdb30[_0x386c9a(0xbf)]))],_0x26b43b);var _0x2c2ba3=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(){const _0x235b22=_0x386c9a;super(),_0x2109ac(this,_0x235b22(0xe1),void 0x0),this[_0x235b22(0xe1)]=(0x0,_0x3a9a2c[_0x235b22(0x293)])(window,_0x235b22(0xd8))[_0x235b22(0x32a)]((0x0,_0x3a9a2c[_0x235b22(0x1ef)])(this[_0x235b22(0x181)]),(0x0,_0x3a9a2c[_0x235b22(0x16f)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x3a9a2c[_0x235b22(0x32b)])(void 0x0));}['setParam'](_0x2bc58b,_0x3fcf7f,_0x29bbab=!0x1){const _0x3d30b1=_0x386c9a;let _0x151dde=new URL(window[_0x3d30b1(0x1c4)][_0x3d30b1(0x351)]);_0x151dde[_0x3d30b1(0x1ff)][_0x3d30b1(0x2eb)](_0x2bc58b,_0x3fcf7f),_0x29bbab?window[_0x3d30b1(0x2e5)][_0x3d30b1(0x37b)]('','',_0x151dde[_0x3d30b1(0xe5)]()):window['history']['pushState']('','',_0x151dde['toString']());}[_0x386c9a(0x1fd)](_0x2c0244,_0xb9e8f2=!0x1){const _0x444434=_0x386c9a;let _0x106431=new URL(window['location']['href']);_0x106431[_0x444434(0x1ff)]['delete'](_0x2c0244),_0xb9e8f2?window['history'][_0x444434(0x37b)]('','',_0x106431[_0x444434(0xe5)]()):window[_0x444434(0x2e5)][_0x444434(0x135)]('','',_0x106431['toString']());}[_0x386c9a(0x3c4)](_0x5979fd){const _0x499b9b=_0x386c9a;var _0x416884;return(_0x416884=new URL(window[_0x499b9b(0x1c4)][_0x499b9b(0x351)])[_0x499b9b(0x1ff)][_0x499b9b(0x26b)](_0x5979fd))==null?void 0x0:_0x416884;}};let _0x523635=class extends _0x3188ec[_0x386c9a(0xe4)]{constructor(_0x2c316e=_0x38b360,_0x20a138,_0x30ddc6,_0x35ee6d){const _0x343fe0=_0x386c9a;super(),this[_0x343fe0(0x364)]=_0x2c316e,this[_0x343fe0(0x3c5)]=_0x20a138,this[_0x343fe0(0x2f4)]=_0x30ddc6,this[_0x343fe0(0x270)]=_0x35ee6d;let {..._0x5cd935}=(0x0,_0x3188ec[_0x343fe0(0x252)])({},_0x38b360,this['_config']);this['_configService'][_0x343fe0(0xdf)](_0x343fe0(0x119),_0x5cd935);}[_0x386c9a(0x18c)](){const _0x5b827c=_0x386c9a;this[_0x5b827c(0xd2)](),this[_0x5b827c(0x2d1)]();}[_0x386c9a(0x152)](){const _0x4ec24e=_0x386c9a;this[_0x4ec24e(0x175)]();}[_0x386c9a(0xd2)](){const _0x427b88=_0x386c9a;var _0x3afbfd;let _0x77d732=[[_0x4cf754],[_0x5165a0],[_0x34f04d,{'useClass':_0x2c2ba3}],[_0x29944c[_0x427b88(0x1cf)],{'useClass':_0x29944c[_0x427b88(0x3db)]}],[_0x2248ce[_0x427b88(0x251)],{'useClass':_0x26b43b}],[_0x1152cb],[_0x21e743],[_0x4e3b37],[_0x54c193],[_0x1f1812],[_0x122225]];this[_0x427b88(0x364)][_0x427b88(0x3cb)]!==!0x1&&_0x77d732[_0x427b88(0x18e)]([_0x51eddf],[_0x10c576],[_0x5e6353],[_0x31641e],[_0x2ea462],[_0x4c0fe9]),this[_0x427b88(0x364)][_0x427b88(0x156)]&&_0x77d732[_0x427b88(0x18e)]([_0x450c2a]),(0x0,_0x3188ec[_0x427b88(0x2ea)])(this[_0x427b88(0x2f4)],(0x0,_0x3188ec[_0x427b88(0x217)])(_0x77d732,(_0x3afbfd=this[_0x427b88(0x364)])==null?void 0x0:_0x3afbfd[_0x427b88(0x3f8)]));}['_registerRenderDependencies'](){const _0x533ef3=_0x386c9a;this[_0x533ef3(0x364)][_0x533ef3(0x3cb)]!==!0x1&&this[_0x533ef3(0x2da)](this['_renderManagerService']['registerRenderModule'](_0x3188ec[_0x533ef3(0x28e)][_0x533ef3(0x3ae)],[_0x55d48b])),this['disposeWithMe'](this[_0x533ef3(0x3c5)][_0x533ef3(0x2d5)](_0x3188ec[_0x533ef3(0x28e)][_0x533ef3(0x133)],[_0x460895])),this[_0x533ef3(0x2da)](this[_0x533ef3(0x3c5)][_0x533ef3(0x2d5)](_0x3188ec['UniverInstanceType'][_0x533ef3(0x11c)],[_0x5b52a2])),this[_0x533ef3(0x2da)](this[_0x533ef3(0x3c5)][_0x533ef3(0x2d5)](_0x3188ec['UniverInstanceType'][_0x533ef3(0xa0)],[_0x53ff03]));}[_0x386c9a(0x2d1)](){const _0x51ecf8=_0x386c9a;(0x0,_0x3188ec[_0x51ecf8(0x254)])(this[_0x51ecf8(0x2f4)],[[_0x54c193],[_0x1152cb],[_0x21e743],[_0x4e3b37],[_0x1f1812],[_0x5165a0],[_0x122225]]),this[_0x51ecf8(0x364)][_0x51ecf8(0x3cb)]!==!0x1&&(0x0,_0x3188ec['touchDependencies'])(this[_0x51ecf8(0x2f4)],[[_0x2ea462],[_0x4c0fe9]]),this['_config'][_0x51ecf8(0x156)]&&(0x0,_0x3188ec[_0x51ecf8(0x254)])(this[_0x51ecf8(0x2f4)],[[_0x450c2a]]);}};_0x2109ac(_0x523635,_0x386c9a(0x22e),_0x386c9a(0x2ed)),_0x2109ac(_0x523635,_0x386c9a(0x2c3),_0x573e1f),_0x2109ac(_0x523635,_0x386c9a(0x30a),_0x161965),_0x523635=_0x442f80([(0x0,_0x3188ec[_0x386c9a(0x3cd)])(_0x427b41[_0x386c9a(0x127)],_0x12c761[_0x386c9a(0x2c4)],_0x38b39d['UniverRenderEnginePlugin'],_0x29944c[_0x386c9a(0x3ac)],_0x1cdb30['UniverCollaborationPlugin'],_0x390782['UniverDocsUIPlugin'],_0xad5ce['UniverUIPlugin'],_0x2248ce[_0x386c9a(0x227)]),_0x148b43(0x1,_0x38b39d[_0x386c9a(0x373)]),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x3,_0x3188ec[_0x386c9a(0x146)])],_0x523635);let _0x1c42f1=class extends _0x2248ce['CollaborationSocketService']{constructor(_0x1e093d,_0x1f6773,_0x37fd7e,_0xc871d5,_0x550bc4){super(_0x1e093d,_0x1f6773,_0x37fd7e,_0xc871d5,_0x550bc4);}async[_0x386c9a(0x3a6)](_0x1aefd2){const _0xf2c3d2=_0x386c9a;let _0x3ed75b=await this[_0xf2c3d2(0x3c3)](),_0x2a0fbe=this['_createSocketURL'](_0x1aefd2,_0x3ed75b);return this[_0xf2c3d2(0xc8)](_0x2a0fbe);}['_createSocketURL'](_0x13f1e3,_0x177eb5){const _0x19baad=_0x386c9a;let _0xf7c7e5=typeof window>'u'?new URL(_0x13f1e3):new URL(_0x13f1e3,window['location']['origin']);_0xf7c7e5[_0x19baad(0x1ff)][_0x19baad(0x2eb)]('sessionTicket',_0x177eb5);let _0x3c2847=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x19baad(0x1c4)][_0x19baad(0x1be)]);return _0x3c2847[_0x19baad(0x26b)](_0x19baad(0x375))&&_0xf7c7e5[_0x19baad(0x1ff)][_0x19baad(0x2eb)]('runId',_0x3c2847[_0x19baad(0x26b)]('runId')),_0xf7c7e5[_0x19baad(0xe5)]();}async[_0x386c9a(0x3c3)](){const _0x5a97fa=_0x386c9a;var _0xa4137a,_0x127f28,_0x2183c0;let _0x53dc7c=this[_0x5a97fa(0x270)]['getConfig'](_0x2248ce['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x23dd92=(_0xa4137a=_0x53dc7c==null?void 0x0:_0x53dc7c['wsSessionTicketUrl'])==null?_0x2248ce['DEFAULT_WS_SESSION_TICKET_URL']:_0xa4137a;return(_0x127f28=(_0x2183c0=(await this[_0x5a97fa(0x2b3)][_0x5a97fa(0x26b)](_0x23dd92,{'headers':{'Content-Type':'application/json'}}))[_0x5a97fa(0xd9)])==null?void 0x0:_0x2183c0[_0x5a97fa(0x12d)])==null?'':_0x127f28;}};_0x1c42f1=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x29944c[_0x386c9a(0xb8)])),_0x148b43(0x2,_0x3188ec['IConfigService']),_0x148b43(0x3,_0x3188ec[_0x386c9a(0x3eb)]),_0x148b43(0x4,_0x1cdb30[_0x386c9a(0x275)])],_0x1c42f1);let _0x25d2c1=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x3589b8,_0x555689,_0x217354){const _0x51003c=_0x386c9a;super(),this[_0x51003c(0x388)]=_0x3589b8,this[_0x51003c(0x2b3)]=_0x555689,this['_configService']=_0x217354;}async[_0x386c9a(0xa4)](_0x151d4e,_0x590593,_0x3d6b04,..._0x3378e7){const _0x568ece=_0x386c9a;var _0x2c1782,_0x5d1dde,_0x229991,_0x212aa6;let _0x2ebc22=this[_0x568ece(0x388)]['getFocusedUnit']();if(!_0x2ebc22)throw Error(_0x568ece(0x38d));let _0x49c944=((_0x2c1782=this['_configService'][_0x568ece(0x29a)](_0x2248ce['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))==null?_0x2248ce[_0x568ece(0x276)]:_0x2c1782)+'/'+_0x151d4e+_0x568ece(0x3c1)+_0x590593,_0x53a433={'scriptId':_0x151d4e,'runId':(_0x5d1dde=new URL(window['location'][_0x568ece(0x351)])[_0x568ece(0x1ff)][_0x568ece(0x26b)]('runId'))==null?'':_0x5d1dde,'function':_0x590593,'unitId':_0x2ebc22['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x3378e7),'invokeId':(_0x229991=_0x3d6b04[_0x568ece(0x2fe)])==null?'':_0x229991,'executionId':(_0x212aa6=_0x3d6b04[_0x568ece(0x2d8)])==null?'':_0x212aa6};try{let _0x3f5a2c=await this['_httpService']['post'](_0x49c944,{'body':_0x53a433});return _0x3f5a2c[_0x568ece(0xd9)][_0x568ece(0x3f1)]&&_0x3f5a2c['body'][_0x568ece(0x3f1)][_0x568ece(0x225)]!==_0x46dd95['ErrorCode']['OK']?_0x568ece(0x2ac):_0x3f5a2c[_0x568ece(0xd9)]['result'];}catch{return _0x568ece(0x2ac);}}};_0x25d2c1=_0x442f80([_0x148b43(0x0,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x29944c['HTTPService'])),_0x148b43(0x2,_0x3188ec[_0x386c9a(0x146)])],_0x25d2c1);let _0x3ce3ad=0x7530,_0x42121d='ACTIVE_UNIT_EVENT_CHANNEL';var _0x4806b2=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(){const _0x19a1f9=_0x386c9a;super(),_0x2109ac(this,_0x19a1f9(0x183),(0x0,_0x3188ec['generateRandomId'])()),_0x2109ac(this,_0x19a1f9(0x100),new Set()),_0x2109ac(this,_0x19a1f9(0x3df),new Map()),_0x2109ac(this,_0x19a1f9(0x199),null),_0x2109ac(this,_0x19a1f9(0x3ba),new Map()),_0x2109ac(this,_0x19a1f9(0x2dc),new Map()),this[_0x19a1f9(0x34d)]();}['dispose'](){const _0x11b8b7=_0x386c9a;super['dispose'](),this[_0x11b8b7(0x3ba)][_0x11b8b7(0x32f)]((_0x65cf57,_0x5db19f)=>this[_0x11b8b7(0x367)](_0x5db19f)),this[_0x11b8b7(0x199)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x386c9a(0x248)](_0x496798){const _0x44ed88=_0x386c9a;return this[_0x44ed88(0x355)](_0x496798)['pipe']((0x0,_0x3a9a2c[_0x44ed88(0x3e2)])());}[_0x386c9a(0x3ed)](_0x163352){const _0x1138fb=_0x386c9a;this[_0x1138fb(0x100)][_0x1138fb(0x1cd)]===0x0&&this[_0x1138fb(0x357)](),this['_selfUnitIDs']['add'](_0x163352),this['_send']({'type':0x0,'memberID':this[_0x1138fb(0x183)],'unitIDs':[_0x163352],'isForwarded':!0x1});}['disposeUnit'](_0x457c3c){const _0x144574=_0x386c9a;this[_0x144574(0x100)][_0x144574(0x22f)](_0x457c3c),this[_0x144574(0x100)][_0x144574(0x1cd)]===0x0&&this[_0x144574(0x199)]&&window[_0x144574(0x3ca)](this[_0x144574(0x199)]);}[_0x386c9a(0x34d)](){const _0x3a003e=_0x386c9a;this[_0x3a003e(0x2da)]((0x0,_0x3188ec[_0x3a003e(0x34e)])((0x0,_0x3a9a2c[_0x3a003e(0x293)])(window,_0x3a003e(0x328))[_0x3a003e(0x341)](_0x2e5f18=>{const _0x40bf80=_0x3a003e;if(_0x2e5f18[_0x40bf80(0x155)]!==_0x42121d||!_0x2e5f18[_0x40bf80(0x159)])return;let _0x5a1dd7=JSON[_0x40bf80(0x3dc)](_0x2e5f18[_0x40bf80(0x159)]);this[_0x40bf80(0x107)](_0x5a1dd7);}))),window[_0x3a003e(0x2f2)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x3a003e(0x183)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x386c9a(0x107)](_0x3224c5){const _0x59ee13=_0x386c9a;switch(_0x3224c5[_0x59ee13(0x2fd)]){case 0x0:this[_0x59ee13(0x3b0)](_0x3224c5);break;case 0x1:this[_0x59ee13(0xf4)](_0x3224c5);break;case 0x2:this[_0x59ee13(0x274)](_0x3224c5);break;}}[_0x386c9a(0x3b0)](_0x314845){const _0x10ef42=_0x386c9a;let {unitIDs:_0x5efefe,memberID:_0x352963,isForwarded:_0x543545}=_0x314845;_0x5efefe['forEach'](_0x394246=>{const _0xc3b99e=_0xbfb2;if(!_0x543545&&this[_0xc3b99e(0x3df)][_0xc3b99e(0x244)](_0x394246)&&this[_0xc3b99e(0x355)](_0x394246)['next'](_0x2248ce[_0xc3b99e(0x31d)][_0xc3b99e(0x2c9)]),!this[_0xc3b99e(0x3df)][_0xc3b99e(0x244)](_0x394246)||!this[_0xc3b99e(0x3df)][_0xc3b99e(0x26b)](_0x394246)[_0xc3b99e(0x244)](_0x352963)){let _0x33dd86=this[_0xc3b99e(0x3df)][_0xc3b99e(0x26b)](_0x394246)||new Set();_0x33dd86['add'](_0x352963),this[_0xc3b99e(0x3df)][_0xc3b99e(0x2eb)](_0x394246,_0x33dd86),this[_0xc3b99e(0x2df)](_0x352963);}}),_0x543545||this['_send']({'type':0x0,'memberID':this[_0x10ef42(0x183)],'unitIDs':[...this[_0x10ef42(0x100)]],'isForwarded':!0x0});}[_0x386c9a(0x2df)](_0x465119){const _0x426784=_0x386c9a;this[_0x426784(0x367)](_0x465119);let _0x5674f5=window[_0x426784(0x2f1)](()=>{const _0x4a745a=_0x426784;this[_0x4a745a(0x3df)][_0x4a745a(0x32f)](_0xf26b74=>{const _0x253735=_0x4a745a;_0xf26b74[_0x253735(0x22f)](_0x465119);});},_0x3ce3ad*0x2);this[_0x426784(0x3ba)]['set'](_0x465119,_0x5674f5);}[_0x386c9a(0x367)](_0x48569d){const _0x3354ec=_0x386c9a;if(this[_0x3354ec(0x3ba)][_0x3354ec(0x244)](_0x48569d)){let _0x115fd8=this[_0x3354ec(0x3ba)]['get'](_0x48569d);_0x115fd8&&window['clearTimeout'](_0x115fd8),this['_clearOtherTimers']['set'](_0x48569d,null);}}['_handleLeaveEvent'](_0x58f748){const _0x3d042c=_0x386c9a;let {memberID:_0x334ac9,unitIDs:_0x1b7425}=_0x58f748;_0x1b7425[_0x3d042c(0x32f)](_0x3b6302=>{const _0x22de51=_0x3d042c;var _0x5f5a10;let _0x44f819=this[_0x22de51(0x3df)][_0x22de51(0x26b)](_0x3b6302);_0x44f819&&(_0x44f819[_0x22de51(0x22f)](_0x334ac9),(_0x5f5a10=this[_0x22de51(0x355)](_0x3b6302))==null||_0x5f5a10[_0x22de51(0x362)](_0x44f819[_0x22de51(0x1cd)]===0x0?_0x2248ce[_0x22de51(0x31d)][_0x22de51(0x223)]:_0x2248ce[_0x22de51(0x31d)][_0x22de51(0x2c9)]));}),this[_0x3d042c(0x367)](_0x334ac9);}['_handleHeartbeatEvent'](_0x3d26d){const _0x52b09b=_0x386c9a;this[_0x52b09b(0x2df)](_0x3d26d[_0x52b09b(0x38a)]);}['_send'](_0x1ed564){const _0x549178=_0x386c9a;localStorage[_0x549178(0x21e)](_0x42121d,JSON[_0x549178(0x257)](_0x1ed564));}[_0x386c9a(0x357)](){const _0x53741f=_0x386c9a;this[_0x53741f(0x199)]=window[_0x53741f(0x2e4)](()=>{const _0x9267bd=_0x53741f;this[_0x9267bd(0x37f)]({'type':0x2,'memberID':this[_0x9267bd(0x183)]});},_0x3ce3ad);}[_0x386c9a(0x355)](_0x328c40){const _0x4ff1ee=_0x386c9a;return this[_0x4ff1ee(0x2dc)]['has'](_0x328c40)||this['_unitStatus'][_0x4ff1ee(0x2eb)](_0x328c40,new _0x3a9a2c[(_0x4ff1ee(0x1ba))](_0x2248ce['UnitStatus'][_0x4ff1ee(0x223)])),this[_0x4ff1ee(0x2dc)][_0x4ff1ee(0x26b)](_0x328c40);}};Object[_0x386c9a(0x12f)](_0x73ee80,_0x386c9a(0x2ee),{'enumerable':!0x0,'get':function(){return _0x1c42f1;}}),Object['defineProperty'](_0x73ee80,_0x386c9a(0x19c),{'enumerable':!0x0,'get':function(){return _0x1152cb;}}),_0x73ee80[_0x386c9a(0x103)]=_0x34f04d,Object[_0x386c9a(0x12f)](_0x73ee80,_0x386c9a(0x158),{'enumerable':!0x0,'get':function(){return _0x25d2c1;}}),_0x73ee80[_0x386c9a(0xbb)]=_0x294254,Object['defineProperty'](_0x73ee80,_0x386c9a(0x250),{'enumerable':!0x0,'get':function(){return _0x523635;}}),_0x73ee80[_0x386c9a(0x1e7)]=_0x4806b2;}));function _0x29c8(){const _0x16fca0=['getFocusedUnit','idSuffix','useDependency','FromArray','_clearTimeoutState','send','_releaseCalculationLimit','createIdentifier','white','hovered','IRenderManagerService','snapshot-loading-interaction-guard','runId','NOT_COLLAB','_setInteractionBlocked','_docTransformStateCacheService','ERROR','#FFF','replaceState','lineTo','buildDrawingOKey','_getSceneObjectByKey','_send','width','executeCommand','onTransformChange$','registerRefRange','_setFormulaLimitStatus','_docSkeleton','show','totalBlocks','_instanceService','getRenderUnitById','memberID','InsertRangeMoveDownCommandId','use','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getColorFromTheme','OffLineIcon','arc','replaceDocRanges','slide-element-selection','NodePositionConvertToCursor','doc.mutation.rich-text-editing','Injector','button','hide','translate(.97)','_blockProgressWatches','endRow','startFormulaLimitUrl','ISheetLoadingRenderService','collaboration-client-ui.permission.title','lineno','_online','currentColor','UniverSheets','_status$','_shortcutBlock','params','static','createSocket','_startBoardCollabCursor','rxjs','none','_dataLoaderService','_drawAnchor','UniverNetworkPlugin','connectInjector','UNIVER_DOC','symbol','_handleJoinEvent','1956765rVkShi','_updateURLWithCurrentState','colno','setShapeProps','handleInsertRangeMoveDown','range','fillRule','imageSourceType','collab-text-anchor-','_clearOtherTimers','LOCAL_CACHE_INTERVAL','collaboration-client-ui.session.connection-failed','_latestCursors','timedOut','primary','getColor','/run/','_refRangeService','_getSessionTicket','getParam','_renderManagerService','clearTimeout','focused$','M0\x200H16V16H0z','iterator','clearInterval','enableDocumentCollaborationUI','showSkeleton','DependentOn','clipPath','closePath','polite','timeoutState$','_initUserListener','toStringTag','getSheetId','_shortcutService','ThemeService','IBeforeCloseService','add','snapshot-loading-timeout','max','WebSocketService','parse','useObservable','serializeRangeWithSheet','_unitOnClients','_drawTextRange','9PWnhVl','distinctUntilChanged','Inject','_taskIds','univer-text-blue-500','board-collab-cursor-','state$','getUnitId','univer-flex\x20univer-items-center\x20univer-justify-center','SetWorksheetActivateCommand','ILogService','text','editingUnit','limitInfo','rgba(255,\x20255,\x20255,\x200.01)','handleIRemoveRow','error','min','_boardElementStateService','isInternalEditorID','FormulaExecutedStateType','_pointerMoveDisposable','_saveCache','override','createElement','on-line-icon','Button','Vector2','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collaboration-client-ui.session.collaboration-timeout','INotificationService','slice','value','UniverCore','filename','_updateLocalCursor','_collaborationSessionService','collaboration-client-ui.collabStatus.offline','@univerjs/rpc','setParam','DocSelectionManagerService','highlight','_collaborationUIEventService','onPointerLeave$','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','getActiveRange','showText','UniverRpc','JOIN_ROOM_FAILED','UNIVER_BOARD','moveTo','round','collaboration-client-ui.collabStatus.syncing','runOnServer','InsertRowCommandId','url(#off-line-icon_clip0_910_343)','_color','ILocalStorageService','univer-text-orange-500','onCommandExecuted','collaboration-client-ui.collabStatus.fetchMiss','loadedBlocks','restore','SOCKET_FAILED_RETRY','BuiltInUIPart','activeSlideId$','START_CALCULATION','_getAnchorBounding','_updateSubUnitFromURLParams','assignAColorForMemberID','addObject$','@univerjs-pro/boards-ui','0.2)','HTTPService','_getLighterColor','Warning','SheetCollabCursorShape','CONFLICT','_scheduleRender','path','RevisionService','jsxs','addHandlerCallback','@univerjs-pro/collaboration','/universer-api/license/formula/limit/done','collaboration-client-ui.collabStatus.conflict','source','_renderScheduled','_commandService','_doCreateSocket','Error','_offsetY','_initEntityListener','context','_urlService','_startCalculationLimit','status','_colorAssignService','socket$','_registerDependencies','collab-rect-range-','activeSheetId','getMemberID','ITransformService','addClipboardHook','popstate','body','labelHorizontalPosition','warning-icon','registerBeforeClose','getAncestorScale','PluginService','setConfig','88247xbSnaS','urlChange$','EffectRefRangId','true','Plugin','toString','PENDING','http://www.w3.org/2000/svg','collaboration-client-ui.collabClient.tooltip.reconnect','SetTextSelectionsOperation','_initWindowErrorListener','_localeService','xlink:href','CollaborationSessionService','@univerjs/sheets','OnLineIcon','_updateSheetPreview','IMessageService','Shape','redoState','_handleLeaveEvent','message','16rvwOPu','_document','VIEW_MAIN','_isApplyingOverlays','@univerjs/core','_imageIoService','UniverProCollaborationClientUi','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','collaboration-client-ui.snapshotLoading.loadingSheet','CollaborationUIEventId','_selfUnitIDs','stageInfo','SheetsSelectionsService','IURLService','HEADER_MENU','FETCH_MISS','SOCKET_FAILED','_handleEvent','WarningIcon','USERS_LEAVE','univer-transition-all\x20univer-duration-200','getSheetObject','collaboration-client-ui.collaboration.closeRoom','DeleteRangeMoveUpCommandId','name','throttleTime','handleDeleteRangeMoveLeft','_docTransformSelectionsService','resize','font','strokeStyle','strokeWidth','isTransformMutationFailure','_startSheetCollabCursor','_cachedData','collaboration-client-ui.config','then','stroke','UNIVER_SLIDE','parseInt','preventDefault','eventID','_entities','Tooltip','setActiveRange','bottom','@univerjs-pro/slides-ui','_logService','selection','UniverLicensePlugin','_onCursorUpdate','_handoffPreview','defIds','asObservable','removeObjects','ticket','yellow.400','defineProperty','offsetY','replace','_cursor','UNIVER_SHEET','_setupSubUnitSync','pushState','getCurrentSelections','_drawRectRange','top','UniverNetwork','_hovered','collab-text-range-','ICommandService','displayName','_initResize','_getSaveTimeout','requireSession','unitID','_snapshotLoadingService','from','activeSheet$','_docSkeletonManagerService','IConfigService','fillText','SUCCESS','_onCursorDelete','UniverProSlidesUi','_saveTaskMap','UniverDocsUi','_pluginService','_blinkIntervalTimer','function','getCurrentTypeOfUnit$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onRendered','_docTransformIMECacheService','_maxFormulaLimit','key','enableFrontendLog','sessionStatus$','RemoteUniscriptService','newValue','debounce','url(#$1','fill','setUndoRedoMutationParamsCache','_startSlideCollabCursor','_render','_cursors','transformRemoteChangeset','UniverSheetsUi','GLOBAL','RxDisposable','useCallback','undoState','transformMutationsWithChangeset','previewCellData','cursorInfo$','_stopBlinking','collaboration-client-ui.permission.content','attrs','_notificationService','focusedId','shareReplay','_onRefRangeChange','exhaustSavingTask','post','_getScale','purple.300','_registerRenderDependencies','children','switchMap','getUndoRedoMutationParamsCache','slide-collab-cursor-','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_sheetLoadingRenderService','data','univer-border-none\x20univer-bg-transparent','workbookShell','getCoordByCell','catch','dispose$','disableLocalCache','_id','SUBMIT_CHANGESET_TIMEOUT','@univerjs/engine-formula','currentUsage','column','rxjs/operators','855272nYTDqC','IBoardElementStateService','selections','onStarting','SetFormulaCalculationStartMutation','push','reload','1em','_slideDrawingStateService','getOffsetConfig','uni.network.url-service','_textBubble','handleInsertRow','_assignedColors','defs','@univerjs/network','_heartbeatTimer','getUnhiddenWorksheets','svg','DesktopCollaborationStatusDisplayController','RemoveRowCommandId','_getObjectBounds','roomMembers$','getRealBound','getUnit','pageManager','scene','react/jsx-runtime','710480iltnoq','/universer-api/frontend/logs','collaboration-client-ui.formula.calculation.waiting','AWAITING_WITH_PENDING','?taskId=','spin','fromEventSubject','collaboration-client-ui.conflict.title','handleDeleteRangeMoveUp','getMember','decorate','string','kind','getTypeOfUnitAdded$','join','generateRandomId','_applyCommand','addObjects','_labelPosition','isEditing','_monkeyPatchLogService','BehaviorSubject','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','isArray','_name','search','unhandledrejection','CanceledError','split','DisposableCollection','3337200WjNAkY','location','bind','_transformPreviousActiveRange','getValue','backupOfflineData','IShortcutService','_collabCursorController','_uploadLog','_hasFormulaInDirtyRanges','size','backgroundColor','ISocketService','LOADING_SNAPSHOT','IUniverInstanceService','textRanges','#4f46e5','labelPosition','collaboration-client-ui.session.will-retry','_revisionService','whenReady','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','UPDATE_CURSOR','black','getFormulaLimitStatusUrl','_messageService','i18nKey','_docStateChangeManagerService','jsx','OFFLINE','MemberService','trim','getCoordRelativeToViewport','univer-m-0\x20univer-p-0','getMergeData','snapshot-loading-','WebBrowserSingleActiveUnitService','findNodePositionByCharIndex','UniverProCollaborationClient','@univerjs-pro/collaboration-client','getId','functionsExecutedState','CollaborationController','_refreshCollabCursors','takeUntil','transformByState','onMouseMove','_disabled','unit','_initStatusComponent','loadUnit','_labelHorizontalPosition','mask','off-line-icon_clip0_910_343','getAllUnitsForType','removeObject','_lastResponseTimestamp','_scheduleSaving','removeParam','getObjectIncludeInGroup','searchParams','startRow','Disposable','cursorInfo','getCollabCursors$','_localStorageService','_roomMembers$','init','reason','toISOString','deepClone','collaboration-client-ui.collabStatus.notCollab','unshift','getBoardElementRenderObjectKey','_anchor','SetFormulaCalculationNotificationMutation','getActiveSlide','registerComponent','UniverProLicense','MessageType','_toggleOnline','IUIPartsService','entries','makeDirty','mergeOverrideWithDependencies','SHEET_VIEWPORT_KEY','react','debounceTime','LOCAL_CACHE_INTERVAL_KEY','_cursorInfo$','jiqing.500','setItem','getCellMatrix','_collabCursorState$','ONLINE','_clearPolling','NO_OTHER_CLIENTS_EDITING','random','code','SnapshotLoadingService','UniverCollaborationClientPlugin','dispose','syncEditingCollabCursor','getActivePageId','TEXT','collaboration-client-ui.conflict.content','Optional','pluginName','delete','_initCommandInterceptor','deserializeRangeWithSheet','unitId','OTHER_CLIENT_EDITING','_pollingInterval','_memberID','_memberService','collabCursorState$','evented','@univerjs/sheets-ui','indicator','_startDocCollabCursor','blue.400','_scene','shift','TEXT_RANGE_LAYER_INDEX','forceDisable','Success','handleMoveRange','reconnect','has','_messageIds','_transformService','_getSheetObject','getUnitStatus$','/universer-api/license/formula/limit/start','tooltipKey','_watchBlockProgress','ranges','saveTaskMap','_previewUnitId','BOARD_TOP_RIGHT_MENU_LEADING_PART','UniverCollaborationClientUIPlugin','ILocalCacheService','merge','prototype','touchDependencies','_setupBeforeClosingHandler','roomMembers','stringify','stage','univer-inline-flex\x20univer-items-center\x20univer-justify-center','_hideTimer','React','_getSheetLoadingRenderService','m2Prime','_highlightSecond','M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','RECT','includes','8256320pzqHSd','_draw','_sheetSkeletonManagerService','rgb','call','UniverUi','left','_transformUndoRedoStack','filter','get','_shapes','Fragment','now','_interactionBlocked$','_configService','contains','status$','isTransformMutationsWithChangesetSuccess','_handleHeartbeatEvent','ISnapshotServerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','constructor','_isBlinkVisible','endColumn','_beforeCloseService','transformMutation','univer-text-green-500','currentSkeleton$','strokeRect','forwardRef','setOffsetY','Rect','drawWith','Workbook','Unknown\x20user','_backgroundColor','_updateMessage','setStateCache','collaboration-client-ui.formula.calculation.unable','_removeCollabCursors','_handoffUnitIds','Loading','right','LoadingMultiIcon','UniverInstanceType','[CollaborationDataLoaderController]','subunit','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','exports','fromEvent','remove','_initUnhandledRejectionListener','_handleHover','operators','COMPLETE','_localCacheService','getConfig','onPointerEnter$','currentTheme$','getActiveSheet','\x20at\x20',',\x200.2)','values','getObject','transformStateCache','map','[Window\x20Error]:\x20','_currentUsage','fillStyle','object','getCollabEntity$','_initEvent','getLocalCacheKey','getDocRanges','Failed','rgba','_initCommandExecutedListener','some','engine','RegularPolygon','loading-multi-icon','_httpService','DocIMEInputManagerService','collaboration-client-ui.formula.calculation.started','board-element-selection','angle','6116215boPmgF','Rectangle','_hidePreview','startsWith','selectedIds','totalFormulasToCalculate','toRgbString','beforeCommandExecuted','getCurrentSkeleton','transform','_timeoutState$','packageName','UniverDocsPlugin','enableLocalCache','bold\x2013px\x20Arial,\x20sans-serif','updateOfflineData','Enter','OTHER_CLIENTS_EDITING','getCurrentUnitOfType','LocaleService','useRef','_showGuardMessage','_updateCollabCursors','row','UniverProCollaboration','_initDependencies','removeEventListener','_checkCalculationAvailable','1.0.0-alpha.8','registerRenderModule','maxFormulaLimit','highlightSecond','executionId','LOADING_BLOCKS','disposeWithMe','unsubscribe','_unitStatus','clickable','ISlideDrawingStateService','_scheduleClearOtherTimer','IImageIoService','ErrorCode','clear','getRangePointData','setInterval','history','getSheetBySheetId','univer-fixed\x20univer-left-1/2\x20univer-top-4\x20univer-z-[1001]\x20univer-flex\x20univer-max-w-[calc(100vw-32px)]\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-white\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-white','CollaborationEvent','getViewport','registerDependencies','set','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','BrowserCollaborationSocketService','sheetID','subUnitId','setTimeout','addEventListener','timeoutId','_injector','_highlight','save','_anchorDot','_latestStates','combineLatest','Subject','startColumn','_initStatusListener','type','invokeId','handleInsertRangeMoveRight','createInstance','_syncEditingCollabCursorService','height','getOwnPropertyDescriptor','mutations','[LogService\x20Error]:\x20','getScrollXYInfoByViewport','isFormulaString','_isVisibleUnit','small','version','_transformHistoryAndStateStack','complete','UniverEngineRender','with','addObject','_collabSessionService','m1Prime','measureText','_cursorShapes','_blinkTimer','_univerInstanceService','getStateCache','@univerjs-pro/collaboration-client-ui','_showText','COLORS','getSnapshot','SessionStatus','@univerjs/ui','UnitStatus','Tools','dirtyRanges',':backup:','_lastPointer','RichTextEditingMutation','CollaborationStatus','previewReady','color','DocCollaborationEntity','icon','storage','evenodd','pipe','mapTo','stack','RefRangeService','all','forEach','[Unhandled\x20Rejection]:\x20','_entityInit$','#0B9EFB','on-line-icon_clip0_910_349','_context','RemoveColCommandId','_hover','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','@univerjs/docs','_docSyncEditingCollabCursorService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_collaborationController','lineWidth','amd','assign','rgba(','SetDocZoomRatioOperation','subscribe','_themeService','pulse','_range','UniverDesign','_docClipboardService','subscribeEvent','handoff','DocSkeletonManagerService','_toggleOffline','SnapshotLoadStage','_eventUnsubscribe','_init','toDisposable','_checkAndWaitForCalculationPermission','transformSelections','href','colorChannel1','setLineDash','tag','_ensureSubject','univer-h-8\x20univer-w-8\x20univer-rounded-lg','_scheduleHeartbeat','content','SetSelectionsOperation','UniverEngineFormula','_clearBlockProgressWatch','clsx','DOC_RANGE_TYPE','_session','12jvezPb','getItem','getTypeOfUnitDisposed$','next','dark:focus:!univer-ring-offset-gray-800','_config','event$','flatMap','_removeClearOtherTimer','length'];_0x29c8=function(){return _0x16fca0;};return _0x29c8();}
1
+ function _0x57a3(){const _0xb3ef4e=['showText','DependentOn','FETCH_MISS','_removeCollabCursors','_document','DeleteRangeMoveUpCommandId','InsertRangeMoveRightCommandId','collaboration-client-ui.operation.update-remote-unit-presence','startColumn','isFormulaId','colorChannel1','from','DesktopCollaborationStatusDisplayController','isTransformMutationFailure','url(#on-line-icon_clip0_910_349)','restore','_registerDependencies','DEFAULT_WS_SESSION_TICKET_URL','_refRangeService','_isVisibleUnit','isActive','column','xlink:href','_cursors','_context','rgba(','?taskId=','_textBubble','FOOTER','switchMap','univer-text-gray-400','_messageService','_checkCalculationAvailable','_highlight','_pointerMoveDisposable','ticket','3291816BTkxOk','Enter','requireSession','engine','/universer-api/frontend/logs','isInternalEditorID','entries','_handleJoinEvent','univer-fixed\x20univer-left-1/2\x20univer-top-4\x20univer-z-[1001]\x20univer-flex\x20univer-max-w-[calc(100vw-32px)]\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-gray-0','mergeOverrideWithDependencies','UniverCore','rgb','clearTimeout','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','override','sheetId','BrowserCollaborationSocketService','state','indicator','_shapes','colno','closePath','right','getValue','segmentPage','SetFormulaCalculationStartMutation','forEach','BehaviorSubject','ACTIVE_UNIT_EVENT_CHANNEL','_presenceAdapterRegistry','_handleLeaveEvent','number','collaboration-client-ui.session.collaboration-timeout','SUBMIT_CHANGESET_TIMEOUT','_handleHover','triggerDblclick','getCurrentUnitOfType','INotificationService','_pendingEntities','sessionStatus$','_docSyncEditingCollabCursorService','transformSelections','SOCKET_FAILED_RETRY','push','_isBlinkVisible','Button','_cursor','all','small','replaceState','_collaborationController','setStateCache','FromArray','getLocalCacheKey','version','debug','UniverInstanceType','/run/','http://www.w3.org/2000/svg','react','span','Loading','UniverEngineRender','_handleEvent','ONLINE','getUnitStatus$','loadedBlocks','runRefRangeMutations','LoadingMultiIcon','_refreshCollabCursors','sessionTicket','rgba','_snapshotLoadingService','alert','DOC_RANGE_TYPE','RemoveColCommandId','_dataLoaderService','_renderManagerService','_saveCache','find','LOCAL_CACHE_INTERVAL','_docTransformSelectionsService','_updateURLWithCurrentState','timer','invokeId','_releaseCalculationLimit','UniverSheetsUi','limitInfo','removeEventListener','univer-text-red-500','_taskIds','_handleHeartbeatEvent','WebSocketService','COLORS','getTypeOfUnitAdded$','CollaborationSessionService','SnapshotLoadingService','_monkeyPatchLogService','collaboration-client-ui.formula.calculation.unable','_drawAnchor','toString','getUnitId','OFFLINE','DisposableCollection','collaboration-client-ui.formula.calculation.started','get','unload','popstate','_initUserListener','throttleTime','currentTheme$','_updateLocalCursor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docSkeletonManagerService','_adapterDisposables','SetFormulaCalculationNotificationMutation','_initStatusComponent','disposeWithMe','_unitOnClients','InsertRowCommandId','collab-rect-range-','tableId','TEXT_RANGE_LAYER_INDEX','eventID','_handleCursorUpdate','4158XWgBts','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','origin','_ensureSubject','_online','UNIVER_SHEET','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs/docs','UniverLicensePlugin','jsx','getDocumentSkeletonColumnPagePathInfo','_clearRemotePresences','attrs','url(#off-line-icon_clip0_910_343)','_messageIds','rxjs','socket$','collaboration-client-ui.collaboration.closeRoom','next','UniverSheets','_disposeEntitiesForType','registerCommand','Unknown\x20user','_initEntityListener','defIds','debounceTime','columnIndex','getOffsetConfig','_init','_heartbeatTimer','_labelPosition','setRemotePresence','entityInit$','MemberService','state$','HTTPService','_syncPresenceStatusComponents','timedOut','collab-text-range-','Success','transformMutation','show','makeDirty','green.600','_selfUnitIDs','spin','Error','canRenderAnchor','decorate','_registerRenderDependencies','labelHorizontalPosition','InsertColCommandId','getViewport','_getScale','urlChange$','clsx','toDisposable','/universer-api/license/formula/limit/done','_colorIndex','_collabSessionService','UniverNetworkPlugin','_entityInit$','_startCalculationLimit','_blinkIntervalTimer','_onCursorDelete','IDocClipboardService','getCollabEntity$','_config','_initDependencies','takeUntil','m2Prime','@univerjs/sheets-ui','_lastPointer','UniverEngineFormula','_localeService','getConfig','complete','_scheduleSaving','dark:focus:!univer-ring-offset-gray-800','CLOSE_ROOM','loadUnit','RemoteUniscriptService','maxFormulaLimit','collaboration-client-ui.collabStatus.synced','_blinkTimer','lineTo','color','PERMISSION_DENIED','_draw','reload','result','createElement','add','_labelHorizontalPosition','pageType','UniverDocsUIPlugin','1em','toRgbString','addObject','focusedId','defineProperty','ICommandService','UniverDesign','getCurrentTypeOfUnit$','isArray','getAllUnitsForType','runId','IMessageService','_notificationService','location','COMPLETE','_disposeEntity','BuiltInUIPart','_memberID','shift','cursorInfo','univer-border-none\x20univer-bg-transparent','_initUnhandledRejectionListener','focused$','@univerjs/design','_collaborationSessionService','enableFrontendLog','_pollingInterval','clearInterval','slice','split','_bindAdapter','transformStateCache','Plugin','toStringTag','clickable','enableDocumentCollaborationUI','_offsetY','min','IRenderManagerService','_memberService','distinctUntilChanged','getOwnPropertyDescriptor','getCurrentSkeleton','ITransformService','@univerjs/ui','dirtyRanges','_entities','tag','memberID','div','collaboration-client-ui.config','OnLineIcon','SUCCESS','onCommandExecuted','highlightSecond','_startEntity','UniverDocsUi','_initPresenceStatusComponents','fillRule','_configService','handleInsertRangeMoveRight','_httpService','univerjs-icon\x20univerjs-icon-','getTypeOfUnitDisposed$','_transformHistoryAndStateStack','localPresence$','functionsExecutedState','round','disposeUnit','dispose','then','currentColor','Warning','_sendLocalPresence','TEXT','_lastResponseTimestamp','addEventListener','transformIMECache','hide','_removeRemotePresence','jsxs','deepClone','_initStatusListener','SetSelectionsOperation','bold\x2013px\x20Arial,\x20sans-serif','statusUIPart','Inject','Rectangle','CONFLICT','getCurrentRevOfUnit','@univerjs/engine-formula','_onRefRangeChange','@univerjs-pro/license','EffectRefRangId','collaboration-client-ui.permission.content','ISocketService','IUnitPresenceUIAdapterRegistry','shareReplay','_docClipboardService','bottom','@univerjs/protocol','getSheetId','0\x200\x2017\x2016','PENDING','hovered','object','totalBlocks','releaseFormulaLimitUrl','_collabCursorController','setParam','getFormulaLimitStatusUrl','_initialized','url(#$1','purple.300','8020rPauaQ','4279275BbxaOA','pushState','_transformPreviousActiveRange','M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','clear','mask','sheetID','collaboration-client-ui.snapshotLoading.refresh','setInterval','memberId','_logService','_eventUnsubscribe','Failed','0\x200\x2016\x2016','getItem','_watchBlockProgress','_isDisposed','getParam','UniverCollaborationClientPlugin','_getLighterColor','...','current','_cursorInfo$','_range','_localCacheService','_cursorShapes','_registerPresenceStatusComponent','pointer','Vector2','getDocRanges','RefRangeService','primary','CollaborationEvent','UniverCollaborationPlugin','_initCommandInterceptor','currentUsage','history','MoveRangeCommandId','pipe','timeoutState$','160135mDHYVx','_saveTaskMap','beforeCommandExecuted','useCallback','getFocusedUnit','_colorAssignService','#0B9EFB','search','UniverProtocol','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','undoState','_hasFormulaInDirtyRanges','contains','_startSheetCollabCursor','_themeService','blue.400','dispose$','collaboration-client-ui.collabStatus.conflict','getMergeData','join','saveTaskMap','strokeWidth','beginPath','highlight','IConfigService','handleDeleteRangeMoveLeft','message','_localStorageService','isFormulaString','m1Prime','getCoordByCell','unitId','MessageType','IUIPartsService','delete','transformByState','_collabCursorState$','imageSourceType','startRow','ILocalStorageService','collaboration-client-ui.collabStatus.syncing','Tools','startOffset','searchParams','onTransformChange$','mutations','length','CollaborationStatus','_syncEditingCollabCursorService','_getMergeRange','subunit','touchDependencies','stage','setShapeProps','subscribe','UniverUi','_roomMembers$','_beforeCloseService','doc.mutation.rich-text-editing','roomMembers$','evenodd','getCurrentSelections','IUniverInstanceService','isFinite','handleIRemoveRow','_updateMessage','updateOfflineData','SetTextSelectionsOperation','transformRemoteChangeset','registerRenderModule','SnapshotLoadStage','FormulaExecuteStageType','connectInjector','_hideTimer','getCollabCursors$','_clearBlockProgressWatch','send','_initEvent','totalFormulasToCalculate','combineLatest','amd','[Window\x20Error]:\x20','selectedIds',':backup:','_applyCommand','transformMutationsWithChangeset','moveTo','off-line-icon_clip0_910_343','onPointerMove$','ILocalCacheService','collaboration-client-ui.collabStatus.notCollab','activate','getUndoRedoMutationParamsCache','newValue','labelPosition','toISOString','getActiveSheet','_hover','pageIndex','_showGuardMessage','collaboration-client-ui.permission.title','_send','adapters$','unshift','IImageIoService','getColor','_docTransformIMECacheService','startFormulaLimitUrl','rgba(255,\x20255,\x20255,\x200.01)','replaceDocRanges','InsertRangeMoveDownCommandId','saveOfflineData','loading-multi-icon','status','OPERATION','white','getCoordRelativeToViewport','@univerjs/docs-ui','post','createInstance','subscribeEvent','_highlightSecond','_getSessionTicket','_currentUsage','ranges','setAlpha','Disposable','_univerInstanceService','save','_sheetSkeletonManagerService','UPDATE_CURSOR','CollaborationSocketService','application/json','React','_commandService','red.300','Module','NOT_COLLAB','setOffsetY','_maxFormulaLimit','_adapter','key','DocIMEInputManagerService','textRanges','_onCursorUpdate','clipPath','generateRandomId','univer-transition-all\x20univer-duration-200','options','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','black','update','registerRefRange','univer-inline-flex\x20univer-items-center\x20univer-justify-center','isTransformMutationsWithChangesetSuccess','_startBlinking','body','measureText','univer-text-orange-500','unhandledrejection','with','useDependency','data','_docTransformStateCacheService','redoState','_syncAdapters','_uploadLog','_name','font','true','offsetY','CollaborationUIEventId','RECT','random','getRenderUnitById','svg','_color','canRenderSelection','_assignedColors','[CollaborationDataLoaderController]','parse','DocumentSkeletonPageType','set','collaboration-client-ui.collaboration.offline-data-not-saved','fromEvent','LocaleService','map','IBeforeCloseService','52iydvwz','useObservable','useMemo','filename','collaboration-client-ui.collabClient.tooltip.reconnect','_render','_collaborationUIEventService','timeoutId','some','debounce','UnitStatus','\x20at\x20','/universer-api/license/formula/limit/start','use','static','catch','status$','button','70038EQBnLN','univer-text-green-500','onRendered','6GPILRd','yellow.400','stringify','pluginName','getCellIndexByOffset','function','assign','_checkAndWaitForCalculationPermission','loadOfflineData','getLocalPresence','merge','6zWwOOs','_getSaveTimeout','stroke','parseInt','_toggleOffline','name','UniverProLicense','type','constructor','replace','_createSocketURL','endColumn','collabCursorState$','unit','NodePositionConvertToCursor','values','AWAITING','addClipboardHook','_transformUndoRedoStack','_removeClearOtherTimer','ThemeService','AWAITING_WITH_PENDING','_hovered','univer-m-0\x20univer-p-0','default','prototype','getRangePointData','_id','_anchor','exhaustSavingTask','polite','endRow','NO_OTHER_CLIENTS_EDITING','forwardRef','collaboration-client-ui.session.will-retry','_status$','kind','wsSessionTicketUrl','_showText','_doCreateSocket','syncEditingCollabCursor','registerComponent','on-line-icon_clip0_910_349','findNodePositionByCharIndex','columnGroupId','_startDocCollabCursor','[RemoteUniscriptService]:\x20no\x20focused\x20unit','code','error','@univerjs-pro/collaboration-client-ui','getStateCache','RegularPolygon','presenceKind','_disposed','_injector','_setFormulaLimitStatus','cursorInfo$','getUnit','_uiPartsService','HEADER','\x20-\x20','SheetSkeletonManagerService','height','collaboration-client-ui.collabStatus.fetchMiss','params','SetWorksheetActivateCommand','_disabled','reconnect','handleMoveRange','Shape','none','_timeoutState$','event$','_initResize','row','editingUnit','RxDisposable','iterator','path','_setupBeforeClosingHandler','_getAnchorBounding','ILogService','_adapterRegistry','addObjects','has','saveImage','_revisionService','remove','selection','_initCommandExecutedListener','univer-flex\x20univer-items-center\x20univer-justify-center','getMemberID','setTimeout','unsubscribe',',\x200.2)','storage','_drawTextRange','GLOBAL','UniverProCollaborationClient','text','fill','ERROR','warning-icon','setItem','init','DocCollaborationEntity','addHandlerCallback','size','onStarting','SheetsSelectionsService','drawWith','currentSkeleton$','translate(.97)','_initWindowErrorListener','@univerjs-pro/collaboration-client','CollaborationController','serializeRangeWithSheet','collaboration-client-ui.snapshotLoading.timeout','unitType','getSkeleton','UniverNetwork','stack','rxjs/operators','FormulaExecutedStateType','roomMembers','_updateCollabCursors','SYNCED','activeSheet$','href','fillText','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getAncestorScale','backgroundColor','SOCKET_FAILED','_backgroundColor','_presenceStatusRegistrations','call','useRef','_cachedData','range','clearRemotePresences','colorClass','[Unhandled\x20Rejection]:\x20','OTHER_CLIENTS_EDITING','filter','_unitStatus','_getSheetObject','assignAColorForMemberID','now','includes','arc','UniverProCollaborationClientUi','string','univer-text-blue-500','enableLocalCache','symbol','endOffset','RevisionService','subUnitId','M0\x200H16V16H0z','left','_scheduleHeartbeat','getCellMatrix','asObservable','width','onMouseMove','handleInsertRow','432802bayUfx','WarningIcon','_drawRectRange','SheetCollabCursorShape','getSheetBySheetId','_scene','backupOfflineData','_clearOtherTimers','collaboration-client-ui.conflict.title','getMember','UniverDocsPlugin','_latestStates','removeRemotePresence','resize','createSocket','idSuffix','top','deserializeRangeWithSheet','802501JPMupy','startsWith','unitID','displayName','tooltipKey','Subject','_docStateChangeManagerService','setUndoRedoMutationParamsCache','USERS_LEAVE','removeParam','_docSelectionManagerService','DocSelectionManagerService','tableSource','_urlService','_updateSubUnitFromURLParams','ColorKit','_clearTimeoutState','mapTo','START_CALCULATION','DocStateChangeManagerService','_blockProgressWatches','_getFormulaLimitStatus','collaboration-client-ui.collabStatus.offline','Tooltip','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Injector','collaboration-client-ui.collaboration.single-unit.warning','_scheduleClearOtherTimer','UNIVER_DOC','_session','content','_toggleOnline','source','SessionStatus','_anchorDot','lineno','executeCommand','_transformService','_setupSubUnitSync','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','_stopBlinking','@univerjs/network','handleInsertCol'];_0x57a3=function(){return _0xb3ef4e;};return _0x57a3();}function _0x32ca(_0x35433e,_0x491667){_0x35433e=_0x35433e-0x19e;const _0x57a379=_0x57a3();let _0x32ca0f=_0x57a379[_0x35433e];return _0x32ca0f;}(function(_0x2d6194,_0x23dd3d){const _0x40b26e=_0x32ca,_0x5b30ec=_0x2d6194();while(!![]){try{const _0x48141c=-parseInt(_0x40b26e(0x226))/0x1+parseInt(_0x40b26e(0x2db))/0x2*(parseInt(_0x40b26e(0x234))/0x3)+parseInt(_0x40b26e(0x214))/0x4*(-parseInt(_0x40b26e(0x4b4))/0x5)+-parseInt(_0x40b26e(0x229))/0x6*(parseInt(_0x40b26e(0x2ed))/0x7)+parseInt(_0x40b26e(0x33c))/0x8+-parseInt(_0x40b26e(0x3b9))/0x9*(parseInt(_0x40b26e(0x48b))/0xa)+parseInt(_0x40b26e(0x48c))/0xb;if(_0x48141c===_0x23dd3d)break;else _0x5b30ec['push'](_0x5b30ec['shift']());}catch(_0x1dc593){_0x5b30ec['push'](_0x5b30ec['shift']());}}}(_0x57a3,0x3fe74),function(_0x30e881,_0x59ad73){const _0x57acf3=_0x32ca;typeof exports==_0x57acf3(0x482)&&typeof module<'u'?_0x59ad73(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs/sheets-ui'),require('@univerjs/protocol')):typeof define==_0x57acf3(0x22e)&&define[_0x57acf3(0x1a8)]?define(['exports',_0x57acf3(0x2a6),'@univerjs/core',_0x57acf3(0x445),_0x57acf3(0x3c8),_0x57acf3(0x2ae),_0x57acf3(0x430),_0x57acf3(0x377),'react/jsx-runtime','@univerjs-pro/collaboration',_0x57acf3(0x475),_0x57acf3(0x3c0),_0x57acf3(0x1cd),'@univerjs/engine-render',_0x57acf3(0x316),_0x57acf3(0x473),'@univerjs/sheets',_0x57acf3(0x400),_0x57acf3(0x47d)],_0x59ad73):(_0x30e881=typeof globalThis<'u'?globalThis:_0x30e881||self,_0x59ad73(_0x30e881[_0x57acf3(0x2cb)]={},_0x30e881[_0x57acf3(0x296)],_0x30e881[_0x57acf3(0x346)],_0x30e881[_0x57acf3(0x4eb)],_0x30e881[_0x57acf3(0x3c8)],_0x30e881['rxjs']['operators'],_0x30e881[_0x57acf3(0x41f)],_0x30e881[_0x57acf3(0x1dd)],_0x30e881[_0x57acf3(0x1dd)],_0x30e881['UniverProCollaboration'],_0x30e881[_0x57acf3(0x23a)],_0x30e881['UniverDocs'],_0x30e881[_0x57acf3(0x451)],_0x30e881[_0x57acf3(0x37a)],_0x30e881[_0x57acf3(0x2ac)],_0x30e881[_0x57acf3(0x402)],_0x30e881[_0x57acf3(0x3cc)],_0x30e881[_0x57acf3(0x392)],_0x30e881[_0x57acf3(0x4bc)]));}(this,function(_0x545995,_0xd500a,_0x27aa99,_0x3fd684,_0x55e528,_0x298c78,_0x510bc4,_0x190cc0,_0x5dfcdc,_0x301412,_0x71ce52,_0x53a4ba,_0x4a1268,_0x558eeb,_0x31266a,_0x385246,_0x430826,_0x7e3f75,_0x22da53){const _0x1112e6=_0x32ca;Object[_0x1112e6(0x41d)](_0x545995,Symbol[_0x1112e6(0x43a)],{'value':_0x1112e6(0x1e0)});function _0x4fdbf7({ref:_0x3ed679,..._0x158aae}){const _0x11692d=_0x1112e6;let {icon:_0x39f0f8,id:_0x5a85bd,className:_0x5ee7f8,extend:_0x2b6523,..._0x493ee0}=_0x158aae,_0x227d26=(_0x11692d(0x457)+_0x5a85bd+'\x20'+(_0x5ee7f8||''))['trim'](),_0xf93634=(0x0,_0x190cc0[_0x11692d(0x2bd)])('_'+_0x4745d());return _0x2f88a2(_0x39f0f8,''+_0x5a85bd,{'defIds':_0x39f0f8[_0x11692d(0x3d1)],'idSuffix':_0xf93634[_0x11692d(0x4a1)]},{'ref':_0x3ed679,'className':_0x227d26,..._0x493ee0},_0x2b6523);}function _0x2f88a2(_0x8e8b18,_0x5ca2a3,_0x34555f,_0x47fd17,_0x3bf81e){const _0x45ac66=_0x1112e6;return(0x0,_0x190cc0[_0x45ac66(0x414)])(_0x8e8b18['tag'],{'key':_0x5ca2a3,..._0x56a147(_0x8e8b18,_0x34555f,_0x3bf81e),..._0x47fd17},(_0x192823(_0x8e8b18,_0x34555f)['children']||[])[_0x45ac66(0x212)]((_0xc11dbf,_0x5edaee)=>_0x2f88a2(_0xc11dbf,_0x5ca2a3+'-'+_0x8e8b18['tag']+'-'+_0x5edaee,_0x34555f,void 0x0,_0x3bf81e)));}function _0x56a147(_0x2de0fa,_0x5227e3,_0x18c080){const _0x47a5e9=_0x1112e6;let _0x24f5e5={..._0x2de0fa[_0x47a5e9(0x3c5)]};_0x18c080!=null&&_0x18c080[_0x47a5e9(0x322)]&&_0x24f5e5[_0x47a5e9(0x298)]===_0x47a5e9(0x322)&&(_0x24f5e5[_0x47a5e9(0x298)]=_0x18c080['colorChannel1']),_0x18c080!=null&&_0x18c080[_0x47a5e9(0x322)]&&_0x24f5e5[_0x47a5e9(0x236)]==='colorChannel1'&&(_0x24f5e5[_0x47a5e9(0x236)]=_0x18c080[_0x47a5e9(0x322)]),_0x2de0fa['tag']===_0x47a5e9(0x491)&&_0x24f5e5['id']&&(_0x24f5e5['id']+=_0x5227e3['idSuffix']),Object[_0x47a5e9(0x342)](_0x24f5e5)[_0x47a5e9(0x356)](([_0x38f326,_0x49c3e6])=>{const _0x356daa=_0x47a5e9;_0x38f326===_0x356daa(0x491)&&typeof _0x49c3e6==_0x356daa(0x2cc)&&(_0x24f5e5[_0x38f326]=_0x49c3e6[_0x356daa(0x23d)](/url\(#(.*)\)/,_0x356daa(0x489)+_0x5227e3[_0x356daa(0x2ea)]+')'));});let {defIds:_0x425767}=_0x5227e3;return!_0x425767||_0x425767[_0x47a5e9(0x4e2)]===0x0?_0x24f5e5:(_0x2de0fa[_0x47a5e9(0x448)]===_0x47a5e9(0x221)&&_0x24f5e5[_0x47a5e9(0x32e)]&&(_0x24f5e5[_0x47a5e9(0x32e)]+=_0x5227e3['idSuffix']),Object[_0x47a5e9(0x342)](_0x24f5e5)[_0x47a5e9(0x356)](([_0x2a0865,_0x2bd891])=>{const _0x55c8cb=_0x47a5e9;typeof _0x2bd891==_0x55c8cb(0x2cc)&&(_0x24f5e5[_0x2a0865]=_0x2bd891[_0x55c8cb(0x23d)](/url\(#(.*)\)/,_0x55c8cb(0x489)+_0x5227e3[_0x55c8cb(0x2ea)]+')'));}),_0x24f5e5);}function _0x192823(_0x329af2,_0x2c3a80){const _0x48f116=_0x1112e6;var _0x6cd32f;let {defIds:_0x45717c}=_0x2c3a80;return!_0x45717c||_0x45717c[_0x48f116(0x4e2)]===0x0?_0x329af2:_0x329af2[_0x48f116(0x448)]==='defs'&&(_0x6cd32f=_0x329af2['children'])!=null&&_0x6cd32f[_0x48f116(0x4e2)]?{..._0x329af2,'children':_0x329af2['children'][_0x48f116(0x212)](_0x4b2908=>typeof _0x4b2908[_0x48f116(0x3c5)]['id']==_0x48f116(0x2cc)&&_0x45717c&&_0x45717c[_0x48f116(0x2c9)](_0x4b2908[_0x48f116(0x3c5)]['id'])?{..._0x4b2908,'attrs':{..._0x4b2908[_0x48f116(0x3c5)],'id':_0x4b2908[_0x48f116(0x3c5)]['id']+_0x2c3a80['idSuffix']}}:_0x4b2908)}:_0x329af2;}function _0x4745d(){const _0x2b4308=_0x1112e6;return Math[_0x2b4308(0x205)]()['toString'](0x24)['substring'](0x2,0x8);}_0x4fdbf7[_0x1112e6(0x2f0)]='UniverIcon';let _0xfbd78d={'tag':_0x1112e6(0x207),'attrs':{'xmlns':_0x1112e6(0x376),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x1112e6(0x419),'height':_0x1112e6(0x419)},'children':[{'tag':'g','attrs':{'clipPath':_0x1112e6(0x3c6)},'children':[{'tag':_0x1112e6(0x282),'attrs':{'stroke':_0x1112e6(0x460),'d':_0x1112e6(0x349),'strokeLinecap':_0x1112e6(0x45c),'strokeLinejoin':_0x1112e6(0x45c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1112e6(0x1e9),'attrs':{'id':_0x1112e6(0x1af)},'children':[{'tag':_0x1112e6(0x282),'attrs':{'fill':_0x1112e6(0x1cb),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1112e6(0x1af)]},_0x180d6e=(0x0,_0x190cc0[_0x1112e6(0x255)])(function(_0x287841,_0x3b7306){const _0x335b32=_0x1112e6;return(0x0,_0x190cc0[_0x335b32(0x414)])(_0x4fdbf7,Object[_0x335b32(0x22f)]({},_0x287841,{'id':'off-line-icon','ref':_0x3b7306,'icon':_0xfbd78d}));});_0x180d6e[_0x1112e6(0x2f0)]='OffLineIcon';let _0x32da4e={'tag':'svg','attrs':{'xmlns':_0x1112e6(0x376),'fill':_0x1112e6(0x27a),'viewBox':_0x1112e6(0x47f),'width':_0x1112e6(0x419),'height':_0x1112e6(0x419)},'children':[{'tag':'g','attrs':{'clipPath':_0x1112e6(0x326)},'children':[{'tag':_0x1112e6(0x282),'attrs':{'stroke':_0x1112e6(0x460),'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':_0x1112e6(0x45c),'strokeLinejoin':_0x1112e6(0x45c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1112e6(0x1e9),'attrs':{'id':_0x1112e6(0x25e)},'children':[{'tag':_0x1112e6(0x282),'attrs':{'fill':_0x1112e6(0x1cb),'d':_0x1112e6(0x2d3),'transform':_0x1112e6(0x2a4)}}]}]}],'defIds':[_0x1112e6(0x25e)]},_0x1e091a=(0x0,_0x190cc0['forwardRef'])(function(_0x42d90b,_0x3ee35c){const _0x3e11c9=_0x1112e6;return(0x0,_0x190cc0[_0x3e11c9(0x414)])(_0x4fdbf7,Object['assign']({},_0x42d90b,{'id':'on-line-icon','ref':_0x3ee35c,'icon':_0x32da4e}));});_0x1e091a['displayName']=_0x1112e6(0x44c);let _0x5528c2={'tag':_0x1112e6(0x207),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x1112e6(0x499),'width':_0x1112e6(0x419),'height':_0x1112e6(0x419)},'children':[{'tag':_0x1112e6(0x282),'attrs':{'fill':'currentColor','d':_0x1112e6(0x48f),'fillRule':_0x1112e6(0x4f0),'clipRule':_0x1112e6(0x4f0)}}]},_0x30300c=(0x0,_0x190cc0['forwardRef'])(function(_0x28adf5,_0xf76066){const _0x43c2dc=_0x1112e6;return(0x0,_0x190cc0['createElement'])(_0x4fdbf7,Object[_0x43c2dc(0x22f)]({},_0x28adf5,{'id':_0x43c2dc(0x29a),'ref':_0xf76066,'icon':_0x5528c2}));});_0x30300c[_0x1112e6(0x2f0)]=_0x1112e6(0x2dc);let _0x5e2542={'tag':_0x1112e6(0x207),'attrs':{'xmlns':_0x1112e6(0x376),'fill':'none','viewBox':_0x1112e6(0x499),'width':_0x1112e6(0x419),'height':'1em'},'children':[{'tag':_0x1112e6(0x282),'attrs':{'fill':_0x1112e6(0x4ba),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x1112e6(0x4f0),'clipRule':'evenodd'}},{'tag':_0x1112e6(0x282),'attrs':{'fill':_0x1112e6(0x4ba),'d':_0x1112e6(0x314),'fillRule':_0x1112e6(0x4f0),'clipRule':_0x1112e6(0x4f0)}}]},_0x5d57c9=(0x0,_0x190cc0[_0x1112e6(0x255)])(function(_0x5876f6,_0x4828d8){const _0x4b607d=_0x1112e6;return(0x0,_0x190cc0[_0x4b607d(0x414)])(_0x4fdbf7,Object[_0x4b607d(0x22f)]({},_0x5876f6,{'id':_0x4b607d(0x1c8),'ref':_0x4828d8,'icon':_0x5e2542}));});_0x5d57c9[_0x1112e6(0x2f0)]=_0x1112e6(0x380);function _0x13e8bc(_0x13c1e9){const _0x36314e=_0x1112e6;switch(_0x13c1e9){case _0xd500a[_0x36314e(0x4e3)][_0x36314e(0x3a2)]:return{'icon':(0x0,_0x5dfcdc[_0x36314e(0x3c2)])(_0x180d6e,{}),'colorClass':_0x36314e(0x395),'i18nKey':_0x36314e(0x303),'tooltipKey':_0x36314e(0x218),'clickable':!0x0,'indicator':_0x36314e(0x222)};case _0xd500a['CollaborationStatus'][_0x36314e(0x471)]:return{'icon':(0x0,_0x5dfcdc['jsx'])(_0x180d6e,{}),'colorClass':_0x36314e(0x1f6),'i18nKey':_0x36314e(0x4c5),'clickable':!0x1,'indicator':_0x36314e(0x222)};case _0xd500a[_0x36314e(0x4e3)][_0x36314e(0x31a)]:return{'icon':(0x0,_0x5dfcdc['jsx'])(_0x5d57c9,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x36314e(0x273),'clickable':!0x1,'indicator':'spin'};case _0xd500a['CollaborationStatus'][_0x36314e(0x1e1)]:return{'icon':(0x0,_0x5dfcdc['jsx'])(_0x1e091a,{}),'colorClass':_0x36314e(0x336),'i18nKey':_0x36314e(0x1b2),'clickable':!0x1,'indicator':_0x36314e(0x222)};case _0xd500a['CollaborationStatus'][_0x36314e(0x244)]:case _0xd500a['CollaborationStatus'][_0x36314e(0x249)]:return{'icon':(0x0,_0x5dfcdc[_0x36314e(0x3c2)])(_0x5d57c9,{}),'colorClass':_0x36314e(0x2cd),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x36314e(0x3e6)};case _0xd500a[_0x36314e(0x4e3)][_0x36314e(0x480)]:return{'icon':(0x0,_0x5dfcdc[_0x36314e(0x3c2)])(_0x5d57c9,{}),'colorClass':_0x36314e(0x2cd),'i18nKey':_0x36314e(0x4dc),'clickable':!0x1,'indicator':_0x36314e(0x3e6)};case _0xd500a[_0x36314e(0x4e3)][_0x36314e(0x2b2)]:return{'icon':(0x0,_0x5dfcdc[_0x36314e(0x3c2)])(_0x1e091a,{}),'colorClass':_0x36314e(0x227),'i18nKey':_0x36314e(0x40c),'clickable':!0x1,'indicator':_0x36314e(0x222)};}}function _0x5f28cd(_0x20aaa7){const _0x4e71c2=_0x1112e6;let {status$:_0x1bd4e5}=_0x20aaa7,_0x1da10d=(0x0,_0x3fd684['useObservable'])(_0x1bd4e5,_0xd500a[_0x4e71c2(0x4e3)][_0x4e71c2(0x1e1)]),_0x51cbb2=(0x0,_0x3fd684['useDependency'])(_0x27aa99[_0x4e71c2(0x211)]),_0x3b26a7=(0x0,_0x3fd684[_0x4e71c2(0x1f9)])(_0xd500a[_0x4e71c2(0x39b)]),_0x369ef3=(0x0,_0x190cc0[_0x4e71c2(0x216)])(()=>_0x13e8bc(_0x1da10d),[_0x1da10d]),_0x4e1462=_0x1da10d!==_0xd500a[_0x4e71c2(0x4e3)][_0x4e71c2(0x3a2)],_0x1744bf=_0x51cbb2['t'](_0x369ef3['i18nKey']),_0x95fe7=_0x369ef3[_0x4e71c2(0x2f1)]?_0x51cbb2['t'](_0x369ef3[_0x4e71c2(0x2f1)]):_0x1744bf,_0x48a851=(0x0,_0x190cc0[_0x4e71c2(0x4b7)])(()=>{const _0x38222a=_0x4e71c2;_0x4e1462||_0x3b26a7[_0x38222a(0x277)]();},[_0x4e1462,_0x3b26a7]),_0x109973=(0x0,_0x190cc0[_0x4e71c2(0x4b7)])(_0x3a7a77=>{const _0x3d9c37=_0x4e71c2;!_0x4e1462&&(_0x3a7a77[_0x3d9c37(0x1e5)]===_0x3d9c37(0x33d)||_0x3a7a77[_0x3d9c37(0x1e5)]==='\x20')&&(_0x3a7a77['preventDefault'](),_0x3b26a7[_0x3d9c37(0x277)]());},[_0x4e1462,_0x3b26a7]),_0x1b811d=(0x0,_0x5dfcdc[_0x4e71c2(0x3c2)])(_0x4e71c2(0x378),{'className':(0x0,_0x510bc4[_0x4e71c2(0x3f0)])(_0x4e71c2(0x28e),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x369ef3[_0x4e71c2(0x2c1)],{'univer-animate-spin':_0x369ef3[_0x4e71c2(0x34e)]==='spin','univer-animate-pulse':_0x369ef3[_0x4e71c2(0x34e)]==='pulse'}),'aria-hidden':'true','children':_0x369ef3['icon']}),_0x4e4c8d=(0x0,_0x5dfcdc['jsx'])(_0x4e71c2(0x378),{'className':(0x0,_0x510bc4['clsx'])(_0x4e71c2(0x28e),'univer-h-8\x20univer-w-8\x20univer-rounded-lg',_0x4e71c2(0x1eb),_0x4e71c2(0x4bd),_0x4e71c2(0x407),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x369ef3[_0x4e71c2(0x43b)],'univer-cursor-default':!_0x369ef3[_0x4e71c2(0x43b)]}),'children':_0x1b811d});return _0x369ef3[_0x4e71c2(0x43b)]?(0x0,_0x5dfcdc[_0x4e71c2(0x3c2)])(_0x510bc4['Tooltip'],{'title':_0x95fe7,'placement':_0x4e71c2(0x47c),'children':(0x0,_0x5dfcdc['jsx'])(_0x4e71c2(0x225),{'type':_0x4e71c2(0x225),'onClick':_0x48a851,'onKeyDown':_0x109973,'className':(0x0,_0x510bc4[_0x4e71c2(0x3f0)])(_0x4e71c2(0x1f1),_0x4e71c2(0x42d),_0x4e71c2(0x24b),'univer-appearance-none'),'aria-label':_0x1744bf+_0x4e71c2(0x270)+_0x95fe7,'role':_0x4e71c2(0x1c9),'aria-live':_0x4e71c2(0x252),'aria-atomic':_0x4e71c2(0x201),'children':_0x4e4c8d})}):(0x0,_0x5dfcdc[_0x4e71c2(0x3c2)])(_0x510bc4[_0x4e71c2(0x304)],{'title':_0x95fe7,'placement':_0x4e71c2(0x47c),'children':(0x0,_0x5dfcdc[_0x4e71c2(0x3c2)])(_0x4e71c2(0x44a),{'className':(0x0,_0x510bc4[_0x4e71c2(0x3f0)])(_0x4e71c2(0x1f1),_0x4e71c2(0x42d),_0x4e71c2(0x24b)),'aria-label':_0x1744bf,'role':_0x4e71c2(0x1c9),'aria-live':_0x4e71c2(0x252),'aria-atomic':_0x4e71c2(0x201),'children':_0x4e4c8d})});}function _0x49a615(_0x139325){'@babel/helpers - typeof';const _0x48320c=_0x1112e6;return _0x49a615=typeof Symbol==_0x48320c(0x22e)&&typeof Symbol[_0x48320c(0x281)]==_0x48320c(0x2cf)?function(_0x3a0b27){return typeof _0x3a0b27;}:function(_0x536e61){const _0x25f224=_0x48320c;return _0x536e61&&typeof Symbol==_0x25f224(0x22e)&&_0x536e61[_0x25f224(0x23c)]===Symbol&&_0x536e61!==Symbol[_0x25f224(0x24d)]?_0x25f224(0x2cf):typeof _0x536e61;},_0x49a615(_0x139325);}function _0x1863ff(_0xcbd928,_0x3a3be0){const _0x4eddcc=_0x1112e6;if(_0x49a615(_0xcbd928)!=_0x4eddcc(0x482)||!_0xcbd928)return _0xcbd928;var _0x748226=_0xcbd928[Symbol['toPrimitive']];if(_0x748226!==void 0x0){var _0x2138c4=_0x748226[_0x4eddcc(0x2bc)](_0xcbd928,_0x3a3be0||_0x4eddcc(0x24c));if(_0x49a615(_0x2138c4)!=_0x4eddcc(0x482))return _0x2138c4;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3a3be0==='string'?String:Number)(_0xcbd928);}function _0x35e720(_0x9de264){const _0x5e709f=_0x1112e6;var _0x50d42d=_0x1863ff(_0x9de264,'string');return _0x49a615(_0x50d42d)==_0x5e709f(0x2cf)?_0x50d42d:_0x50d42d+'';}function _0x10c934(_0x1536b3,_0x5e802f,_0x3731d9){const _0x4482be=_0x1112e6;return(_0x5e802f=_0x35e720(_0x5e802f))in _0x1536b3?Object[_0x4482be(0x41d)](_0x1536b3,_0x5e802f,{'value':_0x3731d9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1536b3[_0x5e802f]=_0x3731d9,_0x1536b3;}function _0xe2b27a(_0x4f140a,_0x3d852f){return function(_0x1e9bee,_0x4ca985){_0x3d852f(_0x1e9bee,_0x4ca985,_0x4f140a);};}function _0x4398e9(_0x4d3e18,_0x18d6fc,_0x467d75,_0x1940ad){const _0x1e5b8c=_0x1112e6;var _0x37fcfe=arguments[_0x1e5b8c(0x4e2)],_0x2ad909=_0x37fcfe<0x3?_0x18d6fc:_0x1940ad===null?_0x1940ad=Object[_0x1e5b8c(0x442)](_0x18d6fc,_0x467d75):_0x1940ad,_0x4c1e0b;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x2ad909=Reflect[_0x1e5b8c(0x3e9)](_0x4d3e18,_0x18d6fc,_0x467d75,_0x1940ad);else{for(var _0xba4ce8=_0x4d3e18['length']-0x1;_0xba4ce8>=0x0;_0xba4ce8--)(_0x4c1e0b=_0x4d3e18[_0xba4ce8])&&(_0x2ad909=(_0x37fcfe<0x3?_0x4c1e0b(_0x2ad909):_0x37fcfe>0x3?_0x4c1e0b(_0x18d6fc,_0x467d75,_0x2ad909):_0x4c1e0b(_0x18d6fc,_0x467d75))||_0x2ad909);}return _0x37fcfe>0x3&&_0x2ad909&&Object['defineProperty'](_0x18d6fc,_0x467d75,_0x2ad909),_0x2ad909;}let _0x263f39=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(_0x4b9f13,_0x122245,_0x2c5ae7,_0x22b024,_0x51d1be){const _0x3a8842=_0x1112e6;super(),this['_univerInstanceService']=_0x4b9f13,this['_injector']=_0x122245,this[_0x3a8842(0x36e)]=_0x2c5ae7,this[_0x3a8842(0x26e)]=_0x22b024,this['_presenceAdapterRegistry']=_0x51d1be,_0x10c934(this,_0x3a8842(0x257),new _0x55e528[(_0x3a8842(0x357))](_0xd500a[_0x3a8842(0x4e3)][_0x3a8842(0x1e1)])),_0x10c934(this,_0x3a8842(0x2bb),new Map()),this[_0x3a8842(0x3b0)](),this[_0x3a8842(0x46b)](),this[_0x3a8842(0x452)]();}[_0x1112e6(0x45e)](){const _0x1ce94b=_0x1112e6;this[_0x1ce94b(0x2bb)][_0x1ce94b(0x356)](_0xf45045=>_0xf45045[_0x1ce94b(0x45e)]()),this['_presenceStatusRegistrations'][_0x1ce94b(0x490)](),this[_0x1ce94b(0x257)]['complete'](),super['dispose']();}[_0x1112e6(0x46b)](){const _0x5aa063=_0x1112e6;this[_0x5aa063(0x3b1)]((0x0,_0x55e528[_0x5aa063(0x233)])(this[_0x5aa063(0x1d7)][_0x5aa063(0x42f)],this[_0x5aa063(0x1d7)][_0x5aa063(0x420)](_0x27aa99[_0x5aa063(0x374)][_0x5aa063(0x309)]),this['_univerInstanceService'][_0x5aa063(0x420)](_0x27aa99[_0x5aa063(0x374)][_0x5aa063(0x3be)]))[_0x5aa063(0x4b2)]((0x0,_0x298c78[_0x5aa063(0x212)])(()=>_0x2826f(this[_0x5aa063(0x1d7)])),(0x0,_0x298c78['distinctUntilChanged'])(),(0x0,_0x55e528[_0x5aa063(0x335)])(_0x46ef79=>_0x46ef79?this[_0x5aa063(0x36e)][_0x5aa063(0x3fb)](_0x46ef79):(0x0,_0x55e528['of'])(null)),(0x0,_0x55e528[_0x5aa063(0x335)])(_0x559d0a=>_0x559d0a?_0x559d0a[_0x5aa063(0x224)]:(0x0,_0x55e528['of'])(_0xd500a[_0x5aa063(0x4e3)][_0x5aa063(0x1e1)])))['subscribe'](_0x131e2e=>{const _0x478afa=_0x5aa063;this['_status$'][_0x478afa(0x3cb)](_0x131e2e);}));}[_0x1112e6(0x3b0)](){const _0x4d403f=_0x1112e6;this[_0x4d403f(0x3b1)](this[_0x4d403f(0x26e)][_0x4d403f(0x25d)](_0x3fd684['BuiltInUIPart']['HEADER_MENU'],()=>(0x0,_0x3fd684[_0x4d403f(0x1a0)])(_0x5757fa({'status$':this['_status$'][_0x4d403f(0x2d7)]()}),this[_0x4d403f(0x26a)])));}[_0x1112e6(0x452)](){const _0x250acc=_0x1112e6;let _0x56149d=this[_0x250acc(0x359)][_0x250acc(0x1be)][_0x250acc(0x4ea)](_0x3edd9c=>{const _0x538788=_0x250acc;this[_0x538788(0x3dd)](_0x3edd9c);});this[_0x250acc(0x3b1)]((0x0,_0x27aa99['toDisposable'])(()=>_0x56149d[_0x250acc(0x291)]()));}[_0x1112e6(0x3dd)](_0x150a17){const _0x12f2e4=_0x1112e6;let _0x29df6f=new Map(_0x150a17[_0x12f2e4(0x2c4)](_0x27da20=>_0x27da20['statusUIPart']!=null)[_0x12f2e4(0x212)](_0x21d046=>[_0x21d046[_0x12f2e4(0x2aa)],_0x21d046]));this[_0x12f2e4(0x2bb)]['forEach']((_0x17674f,_0x431f6f)=>{const _0x31c9a4=_0x12f2e4;_0x29df6f['has'](_0x431f6f)||(_0x17674f['dispose'](),this[_0x31c9a4(0x2bb)][_0x31c9a4(0x4d6)](_0x431f6f));}),_0x29df6f[_0x12f2e4(0x356)]((_0x2939d2,_0x36f0bd)=>{const _0x156d51=_0x12f2e4;this[_0x156d51(0x2bb)]['has'](_0x36f0bd)||this[_0x156d51(0x4a6)](_0x2939d2);});}[_0x1112e6(0x4a6)](_0x1e0ed0){const _0x174f3b=_0x1112e6;let _0x14f950=_0x1e0ed0[_0x174f3b(0x46e)];if(!_0x14f950)return;let _0x5f41f8=new _0x27aa99[(_0x174f3b(0x3a3))](),_0x5649b7=new _0x55e528['BehaviorSubject'](_0xd500a[_0x174f3b(0x4e3)][_0x174f3b(0x1e1)]);_0x5f41f8[_0x174f3b(0x415)]((0x0,_0x27aa99[_0x174f3b(0x3f1)])(()=>_0x5649b7[_0x174f3b(0x405)]())),_0x5f41f8[_0x174f3b(0x415)](this['_uiPartsService'][_0x174f3b(0x25d)](_0x14f950,()=>(0x0,_0x3fd684['connectInjector'])(_0x5757fa({'status$':_0x5649b7['asObservable']()}),this[_0x174f3b(0x26a)])));let _0x229f18=this[_0x174f3b(0x1d7)][_0x174f3b(0x420)](_0x1e0ed0['unitType'])[_0x174f3b(0x4b2)]((0x0,_0x298c78[_0x174f3b(0x212)])(_0x7372f1=>(_0x7372f1==null?void 0x0:_0x7372f1[_0x174f3b(0x3a1)]())??null),(0x0,_0x298c78[_0x174f3b(0x441)])(),(0x0,_0x55e528['switchMap'])(_0x1a57dc=>_0x1a57dc?this[_0x174f3b(0x36e)][_0x174f3b(0x3fb)](_0x1a57dc):(0x0,_0x55e528['of'])(null)),(0x0,_0x55e528['switchMap'])(_0x49cb67=>(_0x49cb67==null?void 0x0:_0x49cb67[_0x174f3b(0x224)])??(0x0,_0x55e528['of'])(_0xd500a['CollaborationStatus']['NOT_COLLAB'])))[_0x174f3b(0x4ea)](_0x191380=>_0x5649b7[_0x174f3b(0x3cb)](_0x191380));_0x5f41f8['add']((0x0,_0x27aa99[_0x174f3b(0x3f1)])(()=>_0x229f18[_0x174f3b(0x291)]())),this[_0x174f3b(0x2bb)][_0x174f3b(0x20e)](_0x1e0ed0['unitType'],_0x5f41f8);}};_0x263f39=_0x4398e9([_0xe2b27a(0x0,_0x27aa99[_0x1112e6(0x4f2)]),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a[_0x1112e6(0x2a7)])),_0xe2b27a(0x3,_0x3fd684[_0x1112e6(0x4d5)]),_0xe2b27a(0x4,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x3fd684[_0x1112e6(0x479)]))],_0x263f39);function _0x2826f(_0x38e279){const _0x258d5f=_0x1112e6;let _0xae509b=_0x38e279[_0x258d5f(0x4b8)](),_0x5f4790=_0xae509b==null?void 0x0:_0xae509b[_0x258d5f(0x3a1)]();if(_0x5f4790&&!(0x0,_0x27aa99[_0x258d5f(0x341)])(_0x5f4790))return _0x5f4790;let _0x4c4dc7=_0x38e279[_0x258d5f(0x360)](_0x27aa99[_0x258d5f(0x374)][_0x258d5f(0x309)]),_0x10d8c6=_0x4c4dc7==null?void 0x0:_0x4c4dc7[_0x258d5f(0x3a1)]();if(_0x10d8c6&&!(0x0,_0x27aa99[_0x258d5f(0x341)])(_0x10d8c6))return _0x10d8c6;let _0x4d6e23=_0x38e279['getCurrentUnitOfType'](_0x27aa99[_0x258d5f(0x374)][_0x258d5f(0x3be)]);if(_0x4d6e23)return _0x4d6e23[_0x258d5f(0x3a1)]();let _0x4c9ed5=_0x38e279[_0x258d5f(0x422)](_0x27aa99[_0x258d5f(0x374)][_0x258d5f(0x309)])[_0x258d5f(0x38b)](_0x25eec8=>!(0x0,_0x27aa99[_0x258d5f(0x341)])(_0x25eec8[_0x258d5f(0x3a1)]()));return _0x4c9ed5?_0x4c9ed5[_0x258d5f(0x3a1)]():null;}function _0x5757fa(_0x4f6e8d){let {status$:_0x32ba70}=_0x4f6e8d;return function(){const _0x1a400b=_0x32ca;return(0x0,_0x5dfcdc[_0x1a400b(0x3c2)])(_0x5f28cd,{'status$':_0x32ba70});};}var _0x530aad=_0x1112e6(0x265),_0x576df5='1.0.0-beta.1';let _0x56df47={'id':_0x1112e6(0x31f),'type':_0x27aa99['CommandType'][_0x1112e6(0x1ca)],'handler':(_0x377acb,_0x3aae6e)=>{const _0x7d380e=_0x1112e6;let _0x470653=_0x377acb['get'](_0x3fd684[_0x7d380e(0x479)])[_0x7d380e(0x3a5)](_0x3aae6e[_0x7d380e(0x2aa)]);if(!_0x470653)return!0x1;switch(_0x3aae6e['update'][_0x7d380e(0x23b)]){case'set':return _0x470653[_0x7d380e(0x3d8)](_0x3aae6e[_0x7d380e(0x1ef)][_0x7d380e(0x34d)]),!0x0;case _0x7d380e(0x28b):return _0x470653[_0x7d380e(0x2e7)](_0x3aae6e['update'][_0x7d380e(0x4d3)],_0x3aae6e[_0x7d380e(0x1ef)][_0x7d380e(0x495)]),!0x0;case _0x7d380e(0x490):return _0x470653[_0x7d380e(0x2c0)](_0x3aae6e[_0x7d380e(0x1ef)]['unitId']),!0x0;default:return!0x1;}}},_0x264656={},_0x4969f7=class extends _0x27aa99['RxDisposable']{constructor(_0x322d00,_0x57b5b3){const _0x37b4b4=_0x1112e6;super(),this[_0x37b4b4(0x47b)]=_0x322d00,this['_imageIoService']=_0x57b5b3,this[_0x37b4b4(0x3d5)]();}[_0x1112e6(0x3d5)](){const _0x2059f4=_0x1112e6;let _0x5704b7=this;this[_0x2059f4(0x3b1)](this[_0x2059f4(0x47b)][_0x2059f4(0x245)]({'onBeforePasteImage':async _0x22681a=>{const _0x3edbbc=_0x2059f4;let _0x24b3d8=await _0x5704b7['_imageIoService'][_0x3edbbc(0x289)](_0x22681a);return _0x24b3d8?{'source':_0x24b3d8[_0x3edbbc(0x30d)],'imageSourceType':_0x24b3d8[_0x3edbbc(0x4d9)]}:null;}}));}};_0x4969f7=_0x4398e9([_0xe2b27a(0x0,_0x4a1268[_0x1112e6(0x3fa)]),_0xe2b27a(0x1,_0x27aa99[_0x1112e6(0x1c0)])],_0x4969f7);let _0x298614=[_0x1112e6(0x48a),'jiqing.500',_0x1112e6(0x3e4),_0x1112e6(0x1df),_0x1112e6(0x4c3),_0x1112e6(0x22a)];var _0x3b4dcd=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(..._0xf6acee){const _0x19da48=_0x1112e6;super(..._0xf6acee),_0x10c934(this,_0x19da48(0x20a),new Map()),_0x10c934(this,_0x19da48(0x3f3),0x0);}[_0x1112e6(0x2c7)](_0x484aac){const _0x461195=_0x1112e6;if(this[_0x461195(0x20a)]['has'](_0x484aac))return this[_0x461195(0x20a)][_0x461195(0x3a5)](_0x484aac);let _0x371933=_0x298614[this['_colorIndex']];return this[_0x461195(0x3f3)]=(this['_colorIndex']+0x1)%_0x298614[_0x461195(0x4e2)],this[_0x461195(0x20a)]['set'](_0x484aac,_0x371933),_0x371933;}};function _0x28c870(_0x38b148){const _0x438732=_0x1112e6;let _0x2481a4='';for(let _0x1235b5 of _0x38b148){let {startOffset:_0x4488e3,endOffset:_0x27ef75,isActive:_0x5c3eba,rangeType:_0x2b95ec,segmentId:_0xa78bac,segmentPage:_0x759d}=_0x1235b5;_0x2481a4[_0x438732(0x4e2)]&&(_0x2481a4+=','),_0x2481a4+=_0x4488e3+':'+_0x27ef75+':'+(_0x5c3eba?'1':'0')+':'+_0x2b95ec+':'+_0xa78bac+':'+_0x759d;}return _0x2481a4;}function _0x21eb49(_0xf430aa){const _0x20aa55=_0x1112e6;let _0x57e908=_0xf430aa[_0x20aa55(0x436)](','),_0x502101=[];for(let _0xa8271a of _0x57e908){let [_0x263a08,_0x48d98d,_0x20927f,_0x50ee5c,_0x5581bd,_0x1f4d85]=_0xa8271a['split'](':');_0x502101[_0x20aa55(0x367)]({'startOffset':Number(_0x263a08),'endOffset':Number(_0x48d98d),'collapsed':_0x263a08===_0x48d98d,'isActive':_0x20927f==='1','rangeType':_0x50ee5c===_0x27aa99['DOC_RANGE_TYPE'][_0x20aa55(0x463)]?_0x27aa99[_0x20aa55(0x386)][_0x20aa55(0x463)]:_0x27aa99['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x5581bd==_0x20aa55(0x2cc)?String(_0x5581bd):'','segmentPage':Number(_0x1f4d85??-0x1)});}return _0x502101[_0x20aa55(0x21c)](_0xd4bd7b=>_0xd4bd7b['isActive'])||(_0x502101[0x0][_0x20aa55(0x32c)]=!0x0),_0x502101;}var _0x2c9ee8=class extends _0x27aa99['RxDisposable']{constructor(..._0x378ea3){const _0x4c9568=_0x1112e6;super(..._0x378ea3),_0x10c934(this,'_collabCursorState$',new _0x55e528[(_0x4c9568(0x357))](null)),_0x10c934(this,_0x4c9568(0x240),this['_collabCursorState$']['asObservable']());}[_0x1112e6(0x25c)](_0x23f50d){const _0x40692d=_0x1112e6;let {unitID:_0x262b11,memberID:_0x25bc79,textRanges:_0x28184f}=_0x23f50d,_0x3cbb8e=_0x28c870(_0x28184f);if(_0x3cbb8e==='')return;let _0x7aac14={'unitID':_0x262b11,'memberID':_0x25bc79,'selection':_0x3cbb8e};this[_0x40692d(0x4d8)][_0x40692d(0x3cb)](_0x7aac14);}};let _0xb75459=class extends _0x27aa99['RxDisposable']{get[_0x1112e6(0x42c)](){const _0x2d5db3=_0x1112e6;return this[_0x2d5db3(0x4a2)]['getValue']();}get[_0x1112e6(0x2b0)](){const _0x388551=_0x1112e6;return this[_0x388551(0x4ec)][_0x388551(0x353)]();}constructor(_0x388a7a,_0x29f990,_0x485b88,_0x21ea22,_0x13307b,_0x1df2eb,_0x22620f,_0x55b245,_0x23da37){const _0x3aa434=_0x1112e6;super(),this['unitID']=_0x388a7a,this[_0x3aa434(0x30a)]=_0x29f990,this[_0x3aa434(0x26a)]=_0x485b88,this['_colorAssignService']=_0x21ea22,this[_0x3aa434(0x440)]=_0x13307b,this[_0x3aa434(0x4e4)]=_0x1df2eb,this['_transformService']=_0x22620f,this[_0x3aa434(0x1d7)]=_0x55b245,this[_0x3aa434(0x1de)]=_0x23da37,_0x10c934(this,_0x3aa434(0x3bd),!0x1),_0x10c934(this,'_init',!0x1),_0x10c934(this,_0x3aa434(0x4a2),new _0x55e528[(_0x3aa434(0x357))](new Map())),_0x10c934(this,'cursorInfo$',this[_0x3aa434(0x4a2)][_0x3aa434(0x2d7)]()),_0x10c934(this,_0x3aa434(0x4ec),new _0x55e528[(_0x3aa434(0x357))]([])),_0x10c934(this,_0x3aa434(0x4ef),this[_0x3aa434(0x4ec)]['pipe']((0x0,_0x55e528[_0x3aa434(0x3d2)])(0x12c))),_0x10c934(this,_0x3aa434(0x3ab),(0x0,_0x27aa99[_0x3aa434(0x21d)])(_0x4264fb=>{const _0x42f1c6=_0x3aa434;let _0x36c8b6={'eventID':_0x301412['CollaborationEvent'][_0x42f1c6(0x1da)],'data':{'unitID':this[_0x42f1c6(0x2ef)],'memberID':this[_0x42f1c6(0x30a)][_0x42f1c6(0x28f)](),'selection':_0x28c870(_0x4264fb)}};this['_session']['send'](_0x36c8b6,this[_0x42f1c6(0x2ef)]);},0x64));}[_0x1112e6(0x45e)](){const _0x4f4997=_0x1112e6;super[_0x4f4997(0x45e)](),this[_0x4f4997(0x4a2)]['next'](new Map()),this[_0x4f4997(0x4a2)][_0x4f4997(0x405)](),this[_0x4f4997(0x4ec)][_0x4f4997(0x3cb)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x534b2d=_0x1112e6;this['_init']||(this[_0x534b2d(0x3d5)]=!0x0,this[_0x534b2d(0x30a)]['sessionStatus$']['pipe']((0x0,_0x55e528[_0x534b2d(0x3fe)])(this[_0x534b2d(0x4c4)]))[_0x534b2d(0x4ea)](_0x24504e=>{const _0x51ba72=_0x534b2d;_0x24504e===_0xd500a[_0x51ba72(0x30e)][_0x51ba72(0x37c)]?this[_0x51ba72(0x30c)]():this[_0x51ba72(0x238)]();}),this[_0x534b2d(0x30a)][_0x534b2d(0x27c)][_0x534b2d(0x4b2)]((0x0,_0x55e528[_0x534b2d(0x3fe)])(this[_0x534b2d(0x4c4)]))['subscribe'](_0xbe1174=>{const _0x2355a1=_0x534b2d;let _0x5dfeef=_0xbe1174[_0x2355a1(0x3b7)];_0x5dfeef===_0x301412[_0x2355a1(0x4ac)][_0x2355a1(0x1da)]&&this[_0x2355a1(0x1e8)](_0xbe1174),_0x5dfeef===_0x301412['CollaborationEvent']['USERS_LEAVE']&&this[_0x2355a1(0x3f9)](_0xbe1174);}),this[_0x534b2d(0x3b1)](this[_0x534b2d(0x1de)]['onCommandExecuted'](_0x190b0d=>{const _0x4e157e=_0x534b2d;let _0x4bedb7=_0x190b0d['params'];_0x4bedb7!=null&&this[_0x4e157e(0x3bd)]&&_0x190b0d['id']===_0x53a4ba[_0x4e157e(0x4f7)]['id']&&_0x4bedb7[_0x4e157e(0x4d3)]===this[_0x4e157e(0x2ef)]&&_0x4bedb7['isEditing']===!0x1&&_0x4bedb7[_0x4e157e(0x1d4)][_0x4e157e(0x4e2)]>0x0&&this['_updateLocalCursor'](_0x4bedb7['ranges']);})),this[_0x534b2d(0x4e4)][_0x534b2d(0x240)][_0x534b2d(0x4b2)]((0x0,_0x55e528[_0x534b2d(0x3fe)])(this['dispose$']))['subscribe'](_0x13d8db=>{const _0x5ced2d=_0x534b2d;if((_0x13d8db==null?void 0x0:_0x13d8db['unitID'])!==this[_0x5ced2d(0x2ef)])return;let _0x295f97={'eventID':_0x301412[_0x5ced2d(0x4ac)][_0x5ced2d(0x1da)],'data':_0x13d8db};this[_0x5ced2d(0x1e8)](_0x295f97);}),this[_0x534b2d(0x3b1)](this[_0x534b2d(0x1de)][_0x534b2d(0x44e)](_0x1cde24=>{const _0x1d3fc7=_0x534b2d;if(_0x1cde24[_0x1d3fc7(0x274)]==null)return;let _0x5a5544=_0x1cde24[_0x1d3fc7(0x274)];if(_0x1cde24['id']!==_0x53a4ba['RichTextEditingMutation']['id']||_0x5a5544['unitId']!==this[_0x1d3fc7(0x2ef)])return;let _0x550b99={'id':_0x1d3fc7(0x4ee),'params':_0x5a5544},_0x34053c=this[_0x1d3fc7(0x42c)];for(let [_0x45de8a,_0x5a776b]of _0x34053c){let _0x2249f2={'id':_0x1d3fc7(0x4ee),'params':{'unitId':this[_0x1d3fc7(0x2ef)],'actions':null,'textRanges':_0x5a776b['ranges']}},_0x4d4103=this[_0x1d3fc7(0x312)][_0x1d3fc7(0x3e1)](_0x550b99,_0x2249f2,!0x1);if((0x0,_0x301412[_0x1d3fc7(0x325)])(_0x4d4103))throw _0x4d4103[_0x1d3fc7(0x264)];_0x34053c[_0x1d3fc7(0x20e)](_0x45de8a,{..._0x5a776b,'ranges':_0x4d4103[_0x1d3fc7(0x3ff)][_0x1d3fc7(0x274)][_0x1d3fc7(0x1e7)]});}queueMicrotask(()=>{const _0x19e7c8=_0x1d3fc7;this[_0x19e7c8(0x4a2)][_0x19e7c8(0x3cb)](_0x34053c);});})));}[_0x1112e6(0x1e8)](_0x3a982e){const _0xbe0b80=_0x1112e6;var _0x5886f0;let {memberID:_0x4b3e28,selection:_0xd0a157}=_0x3a982e['data'],_0x1b11de=_0x21eb49(_0xd0a157),_0x35d363=((_0x5886f0=this[_0xbe0b80(0x440)][_0xbe0b80(0x2e4)](this['unitID'],_0x4b3e28))==null?void 0x0:_0x5886f0[_0xbe0b80(0x239)])??_0xbe0b80(0x3cf),_0xe57b00={'color':this['_colorAssignService'][_0xbe0b80(0x2c7)](_0x4b3e28),'name':_0x35d363,'ranges':_0x1b11de},_0x102f67=this[_0xbe0b80(0x42c)];_0x102f67[_0xbe0b80(0x20e)](_0x4b3e28,_0xe57b00),this[_0xbe0b80(0x4a2)][_0xbe0b80(0x3cb)](_0x102f67);}[_0x1112e6(0x3f9)](_0x48a36f){const _0x28bb37=_0x1112e6;let {memberID:_0x11df30}=_0x48a36f[_0x28bb37(0x1fa)],_0x34a1bb=this[_0x28bb37(0x42c)];_0x34a1bb['delete'](_0x11df30),this[_0x28bb37(0x4a2)]['next'](_0x34a1bb);}[_0x1112e6(0x30c)](){const _0x56abcf=_0x1112e6;var _0x5c810;if(this[_0x56abcf(0x3bd)]=!0x0,((_0x5c810=this[_0x56abcf(0x1d7)]['getFocusedUnit']())==null?void 0x0:_0x5c810[_0x56abcf(0x3a1)]())!==this[_0x56abcf(0x2ef)])return;let _0x3d9f16=this[_0x56abcf(0x26a)][_0x56abcf(0x3a5)](_0x53a4ba[_0x56abcf(0x2f8)])[_0x56abcf(0x4a9)]();Array[_0x56abcf(0x421)](_0x3d9f16)&&_0x3d9f16['length']>0x0&&this[_0x56abcf(0x3ab)](_0x3d9f16);}[_0x1112e6(0x238)](){this['_online']=!0x1;}};_0xb75459=_0x4398e9([_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x3b4dcd)),_0xe2b27a(0x4,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a[_0x1112e6(0x3da)])),_0xe2b27a(0x5,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x2c9ee8)),_0xe2b27a(0x6,_0x301412[_0x1112e6(0x444)]),_0xe2b27a(0x7,_0x27aa99[_0x1112e6(0x4f2)]),_0xe2b27a(0x8,_0x27aa99[_0x1112e6(0x41e)])],_0xb75459);let _0x46a724=()=>{let _0x484cd1=[],_0x502a57=!0x1;return _0x1d05a9=>{const _0x39afe5=_0x32ca;_0x484cd1[_0x39afe5(0x367)](_0x1d05a9),_0x502a57||(_0x502a57=!0x0,setTimeout(()=>{const _0x69a3a=_0x39afe5;_0x484cd1[_0x69a3a(0x356)](_0xf14d62=>_0xf14d62()),_0x484cd1=[],_0x502a57=!0x1;}));};},_0x38841b=class extends _0x27aa99[_0x1112e6(0x280)]{get[_0x1112e6(0x42c)](){const _0x40b24e=_0x1112e6;return this[_0x40b24e(0x4a2)][_0x40b24e(0x353)]();}get[_0x1112e6(0x2b0)](){const _0x377a79=_0x1112e6;return this['_roomMembers$'][_0x377a79(0x353)]();}constructor(_0x2af262,_0x4ea8a3,_0x1141c9,_0xf5b008,_0x3c1785,_0x515354,_0x52a4ed,_0x2e796f){const _0x474beb=_0x1112e6;super(),this['unitID']=_0x2af262,this[_0x474beb(0x30a)]=_0x4ea8a3,this[_0x474beb(0x26a)]=_0x1141c9,this[_0x474beb(0x4b9)]=_0xf5b008,this[_0x474beb(0x440)]=_0x3c1785,this[_0x474beb(0x1d7)]=_0x515354,this[_0x474beb(0x1de)]=_0x52a4ed,this[_0x474beb(0x32a)]=_0x2e796f,_0x10c934(this,_0x474beb(0x3bd),!0x1),_0x10c934(this,_0x474beb(0x3d5),!0x1),_0x10c934(this,'_cursorInfo$',new _0x55e528[(_0x474beb(0x357))](new Map())),_0x10c934(this,_0x474beb(0x26c),this[_0x474beb(0x4a2)]['asObservable']()),_0x10c934(this,'_roomMembers$',new _0x55e528[(_0x474beb(0x357))]([])),_0x10c934(this,'roomMembers$',this[_0x474beb(0x4ec)][_0x474beb(0x4b2)]((0x0,_0x55e528[_0x474beb(0x3d2)])(0x12c))),_0x10c934(this,_0x474beb(0x3ab),(0x0,_0x27aa99[_0x474beb(0x21d)])((_0x26fd4b,_0x491833)=>{const _0x5dda33=_0x474beb;let _0x54844d={'eventID':_0x301412[_0x5dda33(0x4ac)][_0x5dda33(0x1da)],'data':{'unitID':this['unitID'],'memberID':this[_0x5dda33(0x30a)][_0x5dda33(0x28f)](),'selection':(0x0,_0x385246[_0x5dda33(0x2a8)])(_0x26fd4b,_0x491833[_0x5dda33(0x2bf)])}};this[_0x5dda33(0x30a)][_0x5dda33(0x1a4)](_0x54844d,this[_0x5dda33(0x2ef)]);},0x64));}[_0x1112e6(0x45e)](){const _0x554c4f=_0x1112e6;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x554c4f(0x4a2)][_0x554c4f(0x405)](),this[_0x554c4f(0x4ec)][_0x554c4f(0x3cb)]([]),this[_0x554c4f(0x4ec)][_0x554c4f(0x405)]();}[_0x1112e6(0x29c)](){const _0x386575=_0x1112e6;this[_0x386575(0x3d5)]||(this[_0x386575(0x3d5)]=!0x0,this[_0x386575(0x30a)][_0x386575(0x363)][_0x386575(0x4b2)]((0x0,_0x55e528[_0x386575(0x3fe)])(this[_0x386575(0x4c4)]))[_0x386575(0x4ea)](_0x48b727=>{const _0x2e9820=_0x386575;_0x48b727===_0xd500a[_0x2e9820(0x30e)]['ONLINE']?this['_toggleOnline']():this[_0x2e9820(0x238)]();}),this[_0x386575(0x30a)][_0x386575(0x27c)][_0x386575(0x4b2)]((0x0,_0x55e528[_0x386575(0x3fe)])(this[_0x386575(0x4c4)]))['subscribe'](_0x4fdfac=>{const _0x32ee9b=_0x386575;let _0x5e5eee=_0x4fdfac[_0x32ee9b(0x3b7)];_0x5e5eee===_0x301412[_0x32ee9b(0x4ac)]['UPDATE_CURSOR']&&this[_0x32ee9b(0x1e8)](_0x4fdfac),_0x5e5eee===_0x301412[_0x32ee9b(0x4ac)][_0x32ee9b(0x2f5)]&&this[_0x32ee9b(0x3f9)](_0x4fdfac);}),this[_0x386575(0x474)](),this[_0x386575(0x3b1)](this['_commandService'][_0x386575(0x44e)](_0x313e37=>{const _0x3ccc97=_0x386575;if(this[_0x3ccc97(0x3bd)]&&_0x313e37['id']===_0x430826[_0x3ccc97(0x46c)]['id']&&_0x313e37['params'][_0x3ccc97(0x4d3)]===this[_0x3ccc97(0x2ef)]){let _0x1c6682=_0x313e37[_0x3ccc97(0x274)];this[_0x3ccc97(0x3ab)](_0x1c6682[_0x3ccc97(0x2d2)],_0x1c6682['selections'][0x0]);}})));}[_0x1112e6(0x1e8)](_0x91945b){const _0x2dc6dd=_0x1112e6;var _0x49acb6;let {memberID:_0x268308,selection:_0x52e20d}=_0x91945b[_0x2dc6dd(0x1fa)],{sheetName:_0x698362,range:_0x8ccd67}=(0x0,_0x385246[_0x2dc6dd(0x2ec)])(_0x52e20d),_0x3e6d47={'name':((_0x49acb6=this[_0x2dc6dd(0x440)]['getMember'](this[_0x2dc6dd(0x2ef)],_0x268308))==null?void 0x0:_0x49acb6['name'])??_0x2dc6dd(0x3cf),'range':this[_0x2dc6dd(0x4e5)](_0x698362,_0x8ccd67),'sheetID':_0x698362,'color':this['_colorAssignService'][_0x2dc6dd(0x2c7)](_0x268308),'selection':_0x52e20d},_0x149a06=this[_0x2dc6dd(0x42c)];_0x149a06['set'](_0x268308,_0x3e6d47),this[_0x2dc6dd(0x4a2)]['next'](_0x149a06);}[_0x1112e6(0x3f9)](_0x12624f){const _0x38a151=_0x1112e6;let {memberID:_0x542179}=_0x12624f[_0x38a151(0x1fa)],_0x29040e=this[_0x38a151(0x42c)];_0x29040e[_0x38a151(0x4d6)](_0x542179),this[_0x38a151(0x4a2)][_0x38a151(0x3cb)](_0x29040e);}[_0x1112e6(0x4e5)](_0x4d7f9a,_0x362fdf){const _0x44c75c=_0x1112e6;var _0xb50da3;let _0x102ede=(_0xb50da3=this['_univerInstanceService'][_0x44c75c(0x26d)](this[_0x44c75c(0x2ef)],_0x27aa99['UniverInstanceType'][_0x44c75c(0x3be)]))==null||(_0xb50da3=_0xb50da3[_0x44c75c(0x2df)](_0x4d7f9a))==null?void 0x0:_0xb50da3[_0x44c75c(0x4c6)]();return(_0x102ede==null?void 0x0:_0x102ede[_0x44c75c(0x38b)](_0x4ea906=>_0x27aa99[_0x44c75c(0x470)][_0x44c75c(0x4c0)](_0x4ea906,_0x362fdf)))||_0x362fdf;}['_onRefRangeChange'](){const _0x2b72bd=_0x1112e6;let _0x608507=new _0x27aa99['DisposableCollection'](),_0x2614f9=_0x46a724(),_0xf0c68a=()=>{const _0x3249d0=_0x32ca;_0x608507[_0x3249d0(0x45e)]();let _0x5432fb=(_0x2d937e,_0x1e3e33,_0x170864,_0x464757)=>{const _0x44b424=_0x3249d0;let _0x49a83b=[];switch(_0x2d937e['id']){case _0x430826[_0x44b424(0x476)]['DeleteRangeMoveLeftCommandId']:_0x49a83b=(0x0,_0x430826[_0x44b424(0x4cd)])(_0x2d937e,_0x464757);break;case _0x430826[_0x44b424(0x476)][_0x44b424(0x31d)]:_0x49a83b=(0x0,_0x430826['handleDeleteRangeMoveUp'])(_0x2d937e,_0x464757);break;case _0x430826['EffectRefRangId'][_0x44b424(0x3ec)]:_0x49a83b=(0x0,_0x430826[_0x44b424(0x317)])(_0x2d937e,_0x464757);break;case _0x430826[_0x44b424(0x476)][_0x44b424(0x1c6)]:_0x49a83b=(0x0,_0x430826['handleInsertRangeMoveDown'])(_0x2d937e,_0x464757);break;case _0x430826[_0x44b424(0x476)][_0x44b424(0x31e)]:_0x49a83b=(0x0,_0x430826[_0x44b424(0x455)])(_0x2d937e,_0x464757);break;case _0x430826['EffectRefRangId'][_0x44b424(0x3b3)]:_0x49a83b=(0x0,_0x430826[_0x44b424(0x2da)])(_0x2d937e,_0x464757);break;case _0x430826[_0x44b424(0x476)][_0x44b424(0x4b1)]:_0x49a83b=(0x0,_0x430826[_0x44b424(0x278)])(_0x2d937e,_0x464757);break;case _0x430826[_0x44b424(0x476)][_0x44b424(0x387)]:_0x49a83b=(0x0,_0x430826['handleIRemoveCol'])(_0x2d937e,_0x464757);break;case _0x430826[_0x44b424(0x476)]['RemoveRowCommandId']:_0x49a83b=(0x0,_0x430826[_0x44b424(0x4f4)])(_0x2d937e,_0x464757);break;}let _0x53793d=(0x0,_0x430826[_0x44b424(0x37f)])(_0x49a83b,_0x464757),_0x125de2=this[_0x44b424(0x42c)]['get'](_0x1e3e33);if(_0x125de2&&_0x53793d){let _0x5392cf={..._0x125de2,'range':_0x53793d};this['cursorInfo']['set'](_0x1e3e33,_0x5392cf),_0x2614f9(()=>{const _0x41b9dc=_0x44b424;let _0x1ea407=this[_0x41b9dc(0x32a)][_0x41b9dc(0x1f0)](_0x53793d,_0x1c3dd9=>(_0x1ea407[_0x41b9dc(0x45e)](),_0x5432fb(_0x1c3dd9,_0x1e3e33,_0x170864,_0x53793d)));_0x608507['add'](_0x1ea407);});}return{'redos':[],'undos':[]};};this[_0x3249d0(0x42c)][_0x3249d0(0x356)]((_0x5ab11d,_0x3ba9fa)=>{const _0x2e4db8=_0x3249d0;let {range:_0x3ebd33,sheetID:_0x119492}=_0x5ab11d,_0x21bb64=this['_refRangeService'][_0x2e4db8(0x1f0)](_0x3ebd33,_0x223184=>(_0x21bb64[_0x2e4db8(0x45e)](),_0x5432fb(_0x223184,_0x3ba9fa,_0x119492,_0x3ebd33)));_0x608507[_0x2e4db8(0x415)](_0x21bb64);});};this['disposeWithMe']((0x0,_0x27aa99[_0x2b72bd(0x3f1)])(this['_cursorInfo$'][_0x2b72bd(0x4ea)](()=>{_0xf0c68a();})));}[_0x1112e6(0x30c)](){const _0xaf1207=_0x1112e6;var _0x139aec,_0x4994ef;if(this[_0xaf1207(0x3bd)]=!0x0,((_0x139aec=this[_0xaf1207(0x1d7)][_0xaf1207(0x4b8)]())==null?void 0x0:_0x139aec[_0xaf1207(0x3a1)]())!==this['unitID'])return;let _0x350b31=(_0x4994ef=this['_injector']['get'](_0x430826[_0xaf1207(0x2a1)])[_0xaf1207(0x4f1)]())==null?void 0x0:_0x4994ef[0x0],_0x3af003=this[_0xaf1207(0x1d7)][_0xaf1207(0x360)](_0x27aa99['UniverInstanceType'][_0xaf1207(0x3be)])[_0xaf1207(0x1b8)]();_0x350b31&&_0x3af003&&this[_0xaf1207(0x3ab)](_0x3af003[_0xaf1207(0x47e)](),_0x350b31);}[_0x1112e6(0x238)](){const _0x18fe58=_0x1112e6;this[_0x18fe58(0x3bd)]=!0x1;}};_0x38841b=_0x4398e9([_0xe2b27a(0x2,(0x0,_0x27aa99['Inject'])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x3b4dcd)),_0xe2b27a(0x4,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a[_0x1112e6(0x3da)])),_0xe2b27a(0x5,_0x27aa99[_0x1112e6(0x4f2)]),_0xe2b27a(0x6,_0x27aa99[_0x1112e6(0x41e)]),_0xe2b27a(0x7,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x430826[_0x1112e6(0x4aa)]))],_0x38841b);let _0x177b31=class extends _0x27aa99[_0x1112e6(0x280)]{constructor(_0x5b3f7c,_0x49daf6,_0x43957b){const _0x486aa8=_0x1112e6;super(),this['_univerInstanceService']=_0x5b3f7c,this[_0x486aa8(0x26a)]=_0x49daf6,this['_collabSessionService']=_0x43957b,_0x10c934(this,'_entities',new Map()),_0x10c934(this,'_entityInit$',new _0x55e528[(_0x486aa8(0x2f2))]()),this['_init']();}[_0x1112e6(0x45e)](){const _0x21f3cb=_0x1112e6;super[_0x21f3cb(0x45e)](),this[_0x21f3cb(0x3f6)][_0x21f3cb(0x405)](),this[_0x21f3cb(0x447)][_0x21f3cb(0x356)](_0x7d1f44=>_0x7d1f44[_0x21f3cb(0x45e)]());}[_0x1112e6(0x1a2)](_0x52fdea){const _0x376fa2=_0x1112e6;let _0x2df78d=this[_0x376fa2(0x447)]['get'](_0x52fdea);return _0x2df78d?_0x2df78d[_0x376fa2(0x26c)]:this[_0x376fa2(0x3f6)][_0x376fa2(0x4b2)]((0x0,_0x55e528[_0x376fa2(0x2c4)])(_0x3d59d0=>_0x3d59d0[_0x376fa2(0x2ef)]===_0x52fdea),(0x0,_0x55e528[_0x376fa2(0x335)])(_0x3644e1=>_0x3644e1[_0x376fa2(0x26c)]));}[_0x1112e6(0x3d5)](){const _0x38f80a=_0x1112e6;this[_0x38f80a(0x1d7)][_0x38f80a(0x39a)](_0x27aa99['UniverInstanceType']['UNIVER_SHEET'])[_0x38f80a(0x4b2)]((0x0,_0x55e528[_0x38f80a(0x3fe)])(this[_0x38f80a(0x4c4)]))[_0x38f80a(0x4ea)](async _0x467cb4=>{const _0x359e21=_0x38f80a;let _0x2b2635=_0x467cb4['unit'][_0x359e21(0x3a1)](),_0x5dfa5a=await this[_0x359e21(0x4c1)](_0x2b2635);this[_0x359e21(0x3f6)][_0x359e21(0x3cb)](_0x5dfa5a),this[_0x359e21(0x447)][_0x359e21(0x20e)](_0x2b2635,_0x5dfa5a);}),this[_0x38f80a(0x1d7)][_0x38f80a(0x39a)](_0x27aa99['UniverInstanceType'][_0x38f80a(0x309)])[_0x38f80a(0x4b2)]((0x0,_0x55e528[_0x38f80a(0x3fe)])(this[_0x38f80a(0x4c4)]))['pipe']((0x0,_0x55e528[_0x38f80a(0x2c4)])(_0x53b411=>!_0x53b411[_0x38f80a(0x241)][_0x38f80a(0x3a1)]()[_0x38f80a(0x2ee)]('__')))[_0x38f80a(0x4ea)](async _0x22ccd6=>{const _0x599251=_0x38f80a;let {unit:_0x2976f7}=_0x22ccd6,_0xf25eff=_0x2976f7[_0x599251(0x3a1)](),_0x380bc2=await this[_0x599251(0x261)](_0xf25eff);this[_0x599251(0x3f6)]['next'](_0x380bc2),this[_0x599251(0x447)][_0x599251(0x20e)](_0xf25eff,_0x380bc2);}),(0x0,_0x55e528['merge'])(this[_0x38f80a(0x1d7)]['getTypeOfUnitDisposed$'](_0x27aa99['UniverInstanceType'][_0x38f80a(0x309)]),this['_univerInstanceService'][_0x38f80a(0x458)](_0x27aa99[_0x38f80a(0x374)][_0x38f80a(0x3be)]))['pipe']((0x0,_0x55e528['takeUntil'])(this['dispose$']))[_0x38f80a(0x4ea)](_0x3f25e9=>{const _0x30c2bc=_0x38f80a;let _0x1ade54=_0x3f25e9['getUnitId'](),_0x36ef9c=this[_0x30c2bc(0x447)][_0x30c2bc(0x3a5)](_0x1ade54);_0x36ef9c&&(_0x36ef9c['dispose'](),this[_0x30c2bc(0x447)][_0x30c2bc(0x4d6)](_0x1ade54));});}async[_0x1112e6(0x4c1)](_0x14bcd3){const _0x3b0216=_0x1112e6;let _0x2b2799=await this[_0x3b0216(0x3f4)][_0x3b0216(0x33e)](_0x14bcd3),_0x403515=this[_0x3b0216(0x26a)]['createInstance'](_0x38841b,_0x14bcd3,_0x2b2799);return _0x403515[_0x3b0216(0x29c)](),_0x403515;}async[_0x1112e6(0x261)](_0x37f6f1){const _0x304b90=_0x1112e6;let _0x57e4bd=await this['_collabSessionService'][_0x304b90(0x33e)](_0x37f6f1),_0x95fc1f=this['_injector'][_0x304b90(0x1cf)](_0xb75459,_0x37f6f1,_0x57e4bd);return _0x95fc1f[_0x304b90(0x29c)](),_0x95fc1f;}};_0x177b31=_0x4398e9([_0xe2b27a(0x0,_0x27aa99['IUniverInstanceService']),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99['Injector'])),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a['CollaborationSessionService']))],_0x177b31);function _0xd76bf2(_0x2cd60a,_0x3cff29){const _0x58f1c4=_0x1112e6;_0x2cd60a['save'](),_0x2cd60a[_0x58f1c4(0x200)]=_0x58f1c4(0x46d);let _0x57085e=_0x2cd60a[_0x58f1c4(0x1f5)](_0x3cff29)[_0x58f1c4(0x2d8)];return _0x2cd60a[_0x58f1c4(0x327)](),Math[_0x58f1c4(0x43e)](_0x57085e+0x8,0xc8);}function _0x1f45d1(_0x186345,_0x129a02){const _0x121a01=_0x1112e6;let {radius:_0x570ac5,width:_0x808281,height:_0x19d624}=_0x129a02;_0x570ac5??=0x0,_0x808281??=0x1e,_0x19d624??=0x1e;let _0x53e184=0x0,_0xb4bb39=0x0,_0x3b8b6d=0x0;_0x53e184=_0xb4bb39=_0x3b8b6d=Math[_0x121a01(0x43e)](_0x570ac5,_0x808281/0x2,_0x19d624/0x2),_0x186345[_0x121a01(0x4ca)](),_0x186345[_0x121a01(0x1ae)](_0x53e184,0x0),_0x186345[_0x121a01(0x40e)](_0x808281-_0xb4bb39,0x0),_0x186345['arc'](_0x808281-_0xb4bb39,_0xb4bb39,_0xb4bb39,Math['PI']*0x3/0x2,0x0,!0x1),_0x186345['lineTo'](_0x808281,_0x19d624-_0x3b8b6d),_0x186345['arc'](_0x808281-_0x3b8b6d,_0x19d624-_0x3b8b6d,_0x3b8b6d,0x0,Math['PI']/0x2,!0x1),_0x186345['lineTo'](0x0,_0x19d624),_0x186345['lineTo'](0x0,_0x53e184),_0x186345[_0x121a01(0x2ca)](_0x53e184,_0x53e184,_0x53e184,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x186345[_0x121a01(0x351)](),_0x129a02[_0x121a01(0x298)]&&(_0x186345['save'](),_0x186345['fillStyle']=_0x129a02[_0x121a01(0x298)],_0x129a02[_0x121a01(0x453)]===_0x121a01(0x4f0)?_0x186345['fill']('evenodd'):_0x186345['fill'](),_0x186345[_0x121a01(0x327)]());}var _0x3c6a7b=class _0x56f337 extends _0x558eeb[_0x1112e6(0x279)]{constructor(_0x7e458,_0x468285){const _0x442260=_0x1112e6;super(_0x7e458,_0x468285),_0x10c934(this,_0x442260(0x40f),void 0x0),_0x10c934(this,_0x442260(0x297),void 0x0),this[_0x442260(0x40f)]=_0x468285==null?void 0x0:_0x468285['color'],this[_0x442260(0x297)]=_0x468285==null?void 0x0:_0x468285[_0x442260(0x297)];}static[_0x1112e6(0x2a2)](_0x5cab13,_0x8625e4){const _0x2c1321=_0x1112e6;let {text:_0x41f362,color:_0xfee605}=_0x8625e4;_0x5cab13[_0x2c1321(0x1d8)](),_0x5cab13[_0x2c1321(0x200)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0xe7a556=_0x5cab13[_0x2c1321(0x1f5)](_0x41f362)[_0x2c1321(0x2d8)];if(_0x1f45d1(_0x5cab13,{'height':0x14,'radius':0x4,'width':_0xd76bf2(_0x5cab13,_0x41f362),'fill':_0xfee605,'evented':!0x1}),_0x5cab13['fillStyle']='#FFF',_0xe7a556>0xc0){let _0x27f65d='',_0x13bc48=0x0;for(let _0x7400c6 of _0x41f362){let _0x32109b=_0x5cab13['measureText'](_0x7400c6)[_0x2c1321(0x2d8)];if(_0x13bc48+_0x32109b<=0xc0-_0x5cab13[_0x2c1321(0x1f5)](_0x2c1321(0x4a0))[_0x2c1321(0x2d8)])_0x27f65d+=_0x7400c6,_0x13bc48+=_0x32109b;else{_0x27f65d+=_0x2c1321(0x4a0);break;}}_0x5cab13[_0x2c1321(0x2b5)](_0x27f65d,0x4,0xf);}else _0x5cab13[_0x2c1321(0x2b5)](_0x41f362,0x4,0xf);_0x5cab13[_0x2c1321(0x327)]();}[_0x1112e6(0x411)](_0x49b382){const _0x3fcfee=_0x1112e6;_0x56f337[_0x3fcfee(0x2a2)](_0x49b382,this);}};let _0x21b284='collab-text-anchor-';var _0x4545ca=class{constructor(_0x2281c0,_0x581866,_0x2a552c,_0x25adfa){const _0x82cc93=_0x1112e6;this[_0x82cc93(0x36a)]=_0x2281c0,this['_scene']=_0x581866,this['_docSkeleton']=_0x2a552c,this[_0x82cc93(0x31c)]=_0x25adfa,_0x10c934(this,_0x82cc93(0x34f),[]),_0x10c934(this,_0x82cc93(0x250),null),_0x10c934(this,_0x82cc93(0x333),null),_0x10c934(this,_0x82cc93(0x30f),null),_0x10c934(this,_0x82cc93(0x1a1),null),_0x10c934(this,'_eventUnsubscribe',null),this[_0x82cc93(0x219)]();}set[_0x1112e6(0x1b9)](_0x471ed5){const _0x48f031=_0x1112e6;_0x471ed5?(this['_anchorDot']&&this['_anchorDot']['hide'](),this['_textBubble']&&this['_textBubble'][_0x48f031(0x3e2)]()):(this[_0x48f031(0x30f)]&&this[_0x48f031(0x30f)][_0x48f031(0x3e2)](),this['_textBubble']&&this[_0x48f031(0x333)][_0x48f031(0x467)]());}['dispose'](){const _0x2a6051=_0x1112e6;for(let _0x974898 of this[_0x2a6051(0x34f)])_0x974898[_0x2a6051(0x45e)]();this['_textBubble']&&this['_textBubble'][_0x2a6051(0x45e)](),this[_0x2a6051(0x30f)]&&this[_0x2a6051(0x30f)][_0x2a6051(0x45e)](),this[_0x2a6051(0x250)]&&this['_anchor'][_0x2a6051(0x45e)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x1112e6(0x219)](){const _0x5081a2=_0x1112e6;let {_docSkeleton:_0x906068,_document:_0x55c01e}=this,{color:_0x531b35,name:_0x1c64ab,ranges:_0x17174c}=this['_cursor'],_0x717078=_0x55c01e[_0x5081a2(0x3d4)](),{docsLeft:_0x52f69e,docsTop:_0xaed82}=_0x717078,_0x426bcb=new _0x4a1268[(_0x5081a2(0x242))](_0x717078,_0x906068);for(let {startOffset:_0x5894af,endOffset:_0x1ab93e,rangeType:_0xf6addc,segmentId:_0x51d871,segmentPage:_0x311d86,collapsed:_0x91bc82,isActive:_0x1b1f2e}of _0x17174c){let _0x5f482e=_0x906068['findNodePositionByCharIndex'](_0x5894af,!0x0,_0x51d871,_0x311d86),_0x43a68e=_0x906068[_0x5081a2(0x25f)](_0x1ab93e,!0x0,_0x51d871,_0x311d86);_0x43a68e??=_0x906068[_0x5081a2(0x25f)](_0x1ab93e-0x1,!0x1,_0x51d871,_0x311d86);let _0xd0eb01=_0x91608(_0x5f482e,_0x43a68e);if(_0x1b1f2e&&_0xd0eb01[_0x5081a2(0x3e8)]){let {contentBoxPointGroup:_0x44d8a4}=_0x426bcb[_0x5081a2(0x24e)](_0x43a68e,_0x43a68e);if(_0x44d8a4[_0x5081a2(0x4e2)]===0x0)continue;this[_0x5081a2(0x39f)](_0x531b35,_0x44d8a4,_0x52f69e,_0xaed82,_0x1c64ab),this[_0x5081a2(0x497)]=this[_0x5081a2(0x35e)]();}if(_0x5f482e&&_0x43a68e){if(_0xf6addc===_0x27aa99[_0x5081a2(0x386)][_0x5081a2(0x204)]){let {pointGroup:_0x369e78}=new _0x4a1268['NodePositionConvertToRectRange'](_0x717078,_0x906068)[_0x5081a2(0x24e)](_0x5f482e,_0x43a68e)??{};if(_0x369e78==null||_0x369e78[_0x5081a2(0x4e2)]===0x0)continue;this[_0x5081a2(0x2dd)](_0x531b35,_0x369e78,_0x52f69e,_0xaed82);}else{if(!_0x91bc82&&_0xd0eb01[_0x5081a2(0x209)]){let {borderBoxPointGroup:_0x1e0427}=_0x426bcb['getRangePointData'](_0x5f482e,_0x43a68e);if(_0x1e0427[_0x5081a2(0x4e2)]===0x0)continue;this[_0x5081a2(0x294)](_0x531b35,_0x1e0427,_0x52f69e,_0xaed82);}}}}}[_0x1112e6(0x39f)](_0x1b3841,_0x247971,_0x3631c4,_0x594fe9,_0x34838a){const _0x2933ed=_0x1112e6;let {left:_0x2e09cc,top:_0x5c14be,height:_0x2d9f9b}=this['_getAnchorBounding'](_0x247971),_0x4d6e52=1.5/this[_0x2933ed(0x3ee)](),_0x2e6a24=new _0x558eeb['Rect'](_0x21b284+(0x0,_0x27aa99[_0x2933ed(0x1ea)])(0x6),{'left':_0x2e09cc+_0x3631c4-_0x4d6e52,'top':_0x5c14be+_0x594fe9,'height':_0x2d9f9b,'width':1.5,'fill':_0x1b3841||(0x0,_0x558eeb[_0x2933ed(0x1c1)])(_0x27aa99[_0x2933ed(0x399)][_0x2933ed(0x1ee)],0x0),'strokeWidth':_0x4d6e52,'stroke':_0x2933ed(0x1c4),'evented':!0x0});this[_0x2933ed(0x250)]=_0x2e6a24,this[_0x2933ed(0x2e0)]['addObject'](_0x2e6a24,_0x4a1268[_0x2933ed(0x3b6)]);let _0x46de71=new _0x558eeb['Rect'](_0x21b284+(0x0,_0x27aa99['generateRandomId'])(0x6),{'left':_0x2e09cc+_0x3631c4-_0x4d6e52,'top':_0x5c14be+_0x594fe9-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x1b3841||(0x0,_0x558eeb[_0x2933ed(0x1c1)])(_0x27aa99[_0x2933ed(0x399)][_0x2933ed(0x1ee)],0x0),'strokeWidth':0x0,'stroke':_0x1b3841||(0x0,_0x558eeb[_0x2933ed(0x1c1)])(_0x27aa99[_0x2933ed(0x399)][_0x2933ed(0x1ee)],0x0),'evented':!0x1});this['_anchorDot']=_0x46de71,this[_0x2933ed(0x2e0)][_0x2933ed(0x41b)](_0x46de71,_0x4a1268[_0x2933ed(0x3b6)]);let _0x587ed3=new _0x3c6a7b(_0x21b284+(0x0,_0x27aa99[_0x2933ed(0x1ea)])(0x6),{'left':_0x2e09cc+_0x3631c4-_0x4d6e52,'top':_0x5c14be+_0x594fe9-0x14,'text':_0x34838a,'color':_0x1b3841});this['_textBubble']=_0x587ed3,this[_0x2933ed(0x2e0)]['addObject'](_0x587ed3,_0x4a1268[_0x2933ed(0x3b6)]),this[_0x2933ed(0x1b9)]=!0x1;}[_0x1112e6(0x35e)](){const _0x5ab30a=_0x1112e6;let _0x20cfae=this[_0x5ab30a(0x250)]['onPointerEnter$'][_0x5ab30a(0x1d0)](()=>{const _0x4388a6=_0x5ab30a;this[_0x4388a6(0x1b9)]=!0x0;}),_0x544ed1=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x2341ca=_0x5ab30a;this[_0x2341ca(0x1a1)]&&clearTimeout(this['_hideTimer']),this[_0x2341ca(0x1a1)]=setTimeout(()=>{const _0x5ec37c=_0x2341ca;this[_0x5ec37c(0x1b9)]=!0x1;},0x7d0);});return()=>{const _0x1d009a=_0x5ab30a;_0x20cfae[_0x1d009a(0x291)](),_0x544ed1[_0x1d009a(0x291)]();};}[_0x1112e6(0x294)](_0x6ae8cd,_0x39f2d3,_0x16085c,_0x55462d){const _0x288377=_0x1112e6;let _0xf7337d=0.2,_0x1795d5=new _0x27aa99[(_0x288377(0x2fc))](_0x6ae8cd)[_0x288377(0x1d5)](_0xf7337d)[_0x288377(0x41a)](),_0x4ed0d2=new _0x558eeb['RegularPolygon'](_0x288377(0x3df)+(0x0,_0x27aa99[_0x288377(0x1ea)])(0x6),{'pointsGroup':_0x39f2d3,'fill':_0x1795d5||(0x0,_0x558eeb[_0x288377(0x1c1)])(_0x27aa99['COLORS'][_0x288377(0x1ee)],_0xf7337d),'left':_0x16085c,'top':_0x55462d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x288377(0x367)](_0x4ed0d2),this['_scene'][_0x288377(0x41b)](_0x4ed0d2,_0x4a1268[_0x288377(0x3b6)]);}[_0x1112e6(0x2dd)](_0x44ea1c,_0x4bf4ff,_0x8c813b,_0x3c71b1){const _0x24ba60=_0x1112e6;let _0x2a1605=0.2,_0x437486=new _0x27aa99[(_0x24ba60(0x2fc))](_0x44ea1c)[_0x24ba60(0x1d5)](_0x2a1605)['toRgbString'](),_0x23de25=new _0x558eeb[(_0x24ba60(0x267))](_0x24ba60(0x3b4)+(0x0,_0x27aa99[_0x24ba60(0x1ea)])(0x6),{'pointsGroup':_0x4bf4ff,'fill':_0x437486||(0x0,_0x558eeb[_0x24ba60(0x1c1)])(_0x27aa99[_0x24ba60(0x399)][_0x24ba60(0x1ee)],_0x2a1605),'left':_0x8c813b,'top':_0x3c71b1,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x24ba60(0x367)](_0x23de25),this[_0x24ba60(0x2e0)]['addObject'](_0x23de25,_0x4a1268[_0x24ba60(0x3b6)]);}[_0x1112e6(0x284)](_0x35d25f){let _0xd66cd4=_0x35d25f[0x0],_0x3fdae0=_0xd66cd4[0x0],_0x5905af=_0xd66cd4[0x2],{x:_0x14b6b4,y:_0xc04765}=_0x3fdae0,{x:_0xfe0041,y:_0x23498a}=_0x5905af;return{'left':_0x14b6b4,'top':_0xc04765,'width':_0xfe0041-_0x14b6b4,'height':_0x23498a-_0xc04765};}[_0x1112e6(0x3ee)](){const _0x52c648=_0x1112e6;let {scaleX:_0x462545,scaleY:_0x456917}=this[_0x52c648(0x2e0)]['getAncestorScale']();return Math['max'](_0x462545,_0x456917);}};function _0x91608(_0x3efb97,_0x2fe731){const _0x55477f=_0x1112e6;if(!_0x2fe731)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x3efb97||_0x3efb97[_0x55477f(0x417)]!==_0x2fe731[_0x55477f(0x417)]||(_0x3efb97[_0x55477f(0x417)]===_0x558eeb['DocumentSkeletonPageType'][_0x55477f(0x26f)]||_0x3efb97[_0x55477f(0x417)]===_0x558eeb[_0x55477f(0x20d)][_0x55477f(0x334)])&&_0x3efb97[_0x55477f(0x354)]!==_0x2fe731[_0x55477f(0x354)])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x3da0e4=(0x0,_0x558eeb[_0x55477f(0x3c3)])(_0x3efb97),_0x1ea272=(0x0,_0x558eeb[_0x55477f(0x3c3)])(_0x2fe731);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x3da0e4==null||_0x1ea272==null?_0x3da0e4==null&&_0x1ea272==null:_0x3da0e4[_0x55477f(0x1ba)]===_0x1ea272[_0x55477f(0x1ba)]&&_0x3da0e4['columnGroupId']===_0x1ea272[_0x55477f(0x260)]&&_0x3da0e4['columnIndex']===_0x1ea272[_0x55477f(0x3d3)]};}let _0x22a566=class extends _0x27aa99[_0x1112e6(0x280)]{constructor(_0x4452af,_0x4f40f6,_0x42342c,_0x5e7990,_0x2591ca){const _0x8be942=_0x1112e6;super(),this['_context']=_0x4452af,this[_0x8be942(0x3ad)]=_0x4f40f6,this[_0x8be942(0x485)]=_0x42342c,this[_0x8be942(0x1de)]=_0x5e7990,this[_0x8be942(0x4c2)]=_0x2591ca,_0x10c934(this,_0x8be942(0x4a5),[]),_0x10c934(this,_0x8be942(0x32f),[]),this[_0x8be942(0x3d5)]();}['_init'](){const _0x50e210=_0x1112e6;let _0x53702c=this['_context'][_0x50e210(0x4d3)],_0x23e5cb=this[_0x50e210(0x3ad)];this[_0x50e210(0x3b1)]((0x0,_0x55e528[_0x50e210(0x1a7)])([this['_collabCursorController'][_0x50e210(0x1a2)](_0x53702c),this['_themeService'][_0x50e210(0x3aa)]])['pipe']((0x0,_0x298c78[_0x50e210(0x212)])(([_0x414184,_0x24567e])=>({'skeleton':_0x23e5cb[_0x50e210(0x2ab)](),'cursors':[..._0x414184[_0x50e210(0x243)]()]['flatMap'](_0x49a5bb=>({..._0x49a5bb,'color':this[_0x50e210(0x4c2)]['getColorFromTheme'](_0x49a5bb[_0x50e210(0x40f)])}))})))[_0x50e210(0x4ea)](_0xaccf4d=>{const _0x3f6901=_0x50e210;if(this['_removeCollabCursors'](),_0xaccf4d){let {skeleton:_0x1d8c70,cursors:_0x54e904}=_0xaccf4d;this[_0x3f6901(0x2b1)](_0x1d8c70,_0x54e904);}})),this[_0x50e210(0x27d)](),this[_0x50e210(0x28d)]();}[_0x1112e6(0x2b1)](_0x1a8a6a,_0x2596c6){const _0x4d7dff=_0x1112e6;let {scene:_0x392dd2,mainComponent:_0x30c9ca}=this['_context'],_0x12652d=_0x2596c6[_0x4d7dff(0x212)](_0x376301=>new _0x4545ca(_0x376301,_0x392dd2,_0x1a8a6a,_0x30c9ca));this[_0x4d7dff(0x4a5)]=_0x12652d,this['_cursors']=_0x2596c6;}[_0x1112e6(0x381)](){const _0x43aa7e=_0x1112e6;this[_0x43aa7e(0x31b)]();let {scene:_0x149586,mainComponent:_0x20a733}=this[_0x43aa7e(0x330)],_0x4542ea=this[_0x43aa7e(0x3ad)][_0x43aa7e(0x2ab)](),_0x4475f6=this['_cursors'][_0x43aa7e(0x212)](_0x50037e=>new _0x4545ca(_0x50037e,_0x149586,_0x4542ea,_0x20a733));this[_0x43aa7e(0x4a5)]=_0x4475f6;}[_0x1112e6(0x31b)](){const _0x4ce625=_0x1112e6;this[_0x4ce625(0x4a5)][_0x4ce625(0x356)](_0x2baf41=>_0x2baf41[_0x4ce625(0x45e)]()),this[_0x4ce625(0x4a5)]=[];}[_0x1112e6(0x28d)](){const _0x22ecce=_0x1112e6;let _0x2f9e9b=[_0x4a1268['SetDocZoomRatioOperation']['id']];this[_0x22ecce(0x3b1)](this[_0x22ecce(0x1de)][_0x22ecce(0x44e)](_0x26961b=>{const _0x50b65a=_0x22ecce;_0x2f9e9b[_0x50b65a(0x2c9)](_0x26961b['id'])&&_0x26961b[_0x50b65a(0x274)][_0x50b65a(0x4d3)]===this[_0x50b65a(0x330)][_0x50b65a(0x4d3)]&&this[_0x50b65a(0x381)]();}));}['_initResize'](){const _0xb30983=_0x1112e6;this[_0xb30983(0x3b1)]((0x0,_0x27aa99['fromEventSubject'])(this[_0xb30983(0x330)][_0xb30983(0x33f)][_0xb30983(0x4e0)])[_0xb30983(0x4b2)]((0x0,_0x298c78[_0xb30983(0x2c4)])(_0x545bca=>_0x545bca[_0xb30983(0x23b)]===_0x558eeb[_0xb30983(0x3bf)][_0xb30983(0x2e8)]),(0x0,_0x298c78[_0xb30983(0x3a9)])(0x10))[_0xb30983(0x4ea)](()=>{const _0x5d4671=_0xb30983;this[_0x5d4671(0x381)]();}));}};_0x22a566=_0x4398e9([_0xe2b27a(0x1,(0x0,_0x27aa99['Inject'])(_0x53a4ba['DocSkeletonManagerService'])),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x177b31)),_0xe2b27a(0x3,_0x27aa99[_0x1112e6(0x41e)]),_0xe2b27a(0x4,(0x0,_0x27aa99['Inject'])(_0x27aa99[_0x1112e6(0x248)]))],_0x22a566);var _0x19d554=class extends _0x558eeb['Shape']{constructor(_0x5346ca,_0x5b9b1f){const _0x2594bf=_0x1112e6;super(_0x5346ca,_0x5b9b1f),_0x10c934(this,'_color',void 0x0),_0x10c934(this,'_hovered',!0x1),_0x10c934(this,_0x2594bf(0x4a3),void 0x0),_0x10c934(this,'_name',''),_0x10c934(this,_0x2594bf(0x3d7),_0x2594bf(0x2eb)),_0x10c934(this,_0x2594bf(0x2ba),void 0x0),_0x10c934(this,_0x2594bf(0x25a),void 0x0),_0x10c934(this,_0x2594bf(0x339),void 0x0),_0x10c934(this,_0x2594bf(0x1d1),0x4),_0x10c934(this,'_blinkTimer',void 0x0),_0x10c934(this,_0x2594bf(0x3f8),void 0x0),_0x10c934(this,_0x2594bf(0x368),!0x0),_0x10c934(this,'_offsetY',0x0),_0x10c934(this,_0x2594bf(0x416),_0x2594bf(0x352)),_0x5b9b1f&&(this[_0x2594bf(0x4e9)](_0x5b9b1f),_0x5b9b1f[_0x2594bf(0x4cb)]&&(_0x5b9b1f['highlightSecond']??this[_0x2594bf(0x1d1)])&&this[_0x2594bf(0x1f3)](_0x5b9b1f[_0x2594bf(0x44f)]??this[_0x2594bf(0x1d1)])),this['onPointerEnter$'][_0x2594bf(0x1d0)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x2594bf(0x1d0)](()=>this['setShapeProps']({'hovered':!0x1}));}[_0x1112e6(0x1e2)](_0x44172b){const _0x49efd6=_0x1112e6;this[_0x49efd6(0x43d)]=_0x44172b;}[_0x1112e6(0x4e9)](_0x4286c0){const _0x1a9f41=_0x1112e6;this[_0x1a9f41(0x208)]=_0x4286c0[_0x1a9f41(0x40f)]??this[_0x1a9f41(0x208)],this[_0x1a9f41(0x24a)]=_0x4286c0[_0x1a9f41(0x481)]??this[_0x1a9f41(0x24a)],this[_0x1a9f41(0x4a3)]=_0x4286c0[_0x1a9f41(0x2bf)]??this[_0x1a9f41(0x4a3)],this[_0x1a9f41(0x1ff)]=_0x4286c0[_0x1a9f41(0x239)]??this['_name'],this['_labelPosition']=_0x4286c0[_0x1a9f41(0x1b6)]??this[_0x1a9f41(0x3d7)],this[_0x1a9f41(0x2ba)]=_0x4286c0[_0x1a9f41(0x2b8)]??this[_0x1a9f41(0x2ba)],this[_0x1a9f41(0x25a)]=_0x4286c0[_0x1a9f41(0x318)]??this[_0x1a9f41(0x25a)],this[_0x1a9f41(0x416)]=_0x4286c0[_0x1a9f41(0x3eb)]??this[_0x1a9f41(0x416)],_0x4286c0['highlightSecond']!==void 0x0&&(this['_highlightSecond']=_0x4286c0[_0x1a9f41(0x44f)]),_0x4286c0[_0x1a9f41(0x4cb)]!==void 0x0&&(this[_0x1a9f41(0x339)]=_0x4286c0['highlight']),_0x4286c0[_0x1a9f41(0x202)]!==void 0x0&&(this[_0x1a9f41(0x43d)]=_0x4286c0[_0x1a9f41(0x202)]),this[_0x1a9f41(0x4d7)]({'width':_0x4286c0[_0x1a9f41(0x2d8)],'height':_0x4286c0[_0x1a9f41(0x272)]});}[_0x1112e6(0x2d9)](_0x4ab49d){const _0x163474=_0x1112e6;let {row:_0xec7441,column:_0x59962b}=_0x4ab49d;if(_0xec7441>=this[_0x163474(0x4a3)][_0x163474(0x4da)]&&_0xec7441<=this[_0x163474(0x4a3)][_0x163474(0x253)]&&_0x59962b>=this[_0x163474(0x4a3)][_0x163474(0x320)]&&_0x59962b<=this[_0x163474(0x4a3)][_0x163474(0x23f)]){this[_0x163474(0x4e9)]({'hovered':!0x0});return;}this[_0x163474(0x4e9)]({'hovered':!0x1});}[_0x1112e6(0x1f3)](_0x48d722){const _0x83c72b=_0x1112e6;this[_0x83c72b(0x315)](),this[_0x83c72b(0x368)]=!0x0,this[_0x83c72b(0x3f8)]=window[_0x83c72b(0x494)](()=>{const _0x3a4e25=_0x83c72b;this['_isBlinkVisible']=!this[_0x3a4e25(0x368)],this[_0x3a4e25(0x3e3)](!0x0);},0x1f4),this[_0x83c72b(0x40d)]=window[_0x83c72b(0x290)](()=>{const _0x3d1013=_0x83c72b;this[_0x3d1013(0x315)](),this[_0x3d1013(0x368)]=!0x0,this[_0x3d1013(0x3e3)](!0x0);},_0x48d722*0x3e8);}['_stopBlinking'](){const _0x237ebb=_0x1112e6;this[_0x237ebb(0x3f8)]&&=(window[_0x237ebb(0x434)](this[_0x237ebb(0x3f8)]),void 0x0),this[_0x237ebb(0x40d)]&&=(window['clearTimeout'](this[_0x237ebb(0x40d)]),void 0x0);}[_0x1112e6(0x35f)](_0x4160c4){return!0x1;}[_0x1112e6(0x45e)](){const _0x2da3f7=_0x1112e6;this[_0x2da3f7(0x315)](),super[_0x2da3f7(0x45e)]();}[_0x1112e6(0x411)](_0x170a2b){const _0x468c35=_0x1112e6;let _0x1790ac=this[_0x468c35(0x208)],_0x3e5825=this[_0x468c35(0x2ba)];if(this['_highlight']&&!this[_0x468c35(0x368)]&&(_0x1790ac=this[_0x468c35(0x49f)](this[_0x468c35(0x208)]),_0x3e5825=this[_0x468c35(0x2ba)]?this[_0x468c35(0x49f)](this[_0x468c35(0x2ba)]):void 0x0),_0x558eeb['Rect'][_0x468c35(0x2a2)](_0x170a2b,{'width':this['width'],'height':this[_0x468c35(0x272)],'strokeWidth':this[_0x468c35(0x4c9)]||1.5,'stroke':_0x1790ac,'evented':!0x1,'fill':_0x3e5825}),this['_hovered']||this[_0x468c35(0x25a)]){_0x170a2b[_0x468c35(0x1d8)]();let _0x3bcc7c=this['_labelHorizontalPosition']===_0x468c35(0x2d4)?-_0xd76bf2(_0x170a2b,this[_0x468c35(0x1ff)]):this['width'];_0x170a2b['transform'](0x1,0x0,0x0,0x1,_0x3bcc7c,(this[_0x468c35(0x3d7)]===_0x468c35(0x47c)?0x0:-0x14)+(this['_offsetY']??0x0)),_0x3c6a7b[_0x468c35(0x2a2)](_0x170a2b,{'text':this[_0x468c35(0x1ff)],'color':_0x1790ac}),_0x170a2b[_0x468c35(0x327)]();}}[_0x1112e6(0x49f)](_0x3c09e5){const _0x5a12e0=_0x1112e6;return _0x3c09e5[_0x5a12e0(0x2ee)]('#')?_0x5a12e0(0x331)+Number[_0x5a12e0(0x237)](_0x3c09e5['slice'](0x1,0x3),0x10)+',\x20'+Number[_0x5a12e0(0x237)](_0x3c09e5[_0x5a12e0(0x435)](0x3,0x5),0x10)+',\x20'+Number[_0x5a12e0(0x237)](_0x3c09e5[_0x5a12e0(0x435)](0x5,0x7),0x10)+_0x5a12e0(0x292):_0x3c09e5[_0x5a12e0(0x2ee)]('rgba')?_0x3c09e5[_0x5a12e0(0x23d)](/[\d.]+\)$/g,'0.2)'):_0x3c09e5[_0x5a12e0(0x2ee)](_0x5a12e0(0x347))?_0x3c09e5['replace'](_0x5a12e0(0x347),_0x5a12e0(0x383))[_0x5a12e0(0x23d)](')',',\x200.2)'):_0x3c09e5;}};let _0x2848b3=class extends _0x27aa99['RxDisposable']{constructor(_0x2627f7,_0x5c55a5,_0x301251,_0x25fd8e){const _0x1ba542=_0x1112e6;super(),this[_0x1ba542(0x330)]=_0x2627f7,this[_0x1ba542(0x1d9)]=_0x5c55a5,this[_0x1ba542(0x485)]=_0x301251,this[_0x1ba542(0x4c2)]=_0x25fd8e,_0x10c934(this,_0x1ba542(0x32f),new Set()),_0x10c934(this,_0x1ba542(0x401),null),_0x10c934(this,_0x1ba542(0x33a),null),this[_0x1ba542(0x3d5)]();}[_0x1112e6(0x3d5)](){const _0x51248e=_0x1112e6;this['_sheetSkeletonManagerService'][_0x51248e(0x2a3)]['pipe']((0x0,_0x298c78[_0x51248e(0x3fe)])(this['dispose$']),(0x0,_0x298c78['switchMap'])(_0x5c0f91=>{const _0x285921=_0x51248e;if(_0x5c0f91){let _0x449b9d=_0x5c0f91[_0x285921(0x34b)];return(0x0,_0x55e528[_0x285921(0x1a7)])(this['_collabCursorController'][_0x285921(0x1a2)](this[_0x285921(0x330)]['unitId']),this[_0x285921(0x4c2)][_0x285921(0x3aa)])[_0x285921(0x4b2)]((0x0,_0x298c78['map'])(([_0xab758b,_0x16e80a])=>{let _0x4578b2=new Map();return _0xab758b['forEach']((_0x4764fb,_0x2fb72d)=>{const _0x468732=_0x32ca;if(_0x4764fb[_0x468732(0x492)]===_0x449b9d){let _0x2985c9={..._0x4764fb};_0x2985c9[_0x468732(0x40f)]=this[_0x468732(0x4c2)]['getColorFromTheme'](_0x4764fb['color']),_0x4578b2[_0x468732(0x20e)](_0x2fb72d,_0x2985c9);}}),{'skeleton':_0x5c0f91,'cursors':_0x4578b2};}));}return(0x0,_0x55e528['of'])({'skeleton':null,'cursors':new Map()});}))[_0x51248e(0x4ea)](({skeleton:_0x266e4b,cursors:_0x36b9d8})=>{const _0x30a846=_0x51248e;this['_removeCollabCursors'](),_0x266e4b&&this[_0x30a846(0x2b1)](_0x266e4b,_0x36b9d8);}),this[_0x51248e(0x3b1)](this[_0x51248e(0x1d9)]['currentSkeleton$']['pipe']((0x0,_0x298c78['takeUntil'])(this['dispose$']))[_0x51248e(0x4ea)](_0xb3b1b=>{const _0x49619f=_0x51248e;var _0x403439;if(_0xb3b1b==null)return;(_0x403439=this[_0x49619f(0x33a)])==null||_0x403439['unsubscribe'](),this[_0x49619f(0x33a)]=null;let {skeleton:_0x28b334}=_0xb3b1b,{scene:_0x4127ab}=this[_0x49619f(0x330)];this[_0x49619f(0x33a)]=_0x4127ab[_0x49619f(0x1b0)][_0x49619f(0x1d0)]((0x0,_0x27aa99[_0x49619f(0x21d)])(_0x52b692=>{const _0x192232=_0x49619f;var _0x4652d7,_0x4a1078;let {offsetX:_0x4727cf,offsetY:_0x28b07b}=_0x52b692,{x:_0x4988d0,y:_0x5f19dd}=_0x4127ab[_0x192232(0x1cc)](_0x558eeb['Vector2'][_0x192232(0x370)]([_0x4727cf,_0x28b07b])),{scaleX:_0x3afa32,scaleY:_0x1da691}=_0x4127ab[_0x192232(0x2b7)](),_0x4dece7=_0x4127ab[_0x192232(0x3ed)](_0x558eeb['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x52ae99=_0x4127ab['getScrollXYInfoByViewport'](_0x558eeb[_0x192232(0x4a8)][_0x192232(0x370)]([_0x4988d0,_0x5f19dd]),_0x4dece7),_0x3deaa0=_0x28b334[_0x192232(0x22d)](_0x4727cf,_0x28b07b,_0x3afa32,_0x1da691,_0x52ae99);(((_0x4652d7=this['_lastPointer'])==null?void 0x0:_0x4652d7['column'])!==_0x3deaa0[_0x192232(0x32d)]||((_0x4a1078=this['_lastPointer'])==null?void 0x0:_0x4a1078['row'])!==_0x3deaa0[_0x192232(0x27e)])&&this[_0x192232(0x32f)][_0x192232(0x356)](_0x85de13=>{const _0x43b89a=_0x192232;_0x85de13[_0x43b89a(0x2d9)](_0x3deaa0);});},0x64));})),this[_0x51248e(0x3b1)]((0x0,_0x27aa99[_0x51248e(0x3f1)])(()=>{const _0x1aa91b=_0x51248e;var _0x1e2eed;(_0x1e2eed=this[_0x1aa91b(0x33a)])==null||_0x1e2eed[_0x1aa91b(0x291)](),this['_pointerMoveDisposable']=null;}));}[_0x1112e6(0x2b1)](_0x50b5bb,_0x152ead){const _0x1bcf2d=_0x1112e6;let _0x1b4886=this[_0x1bcf2d(0x1d9)][_0x1bcf2d(0x443)]();if(!_0x1b4886)return;let _0x5baea8=this[_0x1bcf2d(0x2c6)]();if(!_0x5baea8)return;this['_cursors']['forEach'](_0x5ddc42=>{const _0x5bc507=_0x1bcf2d;_0x5ddc42[_0x5bc507(0x3e3)]();});let {scene:_0x3e50a4}=_0x5baea8,_0x53461b=_0x28786d(Array[_0x1bcf2d(0x323)](_0x152ead[_0x1bcf2d(0x243)]()))[_0x1bcf2d(0x212)](_0x215188=>{const _0x9a3032=_0x1bcf2d;let {color:_0x4eecfe,range:_0x5cb69c,name:_0x3dc49e,selection:_0x4d1b84,sheetID:_0x438643}=_0x215188,{startColumn:_0x1f8a72,startRow:_0x36d001,endColumn:_0x120a98,endRow:_0x21be94}=_0x5cb69c,_0x587a54=(0x0,_0x7e3f75[_0x9a3032(0x4d2)])(_0x36d001,_0x1f8a72,_0x3e50a4,_0x1b4886),_0x30b53a=(0x0,_0x7e3f75[_0x9a3032(0x4d2)])(_0x21be94,_0x120a98,_0x3e50a4,_0x1b4886),{columnHeaderHeightAndMarginTop:_0x54373b}=_0x1b4886,{startX:_0x3d1a16,startY:_0x36ab59}=_0x587a54,{endX:_0x30a161,endY:_0x716510}=_0x30b53a,_0x91dca2=_0x30a161-_0x3d1a16,_0x2bf120=_0x716510-_0x36ab59;return new _0x19d554(_0x3dc49e,{'labelPosition':_0x36ab59-_0x54373b>=0x14?_0x9a3032(0x2eb):'bottom','sheetID':_0x438643,'range':_0x5cb69c,'color':_0x4eecfe,'name':_0x3dc49e,'selection':_0x4d1b84,'left':_0x3d1a16,'top':_0x36ab59,'width':_0x91dca2,'height':_0x2bf120,'evented':!0x1,'zIndex':0x1389});});_0x3e50a4[_0x1bcf2d(0x287)](_0x53461b,0x1),this['_cursors']=new Set(_0x53461b);}[_0x1112e6(0x31b)](){const _0x500b59=_0x1112e6;var _0x2522ca;(_0x2522ca=this['_cursors'])==null||_0x2522ca[_0x500b59(0x356)](_0xbc45f4=>_0xbc45f4[_0x500b59(0x45e)]());}['_getSheetObject'](){const _0x55c057=_0x1112e6;return(0x0,_0x7e3f75['getSheetObject'])(this['_context'][_0x55c057(0x241)],this[_0x55c057(0x330)]);}};_0x2848b3=_0x4398e9([_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x7e3f75[_0x1112e6(0x271)])),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x177b31)),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x248)]))],_0x2848b3);function _0x28786d(_0x832188){const _0x126cab=_0x1112e6;let _0x1245d6=new Map();return _0x832188[_0x126cab(0x356)](_0x5302c9=>{const _0x271eb7=_0x126cab;if(_0x1245d6[_0x271eb7(0x288)](_0x5302c9['selection'])){let _0x48ba23=_0x1245d6[_0x271eb7(0x3a5)](_0x5302c9[_0x271eb7(0x28c)]);_0x48ba23[_0x271eb7(0x239)]+=',\x20'+_0x5302c9[_0x271eb7(0x239)];}else _0x1245d6[_0x271eb7(0x20e)](_0x5302c9[_0x271eb7(0x28c)],_0x5302c9);}),Array[_0x126cab(0x323)](_0x1245d6[_0x126cab(0x243)]());}function _0x4a23bc(_0x4c4d89){const _0x5707f2=_0x1112e6;return typeof _0x4c4d89==_0x5707f2(0x482)&&!!_0x4c4d89;}function _0x267243(_0x11bc51){const _0x38478e=_0x1112e6;return _0x11bc51[_0x38478e(0x3b7)]===_0x301412[_0x38478e(0x4ac)][_0x38478e(0x1da)]&&'data'in _0x11bc51&&_0x4a23bc(_0x11bc51[_0x38478e(0x1fa)])&&typeof _0x11bc51[_0x38478e(0x1fa)][_0x38478e(0x449)]==_0x38478e(0x2cc)&&typeof _0x11bc51[_0x38478e(0x1fa)][_0x38478e(0x28c)]==_0x38478e(0x2cc);}function _0x51315a(_0x2db2bc){const _0xa077a6=_0x1112e6;return _0x2db2bc[_0xa077a6(0x3b7)]===_0x301412['CollaborationEvent'][_0xa077a6(0x2f5)]&&_0xa077a6(0x1fa)in _0x2db2bc&&_0x4a23bc(_0x2db2bc[_0xa077a6(0x1fa)])&&typeof _0x2db2bc[_0xa077a6(0x1fa)][_0xa077a6(0x449)]==_0xa077a6(0x2cc);}function _0x10a1fb(_0x4477f3,_0x20b35c){const _0x57851b=_0x1112e6;let _0x26d230;try{_0x26d230=JSON[_0x57851b(0x20c)](_0x4477f3);}catch{return null;}if(!_0x4a23bc(_0x26d230)||typeof _0x26d230['kind']!=_0x57851b(0x2cc)||typeof _0x26d230['unitId']!='string'||typeof _0x26d230[_0x57851b(0x2d2)]!='string')return null;let _0x39665d=typeof _0x26d230[_0x57851b(0x2aa)]==_0x57851b(0x35b)?_0x26d230[_0x57851b(0x2aa)]:_0x20b35c;if(_0x39665d==null)return null;let _0x46632d=_0x4a23bc(_0x26d230[_0x57851b(0x4a7)])&&typeof _0x26d230[_0x57851b(0x4a7)]['x']=='number'&&Number['isFinite'](_0x26d230[_0x57851b(0x4a7)]['x'])&&typeof _0x26d230[_0x57851b(0x4a7)]['y']=='number'&&Number[_0x57851b(0x4f3)](_0x26d230[_0x57851b(0x4a7)]['y'])?{'x':_0x26d230[_0x57851b(0x4a7)]['x'],'y':_0x26d230['pointer']['y']}:null;return{'kind':_0x26d230[_0x57851b(0x258)],'unitType':_0x39665d,'unitId':_0x26d230['unitId'],'subUnitId':_0x26d230[_0x57851b(0x2d2)],'selectedIds':Array[_0x57851b(0x421)](_0x26d230[_0x57851b(0x1aa)])?_0x26d230[_0x57851b(0x1aa)][_0x57851b(0x2c4)](_0x18529f=>typeof _0x18529f==_0x57851b(0x2cc)):[],'focusedId':typeof _0x26d230[_0x57851b(0x41c)]==_0x57851b(0x2cc)?_0x26d230[_0x57851b(0x41c)]:null,'pointer':_0x46632d};}function _0x5b70cc(_0x24ece9,_0x521d2a,_0x297541){const _0x3d3156=_0x1112e6;return{'kind':_0x521d2a,'unitType':_0x24ece9,'unitId':_0x297541[_0x3d3156(0x4d3)],'subUnitId':_0x297541['subUnitId'],'selectedIds':Array[_0x3d3156(0x323)](_0x297541[_0x3d3156(0x1aa)]),'focusedId':_0x297541[_0x3d3156(0x41c)],'pointer':_0x297541[_0x3d3156(0x4a7)]?{..._0x297541['pointer']}:null};}let _0x25e152=class extends _0x27aa99['RxDisposable']{constructor(_0x116d36,_0x268a99,_0x49d61f,_0x379506,_0x36b9e0,_0x3ca8c5){const _0x3bf808=_0x1112e6;super(),this[_0x3bf808(0x4d3)]=_0x116d36,this[_0x3bf808(0x30a)]=_0x268a99,this['_adapter']=_0x49d61f,this[_0x3bf808(0x4b9)]=_0x379506,this[_0x3bf808(0x440)]=_0x36b9e0,this[_0x3bf808(0x1de)]=_0x3ca8c5,_0x10c934(this,'_online',!0x1),_0x10c934(this,_0x3bf808(0x488),!0x1);}get[_0x1112e6(0x2aa)](){const _0x44f9e4=_0x1112e6;return this[_0x44f9e4(0x1e4)][_0x44f9e4(0x2aa)];}[_0x1112e6(0x45e)](){const _0x4a8f7c=_0x1112e6;this[_0x4a8f7c(0x3c4)](),super[_0x4a8f7c(0x45e)]();}[_0x1112e6(0x29c)](){const _0x4e8f98=_0x1112e6;this[_0x4e8f98(0x488)]||(this[_0x4e8f98(0x488)]=!0x0,this[_0x4e8f98(0x30a)][_0x4e8f98(0x363)][_0x4e8f98(0x4b2)]((0x0,_0x55e528[_0x4e8f98(0x3fe)])(this[_0x4e8f98(0x4c4)]))[_0x4e8f98(0x4ea)](_0x4e7e9b=>{const _0x34471c=_0x4e8f98;if(_0x4e7e9b===_0xd500a[_0x34471c(0x30e)]['ONLINE']){this[_0x34471c(0x3bd)]=!0x0;let _0x34bc40=this['_adapter'][_0x34471c(0x232)](this[_0x34471c(0x4d3)]);_0x34bc40&&this[_0x34471c(0x462)](_0x34bc40);return;}this[_0x34471c(0x3bd)]=!0x1,this[_0x34471c(0x3c4)]();}),this[_0x4e8f98(0x30a)]['event$'][_0x4e8f98(0x4b2)]((0x0,_0x55e528[_0x4e8f98(0x3fe)])(this[_0x4e8f98(0x4c4)]))[_0x4e8f98(0x4ea)](_0x2bfe1f=>{const _0x2b22fe=_0x4e8f98;_0x267243(_0x2bfe1f)?this[_0x2b22fe(0x3b8)](_0x2bfe1f):_0x51315a(_0x2bfe1f)&&this[_0x2b22fe(0x468)](_0x2bfe1f[_0x2b22fe(0x1fa)][_0x2b22fe(0x449)]);}),this['_adapter'][_0x4e8f98(0x45a)][_0x4e8f98(0x4b2)]((0x0,_0x55e528[_0x4e8f98(0x2c4)])(_0x47951b=>this[_0x4e8f98(0x3bd)]&&_0x47951b['unitId']===this[_0x4e8f98(0x4d3)]),(0x0,_0x55e528['throttle'])(_0x492597=>(0x0,_0x55e528[_0x4e8f98(0x38f)])(_0x492597['shareInterval']),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x55e528[_0x4e8f98(0x3fe)])(this[_0x4e8f98(0x4c4)]))['subscribe'](_0x189fe9=>this[_0x4e8f98(0x462)](_0x189fe9)));}['_sendLocalPresence'](_0x1bb71f){const _0x59e314=_0x1112e6;let _0x408678=this['_session'][_0x59e314(0x28f)]();if(!_0x408678||!this[_0x59e314(0x3bd)])return;let _0x29f9bb={'eventID':_0x301412[_0x59e314(0x4ac)][_0x59e314(0x1da)],'data':{'unitID':this[_0x59e314(0x4d3)],'memberID':_0x408678,'selection':JSON[_0x59e314(0x22b)](_0x5b70cc(this[_0x59e314(0x2aa)],this[_0x59e314(0x1e4)]['presenceKind'],_0x1bb71f))}};this[_0x59e314(0x30a)][_0x59e314(0x1a4)](_0x29f9bb,this[_0x59e314(0x4d3)])[_0x59e314(0x223)](()=>void 0x0);}[_0x1112e6(0x3b8)](_0x1fbf0b){const _0x57d66f=_0x1112e6;let {memberID:_0xad2269,selection:_0x770235}=_0x1fbf0b[_0x57d66f(0x1fa)];if(_0xad2269===this[_0x57d66f(0x30a)][_0x57d66f(0x28f)]())return;let _0x28469=_0x10a1fb(_0x770235,this[_0x57d66f(0x2aa)]);if(!_0x28469||_0x28469[_0x57d66f(0x258)]!==this[_0x57d66f(0x1e4)][_0x57d66f(0x268)]||_0x28469[_0x57d66f(0x2aa)]!==this[_0x57d66f(0x2aa)]||_0x28469['unitId']!==this['unitId'])return;let _0x543e08=this[_0x57d66f(0x440)][_0x57d66f(0x2e4)](this[_0x57d66f(0x4d3)],_0xad2269),_0x76aacb={'unitId':_0x28469[_0x57d66f(0x4d3)],'subUnitId':_0x28469[_0x57d66f(0x2d2)],'selectedIds':_0x28469[_0x57d66f(0x1aa)],'focusedId':_0x28469['focusedId'],'pointer':_0x28469[_0x57d66f(0x4a7)],'memberId':_0xad2269,'color':this[_0x57d66f(0x4b9)][_0x57d66f(0x2c7)](_0xad2269),'name':(_0x543e08==null?void 0x0:_0x543e08[_0x57d66f(0x239)])??_0xad2269};this['_commandService'][_0x57d66f(0x311)](_0x56df47['id'],{'unitType':this[_0x57d66f(0x2aa)],'update':{'type':_0x57d66f(0x20e),'state':_0x76aacb}})[_0x57d66f(0x223)](()=>void 0x0);}[_0x1112e6(0x468)](_0x35dad3){const _0x1f5cfb=_0x1112e6;this['_commandService']['executeCommand'](_0x56df47['id'],{'unitType':this[_0x1f5cfb(0x2aa)],'update':{'type':_0x1f5cfb(0x28b),'unitId':this[_0x1f5cfb(0x4d3)],'memberId':_0x35dad3}})[_0x1f5cfb(0x223)](()=>void 0x0);}[_0x1112e6(0x3c4)](){const _0x901928=_0x1112e6;this[_0x901928(0x1de)][_0x901928(0x311)](_0x56df47['id'],{'unitType':this[_0x901928(0x2aa)],'update':{'type':_0x901928(0x490),'unitId':this[_0x901928(0x4d3)]}})[_0x901928(0x223)](()=>void 0x0);}};_0x25e152=_0x4398e9([_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x3b4dcd)),_0xe2b27a(0x4,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a[_0x1112e6(0x3da)])),_0xe2b27a(0x5,(0x0,_0x27aa99['Inject'])(_0x27aa99[_0x1112e6(0x41e)]))],_0x25e152);let _0x9840c5=class extends _0x27aa99['RxDisposable']{constructor(_0x5348e9,_0x526c19,_0x41dfe4,_0x4124ae){const _0x3ea6f5=_0x1112e6;super(),this[_0x3ea6f5(0x1d7)]=_0x5348e9,this['_injector']=_0x526c19,this['_collabSessionService']=_0x41dfe4,this[_0x3ea6f5(0x286)]=_0x4124ae,_0x10c934(this,_0x3ea6f5(0x49c),!0x1),_0x10c934(this,_0x3ea6f5(0x447),new Map()),_0x10c934(this,_0x3ea6f5(0x362),new Map()),_0x10c934(this,_0x3ea6f5(0x3ae),new Map()),this['_init']();}[_0x1112e6(0x45e)](){const _0x3d692a=_0x1112e6;this[_0x3d692a(0x49c)]=!0x0,this[_0x3d692a(0x3ae)]['forEach'](_0x499dc3=>_0x499dc3[_0x3d692a(0x45e)]()),this[_0x3d692a(0x3ae)][_0x3d692a(0x490)](),this[_0x3d692a(0x447)][_0x3d692a(0x356)](_0x384051=>_0x384051[_0x3d692a(0x45e)]()),this['_entities'][_0x3d692a(0x490)](),this[_0x3d692a(0x362)][_0x3d692a(0x490)](),super[_0x3d692a(0x45e)]();}[_0x1112e6(0x3d5)](){const _0x53d5c0=_0x1112e6;this[_0x53d5c0(0x286)][_0x53d5c0(0x1be)][_0x53d5c0(0x4b2)]((0x0,_0x55e528['takeUntil'])(this[_0x53d5c0(0x4c4)]))[_0x53d5c0(0x4ea)](_0x915af=>this[_0x53d5c0(0x1fd)](_0x915af));}[_0x1112e6(0x1fd)](_0x1d75b1){const _0x43a02a=_0x1112e6;let _0x1852a0=new Set(_0x1d75b1[_0x43a02a(0x212)](_0x519715=>_0x519715['unitType']));this[_0x43a02a(0x3ae)][_0x43a02a(0x356)]((_0x553aad,_0xe3cfd8)=>{const _0x2edf10=_0x43a02a;_0x1852a0[_0x2edf10(0x288)](_0xe3cfd8)||(_0x553aad[_0x2edf10(0x45e)](),this[_0x2edf10(0x3ae)]['delete'](_0xe3cfd8),this[_0x2edf10(0x3cd)](_0xe3cfd8));}),_0x1d75b1['forEach'](_0x59c4f4=>{const _0x456bb9=_0x43a02a;this[_0x456bb9(0x3ae)][_0x456bb9(0x288)](_0x59c4f4[_0x456bb9(0x2aa)])||this[_0x456bb9(0x437)](_0x59c4f4);});}[_0x1112e6(0x437)](_0x26e479){const _0x5514e3=_0x1112e6;let _0x2c7267=new _0x27aa99['DisposableCollection']();this[_0x5514e3(0x3ae)][_0x5514e3(0x20e)](_0x26e479[_0x5514e3(0x2aa)],_0x2c7267),_0x2c7267[_0x5514e3(0x415)](_0x26e479[_0x5514e3(0x1b3)]()),this['_univerInstanceService'][_0x5514e3(0x422)](_0x26e479[_0x5514e3(0x2aa)])[_0x5514e3(0x356)](_0x3b8a8f=>this[_0x5514e3(0x450)](_0x3b8a8f[_0x5514e3(0x3a1)](),_0x26e479)['catch'](()=>void 0x0));let _0x5546f9=this[_0x5514e3(0x1d7)][_0x5514e3(0x39a)](_0x26e479[_0x5514e3(0x2aa)])[_0x5514e3(0x4ea)](({unit:_0x4f1855})=>this['_startEntity'](_0x4f1855[_0x5514e3(0x3a1)](),_0x26e479)[_0x5514e3(0x223)](()=>void 0x0));_0x2c7267[_0x5514e3(0x415)]((0x0,_0x27aa99['toDisposable'])(()=>_0x5546f9[_0x5514e3(0x291)]()));let _0x248290=this[_0x5514e3(0x1d7)][_0x5514e3(0x458)](_0x26e479[_0x5514e3(0x2aa)])[_0x5514e3(0x4ea)](_0x48b2b0=>this[_0x5514e3(0x428)](_0x48b2b0[_0x5514e3(0x3a1)]()));_0x2c7267[_0x5514e3(0x415)]((0x0,_0x27aa99['toDisposable'])(()=>_0x248290['unsubscribe']()));}async[_0x1112e6(0x450)](_0x21b9d1,_0x3bc219){const _0x560c84=_0x1112e6;if(this[_0x560c84(0x447)][_0x560c84(0x288)](_0x21b9d1)||this[_0x560c84(0x362)][_0x560c84(0x288)](_0x21b9d1))return;let _0x4ef2cb={};this[_0x560c84(0x362)][_0x560c84(0x20e)](_0x21b9d1,_0x4ef2cb);let _0x1e7ce1=await this[_0x560c84(0x3f4)]['requireSession'](_0x21b9d1)[_0x560c84(0x223)](_0x51e8a4=>{const _0x31df3b=_0x560c84;throw this[_0x31df3b(0x362)][_0x31df3b(0x3a5)](_0x21b9d1)===_0x4ef2cb&&this[_0x31df3b(0x362)]['delete'](_0x21b9d1),_0x51e8a4;});if(this[_0x560c84(0x49c)]||this[_0x560c84(0x362)]['get'](_0x21b9d1)!==_0x4ef2cb||this['_adapterRegistry'][_0x560c84(0x3a5)](_0x3bc219[_0x560c84(0x2aa)])!==_0x3bc219){this[_0x560c84(0x362)][_0x560c84(0x3a5)](_0x21b9d1)===_0x4ef2cb&&this[_0x560c84(0x362)][_0x560c84(0x4d6)](_0x21b9d1);return;}let _0x2f853a=this[_0x560c84(0x26a)][_0x560c84(0x1cf)](_0x25e152,_0x21b9d1,_0x1e7ce1,_0x3bc219);_0x2f853a[_0x560c84(0x29c)](),this[_0x560c84(0x362)][_0x560c84(0x4d6)](_0x21b9d1),this[_0x560c84(0x447)]['set'](_0x21b9d1,_0x2f853a);}[_0x1112e6(0x428)](_0x28b816){const _0x55f700=_0x1112e6;this[_0x55f700(0x362)][_0x55f700(0x4d6)](_0x28b816);let _0x5dc7b7=this[_0x55f700(0x447)][_0x55f700(0x3a5)](_0x28b816);_0x5dc7b7&&(_0x5dc7b7[_0x55f700(0x45e)](),this['_entities'][_0x55f700(0x4d6)](_0x28b816));}[_0x1112e6(0x3cd)](_0x2caed6){const _0x298511=_0x1112e6;this[_0x298511(0x1d7)][_0x298511(0x422)](_0x2caed6)['forEach'](_0x41e809=>this[_0x298511(0x362)][_0x298511(0x4d6)](_0x41e809['getUnitId']())),Array[_0x298511(0x323)](this[_0x298511(0x447)][_0x298511(0x342)]())[_0x298511(0x356)](([_0x48b730,_0x3afc38])=>{_0x3afc38['unitType']===_0x2caed6&&this['_disposeEntity'](_0x48b730);});}};_0x9840c5=_0x4398e9([_0xe2b27a(0x0,_0x27aa99[_0x1112e6(0x4f2)]),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a[_0x1112e6(0x39b)])),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x3fd684[_0x1112e6(0x479)]))],_0x9840c5);let _0x5956c9=class extends _0x27aa99['Disposable']{constructor(_0x5e91cf,_0xab1c6d,_0x4542c4,_0x13fe98,_0x5e4977,_0x3ace56){const _0x5e2675=_0x1112e6;super(),this['_beforeCloseService']=_0x5e91cf,this[_0x5e2675(0x4a4)]=_0xab1c6d,this[_0x5e2675(0x21a)]=_0x4542c4,this[_0x5e2675(0x337)]=_0x13fe98,this['_notificationService']=_0x5e4977,this[_0x5e2675(0x403)]=_0x3ace56,this[_0x5e2675(0x283)](),this[_0x5e2675(0x1a5)]();}[_0x1112e6(0x283)](){const _0x2c36db=_0x1112e6;this[_0x2c36db(0x3b1)](this[_0x2c36db(0x4ed)]['registerBeforeClose'](()=>{const _0x21e192=_0x2c36db;if(this['_localCacheService'][_0x21e192(0x4c8)][_0x21e192(0x29f)])return this[_0x21e192(0x403)]['t'](_0x21e192(0x20f));}));}[_0x1112e6(0x1a5)](){const _0x5b5200=_0x1112e6;this[_0x5b5200(0x3b1)](this[_0x5b5200(0x21a)]['event$'][_0x5b5200(0x4ea)](_0x1fa8af=>{const _0x2aa0d8=_0x5b5200;_0x1fa8af['id']===_0xd500a[_0x2aa0d8(0x203)]['OTHER_CLIENT_EDITING']&&this[_0x2aa0d8(0x337)][_0x2aa0d8(0x3e2)]({'type':_0x510bc4[_0x2aa0d8(0x4d4)]['Warning'],'content':this[_0x2aa0d8(0x403)]['t'](_0x2aa0d8(0x307))}),_0x1fa8af['id']===_0xd500a[_0x2aa0d8(0x203)][_0x2aa0d8(0x408)]&&this[_0x2aa0d8(0x337)][_0x2aa0d8(0x3e2)]({'type':_0x510bc4['MessageType'][_0x2aa0d8(0x461)],'content':this['_localeService']['t'](_0x2aa0d8(0x3ca))}),_0x1fa8af['id']===_0xd500a[_0x2aa0d8(0x203)][_0x2aa0d8(0x410)]&&this[_0x2aa0d8(0x425)][_0x2aa0d8(0x3e2)]({'title':this[_0x2aa0d8(0x403)]['t'](_0x2aa0d8(0x1bc)),'content':this[_0x2aa0d8(0x403)]['t'](_0x2aa0d8(0x477)),'type':_0x2aa0d8(0x264),'duration':0x0}),_0x1fa8af['id']===_0xd500a['CollaborationUIEventId'][_0x2aa0d8(0x471)]&&this['_notificationService'][_0x2aa0d8(0x3e2)]({'title':this[_0x2aa0d8(0x403)]['t'](_0x2aa0d8(0x2e3)),'content':this[_0x2aa0d8(0x403)]['t']('collaboration-client-ui.conflict.content'),'type':'error','duration':0x0}),_0x1fa8af['id']===_0xd500a['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x2aa0d8(0x337)][_0x2aa0d8(0x3e2)]({'type':_0x510bc4[_0x2aa0d8(0x4d4)]['Warning'],'content':this['_localeService']['t'](_0x1fa8af[_0x2aa0d8(0x1fa)]||'')}),_0x1fa8af['id']===_0xd500a[_0x2aa0d8(0x203)][_0x2aa0d8(0x366)]&&this[_0x2aa0d8(0x337)][_0x2aa0d8(0x3e2)]({'type':_0x510bc4[_0x2aa0d8(0x4d4)][_0x2aa0d8(0x461)],'content':this[_0x2aa0d8(0x403)]['t'](_0x2aa0d8(0x256))}),_0x1fa8af['id']===_0xd500a[_0x2aa0d8(0x203)][_0x2aa0d8(0x2b9)]&&this[_0x2aa0d8(0x337)][_0x2aa0d8(0x3e2)]({'type':_0x510bc4['MessageType'][_0x2aa0d8(0x3e7)],'content':this['_localeService']['t']('collaboration-client-ui.session.connection-failed')}),_0x1fa8af['id']===_0xd500a[_0x2aa0d8(0x203)][_0x2aa0d8(0x35d)]&&this['_messageService'][_0x2aa0d8(0x3e2)]({'type':_0x510bc4[_0x2aa0d8(0x4d4)]['Error'],'content':this[_0x2aa0d8(0x403)]['t'](_0x2aa0d8(0x35c))});}));}};_0x5956c9=_0x4398e9([_0xe2b27a(0x0,_0x3fd684[_0x1112e6(0x213)]),_0xe2b27a(0x1,_0xd500a[_0x1112e6(0x1b1)]),_0xe2b27a(0x2,(0x0,_0x27aa99['Inject'])(_0xd500a['CollaborationUIEventService'])),_0xe2b27a(0x3,_0x3fd684[_0x1112e6(0x424)]),_0xe2b27a(0x4,_0x3fd684[_0x1112e6(0x361)]),_0xe2b27a(0x5,(0x0,_0x27aa99['Inject'])(_0x27aa99[_0x1112e6(0x211)]))],_0x5956c9);let _0x5c49b8=(0x0,_0x27aa99['createIdentifier'])('uni.network.url-service'),_0x5081d4=class extends _0x27aa99[_0x1112e6(0x280)]{constructor(_0x41312e,_0x5a98c5,_0x563e7f,_0x4a7733){const _0x5cc447=_0x1112e6;super(),this['_urlService']=_0x41312e,this['_logService']=_0x5a98c5,this[_0x5cc447(0x1de)]=_0x563e7f,this[_0x5cc447(0x388)]=_0x4a7733,this[_0x5cc447(0x3d5)]()[_0x5cc447(0x223)](_0x259656=>this[_0x5cc447(0x496)][_0x5cc447(0x264)]('[CollaborationDataLoaderController]',_0x259656));}async[_0x1112e6(0x3d5)](){const _0x364e20=_0x1112e6;let _0x21f11a=this[_0x364e20(0x2fa)][_0x364e20(0x49d)](_0x364e20(0x241)),_0x5aaa8a=this[_0x364e20(0x2fa)][_0x364e20(0x49d)](_0x364e20(0x23b)),_0x298ebf=this[_0x364e20(0x2fa)][_0x364e20(0x49d)](_0x364e20(0x4e6));if(!_0x21f11a||!_0x5aaa8a){this[_0x364e20(0x496)][_0x364e20(0x373)](_0x364e20(0x20b),_0x364e20(0x3ac));return;}let _0x2ac296=await this[_0x364e20(0x388)][_0x364e20(0x409)](_0x21f11a,Number(_0x5aaa8a),_0x298ebf);this[_0x364e20(0x269)]||_0x2ac296&&_0x2ac296 instanceof _0x27aa99['Workbook']&&await this[_0x364e20(0x313)](_0x2ac296);}async[_0x1112e6(0x313)](_0x2daf0f){const _0x30b9b7=_0x1112e6;await this[_0x30b9b7(0x2fb)](_0x2daf0f),!this['_disposed']&&(_0x2daf0f[_0x30b9b7(0x2b3)]['pipe']((0x0,_0x55e528[_0x30b9b7(0x3fe)])(this[_0x30b9b7(0x4c4)]))['subscribe'](_0x22fff9=>{const _0xec5041=_0x30b9b7;_0x22fff9&&this[_0xec5041(0x38e)](_0x22fff9);}),this[_0x30b9b7(0x2fa)]['urlChange$'][_0x30b9b7(0x4b2)]((0x0,_0x55e528['takeUntil'])(this[_0x30b9b7(0x4c4)]))[_0x30b9b7(0x4ea)](()=>{const _0x28a541=_0x30b9b7;this[_0x28a541(0x2fb)](_0x2daf0f)[_0x28a541(0x223)](_0x2bf421=>this['_logService']['error'](_0x28a541(0x20b),_0x2bf421));}));}[_0x1112e6(0x38e)](_0xab903c,_0x4e014c=!0x1){const _0x45a8f4=_0x1112e6;let _0x24b9de=this[_0x45a8f4(0x2fa)][_0x45a8f4(0x49d)](_0x45a8f4(0x4e6));_0xab903c[_0x45a8f4(0x47e)]()!==_0x24b9de&&this[_0x45a8f4(0x2fa)][_0x45a8f4(0x486)](_0x45a8f4(0x4e6),_0xab903c['getSheetId'](),_0x4e014c);}async[_0x1112e6(0x2fb)](_0x57f540){const _0x570cac=_0x1112e6;var _0xc29cc;let _0xeb5c04=this[_0x570cac(0x2fa)]['getParam'](_0x570cac(0x4e6));if(!_0xeb5c04||!_0x57f540[_0x570cac(0x2df)](_0xeb5c04)){let _0x19db7b=_0x57f540['getUnhiddenWorksheets']()[0x0],_0x283282=_0x57f540[_0x570cac(0x2df)](_0x19db7b);if(!_0x283282||(this[_0x570cac(0x38e)](_0x283282,!0x0),this[_0x570cac(0x269)]))return;await this['_commandService']['executeCommand'](_0x430826[_0x570cac(0x275)]['id'],{'unitId':_0x57f540['getUnitId'](),'subUnitId':_0x19db7b});return;}((_0xc29cc=_0x57f540['getActiveSheet']())==null?void 0x0:_0xc29cc[_0x570cac(0x47e)]())!==_0xeb5c04&&await this[_0x570cac(0x1de)]['executeCommand'](_0x430826[_0x570cac(0x275)]['id'],{'unitId':_0x57f540[_0x570cac(0x3a1)](),'subUnitId':_0xeb5c04});}};_0x5081d4=_0x4398e9([_0xe2b27a(0x0,_0x5c49b8),_0xe2b27a(0x1,_0x27aa99[_0x1112e6(0x285)]),_0xe2b27a(0x2,_0x27aa99['ICommandService']),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a['DataLoaderService']))],_0x5081d4);let _0x22998d=class{constructor(_0x56cf95,_0x586ee9){const _0x10e82a=_0x1112e6;this[_0x10e82a(0x312)]=_0x56cf95,this[_0x10e82a(0x389)]=_0x586ee9;}[_0x1112e6(0x466)](_0x9197c4){const _0x3c0bdf=_0x1112e6;this[_0x3c0bdf(0x246)](_0x9197c4),this[_0x3c0bdf(0x48e)](_0x9197c4);}[_0x1112e6(0x4f8)](_0x2db8ec){const _0xa8aafe=_0x1112e6;let {unitID:_0x120107}=_0x2db8ec,{redoCache:_0x2645eb}=this[_0xa8aafe(0x389)][_0xa8aafe(0x206)](_0x120107)[_0xa8aafe(0x1f8)](_0x4a1268[_0xa8aafe(0x1e6)])['getUndoRedoMutationParamsCache']();if(_0x2645eb[_0xa8aafe(0x4e2)]===0x0)return _0x2db8ec;let _0x43ee4d=_0x27aa99[_0xa8aafe(0x4dd)]['deepClone'](_0x2db8ec[_0xa8aafe(0x4e1)][0x0]);for(let _0x991b9d=0x0;_0x991b9d<_0x2645eb[_0xa8aafe(0x4e2)];_0x991b9d++){let _0x39e5cc={'id':_0xa8aafe(0x4ee),'params':{..._0x2645eb[_0x991b9d]}},_0x368e97=this[_0xa8aafe(0x312)][_0xa8aafe(0x3e1)](_0x43ee4d,_0x39e5cc,!0x1);if((0x0,_0x301412[_0xa8aafe(0x325)])(_0x368e97))throw _0x368e97[_0xa8aafe(0x264)];_0x43ee4d=_0x368e97[_0xa8aafe(0x4d1)];}return{..._0x27aa99[_0xa8aafe(0x4dd)]['deepClone'](_0x2db8ec),'mutations':[_0x43ee4d]};}[_0x1112e6(0x246)](_0x272c73){const _0x4c66e1=_0x1112e6;let {unitID:_0x2d88c8}=_0x272c73,_0xb4493e=this[_0x4c66e1(0x389)][_0x4c66e1(0x206)](_0x2d88c8)['with'](_0x4a1268[_0x4c66e1(0x1e6)]),{undoCache:_0x2ea607,redoCache:_0x45723f}=_0xb4493e[_0x4c66e1(0x1b4)]();if(_0x2ea607[_0x4c66e1(0x4e2)]===0x0||_0x45723f[_0x4c66e1(0x4e2)]===0x0)return;let _0x155e7b=[],_0x11751d=[],_0x127f9e=_0x27aa99['Tools'][_0x4c66e1(0x46a)](_0x272c73[_0x4c66e1(0x4e1)][0x0]),_0x2b9a9d=_0x27aa99['Tools'][_0x4c66e1(0x46a)](_0x272c73[_0x4c66e1(0x4e1)][0x0]);for(let _0x2ba3cb=_0x2ea607['length']-0x1;_0x2ba3cb>=0x0;_0x2ba3cb--){let _0x171902={'id':_0x4c66e1(0x4ee),'params':{..._0x2ea607[_0x2ba3cb]}},_0x353adc={'id':_0x4c66e1(0x4ee),'params':{..._0x45723f[_0x2ba3cb]}},_0x468a2e=this['_transformService']['transformMutation'](_0x127f9e,_0x171902,!0x1),_0x291fad=this[_0x4c66e1(0x312)]['transformMutation'](_0x2b9a9d,_0x353adc,!0x1);if((0x0,_0x301412[_0x4c66e1(0x325)])(_0x468a2e))throw _0x468a2e[_0x4c66e1(0x264)];if((0x0,_0x301412['isTransformMutationFailure'])(_0x291fad))throw _0x291fad[_0x4c66e1(0x264)];_0x155e7b['unshift'](_0x468a2e[_0x4c66e1(0x3ff)][_0x4c66e1(0x274)]),_0x11751d[_0x4c66e1(0x1bf)](_0x291fad['m2Prime']['params']),_0x127f9e=_0x468a2e['m1Prime'],_0x2b9a9d=_0x291fad[_0x4c66e1(0x4d1)];}_0xb4493e[_0x4c66e1(0x2f4)]({'undoCache':_0x155e7b,'redoCache':_0x11751d});}[_0x1112e6(0x48e)](_0x5b0651){const _0xf66a76=_0x1112e6;let {unitID:_0x3ed0f2}=_0x5b0651,_0x434fe0=this[_0xf66a76(0x389)]['getRenderUnitById'](_0x3ed0f2)['with'](_0x4a1268[_0xf66a76(0x1e6)]),_0x4b111e=_0x434fe0['getActiveRange']();if(_0x4b111e==null)return;let _0x44a2c2=[{'id':_0xf66a76(0x4ee),'params':{'unitId':_0x5b0651[_0xf66a76(0x2ef)],'actions':null,'textRanges':[_0x4b111e]}}],_0x4020f4=this[_0xf66a76(0x312)][_0xf66a76(0x1ad)](_0x5b0651,_0x44a2c2);if(!(0x0,_0x301412[_0xf66a76(0x1f2)])(_0x4020f4))throw _0x4020f4['error'];let _0x4e3c8b=_0x4020f4['m2Prime'][0x0][_0xf66a76(0x274)][_0xf66a76(0x1e7)];Array['isArray'](_0x4e3c8b)&&_0x4e3c8b[_0xf66a76(0x4e2)]&&_0x434fe0['setActiveRange'](_0x4e3c8b[0x0]);}};_0x22998d=_0x4398e9([_0xe2b27a(0x0,_0x301412[_0x1112e6(0x444)]),_0xe2b27a(0x1,_0x558eeb[_0x1112e6(0x43f)])],_0x22998d);let _0x91aecd=class{constructor(_0x13bc3b,_0x181903,_0x177734){const _0x3932c9=_0x1112e6;this['_injector']=_0x13bc3b,this[_0x3932c9(0x312)]=_0x181903,this[_0x3932c9(0x2f3)]=_0x177734;}[_0x1112e6(0x438)](_0x6a009f){const _0x35ee9b=_0x1112e6;this[_0x35ee9b(0x459)](_0x6a009f);}[_0x1112e6(0x4f8)](_0x1098b3){const _0x3340bc=_0x1112e6;let {unitID:_0xd2c341}=_0x1098b3,{collaboration:_0x3920af}=this[_0x3340bc(0x2f3)][_0x3340bc(0x266)](_0xd2c341);if(_0x3920af[_0x3340bc(0x4e2)]===0x0)return _0x1098b3;let _0x43962b=_0x27aa99['Tools'][_0x3340bc(0x46a)](_0x1098b3[_0x3340bc(0x4e1)][0x0]);for(let _0x3269f4=0x0;_0x3269f4<_0x3920af[_0x3340bc(0x4e2)];_0x3269f4++){let _0x176871={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3920af[_0x3269f4][_0x3340bc(0x4d3)],..._0x3920af[_0x3269f4]['redoState']}},_0x525a52=this[_0x3340bc(0x312)][_0x3340bc(0x3e1)](_0x43962b,_0x176871,!0x1);if((0x0,_0x301412[_0x3340bc(0x325)])(_0x525a52))throw _0x525a52['error'];_0x43962b=_0x525a52[_0x3340bc(0x4d1)];}return{..._0x27aa99[_0x3340bc(0x4dd)][_0x3340bc(0x46a)](_0x1098b3),'mutations':[_0x43962b]};}[_0x1112e6(0x459)](_0x59ce25){const _0x516fe9=_0x1112e6;let {unitID:_0xf6715c}=_0x59ce25,{history:_0x2b2e13,collaboration:_0x53886f}=this[_0x516fe9(0x2f3)][_0x516fe9(0x266)](_0xf6715c);if(_0x2b2e13[_0x516fe9(0x4e2)]===0x0&&_0x53886f[_0x516fe9(0x4e2)]===0x0)return;let _0x2443c4=[],_0x599a4a=[],_0x380954=_0x27aa99['Tools'][_0x516fe9(0x46a)](_0x59ce25[_0x516fe9(0x4e1)][0x0]),_0x4d6805=_0x27aa99[_0x516fe9(0x4dd)][_0x516fe9(0x46a)](_0x59ce25['mutations'][0x0]);for(let _0x5dfb70=_0x2b2e13[_0x516fe9(0x4e2)]-0x1;_0x5dfb70>=0x0;_0x5dfb70--){let _0x3e707e={'id':_0x516fe9(0x4ee),'params':{'unitId':_0x2b2e13[_0x5dfb70]['unitId'],..._0x2b2e13[_0x5dfb70][_0x516fe9(0x4be)]}},_0x71d387={'id':_0x516fe9(0x4ee),'params':{'unitId':_0x2b2e13[_0x5dfb70]['unitId'],..._0x2b2e13[_0x5dfb70][_0x516fe9(0x1fc)]}},_0x56821a=this[_0x516fe9(0x312)][_0x516fe9(0x3e1)](_0x380954,_0x3e707e,!0x1),_0x26b08c=this[_0x516fe9(0x312)][_0x516fe9(0x3e1)](_0x4d6805,_0x71d387,!0x1);if((0x0,_0x301412[_0x516fe9(0x325)])(_0x56821a))throw _0x56821a[_0x516fe9(0x264)];if((0x0,_0x301412['isTransformMutationFailure'])(_0x26b08c))throw _0x26b08c['error'];_0x2443c4[_0x516fe9(0x1bf)]({..._0x2b2e13[_0x5dfb70],'undoState':_0x56821a[_0x516fe9(0x3ff)]['params'],'redoState':_0x26b08c['m2Prime'][_0x516fe9(0x274)]}),_0x380954=_0x56821a[_0x516fe9(0x4d1)],_0x4d6805=_0x26b08c['m1Prime'];}_0x380954=_0x27aa99[_0x516fe9(0x4dd)][_0x516fe9(0x46a)](_0x59ce25[_0x516fe9(0x4e1)][0x0]),_0x4d6805=_0x27aa99[_0x516fe9(0x4dd)][_0x516fe9(0x46a)](_0x59ce25[_0x516fe9(0x4e1)][0x0]);for(let _0x3815d4=_0x53886f[_0x516fe9(0x4e2)]-0x1;_0x3815d4>=0x0;_0x3815d4--){let _0xe48bae={'id':_0x516fe9(0x4ee),'params':{'unitId':_0x53886f[_0x3815d4]['unitId'],..._0x53886f[_0x3815d4][_0x516fe9(0x4be)]}},_0x55fef5={'id':_0x516fe9(0x4ee),'params':{'unitId':_0x53886f[_0x3815d4][_0x516fe9(0x4d3)],..._0x53886f[_0x3815d4][_0x516fe9(0x1fc)]}},_0x2156f7=this[_0x516fe9(0x312)]['transformMutation'](_0x380954,_0xe48bae,!0x1),_0x958ba1=this[_0x516fe9(0x312)][_0x516fe9(0x3e1)](_0x4d6805,_0x55fef5,!0x1);if((0x0,_0x301412[_0x516fe9(0x325)])(_0x2156f7))throw _0x2156f7['error'];if((0x0,_0x301412[_0x516fe9(0x325)])(_0x958ba1))throw _0x958ba1[_0x516fe9(0x264)];_0x599a4a['unshift']({..._0x53886f[_0x3815d4],'undoState':_0x2156f7[_0x516fe9(0x3ff)][_0x516fe9(0x274)],'redoState':_0x958ba1[_0x516fe9(0x3ff)][_0x516fe9(0x274)]}),_0x380954=_0x2156f7['m1Prime'],_0x4d6805=_0x958ba1[_0x516fe9(0x4d1)];}this[_0x516fe9(0x2f3)][_0x516fe9(0x36f)](_0xf6715c,{'history':_0x2443c4,'collaboration':_0x599a4a});}};_0x91aecd=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x1,_0x301412[_0x1112e6(0x444)]),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x53a4ba[_0x1112e6(0x300)]))],_0x91aecd);let _0x4b07c8=class{constructor(_0x53b546,_0x1fc6a3){const _0x26b7fa=_0x1112e6;this[_0x26b7fa(0x2f7)]=_0x53b546,this[_0x26b7fa(0x312)]=_0x1fc6a3;}[_0x1112e6(0x365)](_0x5b8479){const _0x4b9034=_0x1112e6;var _0x5cf386;let _0x6c982b=this[_0x4b9034(0x2f7)][_0x4b9034(0x4a9)]()??[],_0x334c15=this[_0x4b9034(0x2f7)]['getSelectionInfo']();if(_0x6c982b[_0x4b9034(0x4e2)]===0x0)return;let _0x20d31b=_0x5b8479[_0x4b9034(0x2ef)],_0x20369d=[{'id':_0x4b9034(0x4ee),'params':{'unitId':_0x20d31b,'actions':null,'textRanges':_0x6c982b}}],_0x4166e8=this[_0x4b9034(0x312)][_0x4b9034(0x1ad)](_0x5b8479,_0x20369d);if(!(0x0,_0x301412[_0x4b9034(0x1f2)])(_0x4166e8))throw _0x4166e8['error'];let _0x3464de=(_0x5cf386=_0x4166e8[_0x4b9034(0x3ff)][0x0])==null?void 0x0:_0x5cf386[_0x4b9034(0x274)],_0x4d9516=_0x3464de&&typeof _0x3464de==_0x4b9034(0x482)&&_0x4b9034(0x1e7)in _0x3464de?_0x3464de[_0x4b9034(0x1e7)]:null;if(!_0x35291a(_0x4d9516))return;let _0x357f98=_0x5b8479[_0x4b9034(0x4e1)]['some'](_0x43700d=>_0x4e890d(_0x43700d[_0x4b9034(0x274)]))?_0x4d9516==null?void 0x0:_0x4d9516[_0x4b9034(0x2c4)](_0x2eea6a=>!(_0x4b9034(0x3b5)in _0x2eea6a)):_0x4d9516;Array[_0x4b9034(0x421)](_0x357f98)&&this['_docSelectionManagerService'][_0x4b9034(0x1c5)](_0x357f98,{'unitId':_0x20d31b,'subUnitId':_0x20d31b},!0x1,_0x334c15!=null&&_0x334c15[_0x4b9034(0x1ec)]?{..._0x334c15[_0x4b9034(0x1ec)],'wholeDocument':!0x1}:void 0x0);}};_0x4b07c8=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99['Inject'])(_0x53a4ba[_0x1112e6(0x2f8)])),_0xe2b27a(0x1,_0x301412[_0x1112e6(0x444)])],_0x4b07c8);function _0x35291a(_0x489e52){const _0x3e4f88=_0x1112e6;return Array[_0x3e4f88(0x421)](_0x489e52)&&_0x489e52['every'](_0x499b3c=>typeof _0x499b3c==_0x3e4f88(0x482)&&!!_0x499b3c&&_0x3e4f88(0x4de)in _0x499b3c&&_0x3e4f88(0x2d0)in _0x499b3c);}function _0x4e890d(_0x3caf44){const _0x5ae89e=_0x1112e6;return _0x3caf44===_0x5ae89e(0x2f9)?!0x0:Array[_0x5ae89e(0x421)](_0x3caf44)?_0x3caf44[_0x5ae89e(0x21c)](_0xbfc62e=>_0x4e890d(_0xbfc62e)):!_0x3caf44||typeof _0x3caf44!=_0x5ae89e(0x482)?!0x1:Object[_0x5ae89e(0x243)](_0x3caf44)[_0x5ae89e(0x21c)](_0x2c2d59=>_0x4e890d(_0x2c2d59));}let _0x108cb6=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(_0x523891,_0x3a13f9,_0x1dff01,_0xbffdf2,_0x59e14e,_0x345e73,_0x172a71){const _0x31c028=_0x1112e6;super(),this[_0x31c028(0x36e)]=_0x523891,this[_0x31c028(0x1c2)]=_0x3a13f9,this[_0x31c028(0x1fb)]=_0x1dff01,this[_0x31c028(0x38d)]=_0xbffdf2,this['_docSyncEditingCollabCursorService']=_0x59e14e,this[_0x31c028(0x337)]=_0x345e73,this[_0x31c028(0x403)]=_0x172a71,_0x10c934(this,_0x31c028(0x257),new _0x55e528[(_0x31c028(0x357))](_0xd500a[_0x31c028(0x4e3)][_0x31c028(0x1e1)])),this[_0x31c028(0x3d0)]();}['_initEntityListener'](){const _0x26d2a6=_0x1112e6;this[_0x26d2a6(0x3b1)](this[_0x26d2a6(0x36e)][_0x26d2a6(0x3d9)][_0x26d2a6(0x4ea)](_0x46a86b=>{const _0x554e6f=_0x26d2a6;_0x46a86b instanceof _0xd500a[_0x554e6f(0x29d)]&&_0x46a86b[_0x554e6f(0x29e)]({'onTransformIME':_0x345179=>this['_docTransformIMECacheService'][_0x554e6f(0x466)](_0x345179),'onTransformState':_0x477c80=>this[_0x554e6f(0x1fb)][_0x554e6f(0x438)](_0x477c80),'onTransformSelections':_0x4c42de=>this[_0x554e6f(0x38d)][_0x554e6f(0x365)](_0x4c42de),'onSyncEditingCollabCursor':_0x13e2f4=>this[_0x554e6f(0x364)][_0x554e6f(0x25c)](_0x13e2f4),'onTransformRemoteChangesetByIMECache':_0x2ef1b9=>this['_docTransformIMECacheService'][_0x554e6f(0x4f8)](_0x2ef1b9),'onTransformRemoteChangesetByStateCache':_0x1a527f=>this[_0x554e6f(0x1fb)]['transformRemoteChangeset'](_0x1a527f)});}));}};_0x108cb6=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a['CollaborationController'])),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x22998d)),_0xe2b27a(0x2,(0x0,_0x27aa99['Inject'])(_0x91aecd)),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x4b07c8)),_0xe2b27a(0x4,(0x0,_0x27aa99['Inject'])(_0x2c9ee8)),_0xe2b27a(0x5,_0x3fd684[_0x1112e6(0x424)]),_0xe2b27a(0x6,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x211)]))],_0x108cb6);let _0x3e9241=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(_0x512be7,_0x3f48d4,_0x4ce6b1,_0x8fea3f){const _0x22de98=_0x1112e6;super(),this[_0x22de98(0x26a)]=_0x512be7,this[_0x22de98(0x456)]=_0x3f48d4,this['_logService']=_0x4ce6b1,this[_0x22de98(0x431)]=_0x8fea3f,_0x10c934(this,'_memberID',void 0x0),this[_0x22de98(0x3d5)]();}[_0x1112e6(0x3d5)](){const _0x23b2f4=_0x1112e6;this[_0x23b2f4(0x2a5)](),this['_initUnhandledRejectionListener'](),this[_0x23b2f4(0x39d)](),this[_0x23b2f4(0x3a8)]();}[_0x1112e6(0x3a8)](){const _0x5f3fc6=_0x1112e6;this[_0x5f3fc6(0x3b1)](this[_0x5f3fc6(0x431)][_0x5f3fc6(0x3c9)][_0x5f3fc6(0x4ea)](_0x5efdc4=>{const _0x1abd06=_0x5f3fc6;this['_memberID']=_0x5efdc4==null?void 0x0:_0x5efdc4[_0x1abd06(0x449)];}));}[_0x1112e6(0x2a5)](){const _0x5e79f1=_0x1112e6;let _0x5d0ed0=_0x168cdc=>{const _0x448bca=_0x32ca;var _0x58e22e;this['_uploadLog'](_0x448bca(0x264),_0x448bca(0x1a9)+_0x168cdc[_0x448bca(0x4ce)]+_0x448bca(0x21f)+_0x168cdc[_0x448bca(0x217)]+':'+_0x168cdc[_0x448bca(0x310)]+':'+_0x168cdc[_0x448bca(0x350)]+'\x0a'+(((_0x58e22e=_0x168cdc[_0x448bca(0x264)])==null?void 0x0:_0x58e22e['stack'])||''));};window['addEventListener'](_0x5e79f1(0x264),_0x5d0ed0),this[_0x5e79f1(0x3b1)](()=>{const _0x5b0829=_0x5e79f1;window[_0x5b0829(0x394)](_0x5b0829(0x264),_0x5d0ed0);});}[_0x1112e6(0x42e)](){const _0x3e46d6=_0x1112e6;let _0x34398a=_0x5d2263=>{const _0x4928a4=_0x32ca;this[_0x4928a4(0x1fe)](_0x4928a4(0x264),_0x4928a4(0x2c2)+_0x5d2263['reason']);};window[_0x3e46d6(0x465)](_0x3e46d6(0x1f7),_0x34398a),this['disposeWithMe'](()=>{window['removeEventListener']('unhandledrejection',_0x34398a);});}[_0x1112e6(0x39d)](){const _0x4a1c2c=_0x1112e6;let _0x46e9a7=this['_logService'][_0x4a1c2c(0x264)]['bind'](this[_0x4a1c2c(0x496)]);this[_0x4a1c2c(0x496)][_0x4a1c2c(0x264)]=(..._0xbc2d4a)=>{const _0x2217ff=_0x4a1c2c;let _0xab3080=_0xbc2d4a['map'](_0x3e5fd1=>_0x3e5fd1 instanceof Error?_0x3e5fd1[_0x2217ff(0x4ce)]+'\x0a'+_0x3e5fd1[_0x2217ff(0x2ad)]:String(_0x3e5fd1))[_0x2217ff(0x4c7)]('\x20');this['_uploadLog']('error','[LogService\x20Error]:\x20'+_0xab3080),_0x46e9a7(..._0xbc2d4a);},this[_0x4a1c2c(0x3b1)](()=>{const _0x27e205=_0x4a1c2c;this['_logService'][_0x27e205(0x264)]=_0x46e9a7;});}[_0x1112e6(0x1fe)](_0x2a86e2,_0x46734b){const _0x484a05=_0x1112e6;try{let _0x591465={'userId':this[_0x484a05(0x42a)],'logLabel':_0x2a86e2,'content':_0x46734b};this['_httpService'][_0x484a05(0x1ce)](_0x484a05(0x340),{'body':_0x591465})[_0x484a05(0x223)](()=>{});}catch{}}};_0x3e9241=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x31266a[_0x1112e6(0x3dc)])),_0xe2b27a(0x2,_0x27aa99[_0x1112e6(0x285)]),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a[_0x1112e6(0x39b)]))],_0x3e9241);function _0x242126({state$:_0x35d9d3}){const _0x554685=_0x1112e6;let _0x45e754=(0x0,_0x3fd684[_0x554685(0x215)])(_0x35d9d3,null,!0x0);return _0x45e754?(0x0,_0x5dfcdc[_0x554685(0x469)])(_0x554685(0x44a),{'data-u-comp':'snapshot-loading-timeout','role':_0x554685(0x385),'className':_0x554685(0x344),'children':[(0x0,_0x5dfcdc['jsx'])(_0x30300c,{'className':_0x554685(0x1ed)}),(0x0,_0x5dfcdc[_0x554685(0x3c2)])(_0x554685(0x378),{'children':_0x45e754[_0x554685(0x30b)]}),(0x0,_0x5dfcdc[_0x554685(0x3c2)])(_0x510bc4[_0x554685(0x369)],{'size':_0x554685(0x36c),'variant':_0x554685(0x4ab),'onClick':()=>window['location'][_0x554685(0x412)](),'children':_0x45e754['refreshLabel']})]}):null;}let _0x58d11c='snapshot-loading-',_0x2f770c=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(_0x1cd4a2,_0x2472c0,_0x526e24,_0x392792,_0xc72bc9,_0x4a9272){const _0x1e1a53=_0x1112e6;super(),this['_snapshotLoadingService']=_0x1cd4a2,this[_0x1e1a53(0x337)]=_0x2472c0,this['_localeService']=_0x526e24,this[_0x1e1a53(0x26a)]=_0x392792,this[_0x1e1a53(0x2fa)]=_0x4a9272,_0x10c934(this,_0x1e1a53(0x27b),new _0x55e528[(_0x1e1a53(0x357))](null)),_0x10c934(this,_0x1e1a53(0x3c7),new Set()),_0x10c934(this,'_blockProgressWatches',new Map()),_0x10c934(this,'_latestStates',new Map()),_0x10c934(this,_0x1e1a53(0x4b3),this[_0x1e1a53(0x27b)]['asObservable']());let _0x2dacd8=()=>(0x0,_0x190cc0[_0x1e1a53(0x414)])(_0x242126,{'state$':this['timeoutState$']});this[_0x1e1a53(0x3b1)](_0xc72bc9[_0x1e1a53(0x25d)](_0x3fd684[_0x1e1a53(0x429)][_0x1e1a53(0x295)],()=>(0x0,_0x3fd684[_0x1e1a53(0x1a0)])(_0x2dacd8,this[_0x1e1a53(0x26a)]))),this['disposeWithMe'](this[_0x1e1a53(0x384)][_0x1e1a53(0x3db)][_0x1e1a53(0x4ea)](_0x1bab17=>{const _0x3d28b0=_0x1e1a53;this[_0x3d28b0(0x2e6)]=_0x1bab17,_0x1bab17[_0x3d28b0(0x356)](_0x1d5d7a=>this[_0x3d28b0(0x4f5)](_0x1d5d7a));})),this[_0x1e1a53(0x3b1)](this['_urlService'][_0x1e1a53(0x3ef)][_0x1e1a53(0x4ea)](()=>{const _0x52ab68=_0x1e1a53;this[_0x52ab68(0x2e6)][_0x52ab68(0x356)](_0x516ef4=>this[_0x52ab68(0x4f5)](_0x516ef4));}));}[_0x1112e6(0x45e)](){const _0x782ac2=_0x1112e6;this[_0x782ac2(0x3c7)][_0x782ac2(0x356)](_0x3e719b=>this[_0x782ac2(0x337)][_0x782ac2(0x28b)](_0x3e719b)),this['_messageIds'][_0x782ac2(0x490)](),this[_0x782ac2(0x301)][_0x782ac2(0x356)](({timeoutId:_0x37bfbb})=>clearTimeout(_0x37bfbb)),this[_0x782ac2(0x301)][_0x782ac2(0x490)](),this[_0x782ac2(0x27b)][_0x782ac2(0x405)](),super[_0x782ac2(0x45e)]();}['_updateMessage'](_0xe5f670){const _0x313cb8=_0x1112e6;let _0x2f6e9f=''+_0x58d11c+_0xe5f670[_0x313cb8(0x4d3)];if(_0xe5f670[_0x313cb8(0x4e8)]===_0x301412[_0x313cb8(0x19e)][_0x313cb8(0x427)]){this[_0x313cb8(0x1a3)](_0xe5f670[_0x313cb8(0x4d3)]),this[_0x313cb8(0x2fd)](_0xe5f670['unitId']),this[_0x313cb8(0x337)]['remove'](_0x2f6e9f),this[_0x313cb8(0x3c7)]['delete'](_0x2f6e9f);return;}if(!this[_0x313cb8(0x32b)](_0xe5f670[_0x313cb8(0x4d3)])){this['_clearBlockProgressWatch'](_0xe5f670[_0x313cb8(0x4d3)]),this[_0x313cb8(0x2fd)](_0xe5f670[_0x313cb8(0x4d3)]),this[_0x313cb8(0x337)][_0x313cb8(0x28b)](_0x2f6e9f),this[_0x313cb8(0x3c7)]['delete'](_0x2f6e9f);return;}if(_0xe5f670[_0x313cb8(0x4e8)]===_0x301412[_0x313cb8(0x19e)][_0x313cb8(0x299)]){this[_0x313cb8(0x1a3)](_0xe5f670[_0x313cb8(0x4d3)]),this['_clearTimeoutState'](_0xe5f670[_0x313cb8(0x4d3)]),this[_0x313cb8(0x337)][_0x313cb8(0x3e2)]({'id':_0x2f6e9f,'type':_0x510bc4[_0x313cb8(0x4d4)][_0x313cb8(0x3e7)],'content':this[_0x313cb8(0x403)]['t']('collaboration-client-ui.session.connection-failed')}),this[_0x313cb8(0x3c7)][_0x313cb8(0x4d6)](_0x2f6e9f);return;}if(_0xe5f670[_0x313cb8(0x4e8)]!==_0x301412[_0x313cb8(0x19e)]['LOADING_BLOCKS']||_0xe5f670[_0x313cb8(0x483)]<=0xa){this[_0x313cb8(0x1a3)](_0xe5f670[_0x313cb8(0x4d3)]),this['_messageService'][_0x313cb8(0x28b)](_0x2f6e9f),this['_messageIds'][_0x313cb8(0x4d6)](_0x2f6e9f);return;}this[_0x313cb8(0x49b)](_0xe5f670)||(this[_0x313cb8(0x337)][_0x313cb8(0x3e2)]({'id':_0x2f6e9f,'type':_0x510bc4[_0x313cb8(0x4d4)][_0x313cb8(0x379)],'duration':0x1/0x0,'content':this['_localeService']['t'](_0x313cb8(0x273))+'\x20'+_0xe5f670[_0x313cb8(0x37e)]+'/'+_0xe5f670[_0x313cb8(0x483)]}),this[_0x313cb8(0x3c7)][_0x313cb8(0x415)](_0x2f6e9f));}[_0x1112e6(0x49b)](_0x2c2663){const _0x16009a=_0x1112e6;let _0x21e63c=this[_0x16009a(0x301)][_0x16009a(0x3a5)](_0x2c2663['unitId']);if((_0x21e63c==null?void 0x0:_0x21e63c[_0x16009a(0x37e)])===_0x2c2663[_0x16009a(0x37e)])return _0x21e63c[_0x16009a(0x3de)];this['_clearBlockProgressWatch'](_0x2c2663[_0x16009a(0x4d3)]);let _0x562584=setTimeout(()=>{const _0x7b9e33=_0x16009a;let _0x2cd966=this['_blockProgressWatches'][_0x7b9e33(0x3a5)](_0x2c2663[_0x7b9e33(0x4d3)]);if(!_0x2cd966||_0x2cd966[_0x7b9e33(0x21b)]!==_0x562584)return;_0x2cd966[_0x7b9e33(0x3de)]=!0x0;let _0x727872=''+_0x58d11c+_0x2c2663[_0x7b9e33(0x4d3)];this[_0x7b9e33(0x337)]['remove'](_0x727872),this[_0x7b9e33(0x3c7)][_0x7b9e33(0x4d6)](_0x727872),this[_0x7b9e33(0x27b)]['next']({'unitId':_0x2c2663['unitId'],'content':this[_0x7b9e33(0x403)]['t'](_0x7b9e33(0x2a9),String(_0x2c2663[_0x7b9e33(0x37e)]),String(_0x2c2663['totalBlocks'])),'refreshLabel':this[_0x7b9e33(0x403)]['t'](_0x7b9e33(0x493))});},0xea60);return this['_blockProgressWatches'][_0x16009a(0x20e)](_0x2c2663['unitId'],{'loadedBlocks':_0x2c2663[_0x16009a(0x37e)],'timedOut':!0x1,'timeoutId':_0x562584}),!0x1;}[_0x1112e6(0x1a3)](_0x54e6bc){const _0x366013=_0x1112e6;let _0x3b0ba0=this[_0x366013(0x301)]['get'](_0x54e6bc);_0x3b0ba0&&(clearTimeout(_0x3b0ba0[_0x366013(0x21b)]),this[_0x366013(0x301)]['delete'](_0x54e6bc),this['_clearTimeoutState'](_0x54e6bc));}[_0x1112e6(0x2fd)](_0x531334){const _0x3145c0=_0x1112e6;var _0x4d2004;((_0x4d2004=this[_0x3145c0(0x27b)]['value'])==null?void 0x0:_0x4d2004[_0x3145c0(0x4d3)])===_0x531334&&this[_0x3145c0(0x27b)][_0x3145c0(0x3cb)](null);}['_isVisibleUnit'](_0x46da95){const _0x2690ea=_0x1112e6;let _0x27425a=this[_0x2690ea(0x2fa)][_0x2690ea(0x49d)]('unit');return!_0x27425a||_0x27425a===_0x46da95;}};_0x2f770c=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x301412[_0x1112e6(0x39c)])),_0xe2b27a(0x1,_0x3fd684['IMessageService']),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99['LocaleService'])),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x4,_0x3fd684[_0x1112e6(0x4d5)]),_0xe2b27a(0x5,_0x5c49b8)],_0x2f770c);function _0x513933(_0x3b545a){const _0x5c2c4c=_0x1112e6;var _0x44e3b6,_0xccb1b3;let _0x1c0fee=(_0x44e3b6=_0x3b545a['stageInfo'])==null?void 0x0:_0x44e3b6[_0x5c2c4c(0x4e8)],_0x31a61c=((_0xccb1b3=_0x3b545a['stageInfo'])==null?void 0x0:_0xccb1b3[_0x5c2c4c(0x1a6)])||0x0;return _0x1c0fee===_0x385246[_0x5c2c4c(0x19f)][_0x5c2c4c(0x2ff)]&&_0x31a61c>0x0;}function _0x39a5ac(_0x205ce4){const _0x5b1a8f=_0x1112e6;return _0x205ce4[_0x5b1a8f(0x45b)]===_0x385246[_0x5b1a8f(0x2af)][_0x5b1a8f(0x44d)];}let _0x444344=class extends _0x27aa99['Disposable']{constructor(_0x36def6,_0x5ada35,_0x505817,_0x3d9da3,_0x3ab493,_0x5be940,_0x7dc975){const _0x4e6536=_0x1112e6;super(),this[_0x4e6536(0x337)]=_0x36def6,this['_commandService']=_0x5ada35,this[_0x4e6536(0x454)]=_0x505817,this[_0x4e6536(0x456)]=_0x3d9da3,this[_0x4e6536(0x1d7)]=_0x3ab493,this[_0x4e6536(0x496)]=_0x5be940,this[_0x4e6536(0x403)]=_0x7dc975,_0x10c934(this,_0x4e6536(0x433),null),_0x10c934(this,_0x4e6536(0x1e3),0x0),_0x10c934(this,'_currentUsage',0x0),_0x10c934(this,'_taskIds',[]),_0x10c934(this,'_lastResponseTimestamp',0x0),this['_initCommandInterceptor']();}[_0x1112e6(0x4ae)](){const _0x148e3a=_0x1112e6;this[_0x148e3a(0x3b1)](this[_0x148e3a(0x1de)][_0x148e3a(0x4b6)]((_0x2d99e5,_0x432202)=>{const _0x35ddfc=_0x148e3a;if(_0x2d99e5['id']!==_0x385246[_0x35ddfc(0x355)]['id'])return;let _0x328535=_0x2d99e5[_0x35ddfc(0x274)];if(this[_0x35ddfc(0x4bf)](_0x328535[_0x35ddfc(0x446)]??[])&&!this[_0x35ddfc(0x338)]())throw this[_0x35ddfc(0x230)](_0x2d99e5,_0x432202),this[_0x35ddfc(0x1bb)](),new _0x27aa99['CanceledError']();})),this['disposeWithMe'](this[_0x148e3a(0x1de)]['onCommandExecuted']((_0x37074e,_0x89c374)=>{const _0x27c33e=_0x148e3a;if(_0x37074e['id']!==_0x385246[_0x27c33e(0x3af)]['id'])return;let _0x3928b2=_0x37074e[_0x27c33e(0x274)];if(_0x513933(_0x3928b2)){let _0xaea2b5=(0x0,_0x27aa99['generateRandomId'])();this['_taskIds']['push'](_0xaea2b5),this[_0x27c33e(0x3f7)](_0xaea2b5);}else{if(_0x39a5ac(_0x3928b2)&&this['_taskIds'][_0x27c33e(0x4e2)]>0x0){let _0x1e8a3d=this[_0x27c33e(0x396)][_0x27c33e(0x42b)]();this[_0x27c33e(0x391)](_0x1e8a3d);}}}));}[_0x1112e6(0x45e)](){const _0xeca95b=_0x1112e6;super[_0xeca95b(0x45e)](),this['_clearPolling'](),this[_0xeca95b(0x396)]=[],this[_0xeca95b(0x1d3)]=0x0,this['_maxFormulaLimit']=0x0,this[_0xeca95b(0x464)]=0x0;}async[_0x1112e6(0x230)](_0x899b73,_0x579218){const _0x3fd926=_0x1112e6;for(let _0x33a119=0x0;_0x33a119<0x1e;_0x33a119++)try{if(await this['_getFormulaLimitStatus'](),this[_0x3fd926(0x338)]()){this[_0x3fd926(0x1ac)](_0x899b73,_0x579218),this[_0x3fd926(0x337)][_0x3fd926(0x3e2)]({'content':this[_0x3fd926(0x403)]['t'](_0x3fd926(0x3a4)),'type':_0x510bc4[_0x3fd926(0x4d4)][_0x3fd926(0x3e0)]});return;}await new Promise(_0x11f3fb=>{const _0x48cb24=_0x3fd926;this[_0x48cb24(0x433)]=window[_0x48cb24(0x290)](_0x11f3fb,0x3e8);});}catch(_0x5d1d25){this[_0x3fd926(0x496)]['error'](_0x5d1d25);}this['_messageService']['show']({'content':this['_localeService']['t'](_0x3fd926(0x39e)),'type':_0x510bc4[_0x3fd926(0x4d4)][_0x3fd926(0x3e7)]});}['_applyCommand'](_0x526d86,_0x5ccc96){const _0x286a81=_0x1112e6;try{this['_commandService'][_0x286a81(0x311)](_0x526d86['id'],_0x526d86[_0x286a81(0x274)],_0x5ccc96);}catch(_0x17b504){this[_0x286a81(0x496)][_0x286a81(0x264)](_0x17b504);}}[_0x1112e6(0x26b)](_0x5c7141,_0x1353ba){const _0x3cfac9=_0x1112e6;_0x1353ba<this[_0x3cfac9(0x464)]||(this[_0x3cfac9(0x464)]=_0x1353ba,this[_0x3cfac9(0x1e3)]=Number[_0x3cfac9(0x237)](_0x5c7141[_0x3cfac9(0x40b)]),this[_0x3cfac9(0x1d3)]=Number['parseInt'](_0x5c7141[_0x3cfac9(0x4af)]));}async[_0x1112e6(0x3f7)](_0x32a176){const _0x4eab1b=_0x1112e6;let _0x1834b8=Date[_0x4eab1b(0x2c8)]();try{var _0x4b3c71,_0x5344bd;let _0xa6dfba=((_0x4b3c71=this[_0x4eab1b(0x454)][_0x4eab1b(0x404)](_0xd500a['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4b3c71[_0x4eab1b(0x1c3)])||_0x4eab1b(0x220),_0x44dae3=(await this[_0x4eab1b(0x456)][_0x4eab1b(0x1ce)](_0xa6dfba,{'body':JSON[_0x4eab1b(0x22b)]({'taskId':_0x32a176})}))[_0x4eab1b(0x1f4)];if(((_0x5344bd=_0x44dae3[_0x4eab1b(0x264)])==null?void 0x0:_0x5344bd['code'])!==_0x22da53['ErrorCode']['OK'])return;this[_0x4eab1b(0x26b)](_0x44dae3[_0x4eab1b(0x393)],_0x1834b8);}catch(_0xd658c5){this[_0x4eab1b(0x496)]['error'](_0xd658c5);}}async[_0x1112e6(0x302)](_0x5bf7af){const _0x50413f=_0x1112e6;let _0x4e0277=Date[_0x50413f(0x2c8)]();try{var _0x14c4fc,_0x1dc19b;let _0x3a5f6c=((_0x14c4fc=this[_0x50413f(0x454)][_0x50413f(0x404)](_0xd500a[_0x50413f(0x3ba)]))==null?void 0x0:_0x14c4fc[_0x50413f(0x487)])||'/universer-api/license/formula/limit/status',_0x5e6fec=_0x5bf7af?_0x3a5f6c+_0x50413f(0x332)+encodeURIComponent(_0x5bf7af):_0x3a5f6c,_0x5897e4=(await this[_0x50413f(0x456)][_0x50413f(0x3a5)](_0x5e6fec))[_0x50413f(0x1f4)];if(((_0x1dc19b=_0x5897e4['error'])==null?void 0x0:_0x1dc19b[_0x50413f(0x263)])!==_0x22da53['ErrorCode']['OK'])return;this[_0x50413f(0x26b)](_0x5897e4[_0x50413f(0x393)],_0x4e0277);}catch(_0x432374){this['_logService']['error'](_0x432374);}}async[_0x1112e6(0x391)](_0x11db65){const _0x1a8e50=_0x1112e6;let _0x5a289d=Date[_0x1a8e50(0x2c8)]();try{var _0x582cc6,_0x46f5ac;let _0x1ba515=((_0x582cc6=this[_0x1a8e50(0x454)]['getConfig'](_0xd500a['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x582cc6[_0x1a8e50(0x484)])||_0x1a8e50(0x3f2),_0x56321e=(await this[_0x1a8e50(0x456)][_0x1a8e50(0x1ce)](_0x1ba515,{'body':JSON[_0x1a8e50(0x22b)]({'taskId':_0x11db65})}))[_0x1a8e50(0x1f4)];if(((_0x46f5ac=_0x56321e[_0x1a8e50(0x264)])==null?void 0x0:_0x46f5ac['code'])!==_0x22da53['ErrorCode']['OK'])return;this[_0x1a8e50(0x26b)](_0x56321e[_0x1a8e50(0x393)],_0x5a289d);}catch(_0xa88173){this[_0x1a8e50(0x496)]['error'](_0xa88173);}}[_0x1112e6(0x338)](){const _0x4f3649=_0x1112e6;return this[_0x4f3649(0x1e3)]===0x0||this['_maxFormulaLimit']-this[_0x4f3649(0x1d3)]>0x0;}['_clearPolling'](){const _0x632991=_0x1112e6;this[_0x632991(0x433)]&&=(clearTimeout(this[_0x632991(0x433)]),null);}['_showGuardMessage'](){const _0x3f6671=_0x1112e6;this[_0x3f6671(0x337)][_0x3f6671(0x3e2)]({'content':this[_0x3f6671(0x403)]['t']('collaboration-client-ui.formula.calculation.waiting'),'type':_0x510bc4[_0x3f6671(0x4d4)][_0x3f6671(0x379)]});}[_0x1112e6(0x4bf)](_0x593560){const _0x402d98=_0x1112e6;for(let _0x56bddf of _0x593560){let {unitId:_0x379711,sheetId:_0x3eef84,range:_0xe33aed}=_0x56bddf,_0x17700e=this[_0x402d98(0x1d7)][_0x402d98(0x26d)](_0x379711,_0x27aa99[_0x402d98(0x374)]['UNIVER_SHEET']);if(!_0x17700e)continue;let _0x559370=_0x17700e[_0x402d98(0x2df)](_0x3eef84);if(!_0x559370)continue;let _0x4a7516=_0x559370[_0x402d98(0x2d6)]();for(let _0x4d494f=_0xe33aed[_0x402d98(0x4da)];_0x4d494f<=_0xe33aed[_0x402d98(0x253)];_0x4d494f++)for(let _0x3ee63f=_0xe33aed[_0x402d98(0x320)];_0x3ee63f<=_0xe33aed[_0x402d98(0x23f)];_0x3ee63f++){let _0x274187=_0x4a7516[_0x402d98(0x353)](_0x4d494f,_0x3ee63f);if(_0x274187&&((0x0,_0x27aa99[_0x402d98(0x4d0)])(_0x274187['f'])||(0x0,_0x27aa99[_0x402d98(0x321)])(_0x274187['si'])))return!0x0;}}return!0x1;}};_0x444344=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x3fd684['IMessageService'])),_0xe2b27a(0x1,_0x27aa99['ICommandService']),_0xe2b27a(0x2,_0x27aa99[_0x1112e6(0x4cc)]),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x31266a[_0x1112e6(0x3dc)])),_0xe2b27a(0x4,_0x27aa99[_0x1112e6(0x4f2)]),_0xe2b27a(0x5,_0x27aa99['ILogService']),_0xe2b27a(0x6,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x211)]))],_0x444344);let _0x498b7a=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(_0x2a6b05,_0x94f353,_0x3fd8c8){const _0x3058b2=_0x1112e6;super(),this[_0x3058b2(0x454)]=_0x2a6b05,this[_0x3058b2(0x4cf)]=_0x94f353,this[_0x3058b2(0x28a)]=_0x3fd8c8,_0x10c934(this,_0x3058b2(0x2be),new Map()),_0x10c934(this,_0x3058b2(0x4b5),new Map()),_0x10c934(this,'_disabled',!0x1);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x1112e6(0x2ce)](){const _0x2b9415=_0x1112e6;this[_0x2b9415(0x276)]=!0x1;}get[_0x1112e6(0x4c8)](){const _0x5e78f2=_0x1112e6;return this[_0x5e78f2(0x4b5)];}[_0x1112e6(0x45e)](){const _0x2f6880=_0x1112e6;this[_0x2f6880(0x251)]()[_0x2f6880(0x45f)](()=>super[_0x2f6880(0x45e)]());}async[_0x1112e6(0x231)](_0x4b10ff){const _0x49067f=_0x1112e6;return this[_0x49067f(0x276)]?null:this[_0x49067f(0x4cf)][_0x49067f(0x49a)]((0x0,_0xd500a[_0x49067f(0x371)])(_0x4b10ff));}async[_0x1112e6(0x1c7)](_0x5ed9d7,_0x559a3c){const _0xc35c7d=_0x1112e6;return!!this['_localStorageService'][_0xc35c7d(0x29b)]((0x0,_0xd500a[_0xc35c7d(0x371)])(_0x5ed9d7),_0x559a3c);}async[_0x1112e6(0x2e1)](_0x26f15f,_0x511afb){const _0xeb0bcc=_0x1112e6;let _0x1733b5=this['_cachedData'][_0xeb0bcc(0x3a5)](_0x26f15f)??await this[_0xeb0bcc(0x4cf)][_0xeb0bcc(0x49a)]((0x0,_0xd500a['getLocalCacheKey'])(_0x26f15f));if(!_0x1733b5)return;let _0x49d416=Date[_0xeb0bcc(0x2c8)](),_0x4d70e8=new Date(_0x49d416)[_0xeb0bcc(0x1b7)]();await this['_localStorageService'][_0xeb0bcc(0x29b)]((0x0,_0xd500a[_0xeb0bcc(0x371)])(_0x26f15f)+_0xeb0bcc(0x1ab)+_0x49d416,{'reason':_0x511afb,'createdAt':_0x4d70e8,'data':_0x1733b5});}[_0x1112e6(0x4f6)](_0x939c26,_0x1cbbf4,_0x20b15c,_0x127139){const _0x3fcf28=_0x1112e6;let _0x342819=this[_0x3fcf28(0x28a)][_0x3fcf28(0x472)](_0x939c26);this[_0x3fcf28(0x2be)][_0x3fcf28(0x20e)](_0x939c26,{'unitID':_0x939c26,'type':_0x1cbbf4,'awaitingChangeset':_0x20b15c,'mutations':_0x127139,'rev':_0x342819}),this[_0x3fcf28(0x4b5)][_0x3fcf28(0x288)](_0x939c26)||this[_0x3fcf28(0x406)](_0x939c26);}[_0x1112e6(0x406)](_0x371ed6){const _0x1cd008=_0x1112e6;let _0x184a6c=this[_0x1cd008(0x235)]();_0x184a6c===0x0?this[_0x1cd008(0x38a)](_0x371ed6):this[_0x1cd008(0x4b5)][_0x1cd008(0x20e)](_0x371ed6,window[_0x1cd008(0x290)](()=>this[_0x1cd008(0x38a)](_0x371ed6),_0x184a6c));}['_getSaveTimeout'](){const _0x9d4165=_0x1112e6;return this[_0x9d4165(0x454)][_0x9d4165(0x404)](_0xd500a['LOCAL_CACHE_INTERVAL_KEY'])??_0xd500a[_0x9d4165(0x38c)];}[_0x1112e6(0x38a)](_0x37cf8d){const _0x3e83da=_0x1112e6;let _0x4b3fc4=this[_0x3e83da(0x4b5)][_0x3e83da(0x3a5)](_0x37cf8d);return _0x4b3fc4!==void 0x0&&window[_0x3e83da(0x348)](_0x4b3fc4),this[_0x3e83da(0x4cf)]['setItem']((0x0,_0xd500a[_0x3e83da(0x371)])(_0x37cf8d),this[_0x3e83da(0x2be)][_0x3e83da(0x3a5)](_0x37cf8d))[_0x3e83da(0x45f)](()=>this[_0x3e83da(0x4b5)][_0x3e83da(0x4d6)](_0x37cf8d));}async[_0x1112e6(0x251)](){const _0x453bd1=_0x1112e6;let _0x5ae572=[];this['_saveTaskMap'][_0x453bd1(0x356)]((_0x19ee5b,_0x14214d)=>{const _0x496923=_0x453bd1;window['clearTimeout'](_0x19ee5b),_0x5ae572[_0x496923(0x367)](this['_saveCache'](_0x14214d)['then'](()=>{const _0x55a55d=_0x496923;this['_saveTaskMap'][_0x55a55d(0x4d6)](_0x14214d);}));}),await Promise[_0x453bd1(0x36b)](_0x5ae572);}};_0x498b7a=_0x4398e9([_0xe2b27a(0x0,_0x27aa99[_0x1112e6(0x4cc)]),_0xe2b27a(0x1,_0x27aa99[_0x1112e6(0x4db)]),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x301412[_0x1112e6(0x2d1)]))],_0x498b7a);var _0x598853=class extends _0x27aa99['RxDisposable']{constructor(){const _0x27c6d6=_0x1112e6;super(),_0x10c934(this,_0x27c6d6(0x3ef),void 0x0),this[_0x27c6d6(0x3ef)]=(0x0,_0x55e528[_0x27c6d6(0x210)])(window,_0x27c6d6(0x3a7))[_0x27c6d6(0x4b2)]((0x0,_0x55e528['takeUntil'])(this['dispose$']),(0x0,_0x55e528[_0x27c6d6(0x47a)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x55e528[_0x27c6d6(0x2fe)])(void 0x0));}['setParam'](_0x1e20e3,_0x8411b,_0x1653bd=!0x1){const _0x100e46=_0x1112e6;let _0x50bda5=new URL(window[_0x100e46(0x426)][_0x100e46(0x2b4)]);_0x50bda5['searchParams']['set'](_0x1e20e3,_0x8411b),_0x1653bd?window[_0x100e46(0x4b0)][_0x100e46(0x36d)]('','',_0x50bda5['toString']()):window[_0x100e46(0x4b0)][_0x100e46(0x48d)]('','',_0x50bda5[_0x100e46(0x3a0)]());}[_0x1112e6(0x2f6)](_0x24d3c0,_0x2548b7=!0x1){const _0x2fd592=_0x1112e6;let _0x3d22cd=new URL(window['location'][_0x2fd592(0x2b4)]);_0x3d22cd[_0x2fd592(0x4df)][_0x2fd592(0x4d6)](_0x24d3c0),_0x2548b7?window['history'][_0x2fd592(0x36d)]('','',_0x3d22cd[_0x2fd592(0x3a0)]()):window[_0x2fd592(0x4b0)][_0x2fd592(0x48d)]('','',_0x3d22cd['toString']());}[_0x1112e6(0x49d)](_0x4a24a3){const _0xf345c9=_0x1112e6;return new URL(window[_0xf345c9(0x426)][_0xf345c9(0x2b4)])['searchParams'][_0xf345c9(0x3a5)](_0x4a24a3)??void 0x0;}};let _0x646df=class extends _0x27aa99[_0x1112e6(0x439)]{constructor(_0x58fc85=_0x264656,_0x57cc86,_0x5088ec,_0x5f329c,_0x57759b){const _0x45ca88=_0x1112e6;super(),this['_config']=_0x58fc85,this['_renderManagerService']=_0x57cc86,this['_injector']=_0x5088ec,this[_0x45ca88(0x454)]=_0x5f329c,this[_0x45ca88(0x1de)]=_0x57759b;let {..._0x39b30c}=(0x0,_0x27aa99['merge'])({},_0x264656,this['_config']);this[_0x45ca88(0x454)]['setConfig'](_0x45ca88(0x44b),_0x39b30c);}[_0x1112e6(0x2a0)](){const _0x2bd48e=_0x1112e6;this['_registerDependencies'](),this['disposeWithMe'](this[_0x2bd48e(0x1de)][_0x2bd48e(0x3ce)](_0x56df47)),this[_0x2bd48e(0x3fd)]();}[_0x1112e6(0x228)](){this['_registerRenderDependencies']();}[_0x1112e6(0x328)](){const _0x4e1426=_0x1112e6;var _0x583b45;let _0x4ee340=[[_0x3b4dcd],[_0x444344],[_0x5c49b8,{'useClass':_0x598853}],[_0x31266a[_0x4e1426(0x478)],{'useClass':_0x31266a[_0x4e1426(0x398)]}],[_0xd500a[_0x4e1426(0x1b1)],{'useClass':_0x498b7a}],[_0x263f39],[_0x5956c9],[_0x177b31],[_0x9840c5],[_0x5081d4],[_0x2f770c]];this[_0x4e1426(0x3fc)]['enableDocumentCollaborationUI']!==!0x1&&_0x4ee340[_0x4e1426(0x367)]([_0x4b07c8],[_0x22998d],[_0x91aecd],[_0x2c9ee8],[_0x108cb6],[_0x4969f7]),this[_0x4e1426(0x3fc)][_0x4e1426(0x432)]&&_0x4ee340['push']([_0x3e9241]),(0x0,_0x27aa99['registerDependencies'])(this[_0x4e1426(0x26a)],(0x0,_0x27aa99[_0x4e1426(0x345)])(_0x4ee340,(_0x583b45=this['_config'])==null?void 0x0:_0x583b45[_0x4e1426(0x34a)]));}[_0x1112e6(0x3ea)](){const _0xbaae96=_0x1112e6;this[_0xbaae96(0x3fc)]['enableDocumentCollaborationUI']!==!0x1&&this[_0xbaae96(0x3b1)](this['_renderManagerService'][_0xbaae96(0x4f9)](_0x27aa99[_0xbaae96(0x374)][_0xbaae96(0x309)],[_0x22a566])),this[_0xbaae96(0x3b1)](this['_renderManagerService'][_0xbaae96(0x4f9)](_0x27aa99['UniverInstanceType'][_0xbaae96(0x3be)],[_0x2848b3]));}['_initDependencies'](){const _0x526834=_0x1112e6;(0x0,_0x27aa99[_0x526834(0x4e7)])(this[_0x526834(0x26a)],[[_0x177b31],[_0x9840c5],[_0x263f39],[_0x5956c9],[_0x5081d4],[_0x444344],[_0x2f770c]]),this[_0x526834(0x3fc)][_0x526834(0x43c)]!==!0x1&&(0x0,_0x27aa99['touchDependencies'])(this['_injector'],[[_0x108cb6],[_0x4969f7]]),this['_config'][_0x526834(0x432)]&&(0x0,_0x27aa99['touchDependencies'])(this['_injector'],[[_0x3e9241]]);}};_0x10c934(_0x646df,_0x1112e6(0x22c),'UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x10c934(_0x646df,'packageName',_0x530aad),_0x10c934(_0x646df,_0x1112e6(0x372),_0x576df5),_0x646df=_0x4398e9([(0x0,_0x27aa99[_0x1112e6(0x319)])(_0x71ce52[_0x1112e6(0x3c1)],_0x53a4ba[_0x1112e6(0x2e5)],_0x558eeb['UniverRenderEnginePlugin'],_0x31266a[_0x1112e6(0x3f5)],_0x301412[_0x1112e6(0x4ad)],_0x4a1268[_0x1112e6(0x418)],_0xd500a[_0x1112e6(0x49e)]),_0xe2b27a(0x1,_0x558eeb[_0x1112e6(0x43f)]),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x3,_0x27aa99[_0x1112e6(0x4cc)]),_0xe2b27a(0x4,_0x27aa99['ICommandService'])],_0x646df);let _0xe85373=class extends _0xd500a[_0x1112e6(0x1db)]{constructor(_0x2b7663,_0x7c13be,_0x2267b5,_0x59ae98,_0x2c2bd6){super(_0x2b7663,_0x7c13be,_0x2267b5,_0x59ae98,_0x2c2bd6);}async[_0x1112e6(0x2e9)](_0x2026e0){const _0xd1455f=_0x1112e6;let _0x57c5fe=await this[_0xd1455f(0x1d2)](),_0x276411=this[_0xd1455f(0x23e)](_0x2026e0,_0x57c5fe);return this[_0xd1455f(0x25b)](_0x276411);}[_0x1112e6(0x23e)](_0x24b5a2,_0x23d5cc){const _0x5acf79=_0x1112e6;let _0x535676=typeof window>'u'?new URL(_0x24b5a2):new URL(_0x24b5a2,window['location'][_0x5acf79(0x3bb)]);_0x535676[_0x5acf79(0x4df)][_0x5acf79(0x20e)](_0x5acf79(0x382),_0x23d5cc);let _0x33b6b7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5acf79(0x426)][_0x5acf79(0x4bb)]);return _0x33b6b7[_0x5acf79(0x3a5)](_0x5acf79(0x423))&&_0x535676[_0x5acf79(0x4df)][_0x5acf79(0x20e)](_0x5acf79(0x423),_0x33b6b7[_0x5acf79(0x3a5)](_0x5acf79(0x423))),_0x535676[_0x5acf79(0x3a0)]();}async[_0x1112e6(0x1d2)](){const _0x30b4f9=_0x1112e6;var _0x1d23bf;let _0x35e08e=this[_0x30b4f9(0x454)][_0x30b4f9(0x404)](_0xd500a[_0x30b4f9(0x3ba)]),_0x27dc83=(_0x35e08e==null?void 0x0:_0x35e08e[_0x30b4f9(0x259)])??_0xd500a[_0x30b4f9(0x329)];return((_0x1d23bf=(await this[_0x30b4f9(0x456)]['get'](_0x27dc83,{'headers':{'Content-Type':_0x30b4f9(0x1dc)}}))['body'])==null?void 0x0:_0x1d23bf[_0x30b4f9(0x33b)])??'';}};_0xe85373=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x31266a['HTTPService'])),_0xe2b27a(0x2,_0x27aa99[_0x1112e6(0x4cc)]),_0xe2b27a(0x3,_0x27aa99[_0x1112e6(0x285)]),_0xe2b27a(0x4,_0x301412['ISnapshotServerService'])],_0xe85373);let _0x3bd567=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(_0x5ab486,_0xdff29d,_0x5660b0){const _0x44a74c=_0x1112e6;super(),this['_instanceService']=_0x5ab486,this[_0x44a74c(0x456)]=_0xdff29d,this[_0x44a74c(0x454)]=_0x5660b0;}async['runOnServer'](_0x475b90,_0x10c47d,_0x5d7a1c,..._0x24ee95){const _0x1cf582=_0x1112e6;let _0x297715=this['_instanceService'][_0x1cf582(0x4b8)]();if(!_0x297715)throw Error(_0x1cf582(0x262));let _0x15470b=(this[_0x1cf582(0x454)][_0x1cf582(0x404)](_0xd500a[_0x1cf582(0x2b6)])??_0xd500a[_0x1cf582(0x305)])+'/'+_0x475b90+_0x1cf582(0x375)+_0x10c47d,_0x290bd4={'scriptId':_0x475b90,'runId':new URL(window[_0x1cf582(0x426)][_0x1cf582(0x2b4)])[_0x1cf582(0x4df)][_0x1cf582(0x3a5)]('runId')??'','function':_0x10c47d,'unitId':_0x297715['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x24ee95),'invokeId':_0x5d7a1c[_0x1cf582(0x390)]??'','executionId':_0x5d7a1c['executionId']??''};try{let _0x51e715=await this[_0x1cf582(0x456)][_0x1cf582(0x1ce)](_0x15470b,{'body':_0x290bd4});return _0x51e715[_0x1cf582(0x1f4)][_0x1cf582(0x264)]&&_0x51e715[_0x1cf582(0x1f4)][_0x1cf582(0x264)][_0x1cf582(0x263)]!==_0x22da53['ErrorCode']['OK']?_0x1cf582(0x498):_0x51e715[_0x1cf582(0x1f4)][_0x1cf582(0x413)];}catch{return _0x1cf582(0x498);}}};_0x3bd567=_0x4398e9([_0xe2b27a(0x0,_0x27aa99['IUniverInstanceService']),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x31266a[_0x1112e6(0x3dc)])),_0xe2b27a(0x2,_0x27aa99[_0x1112e6(0x4cc)])],_0x3bd567);let _0x13ba59=0x7530,_0x5105b6=_0x1112e6(0x358);var _0x553725=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(){const _0x3f32bc=_0x1112e6;super(),_0x10c934(this,_0x3f32bc(0x24f),(0x0,_0x27aa99[_0x3f32bc(0x1ea)])()),_0x10c934(this,_0x3f32bc(0x3e5),new Set()),_0x10c934(this,_0x3f32bc(0x3b2),new Map()),_0x10c934(this,_0x3f32bc(0x3d6),null),_0x10c934(this,_0x3f32bc(0x2e2),new Map()),_0x10c934(this,_0x3f32bc(0x2c5),new Map()),this[_0x3f32bc(0x3d5)]();}['dispose'](){const _0x208b71=_0x1112e6;super['dispose'](),this[_0x208b71(0x2e2)][_0x208b71(0x356)]((_0x871931,_0x45cf4e)=>this[_0x208b71(0x247)](_0x45cf4e)),this[_0x208b71(0x3d6)]&&window['clearInterval'](this[_0x208b71(0x3d6)]);}[_0x1112e6(0x37d)](_0x4b8145){const _0x673291=_0x1112e6;return this['_ensureSubject'](_0x4b8145)[_0x673291(0x4b2)]((0x0,_0x55e528[_0x673291(0x441)])());}[_0x1112e6(0x27f)](_0x424bf4){const _0x432c7a=_0x1112e6;this[_0x432c7a(0x3e5)][_0x432c7a(0x29f)]===0x0&&this[_0x432c7a(0x2d5)](),this[_0x432c7a(0x3e5)][_0x432c7a(0x415)](_0x424bf4),this[_0x432c7a(0x1bd)]({'type':0x0,'memberID':this[_0x432c7a(0x24f)],'unitIDs':[_0x424bf4],'isForwarded':!0x1});}[_0x1112e6(0x45d)](_0x515f28){const _0x2eddb7=_0x1112e6;this['_selfUnitIDs']['delete'](_0x515f28),this[_0x2eddb7(0x3e5)][_0x2eddb7(0x29f)]===0x0&&this[_0x2eddb7(0x3d6)]&&window[_0x2eddb7(0x434)](this[_0x2eddb7(0x3d6)]);}[_0x1112e6(0x3d5)](){const _0x184447=_0x1112e6;this[_0x184447(0x3b1)]((0x0,_0x27aa99[_0x184447(0x3f1)])((0x0,_0x55e528[_0x184447(0x210)])(window,_0x184447(0x293))[_0x184447(0x4ea)](_0x35a68e=>{const _0x4dcc5c=_0x184447;if(_0x35a68e[_0x4dcc5c(0x1e5)]!==_0x5105b6||!_0x35a68e[_0x4dcc5c(0x1b5)])return;let _0x4203a6=JSON['parse'](_0x35a68e['newValue']);this['_handleEvent'](_0x4203a6);}))),window[_0x184447(0x465)](_0x184447(0x3a6),()=>this[_0x184447(0x1bd)]({'type':0x1,'memberID':this[_0x184447(0x24f)],'unitIDs':Array['from'](this[_0x184447(0x3e5)])}));}[_0x1112e6(0x37b)](_0x178a79){const _0x2b6831=_0x1112e6;switch(_0x178a79['type']){case 0x0:this[_0x2b6831(0x343)](_0x178a79);break;case 0x1:this[_0x2b6831(0x35a)](_0x178a79);break;case 0x2:this[_0x2b6831(0x397)](_0x178a79);break;}}['_handleJoinEvent'](_0x12074c){const _0x3daafc=_0x1112e6;let {unitIDs:_0x31e7fe,memberID:_0x315f69,isForwarded:_0x4aa6b9}=_0x12074c;_0x31e7fe[_0x3daafc(0x356)](_0x4c7562=>{const _0x156ccc=_0x3daafc;if(!_0x4aa6b9&&this[_0x156ccc(0x3b2)][_0x156ccc(0x288)](_0x4c7562)&&this[_0x156ccc(0x3bc)](_0x4c7562)[_0x156ccc(0x3cb)](_0xd500a[_0x156ccc(0x21e)][_0x156ccc(0x2c3)]),!this['_unitOnClients'][_0x156ccc(0x288)](_0x4c7562)||!this[_0x156ccc(0x3b2)]['get'](_0x4c7562)[_0x156ccc(0x288)](_0x315f69)){let _0x1e0c5e=this[_0x156ccc(0x3b2)][_0x156ccc(0x3a5)](_0x4c7562)||new Set();_0x1e0c5e[_0x156ccc(0x415)](_0x315f69),this[_0x156ccc(0x3b2)][_0x156ccc(0x20e)](_0x4c7562,_0x1e0c5e),this[_0x156ccc(0x308)](_0x315f69);}}),_0x4aa6b9||this[_0x3daafc(0x1bd)]({'type':0x0,'memberID':this[_0x3daafc(0x24f)],'unitIDs':[...this[_0x3daafc(0x3e5)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4ae828){const _0x3f26f4=_0x1112e6;this[_0x3f26f4(0x247)](_0x4ae828);let _0x3d6662=window[_0x3f26f4(0x290)](()=>{const _0x59e79b=_0x3f26f4;this[_0x59e79b(0x3b2)][_0x59e79b(0x356)](_0x2bdb92=>{_0x2bdb92['delete'](_0x4ae828);});},_0x13ba59*0x2);this[_0x3f26f4(0x2e2)]['set'](_0x4ae828,_0x3d6662);}[_0x1112e6(0x247)](_0x26f6aa){const _0x10b465=_0x1112e6;if(this[_0x10b465(0x2e2)][_0x10b465(0x288)](_0x26f6aa)){let _0x1d609b=this[_0x10b465(0x2e2)]['get'](_0x26f6aa);_0x1d609b&&window[_0x10b465(0x348)](_0x1d609b),this[_0x10b465(0x2e2)][_0x10b465(0x20e)](_0x26f6aa,null);}}[_0x1112e6(0x35a)](_0x4967ff){const _0x5c2234=_0x1112e6;let {memberID:_0x10660b,unitIDs:_0x58ba01}=_0x4967ff;_0x58ba01[_0x5c2234(0x356)](_0x1e8f66=>{const _0x4ece62=_0x5c2234;var _0xf4c41e;let _0x298563=this[_0x4ece62(0x3b2)]['get'](_0x1e8f66);_0x298563&&(_0x298563['delete'](_0x10660b),(_0xf4c41e=this[_0x4ece62(0x3bc)](_0x1e8f66))==null||_0xf4c41e[_0x4ece62(0x3cb)](_0x298563[_0x4ece62(0x29f)]===0x0?_0xd500a[_0x4ece62(0x21e)][_0x4ece62(0x254)]:_0xd500a['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x5c2234(0x247)](_0x10660b);}[_0x1112e6(0x397)](_0x400d64){this['_scheduleClearOtherTimer'](_0x400d64['memberID']);}[_0x1112e6(0x1bd)](_0x3555a2){localStorage['setItem'](_0x5105b6,JSON['stringify'](_0x3555a2));}[_0x1112e6(0x2d5)](){const _0x38d432=_0x1112e6;this[_0x38d432(0x3d6)]=window[_0x38d432(0x494)](()=>{const _0x5d3068=_0x38d432;this[_0x5d3068(0x1bd)]({'type':0x2,'memberID':this[_0x5d3068(0x24f)]});},_0x13ba59);}[_0x1112e6(0x3bc)](_0x206bf4){const _0x55ad39=_0x1112e6;return this[_0x55ad39(0x2c5)]['has'](_0x206bf4)||this[_0x55ad39(0x2c5)][_0x55ad39(0x20e)](_0x206bf4,new _0x55e528[(_0x55ad39(0x357))](_0xd500a['UnitStatus'][_0x55ad39(0x254)])),this[_0x55ad39(0x2c5)][_0x55ad39(0x3a5)](_0x206bf4);}};Object[_0x1112e6(0x41d)](_0x545995,_0x1112e6(0x34c),{'enumerable':!0x0,'get':function(){return _0xe85373;}}),Object[_0x1112e6(0x41d)](_0x545995,_0x1112e6(0x324),{'enumerable':!0x0,'get':function(){return _0x263f39;}}),_0x545995['IURLService']=_0x5c49b8,Object[_0x1112e6(0x41d)](_0x545995,_0x1112e6(0x40a),{'enumerable':!0x0,'get':function(){return _0x3bd567;}}),_0x545995[_0x1112e6(0x2de)]=_0x19d554,Object[_0x1112e6(0x41d)](_0x545995,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x646df;}}),_0x545995['WebBrowserSingleActiveUnitService']=_0x553725;}));