@univerjs-pro/collaboration-client-ui 1.3.0 → 1.3.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 (85) 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.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/umd/facade.js +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x179a(_0x479317,_0x3e99b0){_0x479317=_0x479317-0x1ab;const _0x580bcf=_0x580b();let _0x179ab5=_0x580bcf[_0x479317];return _0x179ab5;}(function(_0x4c8c01,_0x997971){const _0x1b2ea8=_0x179a,_0xb3e823=_0x4c8c01();while(!![]){try{const _0x41e79c=-parseInt(_0x1b2ea8(0x22f))/0x1+parseInt(_0x1b2ea8(0x472))/0x2+-parseInt(_0x1b2ea8(0x37e))/0x3*(-parseInt(_0x1b2ea8(0x28c))/0x4)+parseInt(_0x1b2ea8(0x2cf))/0x5*(-parseInt(_0x1b2ea8(0x1bb))/0x6)+parseInt(_0x1b2ea8(0x2d3))/0x7+parseInt(_0x1b2ea8(0x35d))/0x8*(-parseInt(_0x1b2ea8(0x226))/0x9)+parseInt(_0x1b2ea8(0x1bd))/0xa*(-parseInt(_0x1b2ea8(0x2a4))/0xb);if(_0x41e79c===_0x997971)break;else _0xb3e823['push'](_0xb3e823['shift']());}catch(_0x4b2545){_0xb3e823['push'](_0xb3e823['shift']());}}}(_0x580b,0xede1f),function(_0x436f26,_0x33aacc){const _0x291b98=_0x179a;typeof exports==_0x291b98(0x2f2)&&typeof module<'u'?_0x33aacc(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==_0x291b98(0x2b5)&&define[_0x291b98(0x44d)]?define([_0x291b98(0x3d4),_0x291b98(0x49a),_0x291b98(0x4e3),_0x291b98(0x457),_0x291b98(0x504),'rxjs/operators',_0x291b98(0x4c8),_0x291b98(0x1e8),_0x291b98(0x303),_0x291b98(0x1ff),_0x291b98(0x4b2),_0x291b98(0x471),'@univerjs/docs-ui',_0x291b98(0x23e),_0x291b98(0x508),_0x291b98(0x3fe),_0x291b98(0x3cc),_0x291b98(0x44c),_0x291b98(0x40a)],_0x33aacc):(_0x436f26=typeof globalThis<'u'?globalThis:_0x436f26||self,_0x33aacc(_0x436f26['UniverProCollaborationClientUi']={},_0x436f26[_0x291b98(0x326)],_0x436f26[_0x291b98(0x2ff)],_0x436f26['UniverUi'],_0x436f26['rxjs'],_0x436f26[_0x291b98(0x504)][_0x291b98(0x4bf)],_0x436f26[_0x291b98(0x3b5)],_0x436f26[_0x291b98(0x420)],_0x436f26[_0x291b98(0x420)],_0x436f26['UniverProCollaboration'],_0x436f26[_0x291b98(0x450)],_0x436f26[_0x291b98(0x22a)],_0x436f26['UniverDocsUi'],_0x436f26[_0x291b98(0x3ff)],_0x436f26[_0x291b98(0x31c)],_0x436f26['UniverEngineFormula'],_0x436f26[_0x291b98(0x39d)],_0x436f26['UniverSheetsUi'],_0x436f26['UniverProtocol']));}(this,function(_0x47af61,_0xd6e6bc,_0x243ba8,_0x456aa1,_0x4089a3,_0x51dbfd,_0x5f3d5a,_0x3e61d0,_0x36a3fe,_0x2557fc,_0x1b5e47,_0x446a63,_0x40df28,_0x1df5c2,_0x512293,_0x2236c3,_0x416bc1,_0x3f07c4,_0x43cd06){const _0x3a95bf=_0x179a;Object[_0x3a95bf(0x2b2)](_0x47af61,Symbol[_0x3a95bf(0x4ea)],{'value':'Module'});function _0x2a3a45({ref:_0x17639a,..._0x4a59c6}){const _0x49a198=_0x3a95bf;let {preserveStrokeWidth:_0x34f03,icon:_0x495527,id:_0x544d0f,className:_0x233b92,extend:_0x41e49a,..._0x3a23bb}=_0x4a59c6,_0x16eea1=(_0x49a198(0x33d)+_0x544d0f+'\x20'+(_0x233b92||''))[_0x49a198(0x283)](),_0x2e1d75='_'+(0x0,_0x3e61d0[_0x49a198(0x4a8)])(),_0x2337df=(0x0,_0x3e61d0[_0x49a198(0x36c)])(null);return(0x0,_0x3e61d0[_0x49a198(0x4a6)])(_0x17639a,()=>_0x2337df[_0x49a198(0x1f6)]),(0x0,_0x3e61d0[_0x49a198(0x1cb)])(()=>{const _0x5de482=_0x49a198;if(_0x34f03&&_0x2337df[_0x5de482(0x1f6)]&&_0x2337df['current']['localName']===_0x495527[_0x5de482(0x416)])return _0x10ee8a(_0x2337df[_0x5de482(0x1f6)]);},[_0x34f03,_0x495527]),_0x4b067b(_0x495527,''+_0x544d0f,{'defIds':_0x495527[_0x49a198(0x494)],'idSuffix':_0x2e1d75},{'ref':_0x2337df,'className':_0x16eea1,..._0x3a23bb},_0x41e49a);}function _0x4b067b(_0x5df4b4,_0x502f26,_0x4f6d72,_0x3bab2c,_0x2437ff){const _0x389e6b=_0x3a95bf;return(0x0,_0x3e61d0[_0x389e6b(0x4a9)])(_0x5df4b4[_0x389e6b(0x416)],{'key':_0x502f26,..._0x32ceaf(_0x5df4b4,_0x4f6d72,_0x2437ff),..._0x3bab2c},(_0x1dfaa7(_0x5df4b4,_0x4f6d72)[_0x389e6b(0x204)]||[])['map']((_0x58f051,_0x241aab)=>_0x4b067b(_0x58f051,_0x502f26+'-'+_0x5df4b4[_0x389e6b(0x416)]+'-'+_0x241aab,_0x4f6d72,void 0x0,_0x2437ff)));}function _0x32ceaf(_0x27dbb9,_0x1708f6,_0x5a5950){const _0x563750=_0x3a95bf;let _0x453134={..._0x27dbb9[_0x563750(0x39c)]};_0x5a5950!=null&&_0x5a5950[_0x563750(0x4fd)]&&_0x453134[_0x563750(0x338)]==='colorChannel1'&&(_0x453134[_0x563750(0x338)]=_0x5a5950[_0x563750(0x4fd)]),_0x5a5950!=null&&_0x5a5950['colorChannel1']&&_0x453134[_0x563750(0x401)]==='colorChannel1'&&(_0x453134[_0x563750(0x401)]=_0x5a5950[_0x563750(0x4fd)]),_0x27dbb9[_0x563750(0x416)]===_0x563750(0x2ec)&&_0x453134['id']&&(_0x453134['id']+=_0x1708f6[_0x563750(0x1fa)]),Object[_0x563750(0x321)](_0x453134)[_0x563750(0x437)](([_0x26a938,_0x44dfb4])=>{const _0x51aea1=_0x563750;_0x26a938==='mask'&&typeof _0x44dfb4==_0x51aea1(0x4b1)&&(_0x453134[_0x26a938]=_0x44dfb4[_0x51aea1(0x4ca)](/url\(#(.*)\)/,_0x51aea1(0x23a)+_0x1708f6[_0x51aea1(0x1fa)]+')'));});let {defIds:_0x4117a7}=_0x1708f6;return!_0x4117a7||_0x4117a7['length']===0x0||(_0x27dbb9[_0x563750(0x416)]===_0x563750(0x3e1)&&_0x453134[_0x563750(0x233)]&&(_0x453134[_0x563750(0x233)]+=_0x1708f6['idSuffix']),Object[_0x563750(0x321)](_0x453134)[_0x563750(0x437)](([_0x54dc65,_0x224961])=>{const _0x3dc236=_0x563750;typeof _0x224961==_0x3dc236(0x4b1)&&(_0x453134[_0x54dc65]=_0x224961[_0x3dc236(0x4ca)](/url\(#(.*)\)/,_0x3dc236(0x23a)+_0x1708f6[_0x3dc236(0x1fa)]+')'));})),_0x453134;}function _0x1dfaa7(_0x2d6362,_0x1ce10c){const _0x1d4256=_0x3a95bf;var _0x33a5dd;let {defIds:_0x583cd7}=_0x1ce10c;return!_0x583cd7||_0x583cd7[_0x1d4256(0x510)]===0x0?_0x2d6362:_0x2d6362[_0x1d4256(0x416)]===_0x1d4256(0x3ec)&&(_0x33a5dd=_0x2d6362[_0x1d4256(0x204)])!=null&&_0x33a5dd['length']?{..._0x2d6362,'children':_0x2d6362[_0x1d4256(0x204)]['map'](_0x145bec=>typeof _0x145bec[_0x1d4256(0x39c)]['id']==_0x1d4256(0x4b1)&&_0x583cd7&&_0x583cd7['includes'](_0x145bec[_0x1d4256(0x39c)]['id'])?{..._0x145bec,'attrs':{..._0x145bec[_0x1d4256(0x39c)],'id':_0x145bec[_0x1d4256(0x39c)]['id']+_0x1ce10c[_0x1d4256(0x1fa)]}}:_0x145bec)}:_0x2d6362;}function _0x10ee8a(_0x4809be){const _0x1556f7=_0x3a95bf;let _0x471bb0=_0x4809be['viewBox'][_0x1556f7(0x1b4)],_0x14b84f=Math[_0x1556f7(0x3df)](_0x471bb0[_0x1556f7(0x40b)],_0x471bb0['height']);if(!Number[_0x1556f7(0x2bc)](_0x14b84f)||_0x14b84f<=0x0||_0x471bb0[_0x1556f7(0x40b)]<=0x0||_0x471bb0[_0x1556f7(0x350)]<=0x0)return()=>void 0x0;let _0x2176cc=0x10/_0x14b84f,_0x386db9=Array[_0x1556f7(0x292)](_0x4809be[_0x1556f7(0x39a)](_0x1556f7(0x3de)))['flatMap'](_0x16e211=>{const _0x12c4e3=_0x1556f7;let _0xcd328f=getComputedStyle(_0x16e211),_0x494748=Number[_0x12c4e3(0x2cc)](_0xcd328f[_0x12c4e3(0x1b3)]);return _0xcd328f[_0x12c4e3(0x401)]===_0x12c4e3(0x300)||Number[_0x12c4e3(0x2cc)](_0xcd328f[_0x12c4e3(0x260)])===0x0||_0xcd328f['vectorEffect']===_0x12c4e3(0x447)||!Number['isFinite'](_0x494748)||_0x494748<=0x0?[]:[{'element':_0x16e211,'hadStyleAttribute':_0x16e211[_0x12c4e3(0x506)](_0x12c4e3(0x257)),'originalStrokeWidth':_0x494748,'strokeWidth':_0x2d9b9d(_0x16e211['style'],_0x12c4e3(0x1e2))}];})['map'](_0x20c5e9=>({'appliedStrokeWidth':null,'element':_0x20c5e9['element'],'hadStyleAttribute':_0x20c5e9[_0x1556f7(0x391)],'isReleased':!0x1,'originalStrokeWidth':_0x20c5e9[_0x1556f7(0x2e5)],'strokeWidth':_0x20c5e9['strokeWidth']}));if(_0x386db9[_0x1556f7(0x510)]===0x0)return()=>void 0x0;let _0x2a598b=(_0x4ddb58,_0x41554e)=>{const _0x394fcc=_0x1556f7;if(_0x471bb0[_0x394fcc(0x40b)]<=0x0||_0x471bb0[_0x394fcc(0x350)]<=0x0||_0x4ddb58<=0x0||_0x41554e<=0x0)return;let _0x4e3753=Math[_0x394fcc(0x4db)](_0x4ddb58/_0x471bb0[_0x394fcc(0x40b)],_0x41554e/_0x471bb0[_0x394fcc(0x350)]);!Number[_0x394fcc(0x2bc)](_0x4e3753)||_0x4e3753<=0x0||_0x386db9[_0x394fcc(0x437)](_0x37e44c=>{const _0x1e2b32=_0x394fcc;if(_0x37e44c['isReleased'])return;if(_0x37e44c[_0x1e2b32(0x354)]!==null&&(_0x37e44c[_0x1e2b32(0x1f5)][_0x1e2b32(0x257)][_0x1e2b32(0x1b8)](_0x1e2b32(0x1e2))!==_0x37e44c[_0x1e2b32(0x354)]||_0x37e44c[_0x1e2b32(0x1f5)]['style'][_0x1e2b32(0x301)](_0x1e2b32(0x1e2))!==_0x37e44c[_0x1e2b32(0x1b3)][_0x1e2b32(0x266)])){_0x37e44c['appliedStrokeWidth']=null,_0x37e44c[_0x1e2b32(0x1b2)]=!0x0;return;}let _0x488fcf=_0x37e44c['originalStrokeWidth']*_0x2176cc/_0x4e3753,_0x426bfd=Number(_0x488fcf[_0x1e2b32(0x374)](0xc))+'px';_0x37e44c[_0x1e2b32(0x1f5)][_0x1e2b32(0x257)]['setProperty'](_0x1e2b32(0x1e2),_0x426bfd,_0x37e44c['strokeWidth'][_0x1e2b32(0x266)]),_0x37e44c[_0x1e2b32(0x354)]=_0x426bfd;});},_0x4a42df=_0x4809be['getBoundingClientRect']();_0x2a598b(_0x4a42df['width'],_0x4a42df[_0x1556f7(0x350)]);let _0xe1971a=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x1ecf1d=>{const _0x121f67=_0x1556f7;if(_0x1ecf1d['some'](_0x467d80=>_0x467d80[_0x121f67(0x3b4)]===_0x4809be)){let _0x41ae89=_0x4809be['getBoundingClientRect']();_0x2a598b(_0x41ae89['width'],_0x41ae89[_0x121f67(0x350)]);}});return _0xe1971a==null||_0xe1971a[_0x1556f7(0x3c4)](_0x4809be),()=>{const _0x1e04e9=_0x1556f7;_0xe1971a==null||_0xe1971a[_0x1e04e9(0x40d)](),_0x386db9['forEach'](_0x231d54=>{const _0x3f55de=_0x1e04e9;_0x231d54['appliedStrokeWidth']!==null&&(_0x2b8920(_0x231d54[_0x3f55de(0x1f5)][_0x3f55de(0x257)],_0x3f55de(0x1e2),_0x231d54['appliedStrokeWidth'],_0x231d54[_0x3f55de(0x1b3)][_0x3f55de(0x266)],_0x231d54['strokeWidth']),!_0x231d54[_0x3f55de(0x391)]&&_0x231d54[_0x3f55de(0x1f5)][_0x3f55de(0x257)][_0x3f55de(0x510)]===0x0&&_0x231d54[_0x3f55de(0x1f5)][_0x3f55de(0x316)]('style'));});};}function _0x2d9b9d(_0x102cc2,_0x24d1cb){return{'priority':_0x102cc2['getPropertyPriority'](_0x24d1cb),'value':_0x102cc2['getPropertyValue'](_0x24d1cb)};}function _0x2b8920(_0x51c230,_0x156bce,_0x2ecd72,_0xcfc6a5,_0x42365d){const _0x381a9a=_0x3a95bf;_0x51c230['getPropertyValue'](_0x156bce)===_0x2ecd72&&_0x51c230[_0x381a9a(0x301)](_0x156bce)===_0xcfc6a5&&(_0x42365d[_0x381a9a(0x238)]?_0x51c230[_0x381a9a(0x30e)](_0x156bce,_0x42365d['value'],_0x42365d[_0x381a9a(0x266)]):_0x51c230['removeProperty'](_0x156bce));}_0x2a3a45['displayName']=_0x3a95bf(0x2da);let _0x5a94c7={'tag':'svg','attrs':{'xmlns':_0x3a95bf(0x2e3),'fill':'none','viewBox':_0x3a95bf(0x1fd),'width':'1em','height':_0x3a95bf(0x3e3)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a95bf(0x1eb)},'children':[{'tag':_0x3a95bf(0x2ef),'attrs':{'stroke':_0x3a95bf(0x4f1),'d':_0x3a95bf(0x27a),'strokeLinecap':_0x3a95bf(0x341),'strokeLinejoin':_0x3a95bf(0x341),'strokeWidth':1.2}}]},{'tag':_0x3a95bf(0x3ec),'attrs':{},'children':[{'tag':_0x3a95bf(0x3c6),'attrs':{'id':_0x3a95bf(0x498)},'children':[{'tag':'path','attrs':{'fill':_0x3a95bf(0x4df),'d':_0x3a95bf(0x46f)}}]}]}],'defIds':[_0x3a95bf(0x498)]},_0x4a9df0=(0x0,_0x3e61d0[_0x3a95bf(0x36d)])(function(_0x502a7c,_0xb0a798){const _0x117eeb=_0x3a95bf;return(0x0,_0x3e61d0['createElement'])(_0x2a3a45,Object['assign']({},_0x502a7c,{'id':_0x117eeb(0x4c2),'ref':_0xb0a798,'icon':_0x5a94c7}));});_0x4a9df0['displayName']='OffLineIcon';let _0x1d3380={'tag':_0x3a95bf(0x39b),'attrs':{'xmlns':_0x3a95bf(0x2e3),'fill':_0x3a95bf(0x300),'viewBox':_0x3a95bf(0x46a),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3a95bf(0x281)},'children':[{'tag':_0x3a95bf(0x2ef),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3a95bf(0x3ec),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3a95bf(0x433)},'children':[{'tag':'path','attrs':{'fill':_0x3a95bf(0x4df),'d':_0x3a95bf(0x46f),'transform':_0x3a95bf(0x1f3)}}]}]}],'defIds':[_0x3a95bf(0x433)]},_0x413a17=(0x0,_0x3e61d0[_0x3a95bf(0x36d)])(function(_0x3bd530,_0xd3addd){const _0x9526f5=_0x3a95bf;return(0x0,_0x3e61d0['createElement'])(_0x2a3a45,Object[_0x9526f5(0x353)]({},_0x3bd530,{'id':_0x9526f5(0x27e),'ref':_0xd3addd,'icon':_0x1d3380}));});_0x413a17['displayName']=_0x3a95bf(0x1c3);let _0x10bfd5={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3a95bf(0x300),'viewBox':'0\x200\x2016\x2016','width':_0x3a95bf(0x3e3),'height':'1em'},'children':[{'tag':_0x3a95bf(0x2ef),'attrs':{'fill':_0x3a95bf(0x4f1),'d':_0x3a95bf(0x225),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0xa2de88=(0x0,_0x3e61d0[_0x3a95bf(0x36d)])(function(_0x1950eb,_0x10d781){const _0x561225=_0x3a95bf;return(0x0,_0x3e61d0[_0x561225(0x4a9)])(_0x2a3a45,Object[_0x561225(0x353)]({},_0x1950eb,{'id':_0x561225(0x276),'ref':_0x10d781,'icon':_0x10bfd5}));});_0xa2de88[_0x3a95bf(0x2fe)]=_0x3a95bf(0x323);let _0x4c9308={'tag':_0x3a95bf(0x39b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3a95bf(0x300),'viewBox':_0x3a95bf(0x1fd),'width':_0x3a95bf(0x3e3),'height':'1em'},'children':[{'tag':_0x3a95bf(0x2ef),'attrs':{'fill':_0x3a95bf(0x399),'d':_0x3a95bf(0x2ea),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x3a95bf(0x2ef),'attrs':{'fill':'#0B9EFB','d':_0x3a95bf(0x330),'fillRule':_0x3a95bf(0x4ec),'clipRule':_0x3a95bf(0x4ec)}}]},_0x12aada=(0x0,_0x3e61d0['forwardRef'])(function(_0x45719d,_0x29fecb){const _0xdda260=_0x3a95bf;return(0x0,_0x3e61d0['createElement'])(_0x2a3a45,Object[_0xdda260(0x353)]({},_0x45719d,{'id':_0xdda260(0x1b6),'ref':_0x29fecb,'icon':_0x4c9308}));});_0x12aada['displayName']=_0x3a95bf(0x21f);function _0x549cc9(_0x4be866){const _0x33b695=_0x3a95bf;switch(_0x4be866){case _0xd6e6bc['CollaborationStatus']['OFFLINE']:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x4a9df0,{}),'colorClass':'univer-text-red-500','i18nKey':_0x33b695(0x4bc),'tooltipKey':_0x33b695(0x318),'clickable':!0x0,'indicator':_0x33b695(0x405)};case _0xd6e6bc[_0x33b695(0x3b8)]['CONFLICT']:return{'icon':(0x0,_0x36a3fe['jsx'])(_0x4a9df0,{}),'colorClass':_0x33b695(0x2eb),'i18nKey':_0x33b695(0x37c),'clickable':!0x1,'indicator':'static'};case _0xd6e6bc['CollaborationStatus'][_0x33b695(0x476)]:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x12aada,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x33b695(0x2fc),'clickable':!0x1,'indicator':'spin'};case _0xd6e6bc[_0x33b695(0x3b8)][_0x33b695(0x331)]:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x413a17,{}),'colorClass':_0x33b695(0x50b),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':'static'};case _0xd6e6bc[_0x33b695(0x3b8)][_0x33b695(0x427)]:case _0xd6e6bc['CollaborationStatus'][_0x33b695(0x3e2)]:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x12aada,{}),'colorClass':'univer-text-blue-500','i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':'spin'};case _0xd6e6bc['CollaborationStatus']['PENDING']:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x12aada,{}),'colorClass':_0x33b695(0x372),'i18nKey':_0x33b695(0x386),'clickable':!0x1,'indicator':_0x33b695(0x464)};case _0xd6e6bc[_0x33b695(0x3b8)]['SYNCED']:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x413a17,{}),'colorClass':_0x33b695(0x25d),'i18nKey':_0x33b695(0x4c0),'clickable':!0x1,'indicator':_0x33b695(0x405)};}}function _0x13a467(_0x556a43){const _0x153bb5=_0x3a95bf;let {status$:_0x3b918f}=_0x556a43,_0x1e1a40=(0x0,_0x456aa1[_0x153bb5(0x202)])(_0x3b918f,_0xd6e6bc[_0x153bb5(0x3b8)]['NOT_COLLAB']),_0x3ee708=(0x0,_0x456aa1[_0x153bb5(0x48c)])(_0x243ba8[_0x153bb5(0x3e4)]),_0x1b0f0f=(0x0,_0x456aa1[_0x153bb5(0x48c)])(_0xd6e6bc['CollaborationSessionService']),_0x4d3de3=(0x0,_0x3e61d0['useMemo'])(()=>_0x549cc9(_0x1e1a40),[_0x1e1a40]),_0x3a90f6=_0x1e1a40!==_0xd6e6bc[_0x153bb5(0x3b8)][_0x153bb5(0x3d6)],_0x55ea41=_0x3ee708['t'](_0x4d3de3[_0x153bb5(0x20f)]),_0x196383=_0x4d3de3['tooltipKey']?_0x3ee708['t'](_0x4d3de3[_0x153bb5(0x328)]):_0x55ea41,_0x247e82=(0x0,_0x3e61d0[_0x153bb5(0x485)])(()=>{const _0x2c755c=_0x153bb5;_0x3a90f6||_0x1b0f0f[_0x2c755c(0x3b6)]();},[_0x3a90f6,_0x1b0f0f]),_0x2f4ead=(0x0,_0x3e61d0[_0x153bb5(0x485)])(_0x754e3a=>{const _0x57bc3a=_0x153bb5;!_0x3a90f6&&(_0x754e3a[_0x57bc3a(0x453)]===_0x57bc3a(0x247)||_0x754e3a[_0x57bc3a(0x453)]==='\x20')&&(_0x754e3a[_0x57bc3a(0x277)](),_0x1b0f0f[_0x57bc3a(0x3b6)]());},[_0x3a90f6,_0x1b0f0f]),_0x3b183e=(0x0,_0x36a3fe['jsx'])('span',{'className':(0x0,_0x5f3d5a[_0x153bb5(0x317)])('univer-flex\x20univer-items-center\x20univer-justify-center','univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x4d3de3[_0x153bb5(0x265)],{'univer-animate-spin':_0x4d3de3[_0x153bb5(0x258)]===_0x153bb5(0x464),'univer-animate-pulse':_0x4d3de3[_0x153bb5(0x258)]===_0x153bb5(0x445)}),'aria-hidden':_0x153bb5(0x1fc),'children':_0x4d3de3[_0x153bb5(0x355)]}),_0x33dea2=(0x0,_0x36a3fe[_0x153bb5(0x4a4)])(_0x153bb5(0x43b),{'className':(0x0,_0x5f3d5a[_0x153bb5(0x317)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x153bb5(0x4f7),_0x153bb5(0x24d),_0x153bb5(0x2e4),'dark:focus:!univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x4d3de3['clickable'],'univer-cursor-default':!_0x4d3de3[_0x153bb5(0x1f4)]}),'children':_0x3b183e});return _0x4d3de3['clickable']?(0x0,_0x36a3fe['jsx'])(_0x5f3d5a[_0x153bb5(0x4e5)],{'title':_0x196383,'placement':'bottom','children':(0x0,_0x36a3fe[_0x153bb5(0x4a4)])(_0x153bb5(0x2c7),{'type':_0x153bb5(0x2c7),'onClick':_0x247e82,'onKeyDown':_0x2f4ead,'className':(0x0,_0x5f3d5a['clsx'])(_0x153bb5(0x221),_0x153bb5(0x24a),_0x153bb5(0x28a),'univer-appearance-none'),'aria-label':_0x55ea41+_0x153bb5(0x2ac)+_0x196383,'role':'status','aria-live':'polite','aria-atomic':_0x153bb5(0x1fc),'children':_0x33dea2})}):(0x0,_0x36a3fe[_0x153bb5(0x4a4)])(_0x5f3d5a[_0x153bb5(0x4e5)],{'title':_0x196383,'placement':_0x153bb5(0x2b1),'children':(0x0,_0x36a3fe[_0x153bb5(0x4a4)])(_0x153bb5(0x1d4),{'className':(0x0,_0x5f3d5a[_0x153bb5(0x317)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x153bb5(0x24a),'univer-m-0\x20univer-p-0'),'aria-label':_0x55ea41,'role':_0x153bb5(0x2a2),'aria-live':_0x153bb5(0x311),'aria-atomic':_0x153bb5(0x1fc),'children':_0x33dea2})});}function _0x558da2(_0x25ab3d){'@babel/helpers - typeof';const _0x4d7342=_0x3a95bf;return _0x558da2=typeof Symbol==_0x4d7342(0x2b5)&&typeof Symbol[_0x4d7342(0x32a)]==_0x4d7342(0x33b)?function(_0x11d408){return typeof _0x11d408;}:function(_0xa6f5c8){const _0x2c65d4=_0x4d7342;return _0xa6f5c8&&typeof Symbol=='function'&&_0xa6f5c8[_0x2c65d4(0x298)]===Symbol&&_0xa6f5c8!==Symbol[_0x2c65d4(0x4b0)]?_0x2c65d4(0x33b):typeof _0xa6f5c8;},_0x558da2(_0x25ab3d);}function _0x3f5a13(_0x2a7cc2,_0x4bdaf5){const _0x4d34cd=_0x3a95bf;if(_0x558da2(_0x2a7cc2)!=_0x4d34cd(0x2f2)||!_0x2a7cc2)return _0x2a7cc2;var _0x197e2f=_0x2a7cc2[Symbol['toPrimitive']];if(_0x197e2f!==void 0x0){var _0x26934f=_0x197e2f['call'](_0x2a7cc2,_0x4bdaf5||_0x4d34cd(0x3f8));if(_0x558da2(_0x26934f)!=_0x4d34cd(0x2f2))return _0x26934f;throw TypeError(_0x4d34cd(0x4ed));}return(_0x4bdaf5==='string'?String:Number)(_0x2a7cc2);}function _0x1735f6(_0x42bbd9){const _0x29e9cf=_0x3a95bf;var _0x53a99b=_0x3f5a13(_0x42bbd9,_0x29e9cf(0x4b1));return _0x558da2(_0x53a99b)==_0x29e9cf(0x33b)?_0x53a99b:_0x53a99b+'';}function _0x538d20(_0x7087b0,_0x318a1f,_0x1c3588){const _0x52893d=_0x3a95bf;return(_0x318a1f=_0x1735f6(_0x318a1f))in _0x7087b0?Object[_0x52893d(0x2b2)](_0x7087b0,_0x318a1f,{'value':_0x1c3588,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x7087b0[_0x318a1f]=_0x1c3588,_0x7087b0;}function _0x489cd3(_0x91dafe,_0x9f3caf){return function(_0x7cd885,_0x5988c3){_0x9f3caf(_0x7cd885,_0x5988c3,_0x91dafe);};}function _0x313369(_0x30d3f2,_0x56e54d,_0x4af321,_0x26c663){const _0x328d28=_0x3a95bf;var _0x560434=arguments[_0x328d28(0x510)],_0x241b0d=_0x560434<0x3?_0x56e54d:_0x26c663===null?_0x26c663=Object['getOwnPropertyDescriptor'](_0x56e54d,_0x4af321):_0x26c663,_0x4bdb34;if(typeof Reflect=='object'&&typeof Reflect[_0x328d28(0x50e)]=='function')_0x241b0d=Reflect[_0x328d28(0x50e)](_0x30d3f2,_0x56e54d,_0x4af321,_0x26c663);else{for(var _0x5adaae=_0x30d3f2['length']-0x1;_0x5adaae>=0x0;_0x5adaae--)(_0x4bdb34=_0x30d3f2[_0x5adaae])&&(_0x241b0d=(_0x560434<0x3?_0x4bdb34(_0x241b0d):_0x560434>0x3?_0x4bdb34(_0x56e54d,_0x4af321,_0x241b0d):_0x4bdb34(_0x56e54d,_0x4af321))||_0x241b0d);}return _0x560434>0x3&&_0x241b0d&&Object[_0x328d28(0x2b2)](_0x56e54d,_0x4af321,_0x241b0d),_0x241b0d;}let _0x504763=class extends _0x243ba8['Disposable']{constructor(_0x34667d,_0xbf88f2,_0x3fa4b8,_0x478004,_0x2dcf55){const _0x3df3a0=_0x3a95bf;super(),this[_0x3df3a0(0x31e)]=_0x34667d,this['_injector']=_0xbf88f2,this[_0x3df3a0(0x2a0)]=_0x3fa4b8,this[_0x3df3a0(0x4ee)]=_0x478004,this[_0x3df3a0(0x407)]=_0x2dcf55,_0x538d20(this,_0x3df3a0(0x25f),new _0x4089a3[(_0x3df3a0(0x43f))](_0xd6e6bc[_0x3df3a0(0x3b8)]['NOT_COLLAB'])),_0x538d20(this,_0x3df3a0(0x2be),new Map()),this[_0x3df3a0(0x3bf)](),this[_0x3df3a0(0x2b0)](),this[_0x3df3a0(0x4c7)]();}[_0x3a95bf(0x1f0)](){const _0x38d262=_0x3a95bf;this[_0x38d262(0x2be)][_0x38d262(0x437)](_0x5f5b8c=>_0x5f5b8c[_0x38d262(0x1f0)]()),this[_0x38d262(0x2be)]['clear'](),this[_0x38d262(0x25f)][_0x38d262(0x1c8)](),super['dispose']();}['_initStatusListener'](){const _0x5f20e4=_0x3a95bf;this[_0x5f20e4(0x359)]((0x0,_0x4089a3[_0x5f20e4(0x2e8)])(this[_0x5f20e4(0x31e)]['focused$'],this[_0x5f20e4(0x31e)]['getCurrentTypeOfUnit$'](_0x243ba8[_0x5f20e4(0x509)]['UNIVER_DOC']),this[_0x5f20e4(0x31e)][_0x5f20e4(0x431)](_0x243ba8[_0x5f20e4(0x509)][_0x5f20e4(0x295)]))[_0x5f20e4(0x325)]((0x0,_0x51dbfd[_0x5f20e4(0x3a2)])(()=>_0x2d9de6(this[_0x5f20e4(0x31e)])),(0x0,_0x51dbfd[_0x5f20e4(0x492)])(),(0x0,_0x4089a3[_0x5f20e4(0x20e)])(_0x3d7158=>_0x3d7158?this['_collaborationController']['getCollabEntity$'](_0x3d7158):(0x0,_0x4089a3['of'])(null)),(0x0,_0x4089a3[_0x5f20e4(0x20e)])(_0x4ebd56=>_0x4ebd56?_0x4ebd56[_0x5f20e4(0x4ce)]:(0x0,_0x4089a3['of'])(_0xd6e6bc[_0x5f20e4(0x3b8)]['NOT_COLLAB'])))[_0x5f20e4(0x425)](_0x58ae1a=>{const _0x5d0755=_0x5f20e4;this[_0x5d0755(0x25f)][_0x5d0755(0x1e4)](_0x58ae1a);}));}[_0x3a95bf(0x3bf)](){const _0x203915=_0x3a95bf;this[_0x203915(0x359)](this[_0x203915(0x4ee)][_0x203915(0x32c)](_0x456aa1[_0x203915(0x1b0)][_0x203915(0x49f)],()=>(0x0,_0x456aa1['connectInjector'])(_0x24caa9({'status$':this['_status$'][_0x203915(0x1cd)]()}),this[_0x203915(0x4c9)])));}[_0x3a95bf(0x4c7)](){const _0x2a393a=_0x3a95bf;let _0x4b6cee=this[_0x2a393a(0x407)][_0x2a393a(0x2b6)][_0x2a393a(0x425)](_0x220584=>{const _0x265dc1=_0x2a393a;this[_0x265dc1(0x348)](_0x220584);});this[_0x2a393a(0x359)]((0x0,_0x243ba8['toDisposable'])(()=>_0x4b6cee['unsubscribe']()));}[_0x3a95bf(0x348)](_0x20ebc3){const _0x311e15=_0x3a95bf;let _0x292cc1=new Map(_0x20ebc3[_0x311e15(0x1d2)](_0x18a8e0=>_0x18a8e0[_0x311e15(0x454)]!=null)[_0x311e15(0x3a2)](_0x88074b=>[_0x88074b[_0x311e15(0x2b7)],_0x88074b]));this[_0x311e15(0x2be)]['forEach']((_0x3d5718,_0x5b8de5)=>{const _0x358c4a=_0x311e15;_0x292cc1[_0x358c4a(0x502)](_0x5b8de5)||(_0x3d5718[_0x358c4a(0x1f0)](),this[_0x358c4a(0x2be)][_0x358c4a(0x26e)](_0x5b8de5));}),_0x292cc1[_0x311e15(0x437)]((_0x23f1cd,_0x46c998)=>{const _0xd348de=_0x311e15;this[_0xd348de(0x2be)][_0xd348de(0x502)](_0x46c998)||this[_0xd348de(0x4f6)](_0x23f1cd);});}[_0x3a95bf(0x4f6)](_0x337d7a){const _0x4d350f=_0x3a95bf;let _0x224cec=_0x337d7a[_0x4d350f(0x454)];if(!_0x224cec)return;let _0x4bce12=new _0x243ba8[(_0x4d350f(0x278))](),_0x4b666e=new _0x4089a3[(_0x4d350f(0x43f))](_0xd6e6bc[_0x4d350f(0x3b8)]['NOT_COLLAB']);_0x4bce12[_0x4d350f(0x299)]((0x0,_0x243ba8[_0x4d350f(0x31b)])(()=>_0x4b666e['complete']())),_0x4bce12[_0x4d350f(0x299)](this[_0x4d350f(0x4ee)][_0x4d350f(0x32c)](_0x224cec,()=>(0x0,_0x456aa1[_0x4d350f(0x320)])(_0x24caa9({'status$':_0x4b666e[_0x4d350f(0x1cd)]()}),this[_0x4d350f(0x4c9)])));let _0x2daef6=this[_0x4d350f(0x31e)]['getCurrentTypeOfUnit$'](_0x337d7a['unitType'])[_0x4d350f(0x325)]((0x0,_0x51dbfd[_0x4d350f(0x3a2)])(_0x4166b5=>(_0x4166b5==null?void 0x0:_0x4166b5[_0x4d350f(0x4cd)]())??null),(0x0,_0x51dbfd['distinctUntilChanged'])(),(0x0,_0x4089a3[_0x4d350f(0x20e)])(_0x8c31b0=>_0x8c31b0?this[_0x4d350f(0x2a0)][_0x4d350f(0x33e)](_0x8c31b0):(0x0,_0x4089a3['of'])(null)),(0x0,_0x4089a3[_0x4d350f(0x20e)])(_0x35fc2b=>(_0x35fc2b==null?void 0x0:_0x35fc2b[_0x4d350f(0x4ce)])??(0x0,_0x4089a3['of'])(_0xd6e6bc[_0x4d350f(0x3b8)][_0x4d350f(0x331)])))[_0x4d350f(0x425)](_0x1bda0e=>_0x4b666e[_0x4d350f(0x1e4)](_0x1bda0e));_0x4bce12[_0x4d350f(0x299)]((0x0,_0x243ba8['toDisposable'])(()=>_0x2daef6[_0x4d350f(0x3b2)]())),this[_0x4d350f(0x2be)][_0x4d350f(0x4b9)](_0x337d7a['unitType'],_0x4bce12);}};_0x504763=_0x313369([_0x489cd3(0x0,_0x243ba8['IUniverInstanceService']),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8['Injector'])),_0x489cd3(0x2,(0x0,_0x243ba8['Inject'])(_0xd6e6bc[_0x3a95bf(0x442)])),_0x489cd3(0x3,_0x456aa1['IUIPartsService']),_0x489cd3(0x4,(0x0,_0x243ba8['Inject'])(_0x456aa1[_0x3a95bf(0x327)]))],_0x504763);function _0x2d9de6(_0x5b62c5){const _0x464e5a=_0x3a95bf;let _0x332c1f=_0x5b62c5['getFocusedUnit'](),_0x430b59=_0x332c1f==null?void 0x0:_0x332c1f['getUnitId']();if(_0x430b59&&!(0x0,_0x243ba8[_0x464e5a(0x395)])(_0x430b59))return _0x430b59;let _0x1874b6=_0x5b62c5[_0x464e5a(0x2b9)](_0x243ba8[_0x464e5a(0x509)][_0x464e5a(0x2fb)]),_0x45ee66=_0x1874b6==null?void 0x0:_0x1874b6[_0x464e5a(0x4cd)]();if(_0x45ee66&&!(0x0,_0x243ba8[_0x464e5a(0x395)])(_0x45ee66))return _0x45ee66;let _0x4f2d29=_0x5b62c5[_0x464e5a(0x2b9)](_0x243ba8[_0x464e5a(0x509)][_0x464e5a(0x295)]);if(_0x4f2d29)return _0x4f2d29[_0x464e5a(0x4cd)]();let _0x31deed=_0x5b62c5['getAllUnitsForType'](_0x243ba8[_0x464e5a(0x509)][_0x464e5a(0x2fb)])['find'](_0x490162=>!(0x0,_0x243ba8[_0x464e5a(0x395)])(_0x490162['getUnitId']()));return _0x31deed?_0x31deed[_0x464e5a(0x4cd)]():null;}function _0x24caa9(_0x6203ab){let {status$:_0x451873}=_0x6203ab;return function(){const _0x1c62ef=_0x179a;return(0x0,_0x36a3fe[_0x1c62ef(0x4a4)])(_0x13a467,{'status$':_0x451873});};}var _0x227a21='@univerjs-pro/collaboration-client-ui',_0xa76bd6=_0x3a95bf(0x290);let _0x574984={'id':'collaboration-client-ui.operation.update-remote-unit-presence','type':_0x243ba8[_0x3a95bf(0x356)][_0x3a95bf(0x3b3)],'handler':(_0x582a5b,_0x1e2004)=>{const _0x13d568=_0x3a95bf;let _0x3ca9b4=_0x582a5b[_0x13d568(0x26a)](_0x456aa1[_0x13d568(0x327)])[_0x13d568(0x26a)](_0x1e2004[_0x13d568(0x2b7)]);if(!_0x3ca9b4)return!0x1;switch(_0x1e2004[_0x13d568(0x4b7)]['type']){case _0x13d568(0x4b9):return _0x3ca9b4[_0x13d568(0x43c)](_0x1e2004[_0x13d568(0x4b7)][_0x13d568(0x439)]),!0x0;case _0x13d568(0x29c):return _0x3ca9b4[_0x13d568(0x459)](_0x1e2004[_0x13d568(0x4b7)]['unitId'],_0x1e2004[_0x13d568(0x4b7)][_0x13d568(0x297)]),!0x0;case _0x13d568(0x424):return _0x3ca9b4[_0x13d568(0x3eb)](_0x1e2004[_0x13d568(0x4b7)][_0x13d568(0x2a1)]),!0x0;default:return!0x1;}}},_0x17ec3a={},_0x217fc6=class extends _0x243ba8['RxDisposable']{constructor(_0x349e37,_0x12bafb){const _0x51848c=_0x3a95bf;super(),this[_0x51848c(0x365)]=_0x349e37,this[_0x51848c(0x332)]=_0x12bafb,this['_init']();}[_0x3a95bf(0x2bf)](){const _0x24cb20=_0x3a95bf;let _0x1a8c24=this;this['disposeWithMe'](this[_0x24cb20(0x365)][_0x24cb20(0x49b)]({'onBeforePasteImage':async _0x2298ec=>{const _0x88119f=_0x24cb20;let _0x5356c9=await _0x1a8c24['_imageIoService'][_0x88119f(0x2bb)](_0x2298ec);return _0x5356c9?{'source':_0x5356c9['source'],'imageSourceType':_0x5356c9['imageSourceType']}:null;}}));}};_0x217fc6=_0x313369([_0x489cd3(0x0,_0x40df28[_0x3a95bf(0x1cc)]),_0x489cd3(0x1,_0x243ba8[_0x3a95bf(0x1ad)])],_0x217fc6);let _0x29c212=[_0x3a95bf(0x201),_0x3a95bf(0x37f),_0x3a95bf(0x24c),_0x3a95bf(0x43e),'blue.400','yellow.400'];var _0x566e73=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(..._0x3f3086){const _0x4e9b7f=_0x3a95bf;super(..._0x3f3086),_0x538d20(this,_0x4e9b7f(0x499),new Map()),_0x538d20(this,_0x4e9b7f(0x224),0x0);}[_0x3a95bf(0x2c1)](_0x295e12){const _0x51377e=_0x3a95bf;if(this[_0x51377e(0x499)]['has'](_0x295e12))return this[_0x51377e(0x499)][_0x51377e(0x26a)](_0x295e12);let _0x5ed0b8=_0x29c212[this[_0x51377e(0x224)]];return this[_0x51377e(0x224)]=(this['_colorIndex']+0x1)%_0x29c212['length'],this[_0x51377e(0x499)]['set'](_0x295e12,_0x5ed0b8),_0x5ed0b8;}};function _0x239a30(_0x5c4051){let _0x528633='';for(let _0x54774d of _0x5c4051){let {startOffset:_0x5e5a27,endOffset:_0x166516,isActive:_0x17786d,rangeType:_0x18e05e,segmentId:_0x3e87b3,segmentPage:_0x20b76c}=_0x54774d;_0x528633['length']&&(_0x528633+=','),_0x528633+=_0x5e5a27+':'+_0x166516+':'+(_0x17786d?'1':'0')+':'+_0x18e05e+':'+_0x3e87b3+':'+_0x20b76c;}return _0x528633;}function _0x2c6725(_0x297fc3){const _0x3f7cea=_0x3a95bf;let _0x1d7cd7=_0x297fc3[_0x3f7cea(0x34b)](','),_0x49d1a0=[];for(let _0x23c250 of _0x1d7cd7){let [_0x294d39,_0x27ab0d,_0x55c3a6,_0x1d071f,_0x31ad30,_0x8792f9]=_0x23c250[_0x3f7cea(0x34b)](':');_0x49d1a0[_0x3f7cea(0x50f)]({'startOffset':Number(_0x294d39),'endOffset':Number(_0x27ab0d),'collapsed':_0x294d39===_0x27ab0d,'isActive':_0x55c3a6==='1','rangeType':_0x1d071f===_0x243ba8[_0x3f7cea(0x44a)]['TEXT']?_0x243ba8[_0x3f7cea(0x44a)][_0x3f7cea(0x434)]:_0x243ba8[_0x3f7cea(0x44a)][_0x3f7cea(0x22e)],'segmentId':typeof _0x31ad30=='string'?String(_0x31ad30):'','segmentPage':Number(_0x8792f9??-0x1)});}return _0x49d1a0[_0x3f7cea(0x32d)](_0x211bb3=>_0x211bb3[_0x3f7cea(0x48f)])||(_0x49d1a0[0x0][_0x3f7cea(0x48f)]=!0x0),_0x49d1a0;}var _0x7cbc68=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(..._0x55d882){const _0x263454=_0x3a95bf;super(..._0x55d882),_0x538d20(this,'_collabCursorState$',new _0x4089a3['BehaviorSubject'](null)),_0x538d20(this,_0x263454(0x479),this['_collabCursorState$']['asObservable']());}[_0x3a95bf(0x273)](_0x269f12){const _0x3a596f=_0x3a95bf;let {unitID:_0x45f393,memberID:_0xbb8812,textRanges:_0x593053}=_0x269f12,_0x16b5d7=_0x239a30(_0x593053);if(_0x16b5d7==='')return;let _0x5f2788={'unitID':_0x45f393,'memberID':_0xbb8812,'selection':_0x16b5d7};this[_0x3a596f(0x3c3)]['next'](_0x5f2788);}};let _0x13964a=class extends _0x243ba8[_0x3a95bf(0x3b1)]{get['cursorInfo'](){const _0x2c3c94=_0x3a95bf;return this[_0x2c3c94(0x35b)][_0x2c3c94(0x2a6)]();}get[_0x3a95bf(0x404)](){const _0x1d9fcd=_0x3a95bf;return this['_roomMembers$'][_0x1d9fcd(0x2a6)]();}constructor(_0x3a4f1c,_0x5122ad,_0x5939ba,_0x425ccb,_0x25fe56,_0x406c11,_0x50cd9d,_0x425111,_0x5df8df){const _0x592c19=_0x3a95bf;super(),this[_0x592c19(0x259)]=_0x3a4f1c,this['_session']=_0x5122ad,this['_injector']=_0x5939ba,this[_0x592c19(0x440)]=_0x425ccb,this[_0x592c19(0x382)]=_0x25fe56,this['_syncEditingCollabCursorService']=_0x406c11,this[_0x592c19(0x481)]=_0x50cd9d,this[_0x592c19(0x31e)]=_0x425111,this['_commandService']=_0x5df8df,_0x538d20(this,'_online',!0x1),_0x538d20(this,_0x592c19(0x2bf),!0x1),_0x538d20(this,_0x592c19(0x35b),new _0x4089a3[(_0x592c19(0x43f))](new Map())),_0x538d20(this,_0x592c19(0x36f),this[_0x592c19(0x35b)][_0x592c19(0x1cd)]()),_0x538d20(this,_0x592c19(0x465),new _0x4089a3[(_0x592c19(0x43f))]([])),_0x538d20(this,_0x592c19(0x25a),this['_roomMembers$'][_0x592c19(0x325)]((0x0,_0x4089a3['debounceTime'])(0x12c))),_0x538d20(this,_0x592c19(0x250),(0x0,_0x243ba8[_0x592c19(0x234)])(_0x1fb840=>{const _0x4879a2=_0x592c19;let _0x4da85e={'eventID':_0x2557fc[_0x4879a2(0x4b3)][_0x4879a2(0x368)],'data':{'unitID':this['unitID'],'memberID':this[_0x4879a2(0x1c2)][_0x4879a2(0x30c)](),'selection':_0x239a30(_0x1fb840)}};this[_0x4879a2(0x1c2)]['send'](_0x4da85e,this['unitID']);},0x64));}['dispose'](){const _0x4d6f23=_0x3a95bf;super[_0x4d6f23(0x1f0)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x4d6f23(0x1c8)](),this[_0x4d6f23(0x465)][_0x4d6f23(0x1e4)]([]),this[_0x4d6f23(0x465)][_0x4d6f23(0x1c8)]();}[_0x3a95bf(0x208)](){const _0x160d15=_0x3a95bf;this['_init']||(this[_0x160d15(0x2bf)]=!0x0,this[_0x160d15(0x1c2)][_0x160d15(0x2b3)][_0x160d15(0x325)]((0x0,_0x4089a3[_0x160d15(0x351)])(this[_0x160d15(0x2f7)]))[_0x160d15(0x425)](_0x544aab=>{const _0x35442b=_0x160d15;_0x544aab===_0xd6e6bc[_0x35442b(0x4a0)][_0x35442b(0x249)]?this[_0x35442b(0x403)]():this[_0x35442b(0x218)]();}),this['_session'][_0x160d15(0x388)][_0x160d15(0x325)]((0x0,_0x4089a3['takeUntil'])(this['dispose$']))[_0x160d15(0x425)](_0x392af5=>{const _0x233b27=_0x160d15;let _0x4e5a9f=_0x392af5[_0x233b27(0x488)];_0x4e5a9f===_0x2557fc[_0x233b27(0x4b3)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x392af5),_0x4e5a9f===_0x2557fc[_0x233b27(0x4b3)][_0x233b27(0x1c0)]&&this[_0x233b27(0x3bb)](_0x392af5);}),this[_0x160d15(0x359)](this[_0x160d15(0x40f)][_0x160d15(0x4de)](_0x698ffd=>{const _0x17d129=_0x160d15;let _0xf9e5d3=_0x698ffd[_0x17d129(0x3a4)];_0xf9e5d3!=null&&this[_0x17d129(0x4fe)]&&_0x698ffd['id']===_0x446a63[_0x17d129(0x3b9)]['id']&&_0xf9e5d3['unitId']===this['unitID']&&_0xf9e5d3[_0x17d129(0x42e)]===!0x1&&_0xf9e5d3[_0x17d129(0x2e6)]['length']>0x0&&this[_0x17d129(0x250)](_0xf9e5d3[_0x17d129(0x2e6)]);})),this[_0x160d15(0x2bd)][_0x160d15(0x479)]['pipe']((0x0,_0x4089a3['takeUntil'])(this[_0x160d15(0x2f7)]))[_0x160d15(0x425)](_0x455032=>{const _0x3e1774=_0x160d15;if((_0x455032==null?void 0x0:_0x455032[_0x3e1774(0x259)])!==this['unitID'])return;let _0x4fe38f={'eventID':_0x2557fc[_0x3e1774(0x4b3)][_0x3e1774(0x368)],'data':_0x455032};this[_0x3e1774(0x4af)](_0x4fe38f);}),this[_0x160d15(0x359)](this[_0x160d15(0x40f)][_0x160d15(0x4de)](_0x5a17db=>{const _0x2b486b=_0x160d15;if(_0x5a17db[_0x2b486b(0x3a4)]==null)return;let _0x197f40=_0x5a17db[_0x2b486b(0x3a4)];if(_0x5a17db['id']!==_0x446a63[_0x2b486b(0x2c3)]['id']||_0x197f40[_0x2b486b(0x2a1)]!==this[_0x2b486b(0x259)])return;let _0x348a50={'id':_0x2b486b(0x474),'params':_0x197f40},_0x8b6f95=this[_0x2b486b(0x2ed)];for(let [_0x391a0c,_0x5794c2]of _0x8b6f95){let _0x278716={'id':_0x2b486b(0x474),'params':{'unitId':this[_0x2b486b(0x259)],'actions':null,'textRanges':_0x5794c2['ranges']}},_0xfad940=this['_transformService'][_0x2b486b(0x1fb)](_0x348a50,_0x278716,!0x1);if((0x0,_0x2557fc['isTransformMutationFailure'])(_0xfad940))throw _0xfad940[_0x2b486b(0x21d)];_0x8b6f95[_0x2b486b(0x4b9)](_0x391a0c,{..._0x5794c2,'ranges':_0xfad940[_0x2b486b(0x264)][_0x2b486b(0x3a4)][_0x2b486b(0x46d)]});}queueMicrotask(()=>{const _0x552d07=_0x2b486b;this[_0x552d07(0x35b)][_0x552d07(0x1e4)](_0x8b6f95);});})));}[_0x3a95bf(0x4af)](_0x3d4a37){const _0x1c28e7=_0x3a95bf;var _0x2cc615;let {memberID:_0x2a823e,selection:_0x5ad459}=_0x3d4a37[_0x1c28e7(0x4dc)],_0x4cb0c4=_0x2c6725(_0x5ad459),_0x3fe1b9=((_0x2cc615=this[_0x1c28e7(0x382)][_0x1c28e7(0x462)](this[_0x1c28e7(0x259)],_0x2a823e))==null?void 0x0:_0x2cc615[_0x1c28e7(0x335)])??_0x1c28e7(0x2f1),_0x17c67d={'color':this['_colorAssignService'][_0x1c28e7(0x2c1)](_0x2a823e),'name':_0x3fe1b9,'ranges':_0x4cb0c4},_0x5ef494=this[_0x1c28e7(0x2ed)];_0x5ef494[_0x1c28e7(0x4b9)](_0x2a823e,_0x17c67d),this[_0x1c28e7(0x35b)][_0x1c28e7(0x1e4)](_0x5ef494);}[_0x3a95bf(0x3bb)](_0x5b35c6){const _0x22cdb2=_0x3a95bf;let {memberID:_0x3be791}=_0x5b35c6[_0x22cdb2(0x4dc)],_0x281987=this['cursorInfo'];_0x281987[_0x22cdb2(0x26e)](_0x3be791),this['_cursorInfo$'][_0x22cdb2(0x1e4)](_0x281987);}['_toggleOnline'](){const _0xf81677=_0x3a95bf;var _0x17c425;if(this[_0xf81677(0x4fe)]=!0x0,((_0x17c425=this[_0xf81677(0x31e)][_0xf81677(0x384)]())==null?void 0x0:_0x17c425[_0xf81677(0x4cd)]())!==this['unitID'])return;let _0x2c88c1=this[_0xf81677(0x4c9)]['get'](_0x446a63[_0xf81677(0x3af)])[_0xf81677(0x4fb)]();Array['isArray'](_0x2c88c1)&&_0x2c88c1[_0xf81677(0x510)]>0x0&&this['_updateLocalCursor'](_0x2c88c1);}[_0x3a95bf(0x218)](){const _0x36c5c0=_0x3a95bf;this[_0x36c5c0(0x4fe)]=!0x1;}};_0x13964a=_0x313369([_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x566e73)),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x4d5)])),_0x489cd3(0x5,(0x0,_0x243ba8['Inject'])(_0x7cbc68)),_0x489cd3(0x6,_0x2557fc['ITransformService']),_0x489cd3(0x7,_0x243ba8['IUniverInstanceService']),_0x489cd3(0x8,_0x243ba8[_0x3a95bf(0x4dd)])],_0x13964a);let _0x20e85a=()=>{let _0x469aa5=[],_0x2a6e2c=!0x1;return _0x3fd7cd=>{const _0x3ed1f9=_0x179a;_0x469aa5[_0x3ed1f9(0x50f)](_0x3fd7cd),_0x2a6e2c||(_0x2a6e2c=!0x0,setTimeout(()=>{_0x469aa5['forEach'](_0x48678e=>_0x48678e()),_0x469aa5=[],_0x2a6e2c=!0x1;}));};},_0x344853=class extends _0x243ba8[_0x3a95bf(0x3b1)]{get['cursorInfo'](){const _0x4853ff=_0x3a95bf;return this[_0x4853ff(0x35b)]['getValue']();}get[_0x3a95bf(0x404)](){const _0x59a754=_0x3a95bf;return this[_0x59a754(0x465)][_0x59a754(0x2a6)]();}constructor(_0x227461,_0x1bd596,_0xc1f9e2,_0x1ca2d8,_0x458394,_0x180755,_0x4da1a6,_0x3502ad){const _0x1a3185=_0x3a95bf;super(),this['unitID']=_0x227461,this['_session']=_0x1bd596,this[_0x1a3185(0x4c9)]=_0xc1f9e2,this['_colorAssignService']=_0x1ca2d8,this[_0x1a3185(0x382)]=_0x458394,this[_0x1a3185(0x31e)]=_0x180755,this[_0x1a3185(0x40f)]=_0x4da1a6,this['_refRangeService']=_0x3502ad,_0x538d20(this,_0x1a3185(0x4fe),!0x1),_0x538d20(this,_0x1a3185(0x2bf),!0x1),_0x538d20(this,_0x1a3185(0x35b),new _0x4089a3[(_0x1a3185(0x43f))](new Map())),_0x538d20(this,_0x1a3185(0x36f),this[_0x1a3185(0x35b)]['asObservable']()),_0x538d20(this,_0x1a3185(0x465),new _0x4089a3['BehaviorSubject']([])),_0x538d20(this,'roomMembers$',this[_0x1a3185(0x465)][_0x1a3185(0x325)]((0x0,_0x4089a3[_0x1a3185(0x2aa)])(0x12c))),_0x538d20(this,_0x1a3185(0x250),(0x0,_0x243ba8['debounce'])((_0x4348de,_0x2f2f8c)=>{const _0x507255=_0x1a3185;let _0x5e5187={'eventID':_0x2557fc['CollaborationEvent'][_0x507255(0x368)],'data':{'unitID':this[_0x507255(0x259)],'memberID':this[_0x507255(0x1c2)][_0x507255(0x30c)](),'selection':(0x0,_0x2236c3['serializeRangeWithSheet'])(_0x4348de,_0x2f2f8c[_0x507255(0x3ef)])}};this[_0x507255(0x1c2)][_0x507255(0x2de)](_0x5e5187,this[_0x507255(0x259)]);},0x64));}[_0x3a95bf(0x1f0)](){const _0x4903c8=_0x3a95bf;super[_0x4903c8(0x1f0)](),this[_0x4903c8(0x35b)][_0x4903c8(0x1e4)](new Map()),this['_cursorInfo$'][_0x4903c8(0x1c8)](),this[_0x4903c8(0x465)][_0x4903c8(0x1e4)]([]),this['_roomMembers$'][_0x4903c8(0x1c8)]();}[_0x3a95bf(0x208)](){const _0x1bb0c6=_0x3a95bf;this[_0x1bb0c6(0x2bf)]||(this['_init']=!0x0,this['_session'][_0x1bb0c6(0x2b3)][_0x1bb0c6(0x325)]((0x0,_0x4089a3['takeUntil'])(this['dispose$']))['subscribe'](_0x30207f=>{const _0x434de9=_0x1bb0c6;_0x30207f===_0xd6e6bc[_0x434de9(0x4a0)][_0x434de9(0x249)]?this['_toggleOnline']():this[_0x434de9(0x218)]();}),this[_0x1bb0c6(0x1c2)]['event$'][_0x1bb0c6(0x325)]((0x0,_0x4089a3[_0x1bb0c6(0x351)])(this[_0x1bb0c6(0x2f7)]))[_0x1bb0c6(0x425)](_0x1e4005=>{const _0xc58692=_0x1bb0c6;let _0x23d2e0=_0x1e4005[_0xc58692(0x488)];_0x23d2e0===_0x2557fc['CollaborationEvent'][_0xc58692(0x368)]&&this[_0xc58692(0x4af)](_0x1e4005),_0x23d2e0===_0x2557fc[_0xc58692(0x4b3)][_0xc58692(0x1c0)]&&this[_0xc58692(0x3bb)](_0x1e4005);}),this[_0x1bb0c6(0x473)](),this['disposeWithMe'](this['_commandService'][_0x1bb0c6(0x4de)](_0x243bb0=>{const _0x496973=_0x1bb0c6;if(this[_0x496973(0x4fe)]&&_0x243bb0['id']===_0x416bc1[_0x496973(0x1e1)]['id']&&_0x243bb0[_0x496973(0x3a4)][_0x496973(0x2a1)]===this[_0x496973(0x259)]){let _0x1fa35d=_0x243bb0[_0x496973(0x3a4)];this[_0x496973(0x250)](_0x1fa35d[_0x496973(0x4e2)],_0x1fa35d['selections'][0x0]);}})));}[_0x3a95bf(0x4af)](_0x5482c9){const _0x247a3d=_0x3a95bf;var _0x56ca03;let {memberID:_0x522559,selection:_0x5afd26}=_0x5482c9[_0x247a3d(0x4dc)],{sheetName:_0x228570,range:_0x34c14d}=(0x0,_0x2236c3[_0x247a3d(0x3a5)])(_0x5afd26),_0x530c53={'name':((_0x56ca03=this[_0x247a3d(0x382)][_0x247a3d(0x462)](this[_0x247a3d(0x259)],_0x522559))==null?void 0x0:_0x56ca03[_0x247a3d(0x335)])??'Unknown\x20user','range':this[_0x247a3d(0x293)](_0x228570,_0x34c14d),'sheetID':_0x228570,'color':this[_0x247a3d(0x440)][_0x247a3d(0x2c1)](_0x522559),'selection':_0x5afd26},_0x2a398e=this[_0x247a3d(0x2ed)];_0x2a398e[_0x247a3d(0x4b9)](_0x522559,_0x530c53),this[_0x247a3d(0x35b)][_0x247a3d(0x1e4)](_0x2a398e);}['_onCursorDelete'](_0x299581){const _0x291a59=_0x3a95bf;let {memberID:_0x2dc695}=_0x299581['data'],_0x41695c=this[_0x291a59(0x2ed)];_0x41695c[_0x291a59(0x26e)](_0x2dc695),this['_cursorInfo$'][_0x291a59(0x1e4)](_0x41695c);}[_0x3a95bf(0x293)](_0x4ddc5e,_0x406f3d){const _0x31e42f=_0x3a95bf;var _0x5087fa;let _0xf2b282=(_0x5087fa=this[_0x31e42f(0x31e)][_0x31e42f(0x2cd)](this[_0x31e42f(0x259)],_0x243ba8['UniverInstanceType']['UNIVER_SHEET']))==null||(_0x5087fa=_0x5087fa[_0x31e42f(0x46b)](_0x4ddc5e))==null?void 0x0:_0x5087fa['getMergeData']();return(_0xf2b282==null?void 0x0:_0xf2b282['find'](_0xe9478a=>_0x243ba8['Rectangle']['contains'](_0xe9478a,_0x406f3d)))||_0x406f3d;}[_0x3a95bf(0x473)](){const _0x325c85=_0x3a95bf;let _0x27d13b=new _0x243ba8[(_0x325c85(0x278))](),_0x310ba4=_0x20e85a(),_0x18c840=()=>{_0x27d13b['dispose']();let _0x26ec17=(_0x52f6d1,_0x1f1b20,_0xa15431,_0x3c86b7)=>{const _0x328b84=_0x179a;let _0x1dcf07=[];switch(_0x52f6d1['id']){case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x37a)]:_0x1dcf07=(0x0,_0x416bc1['handleDeleteRangeMoveLeft'])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x1ca)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x229)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)]['InsertColCommandId']:_0x1dcf07=(0x0,_0x416bc1['handleInsertCol'])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x4bd)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x248)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1['EffectRefRangId'][_0x328b84(0x1f7)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x333)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1['EffectRefRangId'][_0x328b84(0x2f8)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x42a)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x47d)]:_0x1dcf07=(0x0,_0x416bc1['handleMoveRange'])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x27b)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x44f)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1['EffectRefRangId'][_0x328b84(0x269)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x383)])(_0x52f6d1,_0x3c86b7);}let _0xa18162=(0x0,_0x416bc1[_0x328b84(0x263)])(_0x1dcf07,_0x3c86b7),_0x214f2e=this['cursorInfo'][_0x328b84(0x26a)](_0x1f1b20);if(_0x214f2e&&_0xa18162){let _0x299b7e={..._0x214f2e,'range':_0xa18162};this[_0x328b84(0x2ed)]['set'](_0x1f1b20,_0x299b7e),_0x310ba4(()=>{const _0x533888=_0x328b84;let _0x5b7806=this[_0x533888(0x2ab)]['registerRefRange'](_0xa18162,_0x27bc59=>(_0x5b7806[_0x533888(0x1f0)](),_0x26ec17(_0x27bc59,_0x1f1b20,_0xa15431,_0xa18162)));_0x27d13b[_0x533888(0x299)](_0x5b7806);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x3fa628,_0x49524a)=>{const _0x31b44d=_0x179a;let {range:_0x14bbcb,sheetID:_0x2eb548}=_0x3fa628,_0x2e8590=this[_0x31b44d(0x2ab)]['registerRefRange'](_0x14bbcb,_0x4fc355=>(_0x2e8590[_0x31b44d(0x1f0)](),_0x26ec17(_0x4fc355,_0x49524a,_0x2eb548,_0x14bbcb)));_0x27d13b['add'](_0x2e8590);});};this[_0x325c85(0x359)]((0x0,_0x243ba8[_0x325c85(0x31b)])(this[_0x325c85(0x35b)][_0x325c85(0x425)](()=>{_0x18c840();})));}[_0x3a95bf(0x403)](){const _0x2fa092=_0x3a95bf;var _0xf7887c,_0x28de86;if(this[_0x2fa092(0x4fe)]=!0x0,((_0xf7887c=this[_0x2fa092(0x31e)][_0x2fa092(0x384)]())==null?void 0x0:_0xf7887c['getUnitId']())!==this[_0x2fa092(0x259)])return;let _0xd522ef=(_0x28de86=this[_0x2fa092(0x4c9)][_0x2fa092(0x26a)](_0x416bc1[_0x2fa092(0x236)])[_0x2fa092(0x1f9)]())==null?void 0x0:_0x28de86[0x0],_0x5b61e4=this[_0x2fa092(0x31e)][_0x2fa092(0x2b9)](_0x243ba8[_0x2fa092(0x509)]['UNIVER_SHEET'])[_0x2fa092(0x339)]();_0xd522ef&&_0x5b61e4&&this[_0x2fa092(0x250)](_0x5b61e4['getSheetId'](),_0xd522ef);}['_toggleOffline'](){const _0x2c8849=_0x3a95bf;this[_0x2c8849(0x4fe)]=!0x1;}};_0x344853=_0x313369([_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x566e73)),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x4d5)])),_0x489cd3(0x5,_0x243ba8[_0x3a95bf(0x4ba)]),_0x489cd3(0x6,_0x243ba8[_0x3a95bf(0x4dd)]),_0x489cd3(0x7,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x416bc1[_0x3a95bf(0x4ae)]))],_0x344853);let _0x473810=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(_0x3712eb,_0x407f62,_0x326c0c){const _0x248cd3=_0x3a95bf;super(),this[_0x248cd3(0x31e)]=_0x3712eb,this[_0x248cd3(0x4c9)]=_0x407f62,this[_0x248cd3(0x397)]=_0x326c0c,_0x538d20(this,_0x248cd3(0x4d4),new Map()),_0x538d20(this,_0x248cd3(0x45e),new _0x4089a3['Subject']()),this[_0x248cd3(0x2bf)]();}[_0x3a95bf(0x1f0)](){const _0x42ff3b=_0x3a95bf;super['dispose'](),this[_0x42ff3b(0x45e)][_0x42ff3b(0x1c8)](),this[_0x42ff3b(0x4d4)][_0x42ff3b(0x437)](_0x2d5850=>_0x2d5850[_0x42ff3b(0x1f0)]());}[_0x3a95bf(0x2df)](_0x46818a){const _0x1c1ab8=_0x3a95bf;let _0x102921=this[_0x1c1ab8(0x4d4)][_0x1c1ab8(0x26a)](_0x46818a);return _0x102921?_0x102921[_0x1c1ab8(0x36f)]:this[_0x1c1ab8(0x45e)][_0x1c1ab8(0x325)]((0x0,_0x4089a3['filter'])(_0x38088f=>_0x38088f[_0x1c1ab8(0x259)]===_0x46818a),(0x0,_0x4089a3[_0x1c1ab8(0x20e)])(_0x3219a9=>_0x3219a9['cursorInfo$']));}[_0x3a95bf(0x2bf)](){const _0x1525a3=_0x3a95bf;this[_0x1525a3(0x31e)][_0x1525a3(0x3f9)](_0x243ba8[_0x1525a3(0x509)]['UNIVER_SHEET'])[_0x1525a3(0x325)]((0x0,_0x4089a3[_0x1525a3(0x351)])(this['dispose$']))[_0x1525a3(0x425)](async _0x10e438=>{const _0x436f94=_0x1525a3;let _0xd41ffc=_0x10e438['unit']['getUnitId'](),_0x519352=await this['_startSheetCollabCursor'](_0xd41ffc);this[_0x436f94(0x45e)][_0x436f94(0x1e4)](_0x519352),this[_0x436f94(0x4d4)][_0x436f94(0x4b9)](_0xd41ffc,_0x519352);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x243ba8[_0x1525a3(0x509)][_0x1525a3(0x2fb)])['pipe']((0x0,_0x4089a3[_0x1525a3(0x351)])(this[_0x1525a3(0x2f7)]))['pipe']((0x0,_0x4089a3['filter'])(_0x41d919=>!_0x41d919[_0x1525a3(0x231)][_0x1525a3(0x4cd)]()[_0x1525a3(0x4f5)]('__')))[_0x1525a3(0x425)](async _0x4216d9=>{const _0x6a3984=_0x1525a3;let {unit:_0xe21320}=_0x4216d9,_0x4e42cb=_0xe21320[_0x6a3984(0x4cd)](),_0x266177=await this[_0x6a3984(0x1e5)](_0x4e42cb);this[_0x6a3984(0x45e)][_0x6a3984(0x1e4)](_0x266177),this[_0x6a3984(0x4d4)][_0x6a3984(0x4b9)](_0x4e42cb,_0x266177);}),(0x0,_0x4089a3[_0x1525a3(0x2e8)])(this[_0x1525a3(0x31e)][_0x1525a3(0x364)](_0x243ba8[_0x1525a3(0x509)]['UNIVER_DOC']),this['_univerInstanceService'][_0x1525a3(0x364)](_0x243ba8[_0x1525a3(0x509)][_0x1525a3(0x295)]))[_0x1525a3(0x325)]((0x0,_0x4089a3[_0x1525a3(0x351)])(this[_0x1525a3(0x2f7)]))['subscribe'](_0x3ff3b9=>{const _0x472488=_0x1525a3;let _0x261580=_0x3ff3b9[_0x472488(0x4cd)](),_0x5aa0a4=this['_entities'][_0x472488(0x26a)](_0x261580);_0x5aa0a4&&(_0x5aa0a4[_0x472488(0x1f0)](),this['_entities'][_0x472488(0x26e)](_0x261580));});}async['_startSheetCollabCursor'](_0x4e4c35){const _0x5324c8=_0x3a95bf;let _0x4d4780=await this[_0x5324c8(0x397)][_0x5324c8(0x4d7)](_0x4e4c35),_0x5ed031=this[_0x5324c8(0x4c9)][_0x5324c8(0x480)](_0x344853,_0x4e4c35,_0x4d4780);return _0x5ed031[_0x5324c8(0x208)](),_0x5ed031;}async[_0x3a95bf(0x1e5)](_0x309ba4){const _0x5f7c24=_0x3a95bf;let _0xc17874=await this['_collabSessionService'][_0x5f7c24(0x4d7)](_0x309ba4),_0x2f6bd3=this['_injector'][_0x5f7c24(0x480)](_0x13964a,_0x309ba4,_0xc17874);return _0x2f6bd3[_0x5f7c24(0x208)](),_0x2f6bd3;}};_0x473810=_0x313369([_0x489cd3(0x0,_0x243ba8[_0x3a95bf(0x4ba)]),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc['CollaborationSessionService']))],_0x473810);function _0x9ae28b(_0x5dc3c7,_0x595eb0){const _0x20ecab=_0x3a95bf;_0x5dc3c7['save'](),_0x5dc3c7[_0x20ecab(0x2ad)]=_0x20ecab(0x200);let _0x5f5084=_0x5dc3c7[_0x20ecab(0x413)](_0x595eb0)[_0x20ecab(0x40b)];return _0x5dc3c7[_0x20ecab(0x495)](),Math[_0x20ecab(0x4db)](_0x5f5084+0x8,0xc8);}function _0x8e66bd(_0x3cc0ec,_0x3a051f){const _0x145840=_0x3a95bf;let {radius:_0x203ec9,width:_0x4149ac,height:_0x51b6ab}=_0x3a051f;_0x203ec9??=0x0,_0x4149ac??=0x1e,_0x51b6ab??=0x1e;let _0x167bd3=0x0,_0x1856ce=0x0,_0x2b5cea=0x0;_0x167bd3=_0x1856ce=_0x2b5cea=Math['min'](_0x203ec9,_0x4149ac/0x2,_0x51b6ab/0x2),_0x3cc0ec['beginPath'](),_0x3cc0ec[_0x145840(0x314)](_0x167bd3,0x0),_0x3cc0ec[_0x145840(0x2dc)](_0x4149ac-_0x1856ce,0x0),_0x3cc0ec[_0x145840(0x4c5)](_0x4149ac-_0x1856ce,_0x1856ce,_0x1856ce,Math['PI']*0x3/0x2,0x0,!0x1),_0x3cc0ec[_0x145840(0x2dc)](_0x4149ac,_0x51b6ab-_0x2b5cea),_0x3cc0ec[_0x145840(0x4c5)](_0x4149ac-_0x2b5cea,_0x51b6ab-_0x2b5cea,_0x2b5cea,0x0,Math['PI']/0x2,!0x1),_0x3cc0ec[_0x145840(0x2dc)](0x0,_0x51b6ab),_0x3cc0ec['lineTo'](0x0,_0x167bd3),_0x3cc0ec[_0x145840(0x4c5)](_0x167bd3,_0x167bd3,_0x167bd3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3cc0ec[_0x145840(0x255)](),_0x3a051f[_0x145840(0x338)]&&(_0x3cc0ec[_0x145840(0x49d)](),_0x3cc0ec[_0x145840(0x4f3)]=_0x3a051f[_0x145840(0x338)],_0x3a051f[_0x145840(0x466)]===_0x145840(0x4ec)?_0x3cc0ec[_0x145840(0x338)](_0x145840(0x4ec)):_0x3cc0ec[_0x145840(0x338)](),_0x3cc0ec[_0x145840(0x495)]());}var _0x40afbe=class _0xbd470d extends _0x1df5c2['Shape']{constructor(_0x5e318c,_0x4cba28){const _0x3b4f69=_0x3a95bf;super(_0x5e318c,_0x4cba28),_0x538d20(this,_0x3b4f69(0x222),void 0x0),_0x538d20(this,_0x3b4f69(0x209),void 0x0),this[_0x3b4f69(0x222)]=_0x4cba28==null?void 0x0:_0x4cba28['color'],this['text']=_0x4cba28==null?void 0x0:_0x4cba28[_0x3b4f69(0x209)];}static[_0x3a95bf(0x47c)](_0x45cb9c,_0x1f3e96){const _0x8d8b8c=_0x3a95bf;let {text:_0x56d62f,color:_0x3d2169}=_0x1f3e96;_0x45cb9c[_0x8d8b8c(0x49d)](),_0x45cb9c[_0x8d8b8c(0x2ad)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x50e49d=_0x45cb9c[_0x8d8b8c(0x413)](_0x56d62f)['width'];if(_0x8e66bd(_0x45cb9c,{'height':0x14,'radius':0x4,'width':_0x9ae28b(_0x45cb9c,_0x56d62f),'fill':_0x3d2169,'evented':!0x1}),_0x45cb9c[_0x8d8b8c(0x4f3)]=_0x8d8b8c(0x4e0),_0x50e49d>0xc0){let _0x2870f5='',_0x5ec2f1=0x0;for(let _0x31ed1d of _0x56d62f){let _0xb3e07f=_0x45cb9c[_0x8d8b8c(0x413)](_0x31ed1d)[_0x8d8b8c(0x40b)];if(_0x5ec2f1+_0xb3e07f<=0xc0-_0x45cb9c['measureText']('...')[_0x8d8b8c(0x40b)])_0x2870f5+=_0x31ed1d,_0x5ec2f1+=_0xb3e07f;else{_0x2870f5+=_0x8d8b8c(0x1c4);break;}}_0x45cb9c[_0x8d8b8c(0x31a)](_0x2870f5,0x4,0xf);}else _0x45cb9c[_0x8d8b8c(0x31a)](_0x56d62f,0x4,0xf);_0x45cb9c[_0x8d8b8c(0x495)]();}['_draw'](_0x564733){const _0x1922ab=_0x3a95bf;_0xbd470d[_0x1922ab(0x47c)](_0x564733,this);}};let _0x4c582b=_0x3a95bf(0x3f1);var _0x570943=class{constructor(_0x3e65f5,_0x2a12cb,_0x1e8b8b,_0x4164f7){const _0x59c6ac=_0x3a95bf;this[_0x59c6ac(0x3f2)]=_0x3e65f5,this[_0x59c6ac(0x20c)]=_0x2a12cb,this[_0x59c6ac(0x39f)]=_0x1e8b8b,this['_document']=_0x4164f7,_0x538d20(this,_0x59c6ac(0x412),[]),_0x538d20(this,'_anchor',null),_0x538d20(this,_0x59c6ac(0x29b),null),_0x538d20(this,_0x59c6ac(0x26f),null),_0x538d20(this,_0x59c6ac(0x36b),null),_0x538d20(this,_0x59c6ac(0x4b4),null),this[_0x59c6ac(0x429)]();}set[_0x3a95bf(0x270)](_0x4836bc){const _0x2827aa=_0x3a95bf;_0x4836bc?(this[_0x2827aa(0x26f)]&&this['_anchorDot']['hide'](),this[_0x2827aa(0x29b)]&&this[_0x2827aa(0x29b)][_0x2827aa(0x3ee)]()):(this[_0x2827aa(0x26f)]&&this[_0x2827aa(0x26f)][_0x2827aa(0x3ee)](),this[_0x2827aa(0x29b)]&&this['_textBubble'][_0x2827aa(0x505)]());}[_0x3a95bf(0x1f0)](){const _0x2afefa=_0x3a95bf;for(let _0xdd4325 of this[_0x2afefa(0x412)])_0xdd4325[_0x2afefa(0x1f0)]();this[_0x2afefa(0x29b)]&&this[_0x2afefa(0x29b)][_0x2afefa(0x1f0)](),this[_0x2afefa(0x26f)]&&this['_anchorDot'][_0x2afefa(0x1f0)](),this[_0x2afefa(0x43a)]&&this[_0x2afefa(0x43a)][_0x2afefa(0x1f0)](),this[_0x2afefa(0x4b4)]&&this[_0x2afefa(0x4b4)]();}[_0x3a95bf(0x429)](){const _0x21cc32=_0x3a95bf;let {_docSkeleton:_0x4f4092,_document:_0x179d93}=this,{color:_0x4d9618,name:_0x47abdc,ranges:_0x4e919b}=this['_cursor'],_0x1a2271=_0x179d93[_0x21cc32(0x482)](),{docsLeft:_0x10004c,docsTop:_0x3a37ad}=_0x1a2271,_0x8b3448=new _0x40df28[(_0x21cc32(0x4d0))](_0x1a2271,_0x4f4092);for(let {startOffset:_0x2fbd9e,endOffset:_0x3cc6fc,rangeType:_0x20a773,segmentId:_0xc1a99a,segmentPage:_0x46f5b3,collapsed:_0x181305,isActive:_0x3d81ac}of _0x4e919b){let _0x30d7e0=_0x4f4092[_0x21cc32(0x363)](_0x2fbd9e,!0x0,_0xc1a99a,_0x46f5b3),_0x3f32c4=_0x4f4092[_0x21cc32(0x363)](_0x3cc6fc,!0x0,_0xc1a99a,_0x46f5b3);_0x3f32c4??=_0x4f4092[_0x21cc32(0x363)](_0x3cc6fc-0x1,!0x1,_0xc1a99a,_0x46f5b3);let _0x6441cb=_0x40cba6(_0x30d7e0,_0x3f32c4);if(_0x3d81ac&&_0x6441cb[_0x21cc32(0x3cb)]){let {contentBoxPointGroup:_0x6a1d70}=_0x8b3448[_0x21cc32(0x409)](_0x3f32c4,_0x3f32c4);if(_0x6a1d70[_0x21cc32(0x510)]===0x0)continue;this[_0x21cc32(0x3da)](_0x4d9618,_0x6a1d70,_0x10004c,_0x3a37ad,_0x47abdc),this[_0x21cc32(0x4b4)]=this[_0x21cc32(0x389)]();}if(_0x30d7e0&&_0x3f32c4){if(_0x20a773===_0x243ba8[_0x21cc32(0x44a)]['RECT']){let {pointGroup:_0x51e01d}=new _0x40df28[(_0x21cc32(0x1c6))](_0x1a2271,_0x4f4092)['getRangePointData'](_0x30d7e0,_0x3f32c4)??{};if(_0x51e01d==null||_0x51e01d[_0x21cc32(0x510)]===0x0)continue;this[_0x21cc32(0x1cf)](_0x4d9618,_0x51e01d,_0x10004c,_0x3a37ad);}else{if(!_0x181305&&_0x6441cb[_0x21cc32(0x3d7)]){let {borderBoxPointGroup:_0x215ec4}=_0x8b3448[_0x21cc32(0x409)](_0x30d7e0,_0x3f32c4);if(_0x215ec4[_0x21cc32(0x510)]===0x0)continue;this[_0x21cc32(0x280)](_0x4d9618,_0x215ec4,_0x10004c,_0x3a37ad);}}}}}[_0x3a95bf(0x3da)](_0x3b87e6,_0x4ad719,_0x5631b2,_0x15d927,_0x3a0bd5){const _0x53ccb1=_0x3a95bf;let {left:_0x3e9dee,top:_0x5ce187,height:_0x427b86}=this[_0x53ccb1(0x239)](_0x4ad719),_0x5802b3=1.5/this[_0x53ccb1(0x467)](),_0x585f6f=new _0x1df5c2['Rect'](_0x4c582b+(0x0,_0x243ba8[_0x53ccb1(0x32f)])(0x6),{'left':_0x3e9dee+_0x5631b2-_0x5802b3,'top':_0x5ce187+_0x15d927,'height':_0x427b86,'width':1.5,'fill':_0x3b87e6||(0x0,_0x1df5c2[_0x53ccb1(0x3b7)])(_0x243ba8[_0x53ccb1(0x282)][_0x53ccb1(0x2a8)],0x0),'strokeWidth':_0x5802b3,'stroke':_0x53ccb1(0x1da),'evented':!0x0});this['_anchor']=_0x585f6f,this[_0x53ccb1(0x20c)][_0x53ccb1(0x3fa)](_0x585f6f,_0x40df28[_0x53ccb1(0x2f0)]);let _0xab4882=new _0x1df5c2['Rect'](_0x4c582b+(0x0,_0x243ba8[_0x53ccb1(0x32f)])(0x6),{'left':_0x3e9dee+_0x5631b2-_0x5802b3,'top':_0x5ce187+_0x15d927-0x2,'height':0x4,'width':0x4,'fill':_0x3b87e6||(0x0,_0x1df5c2[_0x53ccb1(0x3b7)])(_0x243ba8[_0x53ccb1(0x282)][_0x53ccb1(0x2a8)],0x0),'strokeWidth':0x0,'stroke':_0x3b87e6||(0x0,_0x1df5c2[_0x53ccb1(0x3b7)])(_0x243ba8['COLORS']['black'],0x0),'evented':!0x1});this[_0x53ccb1(0x26f)]=_0xab4882,this[_0x53ccb1(0x20c)][_0x53ccb1(0x3fa)](_0xab4882,_0x40df28[_0x53ccb1(0x2f0)]);let _0x434388=new _0x40afbe(_0x4c582b+(0x0,_0x243ba8[_0x53ccb1(0x32f)])(0x6),{'left':_0x3e9dee+_0x5631b2-_0x5802b3,'top':_0x5ce187+_0x15d927-0x14,'text':_0x3a0bd5,'color':_0x3b87e6});this[_0x53ccb1(0x29b)]=_0x434388,this['_scene'][_0x53ccb1(0x3fa)](_0x434388,_0x40df28[_0x53ccb1(0x2f0)]),this[_0x53ccb1(0x270)]=!0x1;}[_0x3a95bf(0x389)](){const _0x368968=_0x3a95bf;let _0x203907=this[_0x368968(0x43a)][_0x368968(0x307)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x351661=this['_anchor'][_0x368968(0x4f0)][_0x368968(0x1c1)](()=>{const _0x1c31f1=_0x368968;this[_0x1c31f1(0x36b)]&&clearTimeout(this[_0x1c31f1(0x36b)]),this[_0x1c31f1(0x36b)]=setTimeout(()=>{const _0x26ca4f=_0x1c31f1;this[_0x26ca4f(0x270)]=!0x1;},0x7d0);});return()=>{const _0x4bf5b6=_0x368968;_0x203907[_0x4bf5b6(0x3b2)](),_0x351661[_0x4bf5b6(0x3b2)]();};}['_drawTextRange'](_0x45ce84,_0x4b0b04,_0x1fcc58,_0x4f9a5d){const _0x28f64e=_0x3a95bf;let _0x2e12ea=0.2,_0x42f2b0=new _0x243ba8[(_0x28f64e(0x38e))](_0x45ce84)[_0x28f64e(0x496)](_0x2e12ea)[_0x28f64e(0x2c4)](),_0x31c833=new _0x1df5c2[(_0x28f64e(0x3bc))](_0x28f64e(0x42d)+(0x0,_0x243ba8['generateRandomId'])(0x6),{'pointsGroup':_0x4b0b04,'fill':_0x42f2b0||(0x0,_0x1df5c2['getColor'])(_0x243ba8[_0x28f64e(0x282)][_0x28f64e(0x2a8)],_0x2e12ea),'left':_0x1fcc58,'top':_0x4f9a5d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x28f64e(0x50f)](_0x31c833),this[_0x28f64e(0x20c)][_0x28f64e(0x3fa)](_0x31c833,_0x40df28[_0x28f64e(0x2f0)]);}[_0x3a95bf(0x1cf)](_0x182a0a,_0x3f94a3,_0x3b48ce,_0x46e1e2){const _0x3f2835=_0x3a95bf;let _0x28c256=0.2,_0x69c224=new _0x243ba8[(_0x3f2835(0x38e))](_0x182a0a)[_0x3f2835(0x496)](_0x28c256)[_0x3f2835(0x2c4)](),_0x2db78c=new _0x1df5c2['RegularPolygon'](_0x3f2835(0x3a1)+(0x0,_0x243ba8['generateRandomId'])(0x6),{'pointsGroup':_0x3f94a3,'fill':_0x69c224||(0x0,_0x1df5c2[_0x3f2835(0x3b7)])(_0x243ba8[_0x3f2835(0x282)][_0x3f2835(0x2a8)],_0x28c256),'left':_0x3b48ce,'top':_0x46e1e2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3f2835(0x412)][_0x3f2835(0x50f)](_0x2db78c),this[_0x3f2835(0x20c)][_0x3f2835(0x3fa)](_0x2db78c,_0x40df28[_0x3f2835(0x2f0)]);}['_getAnchorBounding'](_0x45f30a){let _0x5c3906=_0x45f30a[0x0],_0x5bed4a=_0x5c3906[0x0],_0xfb2bc8=_0x5c3906[0x2],{x:_0x4aca98,y:_0x20f64b}=_0x5bed4a,{x:_0x43a9f4,y:_0x3e132a}=_0xfb2bc8;return{'left':_0x4aca98,'top':_0x20f64b,'width':_0x43a9f4-_0x4aca98,'height':_0x3e132a-_0x20f64b};}[_0x3a95bf(0x467)](){const _0x53feff=_0x3a95bf;let {scaleX:_0x146339,scaleY:_0x4a2c2a}=this[_0x53feff(0x20c)]['getAncestorScale']();return Math[_0x53feff(0x3df)](_0x146339,_0x4a2c2a);}};function _0x40cba6(_0x50570d,_0x3f0c37){const _0x3f6eb0=_0x3a95bf;if(!_0x3f0c37)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x50570d||_0x50570d[_0x3f6eb0(0x2d9)]!==_0x3f0c37[_0x3f6eb0(0x2d9)]||(_0x50570d[_0x3f6eb0(0x2d9)]===_0x1df5c2[_0x3f6eb0(0x1ae)][_0x3f6eb0(0x1dd)]||_0x50570d[_0x3f6eb0(0x2d9)]===_0x1df5c2[_0x3f6eb0(0x1ae)][_0x3f6eb0(0x2ae)])&&_0x50570d[_0x3f6eb0(0x253)]!==_0x3f0c37[_0x3f6eb0(0x253)])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x588646=(0x0,_0x1df5c2[_0x3f6eb0(0x385)])(_0x50570d),_0x426e43=(0x0,_0x1df5c2[_0x3f6eb0(0x385)])(_0x3f0c37);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x588646==null||_0x426e43==null?_0x588646==null&&_0x426e43==null:_0x588646[_0x3f6eb0(0x486)]===_0x426e43[_0x3f6eb0(0x486)]&&_0x588646[_0x3f6eb0(0x29a)]===_0x426e43[_0x3f6eb0(0x29a)]&&_0x588646[_0x3f6eb0(0x400)]===_0x426e43[_0x3f6eb0(0x400)]};}let _0x247d79=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(_0x23d96c,_0x2e9979,_0x2615f4,_0x24c458,_0x124b2a){const _0x4e860d=_0x3a95bf;super(),this[_0x4e860d(0x203)]=_0x23d96c,this[_0x4e860d(0x4d6)]=_0x2e9979,this[_0x4e860d(0x39e)]=_0x2615f4,this[_0x4e860d(0x40f)]=_0x24c458,this[_0x4e860d(0x3e6)]=_0x124b2a,_0x538d20(this,_0x4e860d(0x360),[]),_0x538d20(this,_0x4e860d(0x357),[]),this['_init']();}[_0x3a95bf(0x2bf)](){const _0xd525a7=_0x3a95bf;let _0x1574c2=this[_0xd525a7(0x203)]['unitId'],_0x31a67f=this['_docSkeletonManagerService'];this[_0xd525a7(0x359)]((0x0,_0x4089a3[_0xd525a7(0x29e)])([this['_collabCursorController'][_0xd525a7(0x2df)](_0x1574c2),this['_themeService']['currentTheme$']])['pipe']((0x0,_0x51dbfd[_0xd525a7(0x3a2)])(([_0x515369,_0x173e46])=>({'skeleton':_0x31a67f[_0xd525a7(0x344)](),'cursors':[..._0x515369[_0xd525a7(0x22c)]()][_0xd525a7(0x2d4)](_0x18c392=>({..._0x18c392,'color':this[_0xd525a7(0x3e6)][_0xd525a7(0x1af)](_0x18c392['color'])}))})))['subscribe'](_0x45829d=>{const _0x3138a0=_0xd525a7;if(this['_removeCollabCursors'](),_0x45829d){let {skeleton:_0xa5e5b6,cursors:_0x3e43e6}=_0x45829d;this[_0x3138a0(0x460)](_0xa5e5b6,_0x3e43e6);}})),this[_0xd525a7(0x251)](),this[_0xd525a7(0x1c7)]();}[_0x3a95bf(0x460)](_0x342486,_0xd09a73){const _0x15f3bf=_0x3a95bf;let {scene:_0x182f86,mainComponent:_0x1eb62b}=this['_context'],_0x2001e0=_0xd09a73['map'](_0x10a5f2=>new _0x570943(_0x10a5f2,_0x182f86,_0x342486,_0x1eb62b));this[_0x15f3bf(0x360)]=_0x2001e0,this[_0x15f3bf(0x357)]=_0xd09a73;}[_0x3a95bf(0x29d)](){const _0x102101=_0x3a95bf;this[_0x102101(0x396)]();let {scene:_0x18b5fb,mainComponent:_0x456211}=this[_0x102101(0x203)],_0x17d95b=this[_0x102101(0x4d6)][_0x102101(0x344)](),_0x144a9a=this[_0x102101(0x357)][_0x102101(0x3a2)](_0x4a4c0a=>new _0x570943(_0x4a4c0a,_0x18b5fb,_0x17d95b,_0x456211));this['_cursorShapes']=_0x144a9a;}[_0x3a95bf(0x396)](){const _0x42b05f=_0x3a95bf;this[_0x42b05f(0x360)][_0x42b05f(0x437)](_0x17795a=>_0x17795a[_0x42b05f(0x1f0)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x164003=_0x3a95bf;let _0x3f03f9=[_0x40df28[_0x164003(0x3a7)]['id']];this['disposeWithMe'](this[_0x164003(0x40f)]['onCommandExecuted'](_0xeffb3e=>{const _0x34eb1c=_0x164003;_0x3f03f9[_0x34eb1c(0x2c0)](_0xeffb3e['id'])&&_0xeffb3e[_0x34eb1c(0x3a4)][_0x34eb1c(0x2a1)]===this[_0x34eb1c(0x203)][_0x34eb1c(0x2a1)]&&this[_0x34eb1c(0x29d)]();}));}[_0x3a95bf(0x251)](){const _0x527c54=_0x3a95bf;this[_0x527c54(0x359)]((0x0,_0x243ba8[_0x527c54(0x370)])(this[_0x527c54(0x203)]['engine'][_0x527c54(0x4d8)])[_0x527c54(0x325)]((0x0,_0x51dbfd['filter'])(_0x420c79=>_0x420c79[_0x527c54(0x30d)]===_0x1df5c2[_0x527c54(0x27f)]['resize']),(0x0,_0x51dbfd[_0x527c54(0x4f2)])(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x247d79=_0x313369([_0x489cd3(0x1,(0x0,_0x243ba8['Inject'])(_0x446a63['DocSkeletonManagerService'])),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x473810)),_0x489cd3(0x3,_0x243ba8[_0x3a95bf(0x4dd)]),_0x489cd3(0x4,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x4c6)]))],_0x247d79);var _0x13957a=class extends _0x1df5c2[_0x3a95bf(0x343)]{constructor(_0x1728da,_0x14e04d){const _0x3f83ae=_0x3a95bf;super(_0x1728da,_0x14e04d),_0x538d20(this,_0x3f83ae(0x272),void 0x0),_0x538d20(this,_0x3f83ae(0x435),!0x1),_0x538d20(this,_0x3f83ae(0x3a3),void 0x0),_0x538d20(this,_0x3f83ae(0x240),''),_0x538d20(this,_0x3f83ae(0x4d2),_0x3f83ae(0x21a)),_0x538d20(this,'_backgroundColor',void 0x0),_0x538d20(this,_0x3f83ae(0x3ac),void 0x0),_0x538d20(this,_0x3f83ae(0x1f8),void 0x0),_0x538d20(this,_0x3f83ae(0x313),0x4),_0x538d20(this,_0x3f83ae(0x1ba),void 0x0),_0x538d20(this,_0x3f83ae(0x34f),void 0x0),_0x538d20(this,'_isBlinkVisible',!0x0),_0x538d20(this,_0x3f83ae(0x47a),0x0),_0x538d20(this,'_labelHorizontalPosition',_0x3f83ae(0x47b)),_0x14e04d&&(this[_0x3f83ae(0x1ec)](_0x14e04d),_0x14e04d[_0x3f83ae(0x390)]&&(_0x14e04d['highlightSecond']??this[_0x3f83ae(0x313)])&&this[_0x3f83ae(0x446)](_0x14e04d['highlightSecond']??this['_highlightSecond'])),this[_0x3f83ae(0x307)][_0x3f83ae(0x1c1)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x3f83ae(0x1c1)](()=>this[_0x3f83ae(0x1ec)]({'hovered':!0x1}));}[_0x3a95bf(0x358)](_0x1945b5){const _0x530c7e=_0x3a95bf;this[_0x530c7e(0x47a)]=_0x1945b5;}['setShapeProps'](_0x4f800b){const _0x52b411=_0x3a95bf;this[_0x52b411(0x272)]=_0x4f800b[_0x52b411(0x222)]??this[_0x52b411(0x272)],this[_0x52b411(0x435)]=_0x4f800b[_0x52b411(0x50a)]??this[_0x52b411(0x435)],this[_0x52b411(0x3a3)]=_0x4f800b[_0x52b411(0x3ef)]??this[_0x52b411(0x3a3)],this[_0x52b411(0x240)]=_0x4f800b['name']??this['_name'],this[_0x52b411(0x4d2)]=_0x4f800b[_0x52b411(0x306)]??this[_0x52b411(0x4d2)],this[_0x52b411(0x3c5)]=_0x4f800b[_0x52b411(0x291)]??this[_0x52b411(0x3c5)],this[_0x52b411(0x3ac)]=_0x4f800b[_0x52b411(0x30a)]??this[_0x52b411(0x3ac)],this[_0x52b411(0x3ba)]=_0x4f800b[_0x52b411(0x2d5)]??this['_labelHorizontalPosition'],_0x4f800b[_0x52b411(0x3f0)]!==void 0x0&&(this[_0x52b411(0x313)]=_0x4f800b[_0x52b411(0x3f0)]),_0x4f800b[_0x52b411(0x390)]!==void 0x0&&(this[_0x52b411(0x1f8)]=_0x4f800b[_0x52b411(0x390)]),_0x4f800b['offsetY']!==void 0x0&&(this[_0x52b411(0x47a)]=_0x4f800b['offsetY']),this[_0x52b411(0x322)]({'width':_0x4f800b[_0x52b411(0x40b)],'height':_0x4f800b[_0x52b411(0x350)]});}['onMouseMove'](_0x5ac8ea){const _0x272bc2=_0x3a95bf;let {row:_0x323390,column:_0x51e557}=_0x5ac8ea;_0x323390>=this[_0x272bc2(0x3a3)][_0x272bc2(0x361)]&&_0x323390<=this[_0x272bc2(0x3a3)][_0x272bc2(0x379)]&&_0x51e557>=this[_0x272bc2(0x3a3)][_0x272bc2(0x4da)]&&_0x51e557<=this[_0x272bc2(0x3a3)][_0x272bc2(0x500)]?this[_0x272bc2(0x1ec)]({'hovered':!0x0}):this[_0x272bc2(0x1ec)]({'hovered':!0x1});}['_startBlinking'](_0x4b37dc){const _0x5b61ab=_0x3a95bf;this[_0x5b61ab(0x410)](),this[_0x5b61ab(0x2f3)]=!0x0,this[_0x5b61ab(0x34f)]=window['setInterval'](()=>{const _0x45c1e4=_0x5b61ab;this[_0x45c1e4(0x2f3)]=!this[_0x45c1e4(0x2f3)],this['makeDirty'](!0x0);},0x1f4),this['_blinkTimer']=window[_0x5b61ab(0x35e)](()=>{const _0x3aa733=_0x5b61ab;this[_0x3aa733(0x410)](),this['_isBlinkVisible']=!0x0,this['makeDirty'](!0x0);},_0x4b37dc*0x3e8);}[_0x3a95bf(0x410)](){const _0x263520=_0x3a95bf;this['_blinkIntervalTimer']&&=(window['clearInterval'](this[_0x263520(0x34f)]),void 0x0),this[_0x263520(0x1ba)]&&=(window[_0x263520(0x3d8)](this[_0x263520(0x1ba)]),void 0x0);}[_0x3a95bf(0x3c2)](_0x51d514){return!0x1;}[_0x3a95bf(0x1f0)](){const _0x2865c6=_0x3a95bf;this['_stopBlinking'](),super[_0x2865c6(0x1f0)]();}['_draw'](_0x377f00){const _0x43a968=_0x3a95bf;let _0x52cc20=this[_0x43a968(0x272)],_0x42d656=this[_0x43a968(0x3c5)];if(this['_highlight']&&!this[_0x43a968(0x2f3)]&&(_0x52cc20=this[_0x43a968(0x50d)](this[_0x43a968(0x272)]),_0x42d656=this['_backgroundColor']?this[_0x43a968(0x50d)](this[_0x43a968(0x3c5)]):void 0x0),_0x1df5c2['Rect'][_0x43a968(0x47c)](_0x377f00,{'width':this[_0x43a968(0x40b)],'height':this['height'],'strokeWidth':this[_0x43a968(0x1b3)]||1.5,'stroke':_0x52cc20,'evented':!0x1,'fill':_0x42d656}),this['_hovered']||this[_0x43a968(0x3ac)]){_0x377f00[_0x43a968(0x49d)]();let _0x333a31=this[_0x43a968(0x3ba)]===_0x43a968(0x2c6)?-_0x9ae28b(_0x377f00,this[_0x43a968(0x240)]):this['width'];_0x377f00[_0x43a968(0x48a)](0x1,0x0,0x0,0x1,_0x333a31,(this[_0x43a968(0x4d2)]===_0x43a968(0x2b1)?0x0:-0x14)+(this[_0x43a968(0x47a)]??0x0)),_0x40afbe[_0x43a968(0x47c)](_0x377f00,{'text':this[_0x43a968(0x240)],'color':_0x52cc20}),_0x377f00[_0x43a968(0x495)]();}}[_0x3a95bf(0x50d)](_0x51f2da){const _0x54e962=_0x3a95bf;return _0x51f2da[_0x54e962(0x4f5)]('#')?_0x54e962(0x475)+Number[_0x54e962(0x430)](_0x51f2da[_0x54e962(0x426)](0x1,0x3),0x10)+',\x20'+Number[_0x54e962(0x430)](_0x51f2da[_0x54e962(0x426)](0x3,0x5),0x10)+',\x20'+Number[_0x54e962(0x430)](_0x51f2da['slice'](0x5,0x7),0x10)+',\x200.2)':_0x51f2da[_0x54e962(0x4f5)](_0x54e962(0x443))?_0x51f2da[_0x54e962(0x4ca)](/[\d.]+\)$/g,_0x54e962(0x2c8)):_0x51f2da[_0x54e962(0x4f5)](_0x54e962(0x26c))?_0x51f2da['replace'](_0x54e962(0x26c),'rgba')['replace'](')',_0x54e962(0x3c7)):_0x51f2da;}};let _0x7fdc90=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(_0x176c8b,_0x3ca0ac,_0x213888,_0x25278f){const _0x4623cd=_0x3a95bf;super(),this[_0x4623cd(0x203)]=_0x176c8b,this[_0x4623cd(0x4ad)]=_0x3ca0ac,this[_0x4623cd(0x39e)]=_0x213888,this[_0x4623cd(0x3e6)]=_0x25278f,_0x538d20(this,_0x4623cd(0x357),new Set()),_0x538d20(this,_0x4623cd(0x28d),null),_0x538d20(this,_0x4623cd(0x419),null),this[_0x4623cd(0x2bf)]();}[_0x3a95bf(0x2bf)](){const _0x114391=_0x3a95bf;this[_0x114391(0x4ad)][_0x114391(0x235)]['pipe']((0x0,_0x51dbfd[_0x114391(0x351)])(this[_0x114391(0x2f7)]),(0x0,_0x51dbfd['switchMap'])(_0xa77e84=>{const _0x4c802a=_0x114391;if(_0xa77e84){let _0x151fe8=_0xa77e84[_0x4c802a(0x2a7)];return(0x0,_0x4089a3[_0x4c802a(0x29e)])(this[_0x4c802a(0x39e)][_0x4c802a(0x2df)](this[_0x4c802a(0x203)]['unitId']),this['_themeService'][_0x4c802a(0x237)])[_0x4c802a(0x325)]((0x0,_0x51dbfd[_0x4c802a(0x3a2)])(([_0x2d08ae,_0x390c36])=>{const _0x30d7f2=_0x4c802a;let _0x5a1686=new Map();return _0x2d08ae[_0x30d7f2(0x437)]((_0x1777ee,_0x59f63b)=>{const _0x418987=_0x30d7f2;if(_0x1777ee[_0x418987(0x29f)]===_0x151fe8){let _0x59f854={..._0x1777ee};_0x59f854[_0x418987(0x222)]=this[_0x418987(0x3e6)][_0x418987(0x1af)](_0x1777ee[_0x418987(0x222)]),_0x5a1686[_0x418987(0x4b9)](_0x59f63b,_0x59f854);}}),{'skeleton':_0xa77e84,'cursors':_0x5a1686};}));}return(0x0,_0x4089a3['of'])({'skeleton':null,'cursors':new Map()});}))[_0x114391(0x425)](({skeleton:_0x1140ec,cursors:_0x206527})=>{const _0x3f574a=_0x114391;this['_removeCollabCursors'](),_0x1140ec&&this[_0x3f574a(0x460)](_0x1140ec,_0x206527);}),this['disposeWithMe'](this[_0x114391(0x4ad)]['currentSkeleton$'][_0x114391(0x325)]((0x0,_0x51dbfd[_0x114391(0x351)])(this[_0x114391(0x2f7)]))[_0x114391(0x425)](_0x40dc3d=>{const _0x14a077=_0x114391;var _0x5060f7;if(_0x40dc3d==null)return;(_0x5060f7=this[_0x14a077(0x419)])==null||_0x5060f7[_0x14a077(0x3b2)](),this[_0x14a077(0x419)]=null;let {skeleton:_0x2bd1a8}=_0x40dc3d,{scene:_0x1d5e11}=this['_context'];this[_0x14a077(0x419)]=_0x1d5e11['onPointerMove$'][_0x14a077(0x1c1)]((0x0,_0x243ba8[_0x14a077(0x234)])(_0x56feb5=>{const _0x1415b7=_0x14a077;var _0x121403,_0x4ce1c7;let {offsetX:_0x4982ae,offsetY:_0x12fb50}=_0x56feb5,{x:_0x25a875,y:_0x209cb7}=_0x1d5e11[_0x1415b7(0x3bd)](_0x1df5c2[_0x1415b7(0x38a)][_0x1415b7(0x4b8)]([_0x4982ae,_0x12fb50])),{scaleX:_0xba655a,scaleY:_0x3758ec}=_0x1d5e11[_0x1415b7(0x227)](),_0x544d7c=_0x1d5e11['getViewport'](_0x1df5c2[_0x1415b7(0x312)][_0x1415b7(0x4e6)]),_0x449190=_0x1d5e11[_0x1415b7(0x3e8)](_0x1df5c2[_0x1415b7(0x38a)][_0x1415b7(0x4b8)]([_0x25a875,_0x209cb7]),_0x544d7c),_0x365a25=_0x2bd1a8[_0x1415b7(0x4d3)](_0x4982ae,_0x12fb50,_0xba655a,_0x3758ec,_0x449190);(((_0x121403=this[_0x1415b7(0x28d)])==null?void 0x0:_0x121403['column'])!==_0x365a25[_0x1415b7(0x304)]||((_0x4ce1c7=this[_0x1415b7(0x28d)])==null?void 0x0:_0x4ce1c7[_0x1415b7(0x31d)])!==_0x365a25[_0x1415b7(0x31d)])&&this['_cursors']['forEach'](_0x3e8b4b=>{_0x3e8b4b['onMouseMove'](_0x365a25);});},0x64));})),this['disposeWithMe']((0x0,_0x243ba8[_0x114391(0x31b)])(()=>{const _0x187cfa=_0x114391;var _0x4cfd49;(_0x4cfd49=this[_0x187cfa(0x419)])==null||_0x4cfd49[_0x187cfa(0x3b2)](),this['_pointerMoveDisposable']=null;}));}[_0x3a95bf(0x460)](_0x4aff4e,_0x2fde71){const _0x5edde5=_0x3a95bf;let _0x475d36=this['_sheetSkeletonManagerService'][_0x5edde5(0x436)]();if(!_0x475d36)return;let _0xa23e4b=this[_0x5edde5(0x340)]();if(!_0xa23e4b)return;this[_0x5edde5(0x357)]['forEach'](_0x386dc0=>{const _0x1256e8=_0x5edde5;_0x386dc0[_0x1256e8(0x1ce)]();});let {scene:_0x320628}=_0xa23e4b,_0x24d6d0=_0x2ccdc8(Array[_0x5edde5(0x292)](_0x2fde71['values']()))[_0x5edde5(0x3a2)](_0x1dd36c=>{const _0xf454e6=_0x5edde5;let {color:_0x56c69e,range:_0x59788c,name:_0xe52f51,selection:_0x72705d,sheetID:_0x2c46c5}=_0x1dd36c,{startColumn:_0x5013e7,startRow:_0x20d529,endColumn:_0x1bbbda,endRow:_0x36ed48}=_0x59788c,_0xb66719=(0x0,_0x3f07c4[_0xf454e6(0x468)])(_0x20d529,_0x5013e7,_0x320628,_0x475d36),_0x36686f=(0x0,_0x3f07c4[_0xf454e6(0x468)])(_0x36ed48,_0x1bbbda,_0x320628,_0x475d36),{columnHeaderHeightAndMarginTop:_0x2948a9}=_0x475d36,{startX:_0x496e0b,startY:_0xa94bab}=_0xb66719,{endX:_0x89211e,endY:_0x2b4bb9}=_0x36686f,_0x1ddaf7=_0x89211e-_0x496e0b,_0x39bab5=_0x2b4bb9-_0xa94bab;return new _0x13957a(_0xe52f51,{'labelPosition':_0xa94bab-_0x2948a9>=0x14?'top':_0xf454e6(0x2b1),'sheetID':_0x2c46c5,'range':_0x59788c,'color':_0x56c69e,'name':_0xe52f51,'selection':_0x72705d,'left':_0x496e0b,'top':_0xa94bab,'width':_0x1ddaf7,'height':_0x39bab5,'evented':!0x1,'zIndex':0x1389});});_0x320628[_0x5edde5(0x216)](_0x24d6d0,0x1),this[_0x5edde5(0x357)]=new Set(_0x24d6d0);}[_0x3a95bf(0x396)](){const _0xa50db1=_0x3a95bf;var _0x45ca73;(_0x45ca73=this[_0xa50db1(0x357)])==null||_0x45ca73['forEach'](_0x475cf9=>_0x475cf9[_0xa50db1(0x1f0)]());}[_0x3a95bf(0x340)](){const _0x426d28=_0x3a95bf;return(0x0,_0x3f07c4['getSheetObject'])(this[_0x426d28(0x203)][_0x426d28(0x231)],this[_0x426d28(0x203)]);}};_0x7fdc90=_0x313369([_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x3f07c4[_0x3a95bf(0x213)])),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x473810)),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x4c6)]))],_0x7fdc90);function _0x2ccdc8(_0x393e98){const _0xd7d1c=_0x3a95bf;let _0x1bbd86=new Map();return _0x393e98[_0xd7d1c(0x437)](_0x4c55d2=>{const _0x5c40a6=_0xd7d1c;if(_0x1bbd86[_0x5c40a6(0x502)](_0x4c55d2[_0x5c40a6(0x1b9)])){let _0x3b7d15=_0x1bbd86['get'](_0x4c55d2['selection']);_0x3b7d15['name']+=',\x20'+_0x4c55d2[_0x5c40a6(0x335)];}else _0x1bbd86[_0x5c40a6(0x4b9)](_0x4c55d2['selection'],_0x4c55d2);}),Array[_0xd7d1c(0x292)](_0x1bbd86['values']());}function _0x438fdf(_0x11f699){const _0x5f3473=_0x3a95bf;return typeof _0x11f699==_0x5f3473(0x2f2)&&!!_0x11f699;}function _0x2d0493(_0x233fb6){const _0x2837f7=_0x3a95bf;return _0x233fb6[_0x2837f7(0x488)]===_0x2557fc[_0x2837f7(0x4b3)][_0x2837f7(0x368)]&&_0x2837f7(0x4dc)in _0x233fb6&&_0x438fdf(_0x233fb6[_0x2837f7(0x4dc)])&&typeof _0x233fb6[_0x2837f7(0x4dc)][_0x2837f7(0x4e8)]==_0x2837f7(0x4b1)&&typeof _0x233fb6[_0x2837f7(0x4dc)][_0x2837f7(0x1b9)]=='string';}function _0x391eee(_0x27401a){const _0x57c412=_0x3a95bf;return _0x27401a[_0x57c412(0x488)]===_0x2557fc['CollaborationEvent'][_0x57c412(0x1c0)]&&_0x57c412(0x4dc)in _0x27401a&&_0x438fdf(_0x27401a['data'])&&typeof _0x27401a[_0x57c412(0x4dc)][_0x57c412(0x4e8)]==_0x57c412(0x4b1);}function _0x506869(_0xf48f5,_0x1cbd6b){const _0x47707e=_0x3a95bf;let _0x5e21e3;try{_0x5e21e3=JSON[_0x47707e(0x4ff)](_0xf48f5);}catch{return null;}if(!_0x438fdf(_0x5e21e3)||typeof _0x5e21e3[_0x47707e(0x2b8)]!=_0x47707e(0x4b1)||typeof _0x5e21e3[_0x47707e(0x2a1)]!=_0x47707e(0x4b1)||typeof _0x5e21e3[_0x47707e(0x4e2)]!=_0x47707e(0x4b1))return null;let _0x126eb6=typeof _0x5e21e3[_0x47707e(0x2b7)]==_0x47707e(0x4aa)?_0x5e21e3[_0x47707e(0x2b7)]:_0x1cbd6b;if(_0x126eb6==null)return null;let _0x33d471=_0x438fdf(_0x5e21e3['pointer'])&&typeof _0x5e21e3['pointer']['x']=='number'&&Number['isFinite'](_0x5e21e3[_0x47707e(0x315)]['x'])&&typeof _0x5e21e3[_0x47707e(0x315)]['y']=='number'&&Number[_0x47707e(0x2bc)](_0x5e21e3['pointer']['y'])?{'x':_0x5e21e3[_0x47707e(0x315)]['x'],'y':_0x5e21e3[_0x47707e(0x315)]['y']}:null;return{'kind':_0x5e21e3['kind'],'unitType':_0x126eb6,'unitId':_0x5e21e3[_0x47707e(0x2a1)],'subUnitId':_0x5e21e3['subUnitId'],'selectedIds':Array[_0x47707e(0x279)](_0x5e21e3[_0x47707e(0x2d1)])?_0x5e21e3[_0x47707e(0x2d1)][_0x47707e(0x1d2)](_0x33e317=>typeof _0x33e317=='string'):[],'focusedId':typeof _0x5e21e3['focusedId']==_0x47707e(0x4b1)?_0x5e21e3[_0x47707e(0x4eb)]:null,'pointer':_0x33d471};}function _0x4fba5e(_0x5a46b1,_0x54cf3c,_0x19ecf0){const _0x311cb6=_0x3a95bf;return{'kind':_0x54cf3c,'unitType':_0x5a46b1,'unitId':_0x19ecf0[_0x311cb6(0x2a1)],'subUnitId':_0x19ecf0[_0x311cb6(0x4e2)],'selectedIds':Array['from'](_0x19ecf0[_0x311cb6(0x2d1)]),'focusedId':_0x19ecf0[_0x311cb6(0x4eb)],'pointer':_0x19ecf0[_0x311cb6(0x315)]?{..._0x19ecf0[_0x311cb6(0x315)]}:null};}let _0x279a52=class extends _0x243ba8['RxDisposable']{constructor(_0x408c8d,_0x4ed21a,_0x9e04e0,_0x2f51fc,_0x557f4d,_0x2d8d07){const _0x403c7d=_0x3a95bf;super(),this['unitId']=_0x408c8d,this[_0x403c7d(0x1c2)]=_0x4ed21a,this[_0x403c7d(0x309)]=_0x9e04e0,this[_0x403c7d(0x440)]=_0x2f51fc,this[_0x403c7d(0x382)]=_0x557f4d,this[_0x403c7d(0x40f)]=_0x2d8d07,_0x538d20(this,_0x403c7d(0x4fe),!0x1),_0x538d20(this,_0x403c7d(0x503),!0x1);}get[_0x3a95bf(0x2b7)](){const _0x368aba=_0x3a95bf;return this[_0x368aba(0x309)][_0x368aba(0x2b7)];}[_0x3a95bf(0x1f0)](){const _0x2d6bc3=_0x3a95bf;this['_clearRemotePresences'](),super[_0x2d6bc3(0x1f0)]();}[_0x3a95bf(0x208)](){const _0xfb5b28=_0x3a95bf;this[_0xfb5b28(0x503)]||(this[_0xfb5b28(0x503)]=!0x0,this['_session'][_0xfb5b28(0x2b3)][_0xfb5b28(0x325)]((0x0,_0x4089a3['takeUntil'])(this['dispose$']))[_0xfb5b28(0x425)](_0x47fae9=>{const _0x18ab62=_0xfb5b28;if(_0x47fae9===_0xd6e6bc['SessionStatus']['ONLINE']){this['_online']=!0x0;let _0xd855aa=this[_0x18ab62(0x309)][_0x18ab62(0x45a)](this[_0x18ab62(0x2a1)]);_0xd855aa&&this[_0x18ab62(0x223)](_0xd855aa);}else this[_0x18ab62(0x4fe)]=!0x1,this['_clearRemotePresences']();}),this[_0xfb5b28(0x1c2)][_0xfb5b28(0x388)][_0xfb5b28(0x325)]((0x0,_0x4089a3['takeUntil'])(this[_0xfb5b28(0x2f7)]))['subscribe'](_0xfcf8a1=>{const _0x588db1=_0xfb5b28;_0x2d0493(_0xfcf8a1)?this[_0x588db1(0x2c9)](_0xfcf8a1):_0x391eee(_0xfcf8a1)&&this[_0x588db1(0x244)](_0xfcf8a1[_0x588db1(0x4dc)][_0x588db1(0x4e8)]);}),this[_0xfb5b28(0x309)][_0xfb5b28(0x288)]['pipe']((0x0,_0x4089a3[_0xfb5b28(0x1d2)])(_0x5ed596=>this['_online']&&_0x5ed596[_0xfb5b28(0x2a1)]===this['unitId']),(0x0,_0x4089a3['throttle'])(_0x4089a2=>(0x0,_0x4089a3[_0xfb5b28(0x371)])(_0x4089a2[_0xfb5b28(0x42f)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x4089a3[_0xfb5b28(0x351)])(this[_0xfb5b28(0x2f7)]))[_0xfb5b28(0x425)](_0x239bac=>this[_0xfb5b28(0x223)](_0x239bac)));}[_0x3a95bf(0x223)](_0x4210bd){const _0x372066=_0x3a95bf;let _0x43fc1c=this[_0x372066(0x1c2)][_0x372066(0x30c)]();if(!_0x43fc1c||!this[_0x372066(0x4fe)])return;let _0x575d03={'eventID':_0x2557fc[_0x372066(0x4b3)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x372066(0x2a1)],'memberID':_0x43fc1c,'selection':JSON['stringify'](_0x4fba5e(this[_0x372066(0x2b7)],this[_0x372066(0x309)][_0x372066(0x33a)],_0x4210bd))}};this[_0x372066(0x1c2)][_0x372066(0x2de)](_0x575d03,this[_0x372066(0x2a1)])[_0x372066(0x37b)](()=>void 0x0);}['_handleCursorUpdate'](_0xe9b1d2){const _0x47c2da=_0x3a95bf;let {memberID:_0x275398,selection:_0x5c273f}=_0xe9b1d2['data'];if(_0x275398===this[_0x47c2da(0x1c2)]['getMemberID']())return;let _0x12f880=_0x506869(_0x5c273f,this[_0x47c2da(0x2b7)]);if(!_0x12f880||_0x12f880['kind']!==this['_adapter'][_0x47c2da(0x33a)]||_0x12f880[_0x47c2da(0x2b7)]!==this['unitType']||_0x12f880['unitId']!==this[_0x47c2da(0x2a1)])return;let _0x3f31a8=this[_0x47c2da(0x382)][_0x47c2da(0x462)](this['unitId'],_0x275398),_0x5ee66f={'unitId':_0x12f880['unitId'],'subUnitId':_0x12f880['subUnitId'],'selectedIds':_0x12f880[_0x47c2da(0x2d1)],'focusedId':_0x12f880['focusedId'],'pointer':_0x12f880[_0x47c2da(0x315)],'memberId':_0x275398,'color':this['_colorAssignService'][_0x47c2da(0x2c1)](_0x275398),'name':(_0x3f31a8==null?void 0x0:_0x3f31a8[_0x47c2da(0x335)])??_0x275398};this[_0x47c2da(0x40f)][_0x47c2da(0x211)](_0x574984['id'],{'unitType':this[_0x47c2da(0x2b7)],'update':{'type':_0x47c2da(0x4b9),'state':_0x5ee66f}})[_0x47c2da(0x37b)](()=>void 0x0);}[_0x3a95bf(0x244)](_0x54fd15){const _0x14b08d=_0x3a95bf;this[_0x14b08d(0x40f)][_0x14b08d(0x211)](_0x574984['id'],{'unitType':this[_0x14b08d(0x2b7)],'update':{'type':_0x14b08d(0x29c),'unitId':this['unitId'],'memberId':_0x54fd15}})[_0x14b08d(0x37b)](()=>void 0x0);}['_clearRemotePresences'](){const _0x1e8f55=_0x3a95bf;this[_0x1e8f55(0x40f)][_0x1e8f55(0x211)](_0x574984['id'],{'unitType':this['unitType'],'update':{'type':_0x1e8f55(0x424),'unitId':this[_0x1e8f55(0x2a1)]}})['catch'](()=>void 0x0);}};_0x279a52=_0x313369([_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x566e73)),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x4d5)])),_0x489cd3(0x5,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x4dd)]))],_0x279a52);let _0x54df2a=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(_0x1d4412,_0x2d5dfa,_0x416f34,_0x6ea5fb){const _0x5ed79f=_0x3a95bf;super(),this[_0x5ed79f(0x31e)]=_0x1d4412,this[_0x5ed79f(0x4c9)]=_0x2d5dfa,this['_collabSessionService']=_0x416f34,this[_0x5ed79f(0x1f1)]=_0x6ea5fb,_0x538d20(this,_0x5ed79f(0x33f),!0x1),_0x538d20(this,_0x5ed79f(0x4d4),new Map()),_0x538d20(this,'_pendingEntities',new Map()),_0x538d20(this,_0x5ed79f(0x387),new Map()),this[_0x5ed79f(0x2bf)]();}[_0x3a95bf(0x1f0)](){const _0x4499ac=_0x3a95bf;this[_0x4499ac(0x33f)]=!0x0,this[_0x4499ac(0x387)][_0x4499ac(0x437)](_0x25a066=>_0x25a066[_0x4499ac(0x1f0)]()),this[_0x4499ac(0x387)][_0x4499ac(0x424)](),this[_0x4499ac(0x4d4)][_0x4499ac(0x437)](_0x28d9e0=>_0x28d9e0[_0x4499ac(0x1f0)]()),this[_0x4499ac(0x4d4)]['clear'](),this['_pendingEntities'][_0x4499ac(0x424)](),super[_0x4499ac(0x1f0)]();}[_0x3a95bf(0x2bf)](){const _0x47ad2e=_0x3a95bf;this[_0x47ad2e(0x1f1)][_0x47ad2e(0x2b6)]['pipe']((0x0,_0x4089a3['takeUntil'])(this[_0x47ad2e(0x2f7)]))['subscribe'](_0x21a79e=>this['_syncAdapters'](_0x21a79e));}['_syncAdapters'](_0x1873d5){const _0x24b40=_0x3a95bf;let _0x6da2b5=new Set(_0x1873d5[_0x24b40(0x3a2)](_0xf3cab7=>_0xf3cab7[_0x24b40(0x2b7)]));this[_0x24b40(0x387)][_0x24b40(0x437)]((_0x41e5ea,_0x299837)=>{const _0x2c53cb=_0x24b40;_0x6da2b5[_0x2c53cb(0x502)](_0x299837)||(_0x41e5ea[_0x2c53cb(0x1f0)](),this['_adapterDisposables'][_0x2c53cb(0x26e)](_0x299837),this[_0x2c53cb(0x349)](_0x299837));}),_0x1873d5[_0x24b40(0x437)](_0x4797de=>{const _0x3396cd=_0x24b40;this[_0x3396cd(0x387)]['has'](_0x4797de[_0x3396cd(0x2b7)])||this[_0x3396cd(0x275)](_0x4797de);});}[_0x3a95bf(0x275)](_0x49e545){const _0x3d566b=_0x3a95bf;let _0x100d41=new _0x243ba8[(_0x3d566b(0x278))]();this[_0x3d566b(0x387)]['set'](_0x49e545[_0x3d566b(0x2b7)],_0x100d41),_0x100d41[_0x3d566b(0x299)](_0x49e545[_0x3d566b(0x463)]()),this['_univerInstanceService'][_0x3d566b(0x491)](_0x49e545['unitType'])[_0x3d566b(0x437)](_0x496bdb=>this[_0x3d566b(0x47f)](_0x496bdb[_0x3d566b(0x4cd)](),_0x49e545)[_0x3d566b(0x37b)](()=>void 0x0));let _0x3ee0a3=this[_0x3d566b(0x31e)][_0x3d566b(0x3f9)](_0x49e545[_0x3d566b(0x2b7)])[_0x3d566b(0x425)](({unit:_0x2f4171})=>this[_0x3d566b(0x47f)](_0x2f4171[_0x3d566b(0x4cd)](),_0x49e545)['catch'](()=>void 0x0));_0x100d41['add']((0x0,_0x243ba8[_0x3d566b(0x31b)])(()=>_0x3ee0a3[_0x3d566b(0x3b2)]()));let _0x30ee49=this[_0x3d566b(0x31e)]['getTypeOfUnitDisposed$'](_0x49e545[_0x3d566b(0x2b7)])[_0x3d566b(0x425)](_0x39fe64=>this['_disposeEntity'](_0x39fe64[_0x3d566b(0x4cd)]()));_0x100d41['add']((0x0,_0x243ba8[_0x3d566b(0x31b)])(()=>_0x30ee49[_0x3d566b(0x3b2)]()));}async[_0x3a95bf(0x47f)](_0x1fa2cd,_0x145265){const _0x49ba17=_0x3a95bf;if(this[_0x49ba17(0x4d4)]['has'](_0x1fa2cd)||this[_0x49ba17(0x3f5)]['has'](_0x1fa2cd))return;let _0x28f589={};this[_0x49ba17(0x3f5)][_0x49ba17(0x4b9)](_0x1fa2cd,_0x28f589);let _0x1e8141=await this[_0x49ba17(0x397)][_0x49ba17(0x4d7)](_0x1fa2cd)[_0x49ba17(0x37b)](_0x78e22e=>{const _0x5a69cb=_0x49ba17;throw this[_0x5a69cb(0x3f5)]['get'](_0x1fa2cd)===_0x28f589&&this[_0x5a69cb(0x3f5)]['delete'](_0x1fa2cd),_0x78e22e;});if(this[_0x49ba17(0x33f)]||this[_0x49ba17(0x3f5)][_0x49ba17(0x26a)](_0x1fa2cd)!==_0x28f589||this[_0x49ba17(0x1f1)][_0x49ba17(0x26a)](_0x145265['unitType'])!==_0x145265){this[_0x49ba17(0x3f5)][_0x49ba17(0x26a)](_0x1fa2cd)===_0x28f589&&this[_0x49ba17(0x3f5)]['delete'](_0x1fa2cd);return;}let _0x431b1e=this['_injector'][_0x49ba17(0x480)](_0x279a52,_0x1fa2cd,_0x1e8141,_0x145265);_0x431b1e[_0x49ba17(0x208)](),this[_0x49ba17(0x3f5)][_0x49ba17(0x26e)](_0x1fa2cd),this[_0x49ba17(0x4d4)][_0x49ba17(0x4b9)](_0x1fa2cd,_0x431b1e);}[_0x3a95bf(0x1d8)](_0x46a1bd){const _0x400e96=_0x3a95bf;this[_0x400e96(0x3f5)][_0x400e96(0x26e)](_0x46a1bd);let _0x4e9c1a=this['_entities'][_0x400e96(0x26a)](_0x46a1bd);_0x4e9c1a&&(_0x4e9c1a[_0x400e96(0x1f0)](),this['_entities']['delete'](_0x46a1bd));}[_0x3a95bf(0x349)](_0x1bd535){const _0x4193da=_0x3a95bf;this[_0x4193da(0x31e)]['getAllUnitsForType'](_0x1bd535)[_0x4193da(0x437)](_0x20a071=>this[_0x4193da(0x3f5)][_0x4193da(0x26e)](_0x20a071[_0x4193da(0x4cd)]())),Array['from'](this[_0x4193da(0x4d4)][_0x4193da(0x321)]())['forEach'](([_0x313750,_0x279ddc])=>{const _0x54dabb=_0x4193da;_0x279ddc['unitType']===_0x1bd535&&this[_0x54dabb(0x1d8)](_0x313750);});}};_0x54df2a=_0x313369([_0x489cd3(0x0,_0x243ba8['IUniverInstanceService']),_0x489cd3(0x1,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x40c)])),_0x489cd3(0x3,(0x0,_0x243ba8['Inject'])(_0x456aa1[_0x3a95bf(0x327)]))],_0x54df2a);let _0x301d60={'toast':_0x3a95bf(0x36a),'actionButton':'!univer-m-0\x20univer-col-start-2\x20univer-row-start-2\x20univer-justify-self-end'},_0x5ffa5e={'title':'collaboration-client-ui.conflict.title','content':_0x3a95bf(0x449),'type':_0x3a95bf(0x21d)},_0x166990={'permission_rejected':{'title':'collaboration-client-ui.permission.title','content':'collaboration-client-ui.permission.content','type':_0x3a95bf(0x21d)},'license_unit_type_rejected':{'title':_0x3a95bf(0x296),'content':'collaboration-client-ui.license.unit-type-rejected','type':_0x3a95bf(0x21d)},'remote_revert':{'title':_0x3a95bf(0x4be),'content':_0x3a95bf(0x38c),'type':_0x3a95bf(0x2db)}},_0x5e6afd=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(_0x2ee162,_0x53e464,_0x596c90,_0x4ce8ce,_0x33bea5,_0x1b5a59,_0x2809e3,_0x1b960b){const _0x25fd13=_0x3a95bf;var _0xd40fd2;super(),this[_0x25fd13(0x451)]=_0x2ee162,this[_0x25fd13(0x41f)]=_0x53e464,this['_collaborationUIEventService']=_0x596c90,this[_0x25fd13(0x346)]=_0x4ce8ce,this[_0x25fd13(0x2d0)]=_0x33bea5,this[_0x25fd13(0x243)]=_0x1b5a59,this['_collaborationController']=_0x2809e3,this[_0x25fd13(0x45c)]=_0x1b960b,_0x538d20(this,_0x25fd13(0x1ef),null),_0x538d20(this,_0x25fd13(0x1df),new Set()),_0x538d20(this,_0x25fd13(0x286),new Map()),_0x538d20(this,_0x25fd13(0x490),new Map()),this[_0x25fd13(0x210)](),this[_0x25fd13(0x411)](),this[_0x25fd13(0x2f6)](),((_0xd40fd2=this[_0x25fd13(0x45c)][_0x25fd13(0x256)](_0x25fd13(0x44e)))==null?void 0x0:_0xd40fd2['enableDefaultConflictUI'])!==!0x1&&this['_initConflictHandling']();}[_0x3a95bf(0x1f0)](){const _0x4609ec=_0x3a95bf;var _0x5e0ffa;(_0x5e0ffa=this[_0x4609ec(0x1ef)])==null||_0x5e0ffa[_0x4609ec(0x1f0)](),this[_0x4609ec(0x1ef)]=null;for(let _0x38e547 of[this[_0x4609ec(0x286)],this['_editingConnectionsExceededNotices']])_0x38e547[_0x4609ec(0x437)](_0x1ce862=>_0x1ce862[_0x4609ec(0x1f0)]()),_0x38e547[_0x4609ec(0x424)]();super[_0x4609ec(0x1f0)]();}[_0x3a95bf(0x2f6)](){const _0x4d321e=_0x3a95bf;let _0x4a5f40=_0xc0620e=>{const _0x247ab2=_0x179a;let _0x523469=new _0x243ba8['DisposableCollection']();_0x523469[_0x247ab2(0x299)]((0x0,_0x243ba8[_0x247ab2(0x31b)])(_0xc0620e[_0x247ab2(0x1d9)]['subscribe']({'next':_0x3653fb=>{const _0x46d9e4=_0x247ab2;_0x3653fb['elapsedMs']>=0x4e20&&this[_0x46d9e4(0x44b)](this[_0x46d9e4(0x286)],_0xc0620e[_0x46d9e4(0x259)],_0x46d9e4(0x21b)),_0x3653fb['reason']===_0x46d9e4(0x470)&&this[_0x46d9e4(0x44b)](this['_editingConnectionsExceededNotices'],_0xc0620e[_0x46d9e4(0x259)],_0x46d9e4(0x2d8));},'complete':()=>{const _0x508c0d=_0x247ab2;this['_removeAwaitingNotices'](_0xc0620e[_0x508c0d(0x259)]),_0x523469[_0x508c0d(0x1f0)]();}}))),_0x523469[_0x247ab2(0x299)]((0x0,_0x243ba8[_0x247ab2(0x31b)])(_0xc0620e[_0x247ab2(0x4ce)]['subscribe'](_0x30a735=>{const _0x365ac4=_0x247ab2;_0x30a735!==_0xd6e6bc[_0x365ac4(0x3b8)][_0x365ac4(0x427)]&&_0x30a735!==_0xd6e6bc[_0x365ac4(0x3b8)][_0x365ac4(0x3e2)]&&this[_0x365ac4(0x381)](_0xc0620e[_0x365ac4(0x259)]);}))),this[_0x247ab2(0x359)](_0x523469);};this[_0x4d321e(0x2a0)][_0x4d321e(0x4c3)]()[_0x4d321e(0x437)](_0x4a5f40),this[_0x4d321e(0x359)]((0x0,_0x243ba8[_0x4d321e(0x31b)])(this['_collaborationController'][_0x4d321e(0x28e)][_0x4d321e(0x425)](_0x4a5f40)));}['_showAwaitingNotice'](_0x2463f0,_0x3ca09b,_0xb740b6){const _0x487221=_0x3a95bf;_0x2463f0[_0x487221(0x502)](_0x3ca09b)||_0x2463f0[_0x487221(0x4b9)](_0x3ca09b,this[_0x487221(0x2d0)][_0x487221(0x3ee)]({'title':this[_0x487221(0x243)]['t'](_0xb740b6),'type':_0x487221(0x2db),'duration':0x1/0x0,'closable':!0x0,'dismissible':!0x0}));}[_0x3a95bf(0x381)](_0x1ce333){const _0x20711d=_0x3a95bf;for(let _0x1fa77b of[this[_0x20711d(0x286)],this[_0x20711d(0x490)]]){var _0x4e434c;(_0x4e434c=_0x1fa77b[_0x20711d(0x26a)](_0x1ce333))==null||_0x4e434c[_0x20711d(0x1f0)](),_0x1fa77b['delete'](_0x1ce333);}}[_0x3a95bf(0x210)](){const _0x556e12=_0x3a95bf;this[_0x556e12(0x359)](this['_beforeCloseService'][_0x556e12(0x1d6)](()=>{const _0x76a4e2=_0x556e12;if(this[_0x76a4e2(0x41f)][_0x76a4e2(0x4a3)][_0x76a4e2(0x267)])return this['_localeService']['t'](_0x76a4e2(0x261));}));}['_initConflictHandling'](){const _0xe61db2=_0x3a95bf;let _0x32bd7e=_0x5488a7=>{const _0x46bc07=_0x179a;this['disposeWithMe']((0x0,_0x243ba8[_0x46bc07(0x31b)])(_0x5488a7[_0x46bc07(0x2ca)][_0x46bc07(0x425)](_0x35729a=>this[_0x46bc07(0x228)](_0x35729a))));};this[_0xe61db2(0x2a0)][_0xe61db2(0x4c3)]()[_0xe61db2(0x437)](_0x32bd7e),this[_0xe61db2(0x359)]((0x0,_0x243ba8[_0xe61db2(0x31b)])(this[_0xe61db2(0x2a0)][_0xe61db2(0x28e)][_0xe61db2(0x425)](_0x32bd7e)));}[_0x3a95bf(0x228)](_0x2555fe){const _0x90453e=_0x3a95bf;if(!_0x2555fe[_0x90453e(0x25e)])return;let _0x4a86ee=_0x166990[_0x2555fe[_0x90453e(0x432)]]??_0x5ffa5e;this[_0x90453e(0x3d0)]({'title':this[_0x90453e(0x243)]['t'](_0x4a86ee['title']),'content':this[_0x90453e(0x243)]['t'](_0x4a86ee[_0x90453e(0x2f4)]),'type':_0x4a86ee['type'],'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x301d60,'action':{'label':this[_0x90453e(0x243)]['t'](_0x90453e(0x1f2)),'onClick':_0x405f86=>{const _0x5b7a49=_0x90453e;_0x405f86['preventDefault'](),this[_0x5b7a49(0x2af)]();}}});}[_0x3a95bf(0x2af)](){const _0x46e7a0=_0x3a95bf;window[_0x46e7a0(0x2f9)]['reload']();}['_initEvent'](){const _0x4e4a67=_0x3a95bf;this['disposeWithMe'](this[_0x4e4a67(0x1e9)][_0x4e4a67(0x388)][_0x4e4a67(0x425)](_0x4ef71f=>{const _0x1ae48f=_0x4e4a67;_0x4ef71f['id']===_0xd6e6bc[_0x1ae48f(0x42b)][_0x1ae48f(0x1b7)]&&this[_0x1ae48f(0x346)]['show']({'type':_0x5f3d5a['MessageType'][_0x1ae48f(0x1b5)],'content':this[_0x1ae48f(0x243)]['t'](_0x1ae48f(0x1bc))}),_0x4ef71f['id']===_0xd6e6bc['CollaborationUIEventId'][_0x1ae48f(0x1ac)]&&this[_0x1ae48f(0x346)][_0x1ae48f(0x3ee)]({'type':_0x5f3d5a[_0x1ae48f(0x41c)][_0x1ae48f(0x1b5)],'content':this['_localeService']['t'](_0x1ae48f(0x501))}),_0x4ef71f['id']===_0xd6e6bc[_0x1ae48f(0x42b)]['CONFLICT_PROCESSING']&&this[_0x1ae48f(0x271)](),_0x4ef71f['id']===_0xd6e6bc['CollaborationUIEventId']['CONFLICT_CACHE_CLEAR_FAILED']&&_0x4ef71f['unitID']&&this[_0x1ae48f(0x35c)](_0x4ef71f[_0x1ae48f(0x259)],_0x4ef71f['userId']??''),_0x4ef71f['id']===_0xd6e6bc[_0x1ae48f(0x42b)][_0x1ae48f(0x22d)]&&this['_messageService'][_0x1ae48f(0x3ee)]({'type':_0x5f3d5a[_0x1ae48f(0x41c)][_0x1ae48f(0x1b5)],'content':this[_0x1ae48f(0x243)]['t'](_0x4ef71f['data']||'')}),_0x4ef71f['id']===_0xd6e6bc[_0x1ae48f(0x42b)][_0x1ae48f(0x487)]&&this[_0x1ae48f(0x346)]['show']({'type':_0x5f3d5a['MessageType'][_0x1ae48f(0x1b5)],'content':this[_0x1ae48f(0x243)]['t']('collaboration-client-ui.session.will-retry')}),_0x4ef71f['id']===_0xd6e6bc['CollaborationUIEventId'][_0x1ae48f(0x428)]&&this[_0x1ae48f(0x346)][_0x1ae48f(0x3ee)]({'type':_0x5f3d5a[_0x1ae48f(0x41c)][_0x1ae48f(0x34c)],'content':this[_0x1ae48f(0x243)]['t'](_0x1ae48f(0x3ae))}),_0x4ef71f['id']===_0xd6e6bc['CollaborationUIEventId'][_0x1ae48f(0x4b6)]&&this[_0x1ae48f(0x346)]['show']({'type':_0x5f3d5a['MessageType'][_0x1ae48f(0x34c)],'content':this[_0x1ae48f(0x243)]['t'](_0x1ae48f(0x456))});}));}[_0x3a95bf(0x271)](){const _0x516526=_0x3a95bf;this[_0x516526(0x3d0)]({'title':this[_0x516526(0x243)]['t'](_0x516526(0x398)),'content':this[_0x516526(0x243)]['t'](_0x516526(0x217)),'type':_0x516526(0x392),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1});}[_0x3a95bf(0x35c)](_0x25c901,_0xb47332){const _0xcad680=_0x3a95bf;this[_0xcad680(0x3d0)]({'title':this['_localeService']['t'](_0xcad680(0x398)),'content':this['_localeService']['t'](_0xcad680(0x32e)),'type':_0xcad680(0x21d),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x301d60,'action':{'label':this[_0xcad680(0x243)]['t'](_0xcad680(0x458)),'onClick':_0x4bffcb=>{const _0x214980=_0xcad680;_0x4bffcb[_0x214980(0x277)](),this['_retryConflictCacheClear'](_0x25c901,_0xb47332);}}});}[_0x3a95bf(0x376)](_0x41dd56,_0x2d464a){const _0x1ab71b=_0x3a95bf;let _0x5c2b71=_0x41dd56+':'+(_0x2d464a??'');this[_0x1ab71b(0x1df)]['has'](_0x5c2b71)||(this['_retryingConflictCacheUnitIDs'][_0x1ab71b(0x299)](_0x5c2b71),this[_0x1ab71b(0x271)](),this[_0x1ab71b(0x41f)][_0x1ab71b(0x423)](_0x41dd56,_0x2d464a)[_0x1ab71b(0x373)](()=>this[_0x1ab71b(0x2af)]())[_0x1ab71b(0x37b)](()=>this[_0x1ab71b(0x35c)](_0x41dd56,_0x2d464a))[_0x1ab71b(0x2cb)](()=>this[_0x1ab71b(0x1df)]['delete'](_0x5c2b71)));}[_0x3a95bf(0x3d0)](_0x515e4f){const _0x302d96=_0x3a95bf;var _0x2bb980;(_0x2bb980=this[_0x302d96(0x1ef)])==null||_0x2bb980[_0x302d96(0x1f0)](),this[_0x302d96(0x1ef)]=this[_0x302d96(0x2d0)][_0x302d96(0x3ee)](_0x515e4f);}};_0x5e6afd=_0x313369([_0x489cd3(0x0,_0x456aa1[_0x3a95bf(0x23b)]),_0x489cd3(0x1,_0xd6e6bc[_0x3a95bf(0x421)]),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc['CollaborationUIEventService'])),_0x489cd3(0x3,_0x456aa1['IMessageService']),_0x489cd3(0x4,_0x456aa1[_0x3a95bf(0x377)]),_0x489cd3(0x5,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x3e4)])),_0x489cd3(0x6,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x442)])),_0x489cd3(0x7,_0x243ba8[_0x3a95bf(0x2e0)])],_0x5e6afd);let _0x3973e6=class{constructor(_0x1ef2b6,_0x8c2002){const _0x33e9da=_0x3a95bf;this[_0x33e9da(0x481)]=_0x1ef2b6,this[_0x33e9da(0x4f4)]=_0x8c2002;}[_0x3a95bf(0x4fc)](_0x37c96c){const _0x3567cd=_0x3a95bf;this[_0x3567cd(0x406)](_0x37c96c),this[_0x3567cd(0x4a2)](_0x37c96c);}[_0x3a95bf(0x305)](_0x30133c){const _0x35f1df=_0x3a95bf;let {unitID:_0x10b88e}=_0x30133c,{redoCache:_0x438c0b}=this[_0x35f1df(0x4f4)][_0x35f1df(0x38b)](_0x10b88e)[_0x35f1df(0x3e5)](_0x40df28[_0x35f1df(0x378)])['getUndoRedoMutationParamsCache']();if(_0x438c0b['length']===0x0)return _0x30133c;let _0xc891b=_0x243ba8['Tools'][_0x35f1df(0x422)](_0x30133c[_0x35f1df(0x2a9)][0x0]);for(let _0x24a013=0x0;_0x24a013<_0x438c0b[_0x35f1df(0x510)];_0x24a013++){let _0x277458={'id':'doc.mutation.rich-text-editing','params':{..._0x438c0b[_0x24a013]}},_0x65a77d=this[_0x35f1df(0x481)][_0x35f1df(0x1fb)](_0xc891b,_0x277458,!0x1);if((0x0,_0x2557fc[_0x35f1df(0x3a0)])(_0x65a77d))throw _0x65a77d[_0x35f1df(0x21d)];_0xc891b=_0x65a77d[_0x35f1df(0x3c0)];}return{..._0x243ba8[_0x35f1df(0x3ca)][_0x35f1df(0x422)](_0x30133c),'mutations':[_0xc891b]};}['_transformUndoRedoStack'](_0x1532ca){const _0x1ee6d9=_0x3a95bf;let {unitID:_0x98f830}=_0x1532ca,_0x4ae352=this[_0x1ee6d9(0x4f4)]['getRenderUnitById'](_0x98f830)[_0x1ee6d9(0x3e5)](_0x40df28[_0x1ee6d9(0x378)]),{undoCache:_0x492c6e,redoCache:_0x2f2498}=_0x4ae352[_0x1ee6d9(0x511)]();if(_0x492c6e[_0x1ee6d9(0x510)]===0x0||_0x2f2498[_0x1ee6d9(0x510)]===0x0)return;let _0x569b79=[],_0x5915ee=[],_0xbbd898=_0x243ba8[_0x1ee6d9(0x3ca)][_0x1ee6d9(0x422)](_0x1532ca[_0x1ee6d9(0x2a9)][0x0]),_0x5b22ce=_0x243ba8['Tools'][_0x1ee6d9(0x422)](_0x1532ca[_0x1ee6d9(0x2a9)][0x0]);for(let _0x5e45ff=_0x492c6e[_0x1ee6d9(0x510)]-0x1;_0x5e45ff>=0x0;_0x5e45ff--){let _0x2058df={'id':_0x1ee6d9(0x474),'params':{..._0x492c6e[_0x5e45ff]}},_0x1ef97a={'id':_0x1ee6d9(0x474),'params':{..._0x2f2498[_0x5e45ff]}},_0xc82db7=this['_transformService'][_0x1ee6d9(0x1fb)](_0xbbd898,_0x2058df,!0x1),_0x19de10=this['_transformService'][_0x1ee6d9(0x1fb)](_0x5b22ce,_0x1ef97a,!0x1);if((0x0,_0x2557fc[_0x1ee6d9(0x3a0)])(_0xc82db7))throw _0xc82db7[_0x1ee6d9(0x21d)];if((0x0,_0x2557fc[_0x1ee6d9(0x3a0)])(_0x19de10))throw _0x19de10['error'];_0x569b79[_0x1ee6d9(0x214)](_0xc82db7[_0x1ee6d9(0x264)][_0x1ee6d9(0x3a4)]),_0x5915ee[_0x1ee6d9(0x214)](_0x19de10[_0x1ee6d9(0x264)][_0x1ee6d9(0x3a4)]),_0xbbd898=_0xc82db7[_0x1ee6d9(0x3c0)],_0x5b22ce=_0x19de10[_0x1ee6d9(0x3c0)];}_0x4ae352['setUndoRedoMutationParamsCache']({'undoCache':_0x569b79,'redoCache':_0x5915ee});}['_transformPreviousActiveRange'](_0x2bc14a){const _0x3d6c8c=_0x3a95bf;let {unitID:_0x4911e2}=_0x2bc14a,_0x36afa3=this[_0x3d6c8c(0x4f4)][_0x3d6c8c(0x38b)](_0x4911e2)['with'](_0x40df28[_0x3d6c8c(0x378)]),_0x4611a4=_0x36afa3[_0x3d6c8c(0x50c)]();if(_0x4611a4==null)return;let _0x4a565e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2bc14a[_0x3d6c8c(0x259)],'actions':null,'textRanges':[_0x4611a4]}}],_0x56710e=this[_0x3d6c8c(0x481)][_0x3d6c8c(0x366)](_0x2bc14a,_0x4a565e);if(!(0x0,_0x2557fc[_0x3d6c8c(0x489)])(_0x56710e))throw _0x56710e['error'];let _0x1ce761=_0x56710e[_0x3d6c8c(0x264)][0x0][_0x3d6c8c(0x3a4)]['textRanges'];Array['isArray'](_0x1ce761)&&_0x1ce761[_0x3d6c8c(0x510)]&&_0x36afa3[_0x3d6c8c(0x46c)](_0x1ce761[0x0]);}};_0x3973e6=_0x313369([_0x489cd3(0x0,_0x2557fc[_0x3a95bf(0x3ea)]),_0x489cd3(0x1,_0x1df5c2[_0x3a95bf(0x49e)])],_0x3973e6);let _0x5b4446=class{constructor(_0x1ddef8,_0x266818,_0x2cf46e){const _0x732edf=_0x3a95bf;this[_0x732edf(0x4c9)]=_0x1ddef8,this[_0x732edf(0x481)]=_0x266818,this[_0x732edf(0x3f3)]=_0x2cf46e;}['transformStateCache'](_0x1520cc){const _0x97e628=_0x3a95bf;this[_0x97e628(0x2fd)](_0x1520cc);}[_0x3a95bf(0x305)](_0x489a25){const _0x4940d1=_0x3a95bf;let {unitID:_0x3dcf0e}=_0x489a25,{collaboration:_0x22e418}=this[_0x4940d1(0x3f3)]['getStateCache'](_0x3dcf0e);if(_0x22e418[_0x4940d1(0x510)]===0x0)return _0x489a25;let _0x4fd785=_0x243ba8[_0x4940d1(0x3ca)][_0x4940d1(0x422)](_0x489a25[_0x4940d1(0x2a9)][0x0]);for(let _0x2e535a=0x0;_0x2e535a<_0x22e418[_0x4940d1(0x510)];_0x2e535a++){let _0x15dd0f={'id':_0x4940d1(0x474),'params':{'unitId':_0x22e418[_0x2e535a]['unitId'],..._0x22e418[_0x2e535a]['redoState']}},_0x21e51a=this[_0x4940d1(0x481)][_0x4940d1(0x1fb)](_0x4fd785,_0x15dd0f,!0x1);if((0x0,_0x2557fc[_0x4940d1(0x3a0)])(_0x21e51a))throw _0x21e51a['error'];_0x4fd785=_0x21e51a[_0x4940d1(0x3c0)];}return{..._0x243ba8[_0x4940d1(0x3ca)][_0x4940d1(0x422)](_0x489a25),'mutations':[_0x4fd785]};}[_0x3a95bf(0x2fd)](_0x459f29){const _0x288ba4=_0x3a95bf;let {unitID:_0x2fcd98}=_0x459f29,{history:_0x42bfac,collaboration:_0x311c13}=this['_docStateChangeManagerService'][_0x288ba4(0x375)](_0x2fcd98);if(_0x42bfac[_0x288ba4(0x510)]===0x0&&_0x311c13['length']===0x0)return;let _0x399590=[],_0x4bad16=[],_0x595ae4=_0x243ba8[_0x288ba4(0x3ca)][_0x288ba4(0x422)](_0x459f29['mutations'][0x0]),_0x4b746b=_0x243ba8[_0x288ba4(0x3ca)][_0x288ba4(0x422)](_0x459f29['mutations'][0x0]);for(let _0x414ca6=_0x42bfac[_0x288ba4(0x510)]-0x1;_0x414ca6>=0x0;_0x414ca6--){let _0x5e71b8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x42bfac[_0x414ca6][_0x288ba4(0x2a1)],..._0x42bfac[_0x414ca6][_0x288ba4(0x43d)]}},_0x5ca957={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x42bfac[_0x414ca6][_0x288ba4(0x2a1)],..._0x42bfac[_0x414ca6][_0x288ba4(0x497)]}},_0x1c0377=this[_0x288ba4(0x481)]['transformMutation'](_0x595ae4,_0x5e71b8,!0x1),_0x5b1f1a=this[_0x288ba4(0x481)][_0x288ba4(0x1fb)](_0x4b746b,_0x5ca957,!0x1);if((0x0,_0x2557fc[_0x288ba4(0x3a0)])(_0x1c0377))throw _0x1c0377[_0x288ba4(0x21d)];if((0x0,_0x2557fc[_0x288ba4(0x3a0)])(_0x5b1f1a))throw _0x5b1f1a['error'];_0x399590[_0x288ba4(0x214)]({..._0x42bfac[_0x414ca6],'undoState':_0x1c0377[_0x288ba4(0x264)]['params'],'redoState':_0x5b1f1a[_0x288ba4(0x264)]['params']}),_0x595ae4=_0x1c0377[_0x288ba4(0x3c0)],_0x4b746b=_0x5b1f1a[_0x288ba4(0x3c0)];}_0x595ae4=_0x243ba8['Tools'][_0x288ba4(0x422)](_0x459f29[_0x288ba4(0x2a9)][0x0]),_0x4b746b=_0x243ba8[_0x288ba4(0x3ca)][_0x288ba4(0x422)](_0x459f29[_0x288ba4(0x2a9)][0x0]);for(let _0x1f285f=_0x311c13[_0x288ba4(0x510)]-0x1;_0x1f285f>=0x0;_0x1f285f--){let _0x3bdcc3={'id':_0x288ba4(0x474),'params':{'unitId':_0x311c13[_0x1f285f][_0x288ba4(0x2a1)],..._0x311c13[_0x1f285f][_0x288ba4(0x43d)]}},_0x2ccef1={'id':_0x288ba4(0x474),'params':{'unitId':_0x311c13[_0x1f285f][_0x288ba4(0x2a1)],..._0x311c13[_0x1f285f][_0x288ba4(0x497)]}},_0x3a3947=this[_0x288ba4(0x481)][_0x288ba4(0x1fb)](_0x595ae4,_0x3bdcc3,!0x1),_0xf4c672=this['_transformService']['transformMutation'](_0x4b746b,_0x2ccef1,!0x1);if((0x0,_0x2557fc[_0x288ba4(0x3a0)])(_0x3a3947))throw _0x3a3947[_0x288ba4(0x21d)];if((0x0,_0x2557fc[_0x288ba4(0x3a0)])(_0xf4c672))throw _0xf4c672[_0x288ba4(0x21d)];_0x4bad16[_0x288ba4(0x214)]({..._0x311c13[_0x1f285f],'undoState':_0x3a3947[_0x288ba4(0x264)][_0x288ba4(0x3a4)],'redoState':_0xf4c672[_0x288ba4(0x264)]['params']}),_0x595ae4=_0x3a3947['m1Prime'],_0x4b746b=_0xf4c672[_0x288ba4(0x3c0)];}this[_0x288ba4(0x3f3)][_0x288ba4(0x352)](_0x2fcd98,{'history':_0x399590,'collaboration':_0x4bad16});}};_0x5b4446=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x1,_0x2557fc[_0x3a95bf(0x3ea)]),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x446a63[_0x3a95bf(0x4ac)]))],_0x5b4446);let _0x46a30d=class{constructor(_0x55e2a7,_0x3e163b){const _0x11090f=_0x3a95bf;this[_0x11090f(0x448)]=_0x55e2a7,this['_transformService']=_0x3e163b;}[_0x3a95bf(0x42c)](_0x4993c1){const _0x3aeee0=_0x3a95bf;var _0x3d8bf4;let _0xb2b1d5=this[_0x3aeee0(0x448)]['getDocRanges']()??[],_0x5ad499=this[_0x3aeee0(0x448)]['getSelectionInfo']();if(_0xb2b1d5[_0x3aeee0(0x510)]===0x0||_0x5ad499==null)return null;let _0x37510b=_0x4993c1[_0x3aeee0(0x259)],_0x4c53b1=[{'id':_0x3aeee0(0x474),'params':{'unitId':_0x37510b,'actions':null,'textRanges':_0xb2b1d5}}],_0x22e690=this[_0x3aeee0(0x481)][_0x3aeee0(0x366)](_0x4993c1,_0x4c53b1);if(!(0x0,_0x2557fc[_0x3aeee0(0x489)])(_0x22e690))throw _0x22e690[_0x3aeee0(0x21d)];let _0x4d0bf0=(_0x3d8bf4=_0x22e690[_0x3aeee0(0x264)][0x0])==null?void 0x0:_0x3d8bf4[_0x3aeee0(0x3a4)],_0x1915e7=_0x4d0bf0&&typeof _0x4d0bf0==_0x3aeee0(0x2f2)&&_0x3aeee0(0x46d)in _0x4d0bf0?_0x4d0bf0[_0x3aeee0(0x46d)]:null;if(!_0x2dc9ef(_0x1915e7))return null;let _0x426dbe=_0x1f9827(_0x4993c1[_0x3aeee0(0x2a9)]['some'](_0x22872c=>_0x4bdfd5(_0x22872c[_0x3aeee0(0x3a4)]))?_0x1915e7['filter'](_0x3567d5=>!('tableId'in _0x3567d5)):_0x1915e7,{..._0x5ad499,'options':_0x5ad499[_0x3aeee0(0x3ab)]?{..._0x5ad499[_0x3aeee0(0x3ab)],'wholeDocument':!0x1}:void 0x0}),_0x256a82={'unitId':_0x37510b,'subUnitId':_0x37510b};this[_0x3aeee0(0x448)]['replaceSelectionInfoWithoutRefresh'](_0x426dbe,_0x256a82);let _0x13f3d7=!0x0;return{'commit':()=>{_0x13f3d7=!0x1;},'rollback':()=>{const _0x372eab=_0x3aeee0;_0x13f3d7&&(_0x13f3d7=!0x1,this[_0x372eab(0x448)][_0x372eab(0x3cd)](_0x5ad499,_0x256a82));}};}};_0x46a30d=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x446a63[_0x3a95bf(0x3af)])),_0x489cd3(0x1,_0x2557fc[_0x3a95bf(0x3ea)])],_0x46a30d);function _0x1f9827(_0x3236a5,_0x125c43){const _0x19f947=_0x3a95bf;let _0x2bf381=[],_0x4833bf=[];for(let _0x344902 of _0x3236a5)_0x44aff2(_0x344902)?_0x4833bf[_0x19f947(0x50f)](_0x344902):_0x2bf381[_0x19f947(0x50f)](_0x344902);return{..._0x125c43,'textRanges':_0x2bf381,'rectRanges':_0x4833bf};}function _0x44aff2(_0x4ef5ff){const _0xc54528=_0x3a95bf;return _0xc54528(0x3fd)in _0x4ef5ff;}function _0x2dc9ef(_0x29a73f){const _0x367fea=_0x3a95bf;return Array[_0x367fea(0x279)](_0x29a73f)&&_0x29a73f['every'](_0x17993e=>typeof _0x17993e==_0x367fea(0x2f2)&&!!_0x17993e&&'startOffset'in _0x17993e&&_0x367fea(0x38d)in _0x17993e);}function _0x4bdfd5(_0x46aece){const _0x41ea0d=_0x3a95bf;return _0x46aece==='tableSource'?!0x0:Array['isArray'](_0x46aece)?_0x46aece[_0x41ea0d(0x32d)](_0x2c7c04=>_0x4bdfd5(_0x2c7c04)):!_0x46aece||typeof _0x46aece!='object'?!0x1:Object[_0x41ea0d(0x22c)](_0x46aece)[_0x41ea0d(0x32d)](_0x567223=>_0x4bdfd5(_0x567223));}let _0x523c38=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(_0x3f05e1,_0xdc44e7,_0x4e9620,_0xfecc73,_0x348f35,_0x238f93,_0xf44149){const _0x244e30=_0x3a95bf;super(),this[_0x244e30(0x2a0)]=_0x3f05e1,this[_0x244e30(0x294)]=_0xdc44e7,this[_0x244e30(0x4e7)]=_0x4e9620,this[_0x244e30(0x26d)]=_0xfecc73,this['_docSyncEditingCollabCursorService']=_0x348f35,this[_0x244e30(0x346)]=_0x238f93,this[_0x244e30(0x243)]=_0xf44149,_0x538d20(this,_0x244e30(0x25f),new _0x4089a3[(_0x244e30(0x43f))](_0xd6e6bc[_0x244e30(0x3b8)][_0x244e30(0x331)])),this['_initEntityListener']();}['_initEntityListener'](){const _0x5a1cda=_0x3a95bf;this[_0x5a1cda(0x359)](this[_0x5a1cda(0x2a0)]['entityInit$']['subscribe'](_0x3e7307=>{const _0x101525=_0x5a1cda;_0x3e7307 instanceof _0xd6e6bc['DocCollaborationEntity']&&_0x3e7307[_0x101525(0x4e4)]({'onTransformIME':_0x54d2f0=>this['_docTransformIMECacheService'][_0x101525(0x4fc)](_0x54d2f0),'onTransformState':_0x1259ba=>this[_0x101525(0x4e7)][_0x101525(0x3c9)](_0x1259ba),'onPrepareTransformSelections':_0xe8916=>this[_0x101525(0x26d)][_0x101525(0x42c)](_0xe8916),'onSyncEditingCollabCursor':_0x4a6e42=>this[_0x101525(0x37d)][_0x101525(0x273)](_0x4a6e42),'onTransformRemoteChangesetByIMECache':_0x34dd52=>this['_docTransformIMECacheService'][_0x101525(0x305)](_0x34dd52),'onTransformRemoteChangesetByStateCache':_0x55eba9=>this[_0x101525(0x4e7)]['transformRemoteChangeset'](_0x55eba9)});}));}};_0x523c38=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x442)])),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x3973e6)),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x5b4446)),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x46a30d)),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x7cbc68)),_0x489cd3(0x5,_0x456aa1[_0x3a95bf(0x1d0)]),_0x489cd3(0x6,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x3e4)]))],_0x523c38);let _0x4176b4=class extends _0x243ba8['Disposable']{constructor(_0x39e07e,_0xa1ee64,_0xf7d028,_0x479040){const _0x17a42d=_0x3a95bf;super(),this[_0x17a42d(0x4c9)]=_0x39e07e,this['_httpService']=_0xa1ee64,this['_logService']=_0xf7d028,this['_collaborationSessionService']=_0x479040,_0x538d20(this,_0x17a42d(0x3e7),void 0x0),this[_0x17a42d(0x2bf)]();}['_init'](){const _0x43609f=_0x3a95bf;this['_initWindowErrorListener'](),this[_0x43609f(0x41a)](),this[_0x43609f(0x45b)](),this[_0x43609f(0x4e9)]();}[_0x3a95bf(0x4e9)](){const _0x376d31=_0x3a95bf;this[_0x376d31(0x359)](this[_0x376d31(0x4e1)][_0x376d31(0x347)]['subscribe'](_0x593b9c=>{const _0x82805c=_0x376d31;this[_0x82805c(0x3e7)]=_0x593b9c==null?void 0x0:_0x593b9c['memberID'];}));}[_0x3a95bf(0x1b1)](){const _0x1b65c4=_0x3a95bf;let _0x1caa7e=_0x4cfa54=>{const _0x5e0794=_0x179a;var _0x356ef6;this[_0x5e0794(0x438)](_0x5e0794(0x21d),_0x5e0794(0x367)+_0x4cfa54[_0x5e0794(0x4f8)]+_0x5e0794(0x444)+_0x4cfa54['filename']+':'+_0x4cfa54['lineno']+':'+_0x4cfa54[_0x5e0794(0x408)]+'\x0a'+(((_0x356ef6=_0x4cfa54[_0x5e0794(0x21d)])==null?void 0x0:_0x356ef6['stack'])||''));};window[_0x1b65c4(0x329)]('error',_0x1caa7e),this[_0x1b65c4(0x359)](()=>{const _0x30fea2=_0x1b65c4;window['removeEventListener'](_0x30fea2(0x21d),_0x1caa7e);});}[_0x3a95bf(0x41a)](){const _0x34d34a=_0x3a95bf;let _0x5e817e=_0x18d010=>{const _0x14cf8d=_0x179a;this[_0x14cf8d(0x438)](_0x14cf8d(0x21d),_0x14cf8d(0x441)+_0x18d010['reason']);};window[_0x34d34a(0x329)](_0x34d34a(0x2ce),_0x5e817e),this[_0x34d34a(0x359)](()=>{const _0x284aac=_0x34d34a;window['removeEventListener'](_0x284aac(0x2ce),_0x5e817e);});}[_0x3a95bf(0x45b)](){const _0x3cee22=_0x3a95bf;let _0x47a47a=this[_0x3cee22(0x287)][_0x3cee22(0x21d)][_0x3cee22(0x1e6)](this[_0x3cee22(0x287)]);this[_0x3cee22(0x287)][_0x3cee22(0x21d)]=(..._0x293143)=>{const _0x1e9d8d=_0x3cee22;let _0x114aaf=_0x293143[_0x1e9d8d(0x3a2)](_0x548fc0=>_0x548fc0 instanceof Error?_0x548fc0['message']+'\x0a'+_0x548fc0[_0x1e9d8d(0x3f4)]:String(_0x548fc0))[_0x1e9d8d(0x2a3)]('\x20');this[_0x1e9d8d(0x438)]('error',_0x1e9d8d(0x4a7)+_0x114aaf),_0x47a47a(..._0x293143);},this['disposeWithMe'](()=>{const _0x51652f=_0x3cee22;this[_0x51652f(0x287)][_0x51652f(0x21d)]=_0x47a47a;});}[_0x3a95bf(0x438)](_0x5dc79b,_0x40cef8){const _0x506b21=_0x3a95bf;try{let _0x138c4d={'userId':this[_0x506b21(0x3e7)],'logLabel':_0x5dc79b,'content':_0x40cef8};this[_0x506b21(0x25c)][_0x506b21(0x394)](_0x506b21(0x418),{'body':_0x138c4d})[_0x506b21(0x37b)](()=>{});}catch{}}};_0x4176b4=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x1,(0x0,_0x243ba8['Inject'])(_0x512293[_0x3a95bf(0x25b)])),_0x489cd3(0x2,_0x243ba8['ILogService']),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x40c)]))],_0x4176b4);function _0x44e0dd({state$:_0x4891d7}){const _0x392af3=_0x3a95bf;let _0x5cce6a=(0x0,_0x456aa1['useObservable'])(_0x4891d7,null,!0x0);return _0x5cce6a?(0x0,_0x36a3fe[_0x392af3(0x36e)])('div',{'data-u-comp':_0x392af3(0x2d6),'role':_0x392af3(0x417),'className':_0x392af3(0x38f),'children':[(0x0,_0x36a3fe[_0x392af3(0x4a4)])(_0xa2de88,{'className':_0x392af3(0x3aa)}),(0x0,_0x36a3fe[_0x392af3(0x4a4)])('span',{'children':_0x5cce6a[_0x392af3(0x2f4)]}),(0x0,_0x36a3fe[_0x392af3(0x4a4)])(_0x5f3d5a[_0x392af3(0x2e9)],{'size':_0x392af3(0x274),'variant':'primary','onClick':()=>window[_0x392af3(0x2f9)][_0x392af3(0x461)](),'children':_0x5cce6a['refreshLabel']})]}):null;}let _0xe73be6=_0x3a95bf(0x48d),_0x3bd9e2=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(_0x3fd99e,_0x39d292,_0x5e5b25,_0x3bc499,_0x2ef7e2){const _0x3f7313=_0x3a95bf;super(),this[_0x3f7313(0x4cc)]=_0x3fd99e,this[_0x3f7313(0x346)]=_0x39d292,this[_0x3f7313(0x243)]=_0x5e5b25,this['_injector']=_0x3bc499,_0x538d20(this,_0x3f7313(0x254),new _0x4089a3[(_0x3f7313(0x43f))](null)),_0x538d20(this,_0x3f7313(0x512),new Set()),_0x538d20(this,_0x3f7313(0x4d9),new Map()),_0x538d20(this,_0x3f7313(0x2c5),this[_0x3f7313(0x254)][_0x3f7313(0x1cd)]());let _0x51eadf=()=>(0x0,_0x3e61d0[_0x3f7313(0x4a9)])(_0x44e0dd,{'state$':this[_0x3f7313(0x2c5)]});this[_0x3f7313(0x359)](_0x2ef7e2[_0x3f7313(0x32c)](_0x456aa1[_0x3f7313(0x1b0)][_0x3f7313(0x469)],()=>(0x0,_0x456aa1[_0x3f7313(0x320)])(_0x51eadf,this[_0x3f7313(0x4c9)]))),this[_0x3f7313(0x359)](this[_0x3f7313(0x4cc)][_0x3f7313(0x3ce)]['subscribe'](_0x5d2893=>{const _0x2df288=_0x3f7313;_0x5d2893[_0x2df288(0x437)](_0x3b6c98=>this['_updateMessage'](_0x3b6c98));}));}[_0x3a95bf(0x1f0)](){const _0x2cdbda=_0x3a95bf;this[_0x2cdbda(0x512)][_0x2cdbda(0x437)](_0x2dc87c=>this['_messageService'][_0x2cdbda(0x29c)](_0x2dc87c)),this[_0x2cdbda(0x512)]['clear'](),this[_0x2cdbda(0x4d9)][_0x2cdbda(0x437)](({timeoutId:_0x19d3c3})=>clearTimeout(_0x19d3c3)),this['_blockProgressWatches'][_0x2cdbda(0x424)](),this[_0x2cdbda(0x254)][_0x2cdbda(0x1c8)](),super['dispose']();}[_0x3a95bf(0x345)](_0x48d7e7){const _0x2e5501=_0x3a95bf;let _0x5b8356=''+_0xe73be6+_0x48d7e7[_0x2e5501(0x2a1)];_0x48d7e7[_0x2e5501(0x23f)]===_0x2557fc[_0x2e5501(0x28b)]['COMPLETE']?(this['_clearBlockProgressWatch'](_0x48d7e7[_0x2e5501(0x2a1)]),this[_0x2e5501(0x3f6)](_0x48d7e7[_0x2e5501(0x2a1)]),this['_messageService'][_0x2e5501(0x29c)](_0x5b8356),this['_messageIds'][_0x2e5501(0x26e)](_0x5b8356)):_0x48d7e7[_0x2e5501(0x23f)]===_0x2557fc[_0x2e5501(0x28b)][_0x2e5501(0x2d2)]?(this['_clearBlockProgressWatch'](_0x48d7e7['unitId']),this['_clearTimeoutState'](_0x48d7e7['unitId']),this[_0x2e5501(0x346)][_0x2e5501(0x3ee)]({'id':_0x5b8356,'type':_0x5f3d5a[_0x2e5501(0x41c)][_0x2e5501(0x34c)],'content':this['_localeService']['t']('collaboration-client-ui.session.connection-failed')}),this[_0x2e5501(0x512)][_0x2e5501(0x26e)](_0x5b8356)):_0x48d7e7[_0x2e5501(0x23f)]!==_0x2557fc['SnapshotLoadStage'][_0x2e5501(0x2c2)]||_0x48d7e7['totalBlocks']<=0xa?(this[_0x2e5501(0x4ab)](_0x48d7e7[_0x2e5501(0x2a1)]),this[_0x2e5501(0x346)][_0x2e5501(0x29c)](_0x5b8356),this[_0x2e5501(0x512)][_0x2e5501(0x26e)](_0x5b8356)):this[_0x2e5501(0x4cb)](_0x48d7e7)||(this['_messageService'][_0x2e5501(0x3ee)]({'id':_0x5b8356,'type':_0x5f3d5a[_0x2e5501(0x41c)][_0x2e5501(0x1dc)],'duration':0x1/0x0,'content':this['_localeService']['t']('collaboration-client-ui.collabStatus.fetchMiss')+'\x20'+_0x48d7e7['loadedBlocks']+'/'+_0x48d7e7[_0x2e5501(0x2f5)]}),this[_0x2e5501(0x512)]['add'](_0x5b8356));}[_0x3a95bf(0x4cb)](_0x579ba1){const _0x3a8d81=_0x3a95bf;let _0x59e903=this[_0x3a8d81(0x4d9)][_0x3a8d81(0x26a)](_0x579ba1[_0x3a8d81(0x2a1)]);if((_0x59e903==null?void 0x0:_0x59e903[_0x3a8d81(0x3ed)])===_0x579ba1[_0x3a8d81(0x3ed)])return _0x59e903[_0x3a8d81(0x20b)];this[_0x3a8d81(0x4ab)](_0x579ba1[_0x3a8d81(0x2a1)]);let _0x27d225=setTimeout(()=>{const _0x3c4ccf=_0x3a8d81;let _0x5e6506=this[_0x3c4ccf(0x4d9)]['get'](_0x579ba1[_0x3c4ccf(0x2a1)]);if(!_0x5e6506||_0x5e6506['timeoutId']!==_0x27d225)return;_0x5e6506[_0x3c4ccf(0x20b)]=!0x0;let _0x311ca0=''+_0xe73be6+_0x579ba1[_0x3c4ccf(0x2a1)];this[_0x3c4ccf(0x346)][_0x3c4ccf(0x29c)](_0x311ca0),this[_0x3c4ccf(0x512)][_0x3c4ccf(0x26e)](_0x311ca0),this[_0x3c4ccf(0x254)][_0x3c4ccf(0x1e4)]({'unitId':_0x579ba1['unitId'],'content':this['_localeService']['t'](_0x3c4ccf(0x20a),String(_0x579ba1[_0x3c4ccf(0x3ed)]),String(_0x579ba1[_0x3c4ccf(0x2f5)])),'refreshLabel':this[_0x3c4ccf(0x243)]['t']('collaboration-client-ui.snapshotLoading.refresh')});},0xea60);return this['_blockProgressWatches']['set'](_0x579ba1[_0x3a8d81(0x2a1)],{'loadedBlocks':_0x579ba1['loadedBlocks'],'timedOut':!0x1,'timeoutId':_0x27d225}),!0x1;}[_0x3a95bf(0x4ab)](_0xdeaed6){const _0x260aa3=_0x3a95bf;let _0x18991e=this[_0x260aa3(0x4d9)][_0x260aa3(0x26a)](_0xdeaed6);_0x18991e&&(clearTimeout(_0x18991e[_0x260aa3(0x3c8)]),this[_0x260aa3(0x4d9)][_0x260aa3(0x26e)](_0xdeaed6),this['_clearTimeoutState'](_0xdeaed6));}['_clearTimeoutState'](_0x1c9118){const _0x8a85ed=_0x3a95bf;var _0x3770cd;((_0x3770cd=this['_timeoutState$'][_0x8a85ed(0x238)])==null?void 0x0:_0x3770cd[_0x8a85ed(0x2a1)])===_0x1c9118&&this[_0x8a85ed(0x254)][_0x8a85ed(0x1e4)](null);}};_0x3bd9e2=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8['Inject'])(_0x2557fc[_0x3a95bf(0x3d9)])),_0x489cd3(0x1,_0x456aa1[_0x3a95bf(0x1d0)]),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x3e4)])),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8['Injector'])),_0x489cd3(0x4,_0x456aa1[_0x3a95bf(0x3a8)])],_0x3bd9e2);let _0x5ddc8b=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(_0x192420,_0x1181d9,_0x4d0153,_0x25b117,_0x3cde9d){const _0x1cd0ee=_0x3a95bf;var _0x107dfe;super(),this[_0x1cd0ee(0x45c)]=_0x192420,this[_0x1cd0ee(0x4a5)]=_0x1181d9,this['_revisionService']=_0x4d0153,this['_logService']=_0x25b117,this[_0x1cd0ee(0x4bb)]=_0x3cde9d,_0x538d20(this,_0x1cd0ee(0x455),new Map()),_0x538d20(this,_0x1cd0ee(0x3a9),new Map()),_0x538d20(this,_0x1cd0ee(0x393),new Map()),_0x538d20(this,_0x1cd0ee(0x452),!0x1),this[_0x1cd0ee(0x452)]=!((_0x107dfe=this[_0x1cd0ee(0x45c)]['getConfig'](_0xd6e6bc['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))!=null&&_0x107dfe['enableOfflineEditing']);}[_0x3a95bf(0x262)](){const _0x433294=_0x3a95bf;this[_0x433294(0x452)]=!0x0;}['enableLocalCache'](){const _0xb6034a=_0x3a95bf;this[_0xb6034a(0x452)]=!0x1;}get['saveTaskMap'](){const _0xb7867b=_0x3a95bf;let _0x351213=new Map(this[_0xb7867b(0x3a9)]);return this[_0xb7867b(0x393)]['forEach']((_0x5e9a9d,_0x2d7ed5)=>{const _0xe1550d=_0xb7867b;_0x351213[_0xe1550d(0x502)](_0x2d7ed5)||_0x351213[_0xe1550d(0x4b9)](_0x2d7ed5,0x0);}),_0x351213;}['dispose'](){const _0x7bfe92=_0x3a95bf;this[_0x7bfe92(0x2ee)]||(super[_0x7bfe92(0x1f0)](),this[_0x7bfe92(0x452)]=!0x0,this['exhaustSavingTask']()[_0x7bfe92(0x37b)](_0xde864f=>this[_0x7bfe92(0x287)][_0x7bfe92(0x21d)](_0xde864f)));}async[_0x3a95bf(0x4c1)](_0x2164ea,_0x1ea56f){const _0x2cecb8=_0x3a95bf;if(this[_0x2cecb8(0x452)])return null;let _0x365ebb=this['_getUserId'](_0x1ea56f),_0x59c2b3=await this[_0x2cecb8(0x4a5)][_0x2cecb8(0x41e)]((0x0,_0xd6e6bc['getLocalCacheKey'])(_0x2164ea,_0x365ebb));return(_0x59c2b3==null?void 0x0:_0x59c2b3[_0x2cecb8(0x259)])===_0x2164ea&&this['_normalizeUserId'](_0x59c2b3[_0x2cecb8(0x30b)])===_0x365ebb?_0x59c2b3:null;}async[_0x3a95bf(0x41b)](_0x5c7f83,_0x4cda62,_0x42b251){const _0x56ed3a=_0x3a95bf;let _0x5e3b3f=this[_0x56ed3a(0x3a6)](_0x42b251),_0xa08ffc=(0x0,_0xd6e6bc[_0x56ed3a(0x478)])(_0x5c7f83,_0x5e3b3f),_0xdacbd5=this[_0x56ed3a(0x4a5)]['setItem'](_0xa08ffc,{..._0x4cda62,'unitID':_0x5c7f83,'userId':_0x5e3b3f});return this[_0x56ed3a(0x24e)](_0xa08ffc,_0xdacbd5),!!await _0xdacbd5;}async[_0x3a95bf(0x27c)](_0x477217,_0x54df9a,_0x5f2927){const _0x2b77e5=_0x3a95bf;let _0x31d7e8=this['_getUserId'](_0x5f2927),_0x47a593=(0x0,_0xd6e6bc[_0x2b77e5(0x478)])(_0x477217,_0x31d7e8),_0x18eafe=this[_0x2b77e5(0x455)]['get'](_0x47a593)??await this[_0x2b77e5(0x4a5)][_0x2b77e5(0x41e)](_0x47a593);if(!_0x18eafe||this['_normalizeUserId'](_0x18eafe[_0x2b77e5(0x30b)])!==_0x31d7e8||_0x18eafe[_0x2b77e5(0x259)]!==_0x477217)return;let _0x37e6ff=Date[_0x2b77e5(0x2ba)](),_0x18f7f0=new Date(_0x37e6ff)[_0x2b77e5(0x3d1)]();await this[_0x2b77e5(0x4a5)][_0x2b77e5(0x3fb)](_0x47a593+_0x2b77e5(0x49c)+_0x37e6ff,{'reason':_0x54df9a,'createdAt':_0x18f7f0,'data':_0x18eafe});}async[_0x3a95bf(0x423)](_0x26d244,_0x3656c2){const _0x506381=_0x3a95bf;let _0x5ef309=this[_0x506381(0x3a6)](_0x3656c2),_0x479338=(0x0,_0xd6e6bc[_0x506381(0x478)])(_0x26d244,_0x5ef309),_0xf87399=this[_0x506381(0x3a9)][_0x506381(0x26a)](_0x479338);_0xf87399!==void 0x0&&(window[_0x506381(0x3d8)](_0xf87399),this[_0x506381(0x3a9)]['delete'](_0x479338));let _0x3ab023=this[_0x506381(0x393)][_0x506381(0x26a)](_0x479338);_0x3ab023&&await Promise[_0x506381(0x1ed)](_0x3ab023),this[_0x506381(0x455)][_0x506381(0x26e)](_0x479338),await this[_0x506381(0x4a5)][_0x506381(0x493)](_0x479338);}[_0x3a95bf(0x22b)](_0x3e3f47,_0x1fe54f,_0x122df9,_0x4cb561,_0x151240){const _0x73b08a=_0x3a95bf;if(this[_0x73b08a(0x2ee)])return;let _0xd84380=this['_getUserId'](_0x151240),_0x4d7ec6=(0x0,_0xd6e6bc['getLocalCacheKey'])(_0x3e3f47,_0xd84380),_0x3adc63=this[_0x73b08a(0x252)][_0x73b08a(0x3d2)](_0x3e3f47);this[_0x73b08a(0x455)]['set'](_0x4d7ec6,{'unitID':_0x3e3f47,'userId':_0xd84380,'type':_0x1fe54f,'awaitingChangeset':_0x122df9,'mutations':_0x4cb561,'rev':_0x3adc63}),this[_0x73b08a(0x3a9)][_0x73b08a(0x502)](_0x4d7ec6)||this[_0x73b08a(0x40e)](_0x4d7ec6);}[_0x3a95bf(0x3a6)](_0x153aa0=((()=>{const _0x5c8408=_0x3a95bf;var _0x1d9423;return(_0x1d9423=this[_0x5c8408(0x4bb)][_0x5c8408(0x337)]())==null?void 0x0:_0x1d9423[_0x5c8408(0x3cf)];})())){return this['_normalizeUserId'](_0x153aa0);}[_0x3a95bf(0x1ab)](_0x270768){return _0x270768===''||_0x270768==null?void 0x0:_0x270768;}[_0x3a95bf(0x40e)](_0x2fd370){const _0x5baa38=_0x3a95bf;let _0xe67835=this[_0x5baa38(0x2b4)]();_0xe67835===0x0?this['_saveCache'](_0x2fd370)[_0x5baa38(0x37b)](_0x506a21=>this[_0x5baa38(0x287)]['error'](_0x506a21)):this['_saveTaskMap'][_0x5baa38(0x4b9)](_0x2fd370,window['setTimeout'](()=>{const _0x206d48=_0x5baa38;this['_saveCache'](_0x2fd370)['catch'](_0x3f69a7=>this['_logService'][_0x206d48(0x21d)](_0x3f69a7));},_0xe67835));}[_0x3a95bf(0x2b4)](){const _0x1809ab=_0x3a95bf;return this['_configService']['getConfig'](_0xd6e6bc[_0x1809ab(0x3ad)])??_0xd6e6bc[_0x1809ab(0x1bf)];}[_0x3a95bf(0x483)](_0x4cd9b8){const _0x4d7349=_0x3a95bf;let _0x42f5ed=this[_0x4d7349(0x3a9)][_0x4d7349(0x26a)](_0x4cd9b8);_0x42f5ed!==void 0x0&&window[_0x4d7349(0x3d8)](_0x42f5ed);let _0x2ede63=this[_0x4d7349(0x455)][_0x4d7349(0x26a)](_0x4cd9b8);if(!_0x2ede63)return Promise['resolve']();let _0x475647=this['_activeSaveTaskMap'][_0x4d7349(0x26a)](_0x4cd9b8),_0x4fee23=Promise[_0x4d7349(0x1ed)](_0x475647?[..._0x475647]:[])[_0x4d7349(0x373)](()=>this['_localStorageService']['setItem'](_0x4cd9b8,_0x2ede63))[_0x4d7349(0x373)](()=>{const _0x15308d=_0x4d7349;_0x42f5ed!==void 0x0&&this[_0x15308d(0x3a9)][_0x15308d(0x26a)](_0x4cd9b8)===_0x42f5ed&&(this['_saveTaskMap'][_0x15308d(0x26e)](_0x4cd9b8),!this[_0x15308d(0x2ee)]&&this['_cachedData']['get'](_0x4cd9b8)!==_0x2ede63&&this[_0x15308d(0x40e)](_0x4cd9b8));});return this[_0x4d7349(0x24e)](_0x4cd9b8,_0x4fee23),_0x4fee23;}[_0x3a95bf(0x24e)](_0x1bd231,_0x55641e){const _0x3838c5=_0x3a95bf;let _0x2edbaf=this[_0x3838c5(0x393)][_0x3838c5(0x26a)](_0x1bd231);_0x2edbaf||(_0x2edbaf=new Set(),this[_0x3838c5(0x393)][_0x3838c5(0x4b9)](_0x1bd231,_0x2edbaf)),_0x2edbaf[_0x3838c5(0x299)](_0x55641e);let _0x3ba7e9=()=>{const _0xc91625=_0x3838c5;_0x2edbaf[_0xc91625(0x26e)](_0x55641e),_0x2edbaf[_0xc91625(0x267)]===0x0&&this['_activeSaveTaskMap']['delete'](_0x1bd231);};_0x55641e[_0x3838c5(0x373)](_0x3ba7e9,_0x3ba7e9);}async[_0x3a95bf(0x2e7)](){const _0x380f78=_0x3a95bf;let _0x5b5f91=[...this[_0x380f78(0x3a9)][_0x380f78(0x47e)]()][_0x380f78(0x3a2)](_0x5aa2df=>this[_0x380f78(0x483)](_0x5aa2df));for(let _0x5d590f of this['_activeSaveTaskMap'][_0x380f78(0x22c)]())_0x5b5f91['push'](...[..._0x5d590f][_0x380f78(0x3a2)](_0x15bf49=>_0x15bf49[_0x380f78(0x373)](()=>void 0x0)));await Promise[_0x380f78(0x219)](_0x5b5f91);}};_0x5ddc8b=_0x313369([_0x489cd3(0x0,_0x243ba8['IConfigService']),_0x489cd3(0x1,_0x243ba8[_0x3a95bf(0x3dc)]),_0x489cd3(0x2,(0x0,_0x243ba8['Inject'])(_0x2557fc[_0x3a95bf(0x507)])),_0x489cd3(0x3,_0x243ba8[_0x3a95bf(0x20d)]),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x232)]))],_0x5ddc8b);var _0x370175=class extends _0x243ba8['Disposable']{get[_0x3a95bf(0x334)](){const _0x76bf94=_0x3a95bf;return this[_0x76bf94(0x414)][_0x76bf94(0x2a6)]();}constructor(){const _0x16efbf=_0x3a95bf;super(),_0x538d20(this,'_online$',new _0x4089a3['BehaviorSubject'](navigator[_0x16efbf(0x26b)])),_0x538d20(this,'online$',this[_0x16efbf(0x414)][_0x16efbf(0x1cd)]()),this[_0x16efbf(0x3dd)](),this[_0x16efbf(0x31f)]();}[_0x3a95bf(0x1f0)](){const _0x3c23d5=_0x3a95bf;super[_0x3c23d5(0x1f0)](),this[_0x3c23d5(0x414)]['complete']();}[_0x3a95bf(0x31f)](){const _0x4f41fb=_0x3a95bf;this['disposeWithMe']((0x0,_0x4089a3[_0x4f41fb(0x2e8)])((0x0,_0x4089a3[_0x4f41fb(0x246)])(window,'online'),(0x0,_0x4089a3[_0x4f41fb(0x246)])(window,_0x4f41fb(0x4f9)),(0x0,_0x4089a3['fromEvent'])(document,_0x4f41fb(0x3d5))[_0x4f41fb(0x325)]((0x0,_0x4089a3[_0x4f41fb(0x3a2)])(()=>document[_0x4f41fb(0x477)]===_0x4f41fb(0x48b)),(0x0,_0x4089a3[_0x4f41fb(0x1d2)])(_0x2a2a91=>_0x2a2a91)))[_0x4f41fb(0x325)]((0x0,_0x4089a3['filter'])(()=>navigator[_0x4f41fb(0x26b)]))['subscribe'](()=>this[_0x4f41fb(0x414)][_0x4f41fb(0x1e4)](!0x0)));}['_listenToOfflineEvent'](){const _0x507ce8=_0x3a95bf;this[_0x507ce8(0x359)]((0x0,_0x4089a3[_0x507ce8(0x246)])(window,'offline')[_0x507ce8(0x425)](()=>this['_online$'][_0x507ce8(0x1e4)](!0x1)));}};let _0x5e3600=class extends _0x243ba8[_0x3a95bf(0x45d)]{constructor(_0x48430d=_0x17ec3a,_0x4b4256,_0x2c6192,_0xedc414,_0x37e7c6){const _0x57a49f=_0x3a95bf;super(),this[_0x57a49f(0x220)]=_0x48430d,this[_0x57a49f(0x4f4)]=_0x4b4256,this[_0x57a49f(0x4c9)]=_0x2c6192,this[_0x57a49f(0x45c)]=_0xedc414,this[_0x57a49f(0x40f)]=_0x37e7c6;let {..._0x27b138}=(0x0,_0x243ba8['merge'])({},_0x17ec3a,this[_0x57a49f(0x220)]);this[_0x57a49f(0x45c)]['setConfig'](_0x57a49f(0x44e),_0x27b138);}[_0x3a95bf(0x1e7)](){const _0x1d0809=_0x3a95bf;this['_registerDependencies'](),this[_0x1d0809(0x359)](this['_commandService']['registerCommand'](_0x574984)),this[_0x1d0809(0x3b0)]();}[_0x3a95bf(0x45f)](){const _0x23c38f=_0x3a95bf;this[_0x23c38f(0x1ee)]();}['_registerDependencies'](){const _0xb978ba=_0x3a95bf;var _0x3ce449;let _0x328b71=[[_0x566e73],[_0x512293[_0xb978ba(0x268)],{'useClass':_0x512293[_0xb978ba(0x21c)]}],[_0xd6e6bc[_0xb978ba(0x421)],{'useClass':_0x5ddc8b}],[_0xd6e6bc[_0xb978ba(0x34e)],{'useClass':_0x370175}],[_0x504763],[_0x5e6afd],[_0x473810],[_0x54df2a],[_0x3bd9e2]];this[_0xb978ba(0x220)][_0xb978ba(0x24b)]!==!0x1&&_0x328b71[_0xb978ba(0x50f)]([_0x46a30d],[_0x3973e6],[_0x5b4446],[_0x7cbc68],[_0x523c38],[_0x217fc6]),this['_config']['enableFrontendLog']&&_0x328b71['push']([_0x4176b4]),(0x0,_0x243ba8[_0xb978ba(0x484)])(this[_0xb978ba(0x4c9)],(0x0,_0x243ba8['mergeOverrideWithDependencies'])(_0x328b71,(_0x3ce449=this['_config'])==null?void 0x0:_0x3ce449[_0xb978ba(0x4a1)]));}[_0x3a95bf(0x1ee)](){const _0x10fed1=_0x3a95bf;this[_0x10fed1(0x220)][_0x10fed1(0x24b)]!==!0x1&&this[_0x10fed1(0x359)](this[_0x10fed1(0x4f4)][_0x10fed1(0x1fe)](_0x243ba8[_0x10fed1(0x509)]['UNIVER_DOC'],[_0x247d79])),this['disposeWithMe'](this[_0x10fed1(0x4f4)][_0x10fed1(0x1fe)](_0x243ba8[_0x10fed1(0x509)][_0x10fed1(0x295)],[_0x7fdc90]));}[_0x3a95bf(0x3b0)](){const _0x41cab1=_0x3a95bf;(0x0,_0x243ba8[_0x41cab1(0x30f)])(this[_0x41cab1(0x4c9)],[[_0x473810],[_0x54df2a],[_0x504763],[_0x5e6afd],[_0x3bd9e2]]),this[_0x41cab1(0x220)][_0x41cab1(0x24b)]!==!0x1&&(0x0,_0x243ba8[_0x41cab1(0x30f)])(this[_0x41cab1(0x4c9)],[[_0x523c38],[_0x217fc6]]),this['_config']['enableFrontendLog']&&(0x0,_0x243ba8[_0x41cab1(0x30f)])(this[_0x41cab1(0x4c9)],[[_0x4176b4]]);}};_0x538d20(_0x5e3600,_0x3a95bf(0x3fc),_0x3a95bf(0x241)),_0x538d20(_0x5e3600,_0x3a95bf(0x3be),_0x227a21),_0x538d20(_0x5e3600,_0x3a95bf(0x2a5),_0xa76bd6),_0x5e3600=_0x313369([(0x0,_0x243ba8[_0x3a95bf(0x3e9)])(_0x1b5e47[_0x3a95bf(0x34a)],_0x446a63[_0x3a95bf(0x1d3)],_0x1df5c2[_0x3a95bf(0x28f)],_0x512293[_0x3a95bf(0x1d1)],_0x2557fc[_0x3a95bf(0x212)],_0x40df28['UniverDocsUIPlugin'],_0xd6e6bc[_0x3a95bf(0x207)]),_0x489cd3(0x1,_0x1df5c2[_0x3a95bf(0x49e)]),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x3,_0x243ba8[_0x3a95bf(0x2e0)]),_0x489cd3(0x4,_0x243ba8[_0x3a95bf(0x4dd)])],_0x5e3600);let _0x22f686=class extends _0xd6e6bc[_0x3a95bf(0x285)]{constructor(_0x25fac6,_0x21ca25,_0x5d51ef,_0xe2c5e8,_0x25238c){const _0x59f740=_0x3a95bf;super(_0x25fac6,_0x21ca25,_0x5d51ef,_0xe2c5e8,_0x25238c),_0x538d20(this,_0x59f740(0x4b5),new _0x4089a3[(_0x59f740(0x3db))]()),this[_0x59f740(0x359)](()=>{const _0x265225=_0x59f740;this[_0x265225(0x4b5)][_0x265225(0x1e4)](),this['_dispose$']['complete']();});}async['createSocket'](_0x111178){const _0x50b2b8=_0x3a95bf;let _0x10a85a=await this[_0x50b2b8(0x319)](),_0x584043=this[_0x50b2b8(0x308)](_0x111178,_0x10a85a);return this[_0x50b2b8(0x46e)](_0x584043);}[_0x3a95bf(0x308)](_0x448e8f,_0x12767d){const _0x20c427=_0x3a95bf;let _0x1909ac=typeof window>'u'?new URL(_0x448e8f):new URL(_0x448e8f,window[_0x20c427(0x2f9)][_0x20c427(0x2fa)]);_0x1909ac[_0x20c427(0x2e1)]['set'](_0x20c427(0x24f),_0x12767d);let _0x58b876=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x20c427(0x2f9)][_0x20c427(0x3c1)]);return _0x58b876[_0x20c427(0x26a)](_0x20c427(0x35f))&&_0x1909ac[_0x20c427(0x2e1)][_0x20c427(0x4b9)](_0x20c427(0x35f),_0x58b876[_0x20c427(0x26a)](_0x20c427(0x35f))),_0x1909ac[_0x20c427(0x1c5)]();}async['_getSessionTicket'](){const _0xdc1146=_0x3a95bf;var _0x2898f0;let _0x1e977b=this[_0xdc1146(0x45c)]['getConfig'](_0xd6e6bc[_0xdc1146(0x33c)]),_0x1e0e0a=(_0x1e977b==null?void 0x0:_0x1e977b['wsSessionTicketUrl'])??_0xd6e6bc['DEFAULT_WS_SESSION_TICKET_URL'];return((_0x2898f0=(await(0x0,_0x4089a3['firstValueFrom'])(this['_httpService'][_0xdc1146(0x302)](_0xdc1146(0x1db),_0x1e0e0a,{'headers':{'Content-Type':_0xdc1146(0x362)}})[_0xdc1146(0x325)]((0x0,_0x4089a3['filter'])(_0x47cd42=>_0x47cd42[_0xdc1146(0x30d)]===_0x512293['HTTPEventType'][_0xdc1146(0x4c4)]),(0x0,_0x4089a3[_0xdc1146(0x205)])(0x4e20),(0x0,_0x4089a3['takeUntil'])(this[_0xdc1146(0x4b5)]))))['body'])==null?void 0x0:_0x2898f0[_0xdc1146(0x23c)])??'';}};_0x22f686=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x512293[_0x3a95bf(0x25b)])),_0x489cd3(0x2,_0x243ba8[_0x3a95bf(0x2e0)]),_0x489cd3(0x3,_0x243ba8[_0x3a95bf(0x20d)]),_0x489cd3(0x4,_0x2557fc['ISnapshotServerService'])],_0x22f686);let _0x56acbf=class extends _0x243ba8['Disposable']{constructor(_0x3085ca,_0x63ea1e,_0x1a9f98){const _0x1acab3=_0x3a95bf;super(),this[_0x1acab3(0x1be)]=_0x3085ca,this[_0x1acab3(0x25c)]=_0x63ea1e,this[_0x1acab3(0x45c)]=_0x1a9f98;}async['runOnServer'](_0x4e7492,_0xeac133,_0xcac384,..._0x54ada1){const _0x8c07c7=_0x3a95bf;let _0x16354b=this[_0x8c07c7(0x1be)][_0x8c07c7(0x384)]();if(!_0x16354b)throw Error(_0x8c07c7(0x23d));let _0x133cc6=(this[_0x8c07c7(0x45c)]['getConfig'](_0xd6e6bc[_0x8c07c7(0x34d)])??_0xd6e6bc['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4e7492+'/run/'+_0xeac133,_0x28c933={'scriptId':_0x4e7492,'runId':new URL(window[_0x8c07c7(0x2f9)]['href'])[_0x8c07c7(0x2e1)][_0x8c07c7(0x26a)]('runId')??'','function':_0xeac133,'unitId':_0x16354b[_0x8c07c7(0x4cd)](),'argsOfFunction':JSON[_0x8c07c7(0x215)](_0x54ada1),'invokeId':_0xcac384[_0x8c07c7(0x1e0)]??'','executionId':_0xcac384[_0x8c07c7(0x27d)]??''};try{let _0x31b816=await this[_0x8c07c7(0x25c)][_0x8c07c7(0x394)](_0x133cc6,{'body':_0x28c933});return _0x31b816[_0x8c07c7(0x415)][_0x8c07c7(0x21d)]&&_0x31b816[_0x8c07c7(0x415)][_0x8c07c7(0x21d)][_0x8c07c7(0x310)]!==_0x43cd06['ErrorCode']['OK']?_0x8c07c7(0x2e2):_0x31b816[_0x8c07c7(0x415)][_0x8c07c7(0x4ef)];}catch{return _0x8c07c7(0x2e2);}}};_0x56acbf=_0x313369([_0x489cd3(0x0,_0x243ba8[_0x3a95bf(0x4ba)]),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x512293[_0x3a95bf(0x25b)])),_0x489cd3(0x2,_0x243ba8[_0x3a95bf(0x2e0)])],_0x56acbf);let _0x564508=0x7530,_0x5b4a02=_0x3a95bf(0x1e3);var _0xbb94ec=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(){const _0x49bd62=_0x3a95bf;super(),_0x538d20(this,_0x49bd62(0x342),(0x0,_0x243ba8['generateRandomId'])()),_0x538d20(this,_0x49bd62(0x3e0),new Set()),_0x538d20(this,_0x49bd62(0x402),new Map()),_0x538d20(this,_0x49bd62(0x324),null),_0x538d20(this,'_clearOtherTimers',new Map()),_0x538d20(this,_0x49bd62(0x3d3),new Map()),this['_init']();}[_0x3a95bf(0x1f0)](){const _0x3130db=_0x3a95bf;super[_0x3130db(0x1f0)](),this[_0x3130db(0x32b)]['forEach']((_0xe5e3c,_0x403f9b)=>this[_0x3130db(0x1d7)](_0x403f9b)),this[_0x3130db(0x324)]&&window[_0x3130db(0x4fa)](this[_0x3130db(0x324)]);}['getUnitStatus$'](_0x222e49){const _0x252651=_0x3a95bf;return this[_0x252651(0x4cf)](_0x222e49)[_0x252651(0x325)]((0x0,_0x4089a3[_0x252651(0x492)])());}[_0x3a95bf(0x369)](_0x70f7ef){const _0x2bb846=_0x3a95bf;this[_0x2bb846(0x3e0)][_0x2bb846(0x267)]===0x0&&this['_scheduleHeartbeat'](),this[_0x2bb846(0x3e0)][_0x2bb846(0x299)](_0x70f7ef),this[_0x2bb846(0x206)]({'type':0x0,'memberID':this[_0x2bb846(0x342)],'unitIDs':[_0x70f7ef],'isForwarded':!0x1});}[_0x3a95bf(0x2d7)](_0x4d4aef){const _0x1005b9=_0x3a95bf;this[_0x1005b9(0x3e0)]['delete'](_0x4d4aef),this[_0x1005b9(0x3e0)][_0x1005b9(0x267)]===0x0&&this[_0x1005b9(0x324)]&&window[_0x1005b9(0x4fa)](this['_heartbeatTimer']);}[_0x3a95bf(0x2bf)](){const _0x20a38c=_0x3a95bf;this['disposeWithMe']((0x0,_0x243ba8[_0x20a38c(0x31b)])((0x0,_0x4089a3[_0x20a38c(0x246)])(window,_0x20a38c(0x1d5))[_0x20a38c(0x425)](_0x1f9dbe=>{const _0x16d3ef=_0x20a38c;if(_0x1f9dbe[_0x16d3ef(0x453)]!==_0x5b4a02||!_0x1f9dbe['newValue'])return;let _0x95fbf2=JSON[_0x16d3ef(0x4ff)](_0x1f9dbe[_0x16d3ef(0x1ea)]);this[_0x16d3ef(0x21e)](_0x95fbf2);}))),window[_0x20a38c(0x329)](_0x20a38c(0x230),()=>this[_0x20a38c(0x206)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x20a38c(0x292)](this[_0x20a38c(0x3e0)])}));}[_0x3a95bf(0x21e)](_0x27a193){const _0x51febb=_0x3a95bf;switch(_0x27a193['type']){case 0x0:this[_0x51febb(0x242)](_0x27a193);break;case 0x1:this[_0x51febb(0x1c9)](_0x27a193);break;case 0x2:this['_handleHeartbeatEvent'](_0x27a193);}}['_handleJoinEvent'](_0x442c21){const _0x24f8b9=_0x3a95bf;let {unitIDs:_0x222955,memberID:_0x1239a2,isForwarded:_0x10ea3f}=_0x442c21;_0x222955[_0x24f8b9(0x437)](_0x1fa644=>{const _0x7423a7=_0x24f8b9;if(!_0x10ea3f&&this[_0x7423a7(0x402)]['has'](_0x1fa644)&&this[_0x7423a7(0x4cf)](_0x1fa644)[_0x7423a7(0x1e4)](_0xd6e6bc[_0x7423a7(0x35a)][_0x7423a7(0x4d1)]),!this[_0x7423a7(0x402)]['has'](_0x1fa644)||!this['_unitOnClients'][_0x7423a7(0x26a)](_0x1fa644)[_0x7423a7(0x502)](_0x1239a2)){let _0x1b349d=this[_0x7423a7(0x402)][_0x7423a7(0x26a)](_0x1fa644)||new Set();_0x1b349d[_0x7423a7(0x299)](_0x1239a2),this['_unitOnClients'][_0x7423a7(0x4b9)](_0x1fa644,_0x1b349d),this[_0x7423a7(0x41d)](_0x1239a2);}}),_0x10ea3f||this['_send']({'type':0x0,'memberID':this[_0x24f8b9(0x342)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3a95bf(0x41d)](_0x3697a6){const _0x2d4cd5=_0x3a95bf;this[_0x2d4cd5(0x1d7)](_0x3697a6);let _0x60031=window[_0x2d4cd5(0x35e)](()=>{const _0x2f6407=_0x2d4cd5;this[_0x2f6407(0x402)]['forEach'](_0xfb9730=>{const _0x2a5bcd=_0x2f6407;_0xfb9730[_0x2a5bcd(0x26e)](_0x3697a6);});},_0x564508*0x2);this[_0x2d4cd5(0x32b)]['set'](_0x3697a6,_0x60031);}[_0x3a95bf(0x1d7)](_0x571e52){const _0x5623bc=_0x3a95bf;if(this[_0x5623bc(0x32b)][_0x5623bc(0x502)](_0x571e52)){let _0x349423=this['_clearOtherTimers'][_0x5623bc(0x26a)](_0x571e52);_0x349423&&window['clearTimeout'](_0x349423),this[_0x5623bc(0x32b)]['set'](_0x571e52,null);}}[_0x3a95bf(0x1c9)](_0x290719){const _0x564cc7=_0x3a95bf;let {memberID:_0x4ec65d,unitIDs:_0xedd814}=_0x290719;_0xedd814[_0x564cc7(0x437)](_0x16181e=>{const _0x31ecae=_0x564cc7;var _0x48f231;let _0x27e247=this[_0x31ecae(0x402)][_0x31ecae(0x26a)](_0x16181e);_0x27e247&&(_0x27e247['delete'](_0x4ec65d),(_0x48f231=this['_ensureSubject'](_0x16181e))==null||_0x48f231[_0x31ecae(0x1e4)](_0x27e247[_0x31ecae(0x267)]===0x0?_0xd6e6bc[_0x31ecae(0x35a)][_0x31ecae(0x48e)]:_0xd6e6bc['UnitStatus'][_0x31ecae(0x4d1)]));}),this[_0x564cc7(0x1d7)](_0x4ec65d);}[_0x3a95bf(0x1de)](_0x366b35){const _0xc2e719=_0x3a95bf;this[_0xc2e719(0x41d)](_0x366b35[_0xc2e719(0x4e8)]);}['_send'](_0x15f80c){const _0xb1c6c3=_0x3a95bf;localStorage[_0xb1c6c3(0x3fb)](_0x5b4a02,JSON[_0xb1c6c3(0x215)](_0x15f80c));}['_scheduleHeartbeat'](){const _0x8e741f=_0x3a95bf;this[_0x8e741f(0x324)]=window['setInterval'](()=>{const _0x31eadc=_0x8e741f;this['_send']({'type':0x2,'memberID':this[_0x31eadc(0x342)]});},_0x564508);}[_0x3a95bf(0x4cf)](_0x1c21e7){const _0x3a164a=_0x3a95bf;return this[_0x3a164a(0x3d3)][_0x3a164a(0x502)](_0x1c21e7)||this[_0x3a164a(0x3d3)][_0x3a164a(0x4b9)](_0x1c21e7,new _0x4089a3[(_0x3a164a(0x43f))](_0xd6e6bc[_0x3a164a(0x35a)][_0x3a164a(0x48e)])),this[_0x3a164a(0x3d3)][_0x3a164a(0x26a)](_0x1c21e7);}};Object[_0x3a95bf(0x2b2)](_0x47af61,_0x3a95bf(0x245),{'enumerable':!0x0,'get':function(){return _0x22f686;}}),Object[_0x3a95bf(0x2b2)](_0x47af61,_0x3a95bf(0x2dd),{'enumerable':!0x0,'get':function(){return _0x504763;}}),Object[_0x3a95bf(0x2b2)](_0x47af61,_0x3a95bf(0x3f7),{'enumerable':!0x0,'get':function(){return _0x56acbf;}}),_0x47af61['SheetCollabCursorShape']=_0x13957a,Object[_0x3a95bf(0x2b2)](_0x47af61,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x5e3600;}}),_0x47af61['WebBrowserSingleActiveUnitService']=_0xbb94ec;}));function _0x580b(){const _0x4a21bb=['attrs','UniverSheets','_collabCursorController','_docSkeleton','isTransformMutationFailure','collab-rect-range-','map','_range','params','deserializeRangeWithSheet','_getUserId','SetDocZoomRatioOperation','IUIPartsService','_saveTaskMap','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','options','_showText','LOCAL_CACHE_INTERVAL_KEY','collaboration-client-ui.session.connection-failed','DocSelectionManagerService','_initDependencies','RxDisposable','unsubscribe','OPERATION','target','UniverDesign','reconnect','getColor','CollaborationStatus','SetTextSelectionsOperation','_labelHorizontalPosition','_onCursorDelete','RegularPolygon','getCoordRelativeToViewport','packageName','_initStatusComponent','m1Prime','search','triggerDblclick','_collabCursorState$','observe','_backgroundColor','clipPath',',\x200.2)','timeoutId','transformStateCache','Tools','canRenderAnchor','@univerjs/sheets','replaceSelectionInfoWithoutRefresh','state$','userID','_replaceConflictNotification','toISOString','getCurrentRevOfUnit','_unitStatus','exports','visibilitychange','OFFLINE','canRenderSelection','clearTimeout','SnapshotLoadingService','_drawAnchor','Subject','ILocalStorageService','_listenToOfflineEvent','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','max','_selfUnitIDs','use','AWAITING_WITH_PENDING','1em','LocaleService','with','_themeService','_memberID','getScrollXYInfoByViewport','DependentOn','ITransformService','clearRemotePresences','defs','loadedBlocks','show','range','highlightSecond','collab-text-anchor-','_cursor','_docStateChangeManagerService','stack','_pendingEntities','_clearTimeoutState','RemoteUniscriptService','default','getTypeOfUnitAdded$','addObject','setItem','pluginName','tableId','@univerjs/engine-formula','UniverEngineRender','columnIndex','stroke','_unitOnClients','_toggleOnline','roomMembers','static','_transformUndoRedoStack','_presenceAdapterRegistry','colno','getRangePointData','@univerjs/protocol','width','CollaborationSessionService','disconnect','_scheduleSaving','_commandService','_stopBlinking','_initEvent','_shapes','measureText','_online$','body','tag','alert','/universer-api/frontend/logs','_pointerMoveDisposable','_initUnhandledRejectionListener','saveOfflineData','MessageType','_scheduleClearOtherTimer','getItem','_localCacheService','React','ILocalCacheService','deepClone','clearOfflineData','clear','subscribe','slice','AWAITING','SOCKET_FAILED','_render','handleInsertRow','CollaborationUIEventId','prepareTransformSelections','collab-text-range-','isEditing','shareInterval','parseInt','getCurrentTypeOfUnit$','reason','on-line-icon_clip0_910_349','TEXT','_hovered','getCurrentSkeleton','forEach','_uploadLog','state','_anchor','span','setRemotePresence','undoState','red.300','BehaviorSubject','_colorAssignService','[Unhandled\x20Rejection]:\x20','CollaborationController','rgba','\x20at\x20','pulse','_startBlinking','non-scaling-stroke','_docSelectionManagerService','collaboration-client-ui.conflict.content','DOC_RANGE_TYPE','_showAwaitingNotice','@univerjs/sheets-ui','amd','collaboration-client-ui.config','handleIRemoveCol','UniverProLicense','_beforeCloseService','_disabled','key','statusUIPart','_cachedData','collaboration-client-ui.license.domain-rejected','@univerjs/ui','collaboration-client-ui.conflict.retry','removeRemotePresence','getLocalPresence','_monkeyPatchLogService','_configService','Plugin','_entityInit$','onRendered','_updateCollabCursors','reload','getMember','activate','spin','_roomMembers$','fillRule','_getScale','getCoordByCell','GLOBAL','0\x200\x2017\x2016','getSheetBySheetId','setActiveRange','textRanges','_doCreateSocket','M0\x200H16V16H0z','license_editing_connections_exceeded','@univerjs/docs','3422914pwJiCl','_onRefRangeChange','doc.mutation.rich-text-editing','rgba(','FETCH_MISS','visibilityState','getLocalCacheKey','collabCursorState$','_offsetY','right','drawWith','MoveRangeCommandId','keys','_startEntity','createInstance','_transformService','getOffsetConfig','_saveCache','registerDependencies','useCallback','pageIndex','SOCKET_FAILED_RETRY','eventID','isTransformMutationsWithChangesetSuccess','transform','visible','useDependency','snapshot-loading-','NO_OTHER_CLIENTS_EDITING','isActive','_editingConnectionsExceededNotices','getAllUnitsForType','distinctUntilChanged','removeItem','defIds','restore','setAlpha','redoState','off-line-icon_clip0_910_343','_assignedColors','@univerjs-pro/collaboration-client','addClipboardHook',':backup:','save','IRenderManagerService','HEADER_MENU','SessionStatus','override','_transformPreviousActiveRange','saveTaskMap','jsx','_localStorageService','useImperativeHandle','[LogService\x20Error]:\x20','useId','createElement','number','_clearBlockProgressWatch','DocStateChangeManagerService','_sheetSkeletonManagerService','RefRangeService','_onCursorUpdate','prototype','string','@univerjs-pro/license','CollaborationEvent','_eventUnsubscribe','_dispose$','LICENSE_DOMAIN_REJECTED','update','FromArray','set','IUniverInstanceService','_userManagerService','collaboration-client-ui.collabStatus.offline','InsertRangeMoveDownCommandId','collaboration-client-ui.remoteRevert.title','operators','collaboration-client-ui.collabStatus.synced','loadOfflineData','off-line-icon','getCollabEntities','Response','arc','ThemeService','_initPresenceStatusComponents','@univerjs/design','_injector','replace','_watchBlockProgress','_snapshotLoadingService','getUnitId','status$','_ensureSubject','NodePositionConvertToCursor','OTHER_CLIENTS_EDITING','_labelPosition','getCellIndexByOffset','_entities','MemberService','_docSkeletonManagerService','requireSession','onTransformChange$','_blockProgressWatches','startColumn','min','data','ICommandService','onCommandExecuted','white','#FFF','_collaborationSessionService','subUnitId','@univerjs/core','addHandlerCallback','Tooltip','VIEW_MAIN','_docTransformStateCacheService','memberID','_initUserListener','toStringTag','focusedId','evenodd','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_uiPartsService','result','onPointerLeave$','currentColor','throttleTime','fillStyle','_renderManagerService','startsWith','_registerPresenceStatusComponent','univer-h-8\x20univer-w-8\x20univer-rounded-lg','message','focus','clearInterval','getDocRanges','transformIMECache','colorChannel1','_online','parse','endColumn','collaboration-client-ui.collaboration.closeRoom','has','_initialized','rxjs','hide','hasAttribute','RevisionService','@univerjs/network','UniverInstanceType','hovered','univer-text-gray-400','getActiveRange','_getLighterColor','decorate','push','length','getUndoRedoMutationParamsCache','_messageIds','_normalizeUserId','CLOSE_ROOM','IImageIoService','DocumentSkeletonPageType','getColorFromTheme','BuiltInUIPart','_initWindowErrorListener','isReleased','strokeWidth','baseVal','Warning','loading-multi-icon','OTHER_CLIENT_EDITING','getPropertyValue','selection','_blinkTimer','30IZcnMq','collaboration-client-ui.collaboration.single-unit.warning','940GakUHf','_instanceService','LOCAL_CACHE_INTERVAL','USERS_LEAVE','subscribeEvent','_session','OnLineIcon','...','toString','NodePositionConvertToRectRange','_initCommandExecutedListener','complete','_handleLeaveEvent','DeleteRangeMoveUpCommandId','useLayoutEffect','IDocClipboardService','asObservable','makeDirty','_drawRectRange','IMessageService','UniverNetworkPlugin','filter','UniverDocsPlugin','div','storage','registerBeforeClose','_removeClearOtherTimer','_disposeEntity','changesetResend$','rgba(255,\x20255,\x20255,\x200.01)','GET','Loading','HEADER','_handleHeartbeatEvent','_retryingConflictCacheUnitIDs','invokeId','SetSelectionsOperation','stroke-width','ACTIVE_UNIT_EVENT_CHANNEL','next','_startDocCollabCursor','bind','onStarting','react','_collaborationUIEventService','newValue','url(#off-line-icon_clip0_910_343)','setShapeProps','allSettled','_registerRenderDependencies','_conflictNotification','dispose','_adapterRegistry','collaboration-client-ui.snapshotLoading.refresh','translate(.97)','clickable','element','current','InsertRangeMoveRightCommandId','_highlight','getCurrentSelections','idSuffix','transformMutation','true','0\x200\x2016\x2016','registerRenderModule','@univerjs-pro/collaboration','bold\x2013px\x20Arial,\x20sans-serif','purple.300','useObservable','_context','children','timeout','_send','UniverCollaborationClientPlugin','init','text','collaboration-client-ui.snapshotLoading.timeout','timedOut','_scene','ILogService','switchMap','i18nKey','_setupBeforeClosingHandler','executeCommand','UniverCollaborationPlugin','SheetSkeletonManagerService','unshift','stringify','addObjects','collaboration-client-ui.conflict.processing','_toggleOffline','all','top','collaboration-client-ui.session.collaboration-timeout','WebSocketService','error','_handleEvent','LoadingMultiIcon','_config','univer-inline-flex\x20univer-items-center\x20univer-justify-center','color','_sendLocalPresence','_colorIndex','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','9Lbjqwx','getAncestorScale','_onConflict','handleDeleteRangeMoveUp','UniverDocs','updateOfflineData','values','JOIN_ROOM_FAILED','RECT','494285UzwsWU','unload','unit','UserManagerService','xlink:href','debounce','currentSkeleton$','SheetsSelectionsService','currentTheme$','value','_getAnchorBounding','url(#$1','IBeforeCloseService','ticket','[RemoteUniscriptService]:\x20no\x20focused\x20unit','@univerjs/engine-render','stage','_name','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_handleJoinEvent','_localeService','_removeRemotePresence','BrowserCollaborationSocketService','fromEvent','Enter','handleInsertRangeMoveDown','ONLINE','univer-border-none\x20univer-bg-transparent','enableDocumentCollaborationUI','green.600','univer-transition-all\x20univer-duration-200','_trackActiveSaveTask','sessionTicket','_updateLocalCursor','_initResize','_revisionService','segmentPage','_timeoutState$','closePath','getConfig','style','indicator','unitID','roomMembers$','HTTPService','_httpService','univer-text-green-500','cacheCleared','_status$','strokeOpacity','collaboration-client-ui.collaboration.offline-data-not-saved','disableLocalCache','runRefRangeMutations','m2Prime','colorClass','priority','size','ISocketService','RemoveRowCommandId','get','onLine','rgb','_docTransformSelectionsService','delete','_anchorDot','_hover','_showConflictProcessingNotification','_color','syncEditingCollabCursor','small','_bindAdapter','warning-icon','preventDefault','DisposableCollection','isArray','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','RemoveColCommandId','backupOfflineData','executionId','on-line-icon','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_drawTextRange','url(#on-line-icon_clip0_910_349)','COLORS','trim','Inject','CollaborationSocketService','_saveTimedOutNotices','_logService','localPresence$','EffectRefRangId','univer-m-0\x20univer-p-0','SnapshotLoadStage','739604ckhSBS','_lastPointer','entityInit$','UniverRenderEnginePlugin','1.3.0','backgroundColor','from','_getMergeRange','_docTransformIMECacheService','UNIVER_SHEET','collaboration-client-ui.license.title','memberId','constructor','add','columnGroupId','_textBubble','remove','_refreshCollabCursors','combineLatest','sheetID','_collaborationController','unitId','status','join','95194YBduuv','version','getValue','sheetId','black','mutations','debounceTime','_refRangeService','\x20-\x20','font','FOOTER','_reloadPage','_initStatusListener','bottom','defineProperty','sessionStatus$','_getSaveTimeout','function','adapters$','unitType','kind','getCurrentUnitOfType','now','saveImage','isFinite','_syncEditingCollabCursorService','_presenceStatusRegistrations','_init','includes','assignAColorForMemberID','LOADING_BLOCKS','RichTextEditingMutation','toRgbString','timeoutState$','left','button','0.2)','_handleCursorUpdate','conflict$','finally','parseFloat','getUnit','unhandledrejection','536280gGwIGh','_notificationService','selectedIds','ERROR','9812474mgPYVG','flatMap','labelHorizontalPosition','snapshot-loading-timeout','disposeUnit','collaboration-client-ui.license.editing-connections-exceeded','pageType','UniverIcon','warning','lineTo','DesktopCollaborationStatusDisplayController','send','getCollabCursors$','IConfigService','searchParams','Failed','http://www.w3.org/2000/svg','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','originalStrokeWidth','ranges','exhaustSavingTask','merge','Button','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','univer-text-orange-500','mask','cursorInfo','_disposed','path','TEXT_RANGE_LAYER_INDEX','Unknown\x20user','object','_isBlinkVisible','content','totalBlocks','_initAwaitingNotices','dispose$','InsertRowCommandId','location','origin','UNIVER_DOC','collaboration-client-ui.collabStatus.fetchMiss','_transformHistoryAndStateStack','displayName','UniverCore','none','getPropertyPriority','stream','react/jsx-runtime','column','transformRemoteChangeset','labelPosition','onPointerEnter$','_createSocketURL','_adapter','showText','userId','getMemberID','type','setProperty','touchDependencies','code','polite','SHEET_VIEWPORT_KEY','_highlightSecond','moveTo','pointer','removeAttribute','clsx','collaboration-client-ui.collabClient.tooltip.reconnect','_getSessionTicket','fillText','toDisposable','UniverNetwork','row','_univerInstanceService','_listenToOnlineEvent','connectInjector','entries','transformByState','WarningIcon','_heartbeatTimer','pipe','UniverProCollaborationClient','IUnitPresenceUIAdapterRegistry','tooltipKey','addEventListener','iterator','_clearOtherTimers','registerComponent','some','collaboration-client-ui.conflict.clearFailed','generateRandomId','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','NOT_COLLAB','_imageIoService','handleInsertRangeMoveRight','online','name','Disposable','getCurrentUser','fill','getActiveSheet','presenceKind','symbol','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','univerjs-icon\x20univerjs-icon-','getCollabEntity$','_isDisposed','_getSheetObject','round','_id','Shape','getSkeleton','_updateMessage','_messageService','socket$','_syncPresenceStatusComponents','_disposeEntitiesForType','UniverLicensePlugin','split','Error','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','INetworkConditionService','_blinkIntervalTimer','height','takeUntil','setStateCache','assign','appliedStrokeWidth','icon','CommandType','_cursors','setOffsetY','disposeWithMe','UnitStatus','_cursorInfo$','_showConflictCacheClearFailedNotification','5317064NtoXrA','setTimeout','runId','_cursorShapes','startRow','application/json','findNodePositionByCharIndex','getTypeOfUnitDisposed$','_docClipboardService','transformMutationsWithChangeset','[Window\x20Error]:\x20','UPDATE_CURSOR','editingUnit','!univer-grid\x20univer-grid-cols-[16px_minmax(0,1fr)]\x20univer-items-start\x20univer-gap-x-1.5\x20univer-gap-y-2','_hideTimer','useRef','forwardRef','jsxs','cursorInfo$','fromEventSubject','timer','univer-text-blue-500','then','toFixed','getStateCache','_retryConflictCacheClear','INotificationService','DocIMEInputManagerService','endRow','DeleteRangeMoveLeftCommandId','catch','collaboration-client-ui.collabStatus.conflict','_docSyncEditingCollabCursorService','6IMxuiO','jiqing.500','Injector','_removeAwaitingNotices','_memberService','handleIRemoveRow','getFocusedUnit','getDocumentSkeletonColumnPagePathInfo','collaboration-client-ui.collabStatus.syncing','_adapterDisposables','event$','_handleHover','Vector2','getRenderUnitById','collaboration-client-ui.remoteRevert.content','endOffset','ColorKit','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','highlight','hadStyleAttribute','loading','_activeSaveTaskMap','post','isInternalEditorID','_removeCollabCursors','_collabSessionService','collaboration-client-ui.conflict.title','#0B9EFB','querySelectorAll','svg'];_0x580b=function(){return _0x4a21bb;};return _0x580b();}
1
+ function _0x5e16(_0x18b138,_0x1f72fc){_0x18b138=_0x18b138-0x100;const _0x468c40=_0x468c();let _0x5e16ed=_0x468c40[_0x18b138];return _0x5e16ed;}(function(_0x3c4540,_0x19c988){const _0x361561=_0x5e16,_0xbb85e6=_0x3c4540();while(!![]){try{const _0x42c8b1=-parseInt(_0x361561(0x19f))/0x1+-parseInt(_0x361561(0x15a))/0x2+parseInt(_0x361561(0x10e))/0x3+-parseInt(_0x361561(0x29b))/0x4+parseInt(_0x361561(0x196))/0x5*(-parseInt(_0x361561(0x390))/0x6)+-parseInt(_0x361561(0x3bf))/0x7+-parseInt(_0x361561(0x41a))/0x8*(-parseInt(_0x361561(0x46a))/0x9);if(_0x42c8b1===_0x19c988)break;else _0xbb85e6['push'](_0xbb85e6['shift']());}catch(_0x52e4c3){_0xbb85e6['push'](_0xbb85e6['shift']());}}}(_0x468c,0x78059),function(_0x4b0f5c,_0x13f156){const _0x317679=_0x5e16;typeof exports==_0x317679(0x12b)&&typeof module<'u'?_0x13f156(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==_0x317679(0x2ab)&&define[_0x317679(0x27e)]?define([_0x317679(0x1c9),_0x317679(0x25b),_0x317679(0x13c),_0x317679(0x3f4),_0x317679(0x3e6),'rxjs/operators',_0x317679(0x3e7),_0x317679(0x3cd),_0x317679(0x22f),_0x317679(0x405),_0x317679(0x29d),_0x317679(0x456),_0x317679(0x33e),_0x317679(0x14c),'@univerjs/network',_0x317679(0x26e),_0x317679(0x2e7),_0x317679(0x301),_0x317679(0x3d0)],_0x13f156):(_0x4b0f5c=typeof globalThis<'u'?globalThis:_0x4b0f5c||self,_0x13f156(_0x4b0f5c[_0x317679(0x43d)]={},_0x4b0f5c['UniverProCollaborationClient'],_0x4b0f5c[_0x317679(0x2e0)],_0x4b0f5c[_0x317679(0x434)],_0x4b0f5c[_0x317679(0x3e6)],_0x4b0f5c[_0x317679(0x3e6)][_0x317679(0x3e3)],_0x4b0f5c[_0x317679(0x148)],_0x4b0f5c[_0x317679(0x1d5)],_0x4b0f5c['React'],_0x4b0f5c[_0x317679(0x3b4)],_0x4b0f5c[_0x317679(0x249)],_0x4b0f5c['UniverDocs'],_0x4b0f5c['UniverDocsUi'],_0x4b0f5c['UniverEngineRender'],_0x4b0f5c[_0x317679(0x453)],_0x4b0f5c[_0x317679(0x322)],_0x4b0f5c['UniverSheets'],_0x4b0f5c['UniverSheetsUi'],_0x4b0f5c[_0x317679(0x2ce)]));}(this,function(_0x57079e,_0x2c8280,_0x9007c9,_0x237270,_0x4ddf34,_0x9cef3d,_0x3f0ccc,_0x26f351,_0x5844d5,_0xd933b,_0x3320df,_0x43c971,_0x179eb9,_0x2a864e,_0x547f33,_0x4e227a,_0x1ae39c,_0x3886b2,_0x1ba6fd){const _0x364513=_0x5e16;Object[_0x364513(0x29c)](_0x57079e,Symbol[_0x364513(0x38b)],{'value':_0x364513(0x153)});function _0x57814b({ref:_0x408381,..._0x462770}){const _0x50b4d4=_0x364513;let {preserveStrokeWidth:_0x11c9da,icon:_0x5c3a3b,id:_0x18b1fc,className:_0x433a01,extend:_0x49f1c5,..._0x1de20c}=_0x462770,_0x480f59=(_0x50b4d4(0x133)+_0x18b1fc+'\x20'+(_0x433a01||''))[_0x50b4d4(0x42c)](),_0x91e861='_'+(0x0,_0x26f351[_0x50b4d4(0x351)])(),_0x2eb059=(0x0,_0x26f351[_0x50b4d4(0x116)])(null);return(0x0,_0x26f351[_0x50b4d4(0x1d1)])(_0x408381,()=>_0x2eb059[_0x50b4d4(0x26c)]),(0x0,_0x26f351[_0x50b4d4(0x2e9)])(()=>{const _0x57305a=_0x50b4d4;if(_0x11c9da&&_0x2eb059[_0x57305a(0x26c)]&&_0x2eb059['current'][_0x57305a(0x15f)]===_0x5c3a3b[_0x57305a(0x187)])return _0x5214df(_0x2eb059['current']);},[_0x11c9da,_0x5c3a3b]),_0x1e19a9(_0x5c3a3b,''+_0x18b1fc,{'defIds':_0x5c3a3b['defIds'],'idSuffix':_0x91e861},{'ref':_0x2eb059,'className':_0x480f59,..._0x1de20c},_0x49f1c5);}function _0x1e19a9(_0x458310,_0x4bec74,_0x407df1,_0xff5fc7,_0x37c5a0){const _0x181201=_0x364513;return(0x0,_0x26f351['createElement'])(_0x458310[_0x181201(0x187)],{'key':_0x4bec74,..._0x4e1f04(_0x458310,_0x407df1,_0x37c5a0),..._0xff5fc7},(_0x1c0586(_0x458310,_0x407df1)['children']||[])[_0x181201(0x1c3)]((_0x42b872,_0x1f4b5f)=>_0x1e19a9(_0x42b872,_0x4bec74+'-'+_0x458310[_0x181201(0x187)]+'-'+_0x1f4b5f,_0x407df1,void 0x0,_0x37c5a0)));}function _0x4e1f04(_0x2a5c3a,_0x20a9f1,_0x4c5bf6){const _0x4031b4=_0x364513;let _0x54d1fc={..._0x2a5c3a[_0x4031b4(0x3c5)]};_0x4c5bf6!=null&&_0x4c5bf6[_0x4031b4(0x117)]&&_0x54d1fc[_0x4031b4(0x10c)]===_0x4031b4(0x117)&&(_0x54d1fc[_0x4031b4(0x10c)]=_0x4c5bf6['colorChannel1']),_0x4c5bf6!=null&&_0x4c5bf6['colorChannel1']&&_0x54d1fc[_0x4031b4(0x38e)]==='colorChannel1'&&(_0x54d1fc[_0x4031b4(0x38e)]=_0x4c5bf6['colorChannel1']),_0x2a5c3a[_0x4031b4(0x187)]==='mask'&&_0x54d1fc['id']&&(_0x54d1fc['id']+=_0x20a9f1['idSuffix']),Object[_0x4031b4(0x3bd)](_0x54d1fc)[_0x4031b4(0x3e8)](([_0x91edd7,_0x328242])=>{const _0x4dcf27=_0x4031b4;_0x91edd7===_0x4dcf27(0x42b)&&typeof _0x328242=='string'&&(_0x54d1fc[_0x91edd7]=_0x328242[_0x4dcf27(0x1b3)](/url\(#(.*)\)/,_0x4dcf27(0x28f)+_0x20a9f1['idSuffix']+')'));});let {defIds:_0x46322e}=_0x20a9f1;return!_0x46322e||_0x46322e['length']===0x0||(_0x2a5c3a[_0x4031b4(0x187)]===_0x4031b4(0x2b1)&&_0x54d1fc[_0x4031b4(0x3fd)]&&(_0x54d1fc['xlink:href']+=_0x20a9f1[_0x4031b4(0x21c)]),Object[_0x4031b4(0x3bd)](_0x54d1fc)[_0x4031b4(0x3e8)](([_0x105869,_0x3bf5ac])=>{const _0xfe8bc6=_0x4031b4;typeof _0x3bf5ac==_0xfe8bc6(0x386)&&(_0x54d1fc[_0x105869]=_0x3bf5ac[_0xfe8bc6(0x1b3)](/url\(#(.*)\)/,_0xfe8bc6(0x28f)+_0x20a9f1[_0xfe8bc6(0x21c)]+')'));})),_0x54d1fc;}function _0x1c0586(_0x49880d,_0x184438){const _0x1cb22d=_0x364513;var _0x2e4186;let {defIds:_0x52bf39}=_0x184438;return!_0x52bf39||_0x52bf39['length']===0x0?_0x49880d:_0x49880d[_0x1cb22d(0x187)]===_0x1cb22d(0x2dd)&&(_0x2e4186=_0x49880d['children'])!=null&&_0x2e4186[_0x1cb22d(0x20a)]?{..._0x49880d,'children':_0x49880d[_0x1cb22d(0x43b)][_0x1cb22d(0x1c3)](_0x27b9d9=>typeof _0x27b9d9[_0x1cb22d(0x3c5)]['id']==_0x1cb22d(0x386)&&_0x52bf39&&_0x52bf39[_0x1cb22d(0x331)](_0x27b9d9[_0x1cb22d(0x3c5)]['id'])?{..._0x27b9d9,'attrs':{..._0x27b9d9[_0x1cb22d(0x3c5)],'id':_0x27b9d9[_0x1cb22d(0x3c5)]['id']+_0x184438[_0x1cb22d(0x21c)]}}:_0x27b9d9)}:_0x49880d;}function _0x5214df(_0xcbbc65){const _0x65df18=_0x364513;let _0xd4be3d=_0xcbbc65[_0x65df18(0x3de)][_0x65df18(0x37b)],_0x4e97f6=Math[_0x65df18(0x198)](_0xd4be3d['width'],_0xd4be3d[_0x65df18(0x439)]);if(!Number[_0x65df18(0x2fb)](_0x4e97f6)||_0x4e97f6<=0x0||_0xd4be3d[_0x65df18(0x362)]<=0x0||_0xd4be3d[_0x65df18(0x439)]<=0x0)return()=>void 0x0;let _0x4a7fb0=0x10/_0x4e97f6,_0x5b0f0e=Array['from'](_0xcbbc65['querySelectorAll'](_0x65df18(0x2de)))[_0x65df18(0x382)](_0x370963=>{const _0x3a4628=_0x65df18;let _0x16f292=getComputedStyle(_0x370963),_0x42f648=Number[_0x3a4628(0x132)](_0x16f292['strokeWidth']);return _0x16f292[_0x3a4628(0x38e)]==='none'||Number[_0x3a4628(0x132)](_0x16f292[_0x3a4628(0x34f)])===0x0||_0x16f292['vectorEffect']===_0x3a4628(0x10f)||!Number['isFinite'](_0x42f648)||_0x42f648<=0x0?[]:[{'element':_0x370963,'hadStyleAttribute':_0x370963[_0x3a4628(0x1ea)](_0x3a4628(0x3a3)),'originalStrokeWidth':_0x42f648,'strokeWidth':_0x5f2a4c(_0x370963[_0x3a4628(0x3a3)],_0x3a4628(0x1b6))}];})[_0x65df18(0x1c3)](_0x3932eb=>({'appliedStrokeWidth':null,'element':_0x3932eb[_0x65df18(0x1d0)],'hadStyleAttribute':_0x3932eb[_0x65df18(0x2a9)],'isReleased':!0x1,'originalStrokeWidth':_0x3932eb[_0x65df18(0x2e8)],'strokeWidth':_0x3932eb[_0x65df18(0x447)]}));if(_0x5b0f0e[_0x65df18(0x20a)]===0x0)return()=>void 0x0;let _0x77afcc=(_0x24aadd,_0x3dff0f)=>{const _0x1f7cd7=_0x65df18;if(_0xd4be3d['width']<=0x0||_0xd4be3d[_0x1f7cd7(0x439)]<=0x0||_0x24aadd<=0x0||_0x3dff0f<=0x0)return;let _0x1d779d=Math[_0x1f7cd7(0x332)](_0x24aadd/_0xd4be3d[_0x1f7cd7(0x362)],_0x3dff0f/_0xd4be3d['height']);!Number[_0x1f7cd7(0x2fb)](_0x1d779d)||_0x1d779d<=0x0||_0x5b0f0e[_0x1f7cd7(0x3e8)](_0xdb6ac0=>{const _0x2f24b3=_0x1f7cd7;if(_0xdb6ac0[_0x2f24b3(0x140)])return;if(_0xdb6ac0[_0x2f24b3(0x378)]!==null&&(_0xdb6ac0[_0x2f24b3(0x1d0)]['style'][_0x2f24b3(0x35e)](_0x2f24b3(0x1b6))!==_0xdb6ac0[_0x2f24b3(0x378)]||_0xdb6ac0[_0x2f24b3(0x1d0)][_0x2f24b3(0x3a3)][_0x2f24b3(0x340)](_0x2f24b3(0x1b6))!==_0xdb6ac0[_0x2f24b3(0x447)][_0x2f24b3(0x3bb)])){_0xdb6ac0[_0x2f24b3(0x378)]=null,_0xdb6ac0[_0x2f24b3(0x140)]=!0x0;return;}let _0x16af59=_0xdb6ac0[_0x2f24b3(0x2e8)]*_0x4a7fb0/_0x1d779d,_0x22ab45=Number(_0x16af59[_0x2f24b3(0x3df)](0xc))+'px';_0xdb6ac0[_0x2f24b3(0x1d0)][_0x2f24b3(0x3a3)]['setProperty'](_0x2f24b3(0x1b6),_0x22ab45,_0xdb6ac0[_0x2f24b3(0x447)]['priority']),_0xdb6ac0['appliedStrokeWidth']=_0x22ab45;});},_0x54a3d7=_0xcbbc65[_0x65df18(0x294)]();_0x77afcc(_0x54a3d7[_0x65df18(0x362)],_0x54a3d7[_0x65df18(0x439)]);let _0x1947f0=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x32691d=>{const _0x1341ed=_0x65df18;if(_0x32691d[_0x1341ed(0x218)](_0x38653b=>_0x38653b[_0x1341ed(0x10d)]===_0xcbbc65)){let _0x14c683=_0xcbbc65[_0x1341ed(0x294)]();_0x77afcc(_0x14c683[_0x1341ed(0x362)],_0x14c683[_0x1341ed(0x439)]);}});return _0x1947f0==null||_0x1947f0[_0x65df18(0x287)](_0xcbbc65),()=>{const _0x202ac5=_0x65df18;_0x1947f0==null||_0x1947f0['disconnect'](),_0x5b0f0e[_0x202ac5(0x3e8)](_0xe6fa40=>{const _0x5ad37a=_0x202ac5;_0xe6fa40[_0x5ad37a(0x378)]!==null&&(_0x5d3ee0(_0xe6fa40[_0x5ad37a(0x1d0)][_0x5ad37a(0x3a3)],_0x5ad37a(0x1b6),_0xe6fa40['appliedStrokeWidth'],_0xe6fa40[_0x5ad37a(0x447)][_0x5ad37a(0x3bb)],_0xe6fa40[_0x5ad37a(0x447)]),!_0xe6fa40['hadStyleAttribute']&&_0xe6fa40['element'][_0x5ad37a(0x3a3)]['length']===0x0&&_0xe6fa40[_0x5ad37a(0x1d0)][_0x5ad37a(0x21d)](_0x5ad37a(0x3a3)));});};}function _0x5f2a4c(_0x3605b4,_0x26e68){const _0x52ec65=_0x364513;return{'priority':_0x3605b4['getPropertyPriority'](_0x26e68),'value':_0x3605b4[_0x52ec65(0x35e)](_0x26e68)};}function _0x5d3ee0(_0x52b124,_0x5b8ebf,_0x2d5fe2,_0x1c2ef0,_0x3d5b1b){const _0x2c591e=_0x364513;_0x52b124['getPropertyValue'](_0x5b8ebf)===_0x2d5fe2&&_0x52b124[_0x2c591e(0x340)](_0x5b8ebf)===_0x1c2ef0&&(_0x3d5b1b[_0x2c591e(0x436)]?_0x52b124['setProperty'](_0x5b8ebf,_0x3d5b1b[_0x2c591e(0x436)],_0x3d5b1b[_0x2c591e(0x3bb)]):_0x52b124['removeProperty'](_0x5b8ebf));}_0x57814b[_0x364513(0x431)]='UniverIcon';let _0x17d1d3={'tag':'svg','attrs':{'xmlns':_0x364513(0x2b9),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x364513(0x437),'height':_0x364513(0x437)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x364513(0x2af),'attrs':{'stroke':_0x364513(0x307),'d':_0x364513(0x3d7),'strokeLinecap':_0x364513(0x2f9),'strokeLinejoin':_0x364513(0x2f9),'strokeWidth':1.2}}]},{'tag':_0x364513(0x2dd),'attrs':{},'children':[{'tag':_0x364513(0x231),'attrs':{'id':_0x364513(0x323)},'children':[{'tag':_0x364513(0x2af),'attrs':{'fill':_0x364513(0x23a),'d':_0x364513(0x2a3)}}]}]}],'defIds':[_0x364513(0x323)]},_0x9fe6fa=(0x0,_0x26f351[_0x364513(0x446)])(function(_0x82a0b3,_0x307b03){const _0x3a644b=_0x364513;return(0x0,_0x26f351[_0x3a644b(0x441)])(_0x57814b,Object[_0x3a644b(0x16d)]({},_0x82a0b3,{'id':_0x3a644b(0x234),'ref':_0x307b03,'icon':_0x17d1d3}));});_0x9fe6fa[_0x364513(0x431)]=_0x364513(0x413);let _0x16eae5={'tag':_0x364513(0x1f8),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x364513(0x34d),'viewBox':_0x364513(0x3d3),'width':_0x364513(0x437),'height':_0x364513(0x437)},'children':[{'tag':'g','attrs':{'clipPath':_0x364513(0x146)},'children':[{'tag':_0x364513(0x2af),'attrs':{'stroke':'currentColor','d':_0x364513(0x13b),'strokeLinecap':_0x364513(0x2f9),'strokeLinejoin':_0x364513(0x2f9),'strokeWidth':1.2}}]},{'tag':_0x364513(0x2dd),'attrs':{},'children':[{'tag':_0x364513(0x231),'attrs':{'id':_0x364513(0x110)},'children':[{'tag':_0x364513(0x2af),'attrs':{'fill':_0x364513(0x23a),'d':_0x364513(0x2a3),'transform':'translate(.97)'}}]}]}],'defIds':[_0x364513(0x110)]},_0x266b39=(0x0,_0x26f351['forwardRef'])(function(_0x50164f,_0x2fd975){const _0x9c5b92=_0x364513;return(0x0,_0x26f351[_0x9c5b92(0x441)])(_0x57814b,Object[_0x9c5b92(0x16d)]({},_0x50164f,{'id':_0x9c5b92(0x3c6),'ref':_0x2fd975,'icon':_0x16eae5}));});_0x266b39[_0x364513(0x431)]=_0x364513(0x358);let _0x4ad8da={'tag':_0x364513(0x1f8),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x364513(0x437),'height':'1em'},'children':[{'tag':_0x364513(0x2af),'attrs':{'fill':_0x364513(0x307),'d':'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','fillRule':_0x364513(0x454),'clipRule':_0x364513(0x454)}}]},_0x57beb4=(0x0,_0x26f351[_0x364513(0x446)])(function(_0x883557,_0x1795ef){const _0xc3ba09=_0x364513;return(0x0,_0x26f351[_0xc3ba09(0x441)])(_0x57814b,Object['assign']({},_0x883557,{'id':_0xc3ba09(0x2ee),'ref':_0x1795ef,'icon':_0x4ad8da}));});_0x57beb4[_0x364513(0x431)]=_0x364513(0x109);let _0x188415={'tag':_0x364513(0x1f8),'attrs':{'xmlns':_0x364513(0x2b9),'fill':_0x364513(0x34d),'viewBox':_0x364513(0x402),'width':_0x364513(0x437),'height':_0x364513(0x437)},'children':[{'tag':'path','attrs':{'fill':'#0B9EFB','d':_0x364513(0x284),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x364513(0x454)}},{'tag':'path','attrs':{'fill':'#0B9EFB','d':_0x364513(0x16b),'fillRule':_0x364513(0x454),'clipRule':_0x364513(0x454)}}]},_0x59448d=(0x0,_0x26f351['forwardRef'])(function(_0xd99ac5,_0x28a0e4){const _0x2a819a=_0x364513;return(0x0,_0x26f351[_0x2a819a(0x441)])(_0x57814b,Object['assign']({},_0xd99ac5,{'id':_0x2a819a(0x36d),'ref':_0x28a0e4,'icon':_0x188415}));});_0x59448d[_0x364513(0x431)]=_0x364513(0x28e);function _0x4a903b(_0x1845f5){const _0x7d4c88=_0x364513;switch(_0x1845f5){case _0x2c8280[_0x7d4c88(0x300)][_0x7d4c88(0x275)]:return{'icon':(0x0,_0x5844d5['jsx'])(_0x9fe6fa,{}),'colorClass':_0x7d4c88(0x23f),'i18nKey':'collaboration-client-ui.collabStatus.offline','tooltipKey':_0x7d4c88(0x1b5),'clickable':!0x0,'indicator':'static'};case _0x2c8280[_0x7d4c88(0x300)][_0x7d4c88(0x200)]:return{'icon':(0x0,_0x5844d5['jsx'])(_0x9fe6fa,{}),'colorClass':_0x7d4c88(0x344),'i18nKey':'collaboration-client-ui.collabStatus.conflict','clickable':!0x1,'indicator':_0x7d4c88(0x271)};case _0x2c8280['CollaborationStatus'][_0x7d4c88(0x272)]:return{'icon':(0x0,_0x5844d5['jsx'])(_0x59448d,{}),'colorClass':_0x7d4c88(0x194),'i18nKey':_0x7d4c88(0x379),'clickable':!0x1,'indicator':_0x7d4c88(0x377)};case _0x2c8280[_0x7d4c88(0x300)]['NOT_COLLAB']:return{'icon':(0x0,_0x5844d5['jsx'])(_0x266b39,{}),'colorClass':_0x7d4c88(0x2fd),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':_0x7d4c88(0x271)};case _0x2c8280[_0x7d4c88(0x300)][_0x7d4c88(0x2fc)]:case _0x2c8280[_0x7d4c88(0x300)]['AWAITING_WITH_PENDING']:return{'icon':(0x0,_0x5844d5[_0x7d4c88(0x22b)])(_0x59448d,{}),'colorClass':_0x7d4c88(0x194),'i18nKey':_0x7d4c88(0x1b7),'clickable':!0x1,'indicator':'spin'};case _0x2c8280['CollaborationStatus']['PENDING']:return{'icon':(0x0,_0x5844d5[_0x7d4c88(0x22b)])(_0x59448d,{}),'colorClass':_0x7d4c88(0x194),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x7d4c88(0x377)};case _0x2c8280[_0x7d4c88(0x300)][_0x7d4c88(0x246)]:return{'icon':(0x0,_0x5844d5['jsx'])(_0x266b39,{}),'colorClass':_0x7d4c88(0x1b8),'i18nKey':_0x7d4c88(0x2f2),'clickable':!0x1,'indicator':'static'};}}function _0x275dd1(_0x2420e7){const _0x3f6bad=_0x364513;let {status$:_0x199dab}=_0x2420e7,_0x344e41=(0x0,_0x237270[_0x3f6bad(0x2d8)])(_0x199dab,_0x2c8280[_0x3f6bad(0x300)]['NOT_COLLAB']),_0x1b32d6=(0x0,_0x237270[_0x3f6bad(0x238)])(_0x9007c9[_0x3f6bad(0x37d)]),_0xe2a626=(0x0,_0x237270[_0x3f6bad(0x238)])(_0x2c8280[_0x3f6bad(0x1ec)]),_0x5182a4=(0x0,_0x26f351[_0x3f6bad(0x463)])(()=>_0x4a903b(_0x344e41),[_0x344e41]),_0x274a5a=_0x344e41!==_0x2c8280[_0x3f6bad(0x300)][_0x3f6bad(0x275)],_0xd5e6a5=_0x1b32d6['t'](_0x5182a4[_0x3f6bad(0x1a8)]),_0x1abbba=_0x5182a4['tooltipKey']?_0x1b32d6['t'](_0x5182a4['tooltipKey']):_0xd5e6a5,_0x5a0d74=(0x0,_0x26f351[_0x3f6bad(0x1e5)])(()=>{const _0x2ad7f4=_0x3f6bad;_0x274a5a||_0xe2a626[_0x2ad7f4(0x213)]();},[_0x274a5a,_0xe2a626]),_0x405569=(0x0,_0x26f351[_0x3f6bad(0x1e5)])(_0x1aa9f6=>{const _0x25c6d1=_0x3f6bad;!_0x274a5a&&(_0x1aa9f6[_0x25c6d1(0x452)]==='Enter'||_0x1aa9f6[_0x25c6d1(0x452)]==='\x20')&&(_0x1aa9f6[_0x25c6d1(0x448)](),_0xe2a626[_0x25c6d1(0x213)]());},[_0x274a5a,_0xe2a626]),_0x429cc0=(0x0,_0x5844d5[_0x3f6bad(0x22b)])(_0x3f6bad(0x252),{'className':(0x0,_0x3f0ccc[_0x3f6bad(0x45c)])(_0x3f6bad(0x3aa),_0x3f6bad(0x3fc),_0x5182a4['colorClass'],{'univer-animate-spin':_0x5182a4[_0x3f6bad(0x159)]==='spin','univer-animate-pulse':_0x5182a4[_0x3f6bad(0x159)]===_0x3f6bad(0x2da)}),'aria-hidden':_0x3f6bad(0x222),'children':_0x5182a4['icon']}),_0x20a3b1=(0x0,_0x5844d5[_0x3f6bad(0x22b)])(_0x3f6bad(0x252),{'className':(0x0,_0x3f0ccc['clsx'])(_0x3f6bad(0x3aa),_0x3f6bad(0x15b),'univer-transition-all\x20univer-duration-200',_0x3f6bad(0x46b),'dark:focus:!univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x5182a4[_0x3f6bad(0x3f8)],'univer-cursor-default':!_0x5182a4[_0x3f6bad(0x3f8)]}),'children':_0x429cc0});return _0x5182a4[_0x3f6bad(0x3f8)]?(0x0,_0x5844d5['jsx'])(_0x3f0ccc[_0x3f6bad(0x1fb)],{'title':_0x1abbba,'placement':_0x3f6bad(0x3d5),'children':(0x0,_0x5844d5[_0x3f6bad(0x22b)])('button',{'type':_0x3f6bad(0x432),'onClick':_0x5a0d74,'onKeyDown':_0x405569,'className':(0x0,_0x3f0ccc['clsx'])(_0x3f6bad(0x324),'univer-border-none\x20univer-bg-transparent','univer-m-0\x20univer-p-0',_0x3f6bad(0x39c)),'aria-label':_0xd5e6a5+_0x3f6bad(0x232)+_0x1abbba,'role':_0x3f6bad(0x178),'aria-live':_0x3f6bad(0x443),'aria-atomic':_0x3f6bad(0x222),'children':_0x20a3b1})}):(0x0,_0x5844d5['jsx'])(_0x3f0ccc['Tooltip'],{'title':_0x1abbba,'placement':_0x3f6bad(0x3d5),'children':(0x0,_0x5844d5[_0x3f6bad(0x22b)])(_0x3f6bad(0x383),{'className':(0x0,_0x3f0ccc[_0x3f6bad(0x45c)])(_0x3f6bad(0x324),'univer-border-none\x20univer-bg-transparent',_0x3f6bad(0x2eb)),'aria-label':_0xd5e6a5,'role':_0x3f6bad(0x178),'aria-live':_0x3f6bad(0x443),'aria-atomic':_0x3f6bad(0x222),'children':_0x20a3b1})});}function _0x1336fa(_0x23d69a){'@babel/helpers - typeof';const _0x35d8c5=_0x364513;return _0x1336fa=typeof Symbol==_0x35d8c5(0x2ab)&&typeof Symbol[_0x35d8c5(0x14a)]==_0x35d8c5(0x318)?function(_0x4aeca8){return typeof _0x4aeca8;}:function(_0x1c3fc3){const _0x530003=_0x35d8c5;return _0x1c3fc3&&typeof Symbol==_0x530003(0x2ab)&&_0x1c3fc3[_0x530003(0x2b7)]===Symbol&&_0x1c3fc3!==Symbol[_0x530003(0x391)]?_0x530003(0x318):typeof _0x1c3fc3;},_0x1336fa(_0x23d69a);}function _0x23c684(_0x12fc90,_0x219ac7){const _0x15fc40=_0x364513;if(_0x1336fa(_0x12fc90)!=_0x15fc40(0x12b)||!_0x12fc90)return _0x12fc90;var _0x300bfd=_0x12fc90[Symbol[_0x15fc40(0x373)]];if(_0x300bfd!==void 0x0){var _0x3bf4c0=_0x300bfd['call'](_0x12fc90,_0x219ac7||_0x15fc40(0x3ae));if(_0x1336fa(_0x3bf4c0)!=_0x15fc40(0x12b))return _0x3bf4c0;throw TypeError(_0x15fc40(0x321));}return(_0x219ac7===_0x15fc40(0x386)?String:Number)(_0x12fc90);}function _0x4086d4(_0x36557c){const _0x4cce0b=_0x364513;var _0xc7d411=_0x23c684(_0x36557c,_0x4cce0b(0x386));return _0x1336fa(_0xc7d411)==_0x4cce0b(0x318)?_0xc7d411:_0xc7d411+'';}function _0x389cd7(_0x57b3df,_0x1074f9,_0x5c0b7c){const _0x59d35b=_0x364513;return(_0x1074f9=_0x4086d4(_0x1074f9))in _0x57b3df?Object[_0x59d35b(0x29c)](_0x57b3df,_0x1074f9,{'value':_0x5c0b7c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x57b3df[_0x1074f9]=_0x5c0b7c,_0x57b3df;}function _0x447c26(_0x3a7ea3,_0x51a0f6){return function(_0x7fab43,_0x25dd0f){_0x51a0f6(_0x7fab43,_0x25dd0f,_0x3a7ea3);};}function _0x5343d2(_0x298e73,_0x31ad97,_0x4c03b0,_0x1aba40){const _0x226731=_0x364513;var _0x333380=arguments[_0x226731(0x20a)],_0x264260=_0x333380<0x3?_0x31ad97:_0x1aba40===null?_0x1aba40=Object[_0x226731(0x12e)](_0x31ad97,_0x4c03b0):_0x1aba40,_0x2d005f;if(typeof Reflect==_0x226731(0x12b)&&typeof Reflect[_0x226731(0x2a1)]==_0x226731(0x2ab))_0x264260=Reflect[_0x226731(0x2a1)](_0x298e73,_0x31ad97,_0x4c03b0,_0x1aba40);else{for(var _0x18d937=_0x298e73[_0x226731(0x20a)]-0x1;_0x18d937>=0x0;_0x18d937--)(_0x2d005f=_0x298e73[_0x18d937])&&(_0x264260=(_0x333380<0x3?_0x2d005f(_0x264260):_0x333380>0x3?_0x2d005f(_0x31ad97,_0x4c03b0,_0x264260):_0x2d005f(_0x31ad97,_0x4c03b0))||_0x264260);}return _0x333380>0x3&&_0x264260&&Object['defineProperty'](_0x31ad97,_0x4c03b0,_0x264260),_0x264260;}let _0x1e532c=class extends _0x9007c9[_0x364513(0x41b)]{constructor(_0x581a30,_0x22d0cf,_0x443563,_0x4b91ba,_0x393133){const _0x4155eb=_0x364513;super(),this['_univerInstanceService']=_0x581a30,this[_0x4155eb(0x1c5)]=_0x22d0cf,this[_0x4155eb(0x3ef)]=_0x443563,this[_0x4155eb(0x1be)]=_0x4b91ba,this['_presenceAdapterRegistry']=_0x393133,_0x389cd7(this,_0x4155eb(0x418),new _0x4ddf34['BehaviorSubject'](_0x2c8280[_0x4155eb(0x300)][_0x4155eb(0x1ae)])),_0x389cd7(this,'_presenceStatusRegistrations',new Map()),this[_0x4155eb(0x2e1)](),this[_0x4155eb(0x313)](),this['_initPresenceStatusComponents']();}[_0x364513(0x1ad)](){const _0x15e387=_0x364513;this[_0x15e387(0x45a)][_0x15e387(0x3e8)](_0x2beaa4=>_0x2beaa4[_0x15e387(0x1ad)]()),this[_0x15e387(0x45a)][_0x15e387(0x265)](),this[_0x15e387(0x418)]['complete'](),super[_0x15e387(0x1ad)]();}['_initStatusListener'](){const _0x2f163c=_0x364513;this[_0x2f163c(0x2a5)]((0x0,_0x4ddf34[_0x2f163c(0x3d4)])(this[_0x2f163c(0x250)]['focused$'],this[_0x2f163c(0x250)]['getCurrentTypeOfUnit$'](_0x9007c9['UniverInstanceType'][_0x2f163c(0x444)]),this[_0x2f163c(0x250)][_0x2f163c(0x328)](_0x9007c9[_0x2f163c(0x1da)]['UNIVER_SHEET']))[_0x2f163c(0x1d2)]((0x0,_0x9cef3d['map'])(()=>_0x59c08f(this[_0x2f163c(0x250)])),(0x0,_0x9cef3d[_0x2f163c(0x113)])(),(0x0,_0x4ddf34[_0x2f163c(0x299)])(_0x8216f6=>_0x8216f6?this['_collaborationController']['getCollabEntity$'](_0x8216f6):(0x0,_0x4ddf34['of'])(null)),(0x0,_0x4ddf34[_0x2f163c(0x299)])(_0x2e9308=>_0x2e9308?_0x2e9308[_0x2f163c(0x19e)]:(0x0,_0x4ddf34['of'])(_0x2c8280['CollaborationStatus'][_0x2f163c(0x1ae)])))[_0x2f163c(0x228)](_0x50703a=>{const _0x2e3399=_0x2f163c;this['_status$'][_0x2e3399(0x1d7)](_0x50703a);}));}['_initStatusComponent'](){const _0x163397=_0x364513;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x237270[_0x163397(0x3f1)][_0x163397(0x3c9)],()=>(0x0,_0x237270[_0x163397(0x371)])(_0x5e4229({'status$':this[_0x163397(0x418)][_0x163397(0x394)]()}),this[_0x163397(0x1c5)])));}[_0x364513(0x2a0)](){const _0x366ece=_0x364513;let _0x1d6f89=this[_0x366ece(0x389)][_0x366ece(0x35f)][_0x366ece(0x228)](_0x4b9276=>{this['_syncPresenceStatusComponents'](_0x4b9276);});this[_0x366ece(0x2a5)]((0x0,_0x9007c9[_0x366ece(0x32d)])(()=>_0x1d6f89[_0x366ece(0x17d)]()));}[_0x364513(0x23d)](_0x1c3d7d){const _0x1ddbbf=_0x364513;let _0x5a10c1=new Map(_0x1c3d7d[_0x1ddbbf(0x3e5)](_0x206c3a=>_0x206c3a[_0x1ddbbf(0x305)]!=null)[_0x1ddbbf(0x1c3)](_0x361ca1=>[_0x361ca1[_0x1ddbbf(0x42a)],_0x361ca1]));this[_0x1ddbbf(0x45a)][_0x1ddbbf(0x3e8)]((_0x490b22,_0xb039d5)=>{const _0x56a0e4=_0x1ddbbf;_0x5a10c1[_0x56a0e4(0x206)](_0xb039d5)||(_0x490b22[_0x56a0e4(0x1ad)](),this['_presenceStatusRegistrations'][_0x56a0e4(0x2cb)](_0xb039d5));}),_0x5a10c1[_0x1ddbbf(0x3e8)]((_0x3d6b22,_0x4c6f81)=>{const _0x28a8d3=_0x1ddbbf;this[_0x28a8d3(0x45a)][_0x28a8d3(0x206)](_0x4c6f81)||this[_0x28a8d3(0x278)](_0x3d6b22);});}[_0x364513(0x278)](_0x531033){const _0xe39680=_0x364513;let _0x4e418b=_0x531033[_0xe39680(0x305)];if(!_0x4e418b)return;let _0x35ed8d=new _0x9007c9['DisposableCollection'](),_0x853020=new _0x4ddf34[(_0xe39680(0x24c))](_0x2c8280['CollaborationStatus'][_0xe39680(0x1ae)]);_0x35ed8d['add']((0x0,_0x9007c9['toDisposable'])(()=>_0x853020['complete']())),_0x35ed8d['add'](this[_0xe39680(0x1be)][_0xe39680(0x3b7)](_0x4e418b,()=>(0x0,_0x237270[_0xe39680(0x371)])(_0x5e4229({'status$':_0x853020[_0xe39680(0x394)]()}),this[_0xe39680(0x1c5)])));let _0x18f930=this[_0xe39680(0x250)][_0xe39680(0x328)](_0x531033[_0xe39680(0x42a)])[_0xe39680(0x1d2)]((0x0,_0x9cef3d['map'])(_0x304ebe=>(_0x304ebe==null?void 0x0:_0x304ebe['getUnitId']())??null),(0x0,_0x9cef3d[_0xe39680(0x113)])(),(0x0,_0x4ddf34[_0xe39680(0x299)])(_0x5b85cb=>_0x5b85cb?this[_0xe39680(0x3ef)][_0xe39680(0x1d6)](_0x5b85cb):(0x0,_0x4ddf34['of'])(null)),(0x0,_0x4ddf34[_0xe39680(0x299)])(_0x57f99f=>(_0x57f99f==null?void 0x0:_0x57f99f['status$'])??(0x0,_0x4ddf34['of'])(_0x2c8280[_0xe39680(0x300)][_0xe39680(0x1ae)])))['subscribe'](_0x1fef79=>_0x853020[_0xe39680(0x1d7)](_0x1fef79));_0x35ed8d[_0xe39680(0x345)]((0x0,_0x9007c9[_0xe39680(0x32d)])(()=>_0x18f930[_0xe39680(0x17d)]())),this[_0xe39680(0x45a)][_0xe39680(0x43c)](_0x531033['unitType'],_0x35ed8d);}};_0x1e532c=_0x5343d2([_0x447c26(0x0,_0x9007c9[_0x364513(0x3f9)]),_0x447c26(0x1,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9['Injector'])),_0x447c26(0x2,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x2c8280['CollaborationController'])),_0x447c26(0x3,_0x237270[_0x364513(0x27f)]),_0x447c26(0x4,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x237270[_0x364513(0x242)]))],_0x1e532c);function _0x59c08f(_0x16ed36){const _0x29d381=_0x364513;let _0x1aec74=_0x16ed36[_0x29d381(0x421)](),_0x3e90ef=_0x1aec74==null?void 0x0:_0x1aec74[_0x29d381(0x3c7)]();if(_0x3e90ef&&!(0x0,_0x9007c9[_0x29d381(0x298)])(_0x3e90ef))return _0x3e90ef;let _0x5ca807=_0x16ed36[_0x29d381(0x244)](_0x9007c9[_0x29d381(0x1da)][_0x29d381(0x444)]),_0x589b52=_0x5ca807==null?void 0x0:_0x5ca807[_0x29d381(0x3c7)]();if(_0x589b52&&!(0x0,_0x9007c9['isInternalEditorID'])(_0x589b52))return _0x589b52;let _0x5d5c7a=_0x16ed36[_0x29d381(0x244)](_0x9007c9[_0x29d381(0x1da)][_0x29d381(0x2a4)]);if(_0x5d5c7a)return _0x5d5c7a[_0x29d381(0x3c7)]();let _0x8c2b5f=_0x16ed36[_0x29d381(0x335)](_0x9007c9[_0x29d381(0x1da)]['UNIVER_DOC'])[_0x29d381(0x14d)](_0xba6998=>!(0x0,_0x9007c9['isInternalEditorID'])(_0xba6998[_0x29d381(0x3c7)]()));return _0x8c2b5f?_0x8c2b5f[_0x29d381(0x3c7)]():null;}function _0x5e4229(_0x46a7b4){let {status$:_0x1bbed1}=_0x46a7b4;return function(){const _0x626e77=_0x5e16;return(0x0,_0x5844d5[_0x626e77(0x22b)])(_0x275dd1,{'status$':_0x1bbed1});};}var _0x58edc5=_0x364513(0x1fa),_0x3e5bbf='1.3.1';let _0x3f9be4={'id':_0x364513(0x292),'type':_0x9007c9[_0x364513(0x395)][_0x364513(0x45d)],'handler':(_0x4d417a,_0x1455f7)=>{const _0x4ddf70=_0x364513;let _0x556926=_0x4d417a[_0x4ddf70(0x37f)](_0x237270['IUnitPresenceUIAdapterRegistry'])[_0x4ddf70(0x37f)](_0x1455f7['unitType']);if(!_0x556926)return!0x1;switch(_0x1455f7[_0x4ddf70(0x174)][_0x4ddf70(0x193)]){case'set':return _0x556926['setRemotePresence'](_0x1455f7['update'][_0x4ddf70(0x339)]),!0x0;case _0x4ddf70(0x39f):return _0x556926[_0x4ddf70(0x122)](_0x1455f7[_0x4ddf70(0x174)][_0x4ddf70(0x118)],_0x1455f7['update'][_0x4ddf70(0x41d)]),!0x0;case'clear':return _0x556926[_0x4ddf70(0x32a)](_0x1455f7[_0x4ddf70(0x174)][_0x4ddf70(0x118)]),!0x0;default:return!0x1;}}},_0x3d9e7f={},_0x5cffc8=class extends _0x9007c9[_0x364513(0x2c5)]{constructor(_0x423c3c,_0x482e57){const _0x285ce7=_0x364513;super(),this['_docClipboardService']=_0x423c3c,this[_0x285ce7(0x283)]=_0x482e57,this[_0x285ce7(0x37e)]();}['_init'](){const _0x3adb8e=_0x364513;let _0x265ef7=this;this[_0x3adb8e(0x2a5)](this[_0x3adb8e(0x1e9)][_0x3adb8e(0x1ca)]({'onBeforePasteImage':async _0x37518e=>{const _0x31f594=_0x3adb8e;let _0x791031=await _0x265ef7['_imageIoService'][_0x31f594(0x3a7)](_0x37518e);return _0x791031?{'source':_0x791031[_0x31f594(0x12a)],'imageSourceType':_0x791031[_0x31f594(0x401)]}:null;}}));}};_0x5cffc8=_0x5343d2([_0x447c26(0x0,_0x179eb9[_0x364513(0x217)]),_0x447c26(0x1,_0x9007c9['IImageIoService'])],_0x5cffc8);let _0x546e84=['purple.300',_0x364513(0x31c),_0x364513(0x30a),_0x364513(0x304),_0x364513(0x3be),'yellow.400'];var _0x45bd93=class extends _0x9007c9[_0x364513(0x41b)]{constructor(..._0x46ea2d){const _0x3c2504=_0x364513;super(..._0x46ea2d),_0x389cd7(this,_0x3c2504(0x1c7),new Map()),_0x389cd7(this,_0x3c2504(0x40d),0x0);}[_0x364513(0x20b)](_0x5bcc1b){const _0x3130b5=_0x364513;if(this['_assignedColors'][_0x3130b5(0x206)](_0x5bcc1b))return this['_assignedColors'][_0x3130b5(0x37f)](_0x5bcc1b);let _0x18ba75=_0x546e84[this['_colorIndex']];return this[_0x3130b5(0x40d)]=(this[_0x3130b5(0x40d)]+0x1)%_0x546e84['length'],this[_0x3130b5(0x1c7)]['set'](_0x5bcc1b,_0x18ba75),_0x18ba75;}};function _0x221774(_0x4dd61f){const _0x40244b=_0x364513;let _0x298b74='';for(let _0x54dd39 of _0x4dd61f){let {startOffset:_0xcb7083,endOffset:_0x52c2a5,isActive:_0x16390f,rangeType:_0x11afa3,segmentId:_0x56baf3,segmentPage:_0x4f6bb6}=_0x54dd39;_0x298b74[_0x40244b(0x20a)]&&(_0x298b74+=','),_0x298b74+=_0xcb7083+':'+_0x52c2a5+':'+(_0x16390f?'1':'0')+':'+_0x11afa3+':'+_0x56baf3+':'+_0x4f6bb6;}return _0x298b74;}function _0x113917(_0x1a35f7){const _0x2a9351=_0x364513;let _0xd524ae=_0x1a35f7[_0x2a9351(0x38f)](','),_0x63491c=[];for(let _0x357b0b of _0xd524ae){let [_0x4063d9,_0x1d1bcc,_0x57e957,_0x251662,_0x2e283e,_0x5eb9fc]=_0x357b0b['split'](':');_0x63491c[_0x2a9351(0x1a3)]({'startOffset':Number(_0x4063d9),'endOffset':Number(_0x1d1bcc),'collapsed':_0x4063d9===_0x1d1bcc,'isActive':_0x57e957==='1','rangeType':_0x251662===_0x9007c9[_0x2a9351(0x203)]['TEXT']?_0x9007c9[_0x2a9351(0x203)]['TEXT']:_0x9007c9['DOC_RANGE_TYPE'][_0x2a9351(0x141)],'segmentId':typeof _0x2e283e=='string'?String(_0x2e283e):'','segmentPage':Number(_0x5eb9fc??-0x1)});}return _0x63491c[_0x2a9351(0x218)](_0x3e42df=>_0x3e42df[_0x2a9351(0x3b1)])||(_0x63491c[0x0][_0x2a9351(0x3b1)]=!0x0),_0x63491c;}var _0x5599a1=class extends _0x9007c9[_0x364513(0x2c5)]{constructor(..._0x4796aa){const _0x2a6e14=_0x364513;super(..._0x4796aa),_0x389cd7(this,'_collabCursorState$',new _0x4ddf34['BehaviorSubject'](null)),_0x389cd7(this,_0x2a6e14(0x400),this['_collabCursorState$'][_0x2a6e14(0x394)]());}[_0x364513(0x341)](_0x17d971){const _0xc99648=_0x364513;let {unitID:_0x14a642,memberID:_0x3b446d,textRanges:_0x5bf38d}=_0x17d971,_0x5e396d=_0x221774(_0x5bf38d);if(_0x5e396d==='')return;let _0x308ffc={'unitID':_0x14a642,'memberID':_0x3b446d,'selection':_0x5e396d};this[_0xc99648(0x354)][_0xc99648(0x1d7)](_0x308ffc);}};let _0x29dc9d=class extends _0x9007c9[_0x364513(0x2c5)]{get[_0x364513(0x45f)](){const _0x4c9e7a=_0x364513;return this[_0x4c9e7a(0x37c)][_0x4c9e7a(0x368)]();}get[_0x364513(0x1f2)](){const _0x5870f2=_0x364513;return this[_0x5870f2(0x295)][_0x5870f2(0x368)]();}constructor(_0x4cd230,_0x371e03,_0x54d40e,_0x4839e7,_0x4e219a,_0x40ca10,_0x2ece1d,_0x2f301e,_0x11b6c5){const _0x23db75=_0x364513;super(),this[_0x23db75(0x22c)]=_0x4cd230,this[_0x23db75(0x2c1)]=_0x371e03,this[_0x23db75(0x1c5)]=_0x54d40e,this['_colorAssignService']=_0x4839e7,this[_0x23db75(0x346)]=_0x4e219a,this[_0x23db75(0x13a)]=_0x40ca10,this[_0x23db75(0x10a)]=_0x2ece1d,this[_0x23db75(0x250)]=_0x2f301e,this[_0x23db75(0x44c)]=_0x11b6c5,_0x389cd7(this,'_online',!0x1),_0x389cd7(this,_0x23db75(0x37e),!0x1),_0x389cd7(this,_0x23db75(0x37c),new _0x4ddf34['BehaviorSubject'](new Map())),_0x389cd7(this,'cursorInfo$',this[_0x23db75(0x37c)]['asObservable']()),_0x389cd7(this,'_roomMembers$',new _0x4ddf34[(_0x23db75(0x24c))]([])),_0x389cd7(this,'roomMembers$',this[_0x23db75(0x295)][_0x23db75(0x1d2)]((0x0,_0x4ddf34['debounceTime'])(0x12c))),_0x389cd7(this,_0x23db75(0x43f),(0x0,_0x9007c9[_0x23db75(0x124)])(_0x4feb5b=>{const _0x40248f=_0x23db75;let _0x3a10e7={'eventID':_0xd933b[_0x40248f(0x2b6)][_0x40248f(0x32c)],'data':{'unitID':this[_0x40248f(0x22c)],'memberID':this[_0x40248f(0x2c1)][_0x40248f(0x286)](),'selection':_0x221774(_0x4feb5b)}};this[_0x40248f(0x2c1)][_0x40248f(0x128)](_0x3a10e7,this[_0x40248f(0x22c)]);},0x64));}[_0x364513(0x1ad)](){const _0x3cf5a1=_0x364513;super['dispose'](),this[_0x3cf5a1(0x37c)][_0x3cf5a1(0x1d7)](new Map()),this[_0x3cf5a1(0x37c)][_0x3cf5a1(0x2df)](),this[_0x3cf5a1(0x295)][_0x3cf5a1(0x1d7)]([]),this[_0x3cf5a1(0x295)]['complete']();}['init'](){const _0x4b3bb1=_0x364513;this[_0x4b3bb1(0x37e)]||(this[_0x4b3bb1(0x37e)]=!0x0,this[_0x4b3bb1(0x2c1)][_0x4b3bb1(0x39a)][_0x4b3bb1(0x1d2)]((0x0,_0x4ddf34['takeUntil'])(this[_0x4b3bb1(0x1df)]))[_0x4b3bb1(0x228)](_0x21351d=>{const _0x30634c=_0x4b3bb1;_0x21351d===_0x2c8280[_0x30634c(0x31f)][_0x30634c(0x316)]?this[_0x30634c(0x2f5)]():this[_0x30634c(0x262)]();}),this[_0x4b3bb1(0x2c1)]['event$'][_0x4b3bb1(0x1d2)]((0x0,_0x4ddf34[_0x4b3bb1(0x40f)])(this[_0x4b3bb1(0x1df)]))[_0x4b3bb1(0x228)](_0x1f2d10=>{const _0x14f505=_0x4b3bb1;let _0x2f75a1=_0x1f2d10[_0x14f505(0x3cf)];_0x2f75a1===_0xd933b[_0x14f505(0x2b6)][_0x14f505(0x32c)]&&this[_0x14f505(0x329)](_0x1f2d10),_0x2f75a1===_0xd933b[_0x14f505(0x2b6)][_0x14f505(0x180)]&&this[_0x14f505(0x319)](_0x1f2d10);}),this['disposeWithMe'](this[_0x4b3bb1(0x44c)][_0x4b3bb1(0x3f0)](_0x4d9c83=>{const _0x168e36=_0x4b3bb1;let _0x27423d=_0x4d9c83[_0x168e36(0x120)];_0x27423d!=null&&this['_online']&&_0x4d9c83['id']===_0x43c971[_0x168e36(0x112)]['id']&&_0x27423d[_0x168e36(0x118)]===this['unitID']&&_0x27423d['isEditing']===!0x1&&_0x27423d['ranges'][_0x168e36(0x20a)]>0x0&&this['_updateLocalCursor'](_0x27423d[_0x168e36(0x3e1)]);})),this[_0x4b3bb1(0x13a)][_0x4b3bb1(0x400)]['pipe']((0x0,_0x4ddf34['takeUntil'])(this[_0x4b3bb1(0x1df)]))['subscribe'](_0x27c29c=>{const _0x221da0=_0x4b3bb1;if((_0x27c29c==null?void 0x0:_0x27c29c[_0x221da0(0x22c)])!==this['unitID'])return;let _0x795e97={'eventID':_0xd933b[_0x221da0(0x2b6)]['UPDATE_CURSOR'],'data':_0x27c29c};this[_0x221da0(0x329)](_0x795e97);}),this[_0x4b3bb1(0x2a5)](this['_commandService']['onCommandExecuted'](_0x2d6178=>{const _0x4eae5d=_0x4b3bb1;if(_0x2d6178['params']==null)return;let _0x392274=_0x2d6178[_0x4eae5d(0x120)];if(_0x2d6178['id']!==_0x43c971[_0x4eae5d(0x3b6)]['id']||_0x392274[_0x4eae5d(0x118)]!==this[_0x4eae5d(0x22c)])return;let _0x2e053b={'id':_0x4eae5d(0x25c),'params':_0x392274},_0xc59f10=this['cursorInfo'];for(let [_0x4aa2ca,_0xc5c46f]of _0xc59f10){let _0x46ac96={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4eae5d(0x22c)],'actions':null,'textRanges':_0xc5c46f['ranges']}},_0x479cd5=this[_0x4eae5d(0x10a)][_0x4eae5d(0x273)](_0x2e053b,_0x46ac96,!0x1);if((0x0,_0xd933b[_0x4eae5d(0x248)])(_0x479cd5))throw _0x479cd5['error'];_0xc59f10[_0x4eae5d(0x43c)](_0x4aa2ca,{..._0xc5c46f,'ranges':_0x479cd5[_0x4eae5d(0x33d)][_0x4eae5d(0x120)][_0x4eae5d(0x21a)]});}queueMicrotask(()=>{const _0x3b2175=_0x4eae5d;this[_0x3b2175(0x37c)][_0x3b2175(0x1d7)](_0xc59f10);});})));}['_onCursorUpdate'](_0x5c74c7){const _0x3f8919=_0x364513;var _0x1f73c5;let {memberID:_0x2dedc0,selection:_0x57603e}=_0x5c74c7[_0x3f8919(0x1b1)],_0x551dc6=_0x113917(_0x57603e),_0x17f09e=((_0x1f73c5=this[_0x3f8919(0x346)][_0x3f8919(0x32e)](this[_0x3f8919(0x22c)],_0x2dedc0))==null?void 0x0:_0x1f73c5[_0x3f8919(0x427)])??'Unknown\x20user',_0x39952d={'color':this[_0x3f8919(0x201)][_0x3f8919(0x20b)](_0x2dedc0),'name':_0x17f09e,'ranges':_0x551dc6},_0x26506c=this['cursorInfo'];_0x26506c['set'](_0x2dedc0,_0x39952d),this[_0x3f8919(0x37c)][_0x3f8919(0x1d7)](_0x26506c);}['_onCursorDelete'](_0x2c4c52){const _0x5d8c8b=_0x364513;let {memberID:_0x38e8c7}=_0x2c4c52[_0x5d8c8b(0x1b1)],_0x27cb09=this[_0x5d8c8b(0x45f)];_0x27cb09[_0x5d8c8b(0x2cb)](_0x38e8c7),this['_cursorInfo$'][_0x5d8c8b(0x1d7)](_0x27cb09);}[_0x364513(0x2f5)](){const _0x4aafca=_0x364513;var _0x4a799b;if(this[_0x4aafca(0x14e)]=!0x0,((_0x4a799b=this[_0x4aafca(0x250)]['getFocusedUnit']())==null?void 0x0:_0x4a799b[_0x4aafca(0x3c7)]())!==this[_0x4aafca(0x22c)])return;let _0x52ce20=this['_injector'][_0x4aafca(0x37f)](_0x43c971['DocSelectionManagerService'])[_0x4aafca(0x367)]();Array[_0x4aafca(0x2e4)](_0x52ce20)&&_0x52ce20[_0x4aafca(0x20a)]>0x0&&this[_0x4aafca(0x43f)](_0x52ce20);}[_0x364513(0x262)](){this['_online']=!0x1;}};_0x29dc9d=_0x5343d2([_0x447c26(0x2,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9[_0x364513(0x338)])),_0x447c26(0x3,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x45bd93)),_0x447c26(0x4,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x2c8280[_0x364513(0x388)])),_0x447c26(0x5,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x5599a1)),_0x447c26(0x6,_0xd933b[_0x364513(0x12f)]),_0x447c26(0x7,_0x9007c9['IUniverInstanceService']),_0x447c26(0x8,_0x9007c9[_0x364513(0x3c4)])],_0x29dc9d);let _0x52cf02=()=>{let _0x258a17=[],_0x4d4a52=!0x1;return _0x36eb6b=>{const _0x47c0c9=_0x5e16;_0x258a17[_0x47c0c9(0x1a3)](_0x36eb6b),_0x4d4a52||(_0x4d4a52=!0x0,setTimeout(()=>{const _0xec602a=_0x47c0c9;_0x258a17[_0xec602a(0x3e8)](_0x111a6b=>_0x111a6b()),_0x258a17=[],_0x4d4a52=!0x1;}));};},_0x5d5b01=class extends _0x9007c9[_0x364513(0x2c5)]{get[_0x364513(0x45f)](){return this['_cursorInfo$']['getValue']();}get[_0x364513(0x1f2)](){const _0xbdd043=_0x364513;return this[_0xbdd043(0x295)][_0xbdd043(0x368)]();}constructor(_0x4e5664,_0x3fa045,_0x2392e8,_0x546adc,_0xf8564e,_0x28e1d3,_0x50fa1b,_0x1c4d67){const _0x2aa549=_0x364513;super(),this[_0x2aa549(0x22c)]=_0x4e5664,this[_0x2aa549(0x2c1)]=_0x3fa045,this[_0x2aa549(0x1c5)]=_0x2392e8,this['_colorAssignService']=_0x546adc,this[_0x2aa549(0x346)]=_0xf8564e,this[_0x2aa549(0x250)]=_0x28e1d3,this[_0x2aa549(0x44c)]=_0x50fa1b,this[_0x2aa549(0x419)]=_0x1c4d67,_0x389cd7(this,_0x2aa549(0x14e),!0x1),_0x389cd7(this,_0x2aa549(0x37e),!0x1),_0x389cd7(this,'_cursorInfo$',new _0x4ddf34[(_0x2aa549(0x24c))](new Map())),_0x389cd7(this,_0x2aa549(0x31e),this['_cursorInfo$'][_0x2aa549(0x394)]()),_0x389cd7(this,_0x2aa549(0x295),new _0x4ddf34['BehaviorSubject']([])),_0x389cd7(this,_0x2aa549(0x1bf),this[_0x2aa549(0x295)][_0x2aa549(0x1d2)]((0x0,_0x4ddf34[_0x2aa549(0x276)])(0x12c))),_0x389cd7(this,_0x2aa549(0x43f),(0x0,_0x9007c9[_0x2aa549(0x124)])((_0x4e29dc,_0x503bc5)=>{const _0x470de6=_0x2aa549;let _0x2bc30e={'eventID':_0xd933b['CollaborationEvent'][_0x470de6(0x32c)],'data':{'unitID':this[_0x470de6(0x22c)],'memberID':this[_0x470de6(0x2c1)][_0x470de6(0x286)](),'selection':(0x0,_0x4e227a[_0x470de6(0x3d8)])(_0x4e29dc,_0x503bc5[_0x470de6(0x387)])}};this[_0x470de6(0x2c1)][_0x470de6(0x128)](_0x2bc30e,this['unitID']);},0x64));}[_0x364513(0x1ad)](){const _0x26f66e=_0x364513;super['dispose'](),this[_0x26f66e(0x37c)][_0x26f66e(0x1d7)](new Map()),this[_0x26f66e(0x37c)][_0x26f66e(0x2df)](),this[_0x26f66e(0x295)][_0x26f66e(0x1d7)]([]),this['_roomMembers$']['complete']();}[_0x364513(0x38c)](){const _0x474317=_0x364513;this[_0x474317(0x37e)]||(this[_0x474317(0x37e)]=!0x0,this[_0x474317(0x2c1)][_0x474317(0x39a)]['pipe']((0x0,_0x4ddf34['takeUntil'])(this[_0x474317(0x1df)]))[_0x474317(0x228)](_0x5a5978=>{const _0x30c74b=_0x474317;_0x5a5978===_0x2c8280[_0x30c74b(0x31f)][_0x30c74b(0x316)]?this[_0x30c74b(0x2f5)]():this[_0x30c74b(0x262)]();}),this['_session']['event$'][_0x474317(0x1d2)]((0x0,_0x4ddf34[_0x474317(0x40f)])(this[_0x474317(0x1df)]))[_0x474317(0x228)](_0x126219=>{const _0x496473=_0x474317;let _0x581c6c=_0x126219['eventID'];_0x581c6c===_0xd933b[_0x496473(0x2b6)]['UPDATE_CURSOR']&&this[_0x496473(0x329)](_0x126219),_0x581c6c===_0xd933b[_0x496473(0x2b6)][_0x496473(0x180)]&&this[_0x496473(0x319)](_0x126219);}),this['_onRefRangeChange'](),this[_0x474317(0x2a5)](this['_commandService'][_0x474317(0x3f0)](_0x39b776=>{const _0x4ecb4e=_0x474317;if(this[_0x4ecb4e(0x14e)]&&_0x39b776['id']===_0x1ae39c['SetSelectionsOperation']['id']&&_0x39b776[_0x4ecb4e(0x120)]['unitId']===this['unitID']){let _0x4f3eb3=_0x39b776[_0x4ecb4e(0x120)];this[_0x4ecb4e(0x43f)](_0x4f3eb3[_0x4ecb4e(0x2ad)],_0x4f3eb3[_0x4ecb4e(0x336)][0x0]);}})));}['_onCursorUpdate'](_0xdbf7db){const _0x11172c=_0x364513;var _0x35b0a9;let {memberID:_0x7eb3d0,selection:_0x849720}=_0xdbf7db[_0x11172c(0x1b1)],{sheetName:_0xbae0ea,range:_0x39b241}=(0x0,_0x4e227a[_0x11172c(0x17a)])(_0x849720),_0x20edea={'name':((_0x35b0a9=this[_0x11172c(0x346)][_0x11172c(0x32e)](this[_0x11172c(0x22c)],_0x7eb3d0))==null?void 0x0:_0x35b0a9[_0x11172c(0x427)])??_0x11172c(0x22e),'range':this[_0x11172c(0x214)](_0xbae0ea,_0x39b241),'sheetID':_0xbae0ea,'color':this[_0x11172c(0x201)][_0x11172c(0x20b)](_0x7eb3d0),'selection':_0x849720},_0x1e87e2=this[_0x11172c(0x45f)];_0x1e87e2[_0x11172c(0x43c)](_0x7eb3d0,_0x20edea),this[_0x11172c(0x37c)][_0x11172c(0x1d7)](_0x1e87e2);}[_0x364513(0x319)](_0x17eabd){const _0x3aae1f=_0x364513;let {memberID:_0x262a73}=_0x17eabd[_0x3aae1f(0x1b1)],_0x4af7d7=this['cursorInfo'];_0x4af7d7['delete'](_0x262a73),this[_0x3aae1f(0x37c)]['next'](_0x4af7d7);}['_getMergeRange'](_0x4d68a1,_0x3d1da7){const _0x329886=_0x364513;var _0x9d9cf5;let _0x10510e=(_0x9d9cf5=this[_0x329886(0x250)]['getUnit'](this['unitID'],_0x9007c9['UniverInstanceType'][_0x329886(0x2a4)]))==null||(_0x9d9cf5=_0x9d9cf5[_0x329886(0x1c0)](_0x4d68a1))==null?void 0x0:_0x9d9cf5[_0x329886(0x17c)]();return(_0x10510e==null?void 0x0:_0x10510e[_0x329886(0x14d)](_0x3b3a70=>_0x9007c9[_0x329886(0x105)]['contains'](_0x3b3a70,_0x3d1da7)))||_0x3d1da7;}[_0x364513(0x243)](){const _0x4957e2=_0x364513;let _0x9debe1=new _0x9007c9[(_0x4957e2(0x1d3))](),_0x10efa7=_0x52cf02(),_0x4572f4=()=>{const _0x35a6f5=_0x4957e2;_0x9debe1['dispose']();let _0x456878=(_0x4adf43,_0x17a18b,_0x4d2e12,_0x1d7c62)=>{const _0x2296c4=_0x5e16;let _0x3b84db=[];switch(_0x4adf43['id']){case _0x1ae39c[_0x2296c4(0x2bb)]['DeleteRangeMoveLeftCommandId']:_0x3b84db=(0x0,_0x1ae39c['handleDeleteRangeMoveLeft'])(_0x4adf43,_0x1d7c62);break;case _0x1ae39c[_0x2296c4(0x2bb)][_0x2296c4(0x445)]:_0x3b84db=(0x0,_0x1ae39c[_0x2296c4(0x29e)])(_0x4adf43,_0x1d7c62);break;case _0x1ae39c['EffectRefRangId'][_0x2296c4(0x3a5)]:_0x3b84db=(0x0,_0x1ae39c['handleInsertCol'])(_0x4adf43,_0x1d7c62);break;case _0x1ae39c[_0x2296c4(0x2bb)][_0x2296c4(0x1cb)]:_0x3b84db=(0x0,_0x1ae39c[_0x2296c4(0x14b)])(_0x4adf43,_0x1d7c62);break;case _0x1ae39c[_0x2296c4(0x2bb)][_0x2296c4(0x435)]:_0x3b84db=(0x0,_0x1ae39c[_0x2296c4(0x420)])(_0x4adf43,_0x1d7c62);break;case _0x1ae39c[_0x2296c4(0x2bb)]['InsertRowCommandId']:_0x3b84db=(0x0,_0x1ae39c[_0x2296c4(0x11d)])(_0x4adf43,_0x1d7c62);break;case _0x1ae39c[_0x2296c4(0x2bb)][_0x2296c4(0x3db)]:_0x3b84db=(0x0,_0x1ae39c['handleMoveRange'])(_0x4adf43,_0x1d7c62);break;case _0x1ae39c[_0x2296c4(0x2bb)][_0x2296c4(0x3f2)]:_0x3b84db=(0x0,_0x1ae39c[_0x2296c4(0x2b5)])(_0x4adf43,_0x1d7c62);break;case _0x1ae39c[_0x2296c4(0x2bb)][_0x2296c4(0x131)]:_0x3b84db=(0x0,_0x1ae39c[_0x2296c4(0x23b)])(_0x4adf43,_0x1d7c62);}let _0x126420=(0x0,_0x1ae39c[_0x2296c4(0x36c)])(_0x3b84db,_0x1d7c62),_0x2359c1=this[_0x2296c4(0x45f)][_0x2296c4(0x37f)](_0x17a18b);if(_0x2359c1&&_0x126420){let _0x3e750a={..._0x2359c1,'range':_0x126420};this[_0x2296c4(0x45f)][_0x2296c4(0x43c)](_0x17a18b,_0x3e750a),_0x10efa7(()=>{const _0x3f4fcc=_0x2296c4;let _0x51b894=this[_0x3f4fcc(0x419)][_0x3f4fcc(0x3dc)](_0x126420,_0x36d548=>(_0x51b894[_0x3f4fcc(0x1ad)](),_0x456878(_0x36d548,_0x17a18b,_0x4d2e12,_0x126420)));_0x9debe1[_0x3f4fcc(0x345)](_0x51b894);});}return{'redos':[],'undos':[]};};this[_0x35a6f5(0x45f)][_0x35a6f5(0x3e8)]((_0x2b7d5a,_0xa969e1)=>{const _0x494047=_0x35a6f5;let {range:_0x418ac8,sheetID:_0x5ce616}=_0x2b7d5a,_0x5cc9b1=this[_0x494047(0x419)][_0x494047(0x3dc)](_0x418ac8,_0x3f188d=>(_0x5cc9b1[_0x494047(0x1ad)](),_0x456878(_0x3f188d,_0xa969e1,_0x5ce616,_0x418ac8)));_0x9debe1[_0x494047(0x345)](_0x5cc9b1);});};this[_0x4957e2(0x2a5)]((0x0,_0x9007c9[_0x4957e2(0x32d)])(this[_0x4957e2(0x37c)][_0x4957e2(0x228)](()=>{_0x4572f4();})));}[_0x364513(0x2f5)](){const _0x5a8162=_0x364513;var _0x4bb1ef,_0x118710;if(this['_online']=!0x0,((_0x4bb1ef=this[_0x5a8162(0x250)][_0x5a8162(0x421)]())==null?void 0x0:_0x4bb1ef[_0x5a8162(0x3c7)]())!==this[_0x5a8162(0x22c)])return;let _0x54f0b6=(_0x118710=this['_injector']['get'](_0x1ae39c['SheetsSelectionsService'])[_0x5a8162(0x2bd)]())==null?void 0x0:_0x118710[0x0],_0x531750=this[_0x5a8162(0x250)][_0x5a8162(0x244)](_0x9007c9[_0x5a8162(0x1da)][_0x5a8162(0x2a4)])[_0x5a8162(0x325)]();_0x54f0b6&&_0x531750&&this[_0x5a8162(0x43f)](_0x531750[_0x5a8162(0x414)](),_0x54f0b6);}[_0x364513(0x262)](){const _0x3a9e2d=_0x364513;this[_0x3a9e2d(0x14e)]=!0x1;}};_0x5d5b01=_0x5343d2([_0x447c26(0x2,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9[_0x364513(0x338)])),_0x447c26(0x3,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x45bd93)),_0x447c26(0x4,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x2c8280['MemberService'])),_0x447c26(0x5,_0x9007c9['IUniverInstanceService']),_0x447c26(0x6,_0x9007c9['ICommandService']),_0x447c26(0x7,(0x0,_0x9007c9['Inject'])(_0x1ae39c[_0x364513(0x1fd)]))],_0x5d5b01);let _0x4a5700=class extends _0x9007c9['RxDisposable']{constructor(_0x109691,_0x3101e9,_0x1b3557){const _0x340dd3=_0x364513;super(),this[_0x340dd3(0x250)]=_0x109691,this['_injector']=_0x3101e9,this[_0x340dd3(0x3a4)]=_0x1b3557,_0x389cd7(this,_0x340dd3(0x1a9),new Map()),_0x389cd7(this,_0x340dd3(0x1fe),new _0x4ddf34[(_0x340dd3(0x2ef))]()),this[_0x340dd3(0x37e)]();}['dispose'](){const _0x349e82=_0x364513;super[_0x349e82(0x1ad)](),this['_entityInit$'][_0x349e82(0x2df)](),this['_entities']['forEach'](_0x135258=>_0x135258[_0x349e82(0x1ad)]());}[_0x364513(0x28b)](_0x549990){const _0x1b2dca=_0x364513;let _0x15c422=this[_0x1b2dca(0x1a9)][_0x1b2dca(0x37f)](_0x549990);return _0x15c422?_0x15c422['cursorInfo$']:this[_0x1b2dca(0x1fe)][_0x1b2dca(0x1d2)]((0x0,_0x4ddf34[_0x1b2dca(0x3e5)])(_0x57340b=>_0x57340b[_0x1b2dca(0x22c)]===_0x549990),(0x0,_0x4ddf34[_0x1b2dca(0x299)])(_0x3bbd10=>_0x3bbd10['cursorInfo$']));}[_0x364513(0x37e)](){const _0x1999bd=_0x364513;this[_0x1999bd(0x250)][_0x1999bd(0x137)](_0x9007c9['UniverInstanceType'][_0x1999bd(0x2a4)])[_0x1999bd(0x1d2)]((0x0,_0x4ddf34[_0x1999bd(0x40f)])(this[_0x1999bd(0x1df)]))[_0x1999bd(0x228)](async _0xff09b4=>{const _0x1a243d=_0x1999bd;let _0x5e47e1=_0xff09b4['unit'][_0x1a243d(0x3c7)](),_0x5a4877=await this[_0x1a243d(0x1d8)](_0x5e47e1);this[_0x1a243d(0x1fe)][_0x1a243d(0x1d7)](_0x5a4877),this[_0x1a243d(0x1a9)]['set'](_0x5e47e1,_0x5a4877);}),this[_0x1999bd(0x250)][_0x1999bd(0x137)](_0x9007c9[_0x1999bd(0x1da)][_0x1999bd(0x444)])[_0x1999bd(0x1d2)]((0x0,_0x4ddf34['takeUntil'])(this[_0x1999bd(0x1df)]))[_0x1999bd(0x1d2)]((0x0,_0x4ddf34['filter'])(_0x102522=>!_0x102522[_0x1999bd(0x13f)][_0x1999bd(0x3c7)]()[_0x1999bd(0x163)]('__')))['subscribe'](async _0x38ab95=>{const _0x453bb8=_0x1999bd;let {unit:_0x2b7a60}=_0x38ab95,_0xf94051=_0x2b7a60[_0x453bb8(0x3c7)](),_0x54cee3=await this[_0x453bb8(0x183)](_0xf94051);this[_0x453bb8(0x1fe)][_0x453bb8(0x1d7)](_0x54cee3),this[_0x453bb8(0x1a9)][_0x453bb8(0x43c)](_0xf94051,_0x54cee3);}),(0x0,_0x4ddf34['merge'])(this[_0x1999bd(0x250)]['getTypeOfUnitDisposed$'](_0x9007c9[_0x1999bd(0x1da)][_0x1999bd(0x444)]),this['_univerInstanceService'][_0x1999bd(0x2f6)](_0x9007c9[_0x1999bd(0x1da)][_0x1999bd(0x2a4)]))[_0x1999bd(0x1d2)]((0x0,_0x4ddf34[_0x1999bd(0x40f)])(this[_0x1999bd(0x1df)]))[_0x1999bd(0x228)](_0x4ddaf0=>{const _0x32bd57=_0x1999bd;let _0x457eb9=_0x4ddaf0[_0x32bd57(0x3c7)](),_0x4766a8=this['_entities'][_0x32bd57(0x37f)](_0x457eb9);_0x4766a8&&(_0x4766a8['dispose'](),this[_0x32bd57(0x1a9)][_0x32bd57(0x2cb)](_0x457eb9));});}async['_startSheetCollabCursor'](_0x5b4377){const _0x69bfda=_0x364513;let _0xc3d69e=await this['_collabSessionService']['requireSession'](_0x5b4377),_0x17224e=this[_0x69bfda(0x1c5)]['createInstance'](_0x5d5b01,_0x5b4377,_0xc3d69e);return _0x17224e[_0x69bfda(0x38c)](),_0x17224e;}async['_startDocCollabCursor'](_0x172a4b){const _0x274e48=_0x364513;let _0x506937=await this['_collabSessionService'][_0x274e48(0x236)](_0x172a4b),_0x27d62=this['_injector'][_0x274e48(0x204)](_0x29dc9d,_0x172a4b,_0x506937);return _0x27d62[_0x274e48(0x38c)](),_0x27d62;}};_0x4a5700=_0x5343d2([_0x447c26(0x0,_0x9007c9['IUniverInstanceService']),_0x447c26(0x1,(0x0,_0x9007c9['Inject'])(_0x9007c9[_0x364513(0x338)])),_0x447c26(0x2,(0x0,_0x9007c9['Inject'])(_0x2c8280[_0x364513(0x1ec)]))],_0x4a5700);function _0x511a74(_0x340f7f,_0x508145){const _0x3990ad=_0x364513;_0x340f7f[_0x3990ad(0x165)](),_0x340f7f[_0x3990ad(0x465)]=_0x3990ad(0x44e);let _0x4095b8=_0x340f7f[_0x3990ad(0x44b)](_0x508145)[_0x3990ad(0x362)];return _0x340f7f[_0x3990ad(0x412)](),Math[_0x3990ad(0x332)](_0x4095b8+0x8,0xc8);}function _0x42cda6(_0x239ed0,_0x34621f){const _0x1bdc1b=_0x364513;let {radius:_0xdd2e40,width:_0xfd4f6c,height:_0x5542af}=_0x34621f;_0xdd2e40??=0x0,_0xfd4f6c??=0x1e,_0x5542af??=0x1e;let _0x543378=0x0,_0x46cef8=0x0,_0x46aacb=0x0;_0x543378=_0x46cef8=_0x46aacb=Math['min'](_0xdd2e40,_0xfd4f6c/0x2,_0x5542af/0x2),_0x239ed0[_0x1bdc1b(0x195)](),_0x239ed0['moveTo'](_0x543378,0x0),_0x239ed0[_0x1bdc1b(0x303)](_0xfd4f6c-_0x46cef8,0x0),_0x239ed0['arc'](_0xfd4f6c-_0x46cef8,_0x46cef8,_0x46cef8,Math['PI']*0x3/0x2,0x0,!0x1),_0x239ed0[_0x1bdc1b(0x303)](_0xfd4f6c,_0x5542af-_0x46aacb),_0x239ed0[_0x1bdc1b(0x289)](_0xfd4f6c-_0x46aacb,_0x5542af-_0x46aacb,_0x46aacb,0x0,Math['PI']/0x2,!0x1),_0x239ed0[_0x1bdc1b(0x303)](0x0,_0x5542af),_0x239ed0[_0x1bdc1b(0x303)](0x0,_0x543378),_0x239ed0[_0x1bdc1b(0x289)](_0x543378,_0x543378,_0x543378,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x239ed0[_0x1bdc1b(0x3da)](),_0x34621f[_0x1bdc1b(0x10c)]&&(_0x239ed0['save'](),_0x239ed0[_0x1bdc1b(0x175)]=_0x34621f[_0x1bdc1b(0x10c)],_0x34621f['fillRule']===_0x1bdc1b(0x454)?_0x239ed0['fill'](_0x1bdc1b(0x454)):_0x239ed0['fill'](),_0x239ed0[_0x1bdc1b(0x412)]());}var _0x441bc5=class _0x54b3c5 extends _0x2a864e['Shape']{constructor(_0x20ce0a,_0x29984d){const _0x3d333a=_0x364513;super(_0x20ce0a,_0x29984d),_0x389cd7(this,'color',void 0x0),_0x389cd7(this,_0x3d333a(0x311),void 0x0),this[_0x3d333a(0x466)]=_0x29984d==null?void 0x0:_0x29984d[_0x3d333a(0x466)],this[_0x3d333a(0x311)]=_0x29984d==null?void 0x0:_0x29984d[_0x3d333a(0x311)];}static[_0x364513(0x2c7)](_0x2853cd,_0x9f761e){const _0x203f5e=_0x364513;let {text:_0x6fa9a,color:_0x5e57d1}=_0x9f761e;_0x2853cd[_0x203f5e(0x165)](),_0x2853cd['font']=_0x203f5e(0x2b0);let _0x405acd=_0x2853cd[_0x203f5e(0x44b)](_0x6fa9a)[_0x203f5e(0x362)];if(_0x42cda6(_0x2853cd,{'height':0x14,'radius':0x4,'width':_0x511a74(_0x2853cd,_0x6fa9a),'fill':_0x5e57d1,'evented':!0x1}),_0x2853cd['fillStyle']='#FFF',_0x405acd>0xc0){let _0xa12cce='',_0x1e2ee8=0x0;for(let _0x16029a of _0x6fa9a){let _0x212066=_0x2853cd[_0x203f5e(0x44b)](_0x16029a)[_0x203f5e(0x362)];if(_0x1e2ee8+_0x212066<=0xc0-_0x2853cd[_0x203f5e(0x44b)](_0x203f5e(0x2bf))[_0x203f5e(0x362)])_0xa12cce+=_0x16029a,_0x1e2ee8+=_0x212066;else{_0xa12cce+=_0x203f5e(0x2bf);break;}}_0x2853cd[_0x203f5e(0x326)](_0xa12cce,0x4,0xf);}else _0x2853cd[_0x203f5e(0x326)](_0x6fa9a,0x4,0xf);_0x2853cd[_0x203f5e(0x412)]();}['_draw'](_0x543417){const _0x5759c3=_0x364513;_0x54b3c5[_0x5759c3(0x2c7)](_0x543417,this);}};let _0x344752=_0x364513(0x151);var _0x3221aa=class{constructor(_0x32b6eb,_0x32a34a,_0x27bbeb,_0x31fabd){const _0x52d918=_0x364513;this[_0x52d918(0x21e)]=_0x32b6eb,this[_0x52d918(0x349)]=_0x32a34a,this[_0x52d918(0x1cf)]=_0x27bbeb,this['_document']=_0x31fabd,_0x389cd7(this,_0x52d918(0x357),[]),_0x389cd7(this,'_anchor',null),_0x389cd7(this,'_textBubble',null),_0x389cd7(this,_0x52d918(0x2e5),null),_0x389cd7(this,_0x52d918(0x2d5),null),_0x389cd7(this,_0x52d918(0x225),null),this[_0x52d918(0x2cf)]();}set[_0x364513(0x334)](_0x4b5a1){const _0x37dd21=_0x364513;_0x4b5a1?(this[_0x37dd21(0x2e5)]&&this['_anchorDot'][_0x37dd21(0x468)](),this[_0x37dd21(0x2cd)]&&this[_0x37dd21(0x2cd)][_0x37dd21(0x464)]()):(this[_0x37dd21(0x2e5)]&&this[_0x37dd21(0x2e5)][_0x37dd21(0x464)](),this['_textBubble']&&this[_0x37dd21(0x2cd)]['hide']());}[_0x364513(0x1ad)](){const _0x5b49d4=_0x364513;for(let _0x24fd38 of this['_shapes'])_0x24fd38[_0x5b49d4(0x1ad)]();this[_0x5b49d4(0x2cd)]&&this[_0x5b49d4(0x2cd)][_0x5b49d4(0x1ad)](),this['_anchorDot']&&this[_0x5b49d4(0x2e5)]['dispose'](),this[_0x5b49d4(0x108)]&&this[_0x5b49d4(0x108)][_0x5b49d4(0x1ad)](),this[_0x5b49d4(0x225)]&&this[_0x5b49d4(0x225)]();}[_0x364513(0x2cf)](){const _0x22e936=_0x364513;let {_docSkeleton:_0x3d6ec5,_document:_0xf9066a}=this,{color:_0xd51df,name:_0x3c871d,ranges:_0x1e067b}=this[_0x22e936(0x21e)],_0x28049=_0xf9066a['getOffsetConfig'](),{docsLeft:_0x26a647,docsTop:_0x237db7}=_0x28049,_0x8d8679=new _0x179eb9[(_0x22e936(0x38a))](_0x28049,_0x3d6ec5);for(let {startOffset:_0x4bdf4f,endOffset:_0x334441,rangeType:_0x316982,segmentId:_0xcfe8bc,segmentPage:_0x214c7e,collapsed:_0x249ff2,isActive:_0x22f55b}of _0x1e067b){let _0x1809b8=_0x3d6ec5['findNodePositionByCharIndex'](_0x4bdf4f,!0x0,_0xcfe8bc,_0x214c7e),_0x39553e=_0x3d6ec5[_0x22e936(0x1ee)](_0x334441,!0x0,_0xcfe8bc,_0x214c7e);_0x39553e??=_0x3d6ec5[_0x22e936(0x1ee)](_0x334441-0x1,!0x1,_0xcfe8bc,_0x214c7e);let _0x3e2621=_0x4682a1(_0x1809b8,_0x39553e);if(_0x22f55b&&_0x3e2621[_0x22e936(0x3d6)]){let {contentBoxPointGroup:_0x26289a}=_0x8d8679[_0x22e936(0x3a9)](_0x39553e,_0x39553e);if(_0x26289a[_0x22e936(0x20a)]===0x0)continue;this[_0x22e936(0x3b8)](_0xd51df,_0x26289a,_0x26a647,_0x237db7,_0x3c871d),this[_0x22e936(0x225)]=this[_0x22e936(0x2d6)]();}if(_0x1809b8&&_0x39553e){if(_0x316982===_0x9007c9['DOC_RANGE_TYPE']['RECT']){let {pointGroup:_0x5b842b}=new _0x179eb9[(_0x22e936(0x397))](_0x28049,_0x3d6ec5)[_0x22e936(0x3a9)](_0x1809b8,_0x39553e)??{};if(_0x5b842b==null||_0x5b842b[_0x22e936(0x20a)]===0x0)continue;this['_drawRectRange'](_0xd51df,_0x5b842b,_0x26a647,_0x237db7);}else{if(!_0x249ff2&&_0x3e2621[_0x22e936(0x10b)]){let {borderBoxPointGroup:_0x6361ae}=_0x8d8679[_0x22e936(0x3a9)](_0x1809b8,_0x39553e);if(_0x6361ae[_0x22e936(0x20a)]===0x0)continue;this[_0x22e936(0x192)](_0xd51df,_0x6361ae,_0x26a647,_0x237db7);}}}}}[_0x364513(0x3b8)](_0x24f5b7,_0x2ecf1e,_0x1f2cb2,_0x435adf,_0x1773a8){const _0x4420db=_0x364513;let {left:_0xce567f,top:_0x2a1af5,height:_0x266af6}=this[_0x4420db(0x171)](_0x2ecf1e),_0x4c403e=1.5/this['_getScale'](),_0x27101d=new _0x2a864e[(_0x4420db(0x254))](_0x344752+(0x0,_0x9007c9['generateRandomId'])(0x6),{'left':_0xce567f+_0x1f2cb2-_0x4c403e,'top':_0x2a1af5+_0x435adf,'height':_0x266af6,'width':1.5,'fill':_0x24f5b7||(0x0,_0x2a864e['getColor'])(_0x9007c9[_0x4420db(0x417)]['black'],0x0),'strokeWidth':_0x4c403e,'stroke':'rgba(255,\x20255,\x20255,\x200.01)','evented':!0x0});this['_anchor']=_0x27101d,this[_0x4420db(0x349)]['addObject'](_0x27101d,_0x179eb9[_0x4420db(0x2a7)]);let _0x184732=new _0x2a864e[(_0x4420db(0x254))](_0x344752+(0x0,_0x9007c9[_0x4420db(0x39d)])(0x6),{'left':_0xce567f+_0x1f2cb2-_0x4c403e,'top':_0x2a1af5+_0x435adf-0x2,'height':0x4,'width':0x4,'fill':_0x24f5b7||(0x0,_0x2a864e['getColor'])(_0x9007c9['COLORS'][_0x4420db(0x2c9)],0x0),'strokeWidth':0x0,'stroke':_0x24f5b7||(0x0,_0x2a864e['getColor'])(_0x9007c9[_0x4420db(0x417)]['black'],0x0),'evented':!0x1});this[_0x4420db(0x2e5)]=_0x184732,this[_0x4420db(0x349)]['addObject'](_0x184732,_0x179eb9[_0x4420db(0x2a7)]);let _0x346491=new _0x441bc5(_0x344752+(0x0,_0x9007c9[_0x4420db(0x39d)])(0x6),{'left':_0xce567f+_0x1f2cb2-_0x4c403e,'top':_0x2a1af5+_0x435adf-0x14,'text':_0x1773a8,'color':_0x24f5b7});this[_0x4420db(0x2cd)]=_0x346491,this[_0x4420db(0x349)][_0x4420db(0x1e7)](_0x346491,_0x179eb9[_0x4420db(0x2a7)]),this[_0x4420db(0x334)]=!0x1;}[_0x364513(0x2d6)](){const _0x224022=_0x364513;let _0x299872=this['_anchor'][_0x224022(0x39b)][_0x224022(0x20f)](()=>{const _0x31524a=_0x224022;this[_0x31524a(0x334)]=!0x0;}),_0x3a7d1b=this[_0x224022(0x108)][_0x224022(0x1b4)][_0x224022(0x20f)](()=>{const _0x27d222=_0x224022;this[_0x27d222(0x2d5)]&&clearTimeout(this[_0x27d222(0x2d5)]),this[_0x27d222(0x2d5)]=setTimeout(()=>{const _0x2d5f30=_0x27d222;this[_0x2d5f30(0x334)]=!0x1;},0x7d0);});return()=>{const _0x4a54ab=_0x224022;_0x299872['unsubscribe'](),_0x3a7d1b[_0x4a54ab(0x17d)]();};}['_drawTextRange'](_0x29e018,_0x12757f,_0x489264,_0x49520a){const _0x14a204=_0x364513;let _0x3c0af7=0.2,_0x15b899=new _0x9007c9[(_0x14a204(0x43a))](_0x29e018)[_0x14a204(0x36f)](_0x3c0af7)[_0x14a204(0x31b)](),_0x98c306=new _0x2a864e[(_0x14a204(0x129))]('collab-text-range-'+(0x0,_0x9007c9[_0x14a204(0x39d)])(0x6),{'pointsGroup':_0x12757f,'fill':_0x15b899||(0x0,_0x2a864e[_0x14a204(0x40b)])(_0x9007c9['COLORS']['black'],_0x3c0af7),'left':_0x489264,'top':_0x49520a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x14a204(0x357)]['push'](_0x98c306),this[_0x14a204(0x349)]['addObject'](_0x98c306,_0x179eb9[_0x14a204(0x2a7)]);}[_0x364513(0x253)](_0x206d7c,_0x102bac,_0x39e82b,_0x24646f){const _0x40d771=_0x364513;let _0x568fac=0.2,_0x1d0f8b=new _0x9007c9[(_0x40d771(0x43a))](_0x206d7c)['setAlpha'](_0x568fac)['toRgbString'](),_0x31325b=new _0x2a864e[(_0x40d771(0x129))](_0x40d771(0x181)+(0x0,_0x9007c9[_0x40d771(0x39d)])(0x6),{'pointsGroup':_0x102bac,'fill':_0x1d0f8b||(0x0,_0x2a864e[_0x40d771(0x40b)])(_0x9007c9[_0x40d771(0x417)][_0x40d771(0x2c9)],_0x568fac),'left':_0x39e82b,'top':_0x24646f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x40d771(0x357)][_0x40d771(0x1a3)](_0x31325b),this[_0x40d771(0x349)]['addObject'](_0x31325b,_0x179eb9[_0x40d771(0x2a7)]);}[_0x364513(0x171)](_0x3c8f95){let _0x5ae0e6=_0x3c8f95[0x0],_0x244a67=_0x5ae0e6[0x0],_0x3b1ca5=_0x5ae0e6[0x2],{x:_0x5d8940,y:_0x3a3e11}=_0x244a67,{x:_0x106d3f,y:_0x3c8321}=_0x3b1ca5;return{'left':_0x5d8940,'top':_0x3a3e11,'width':_0x106d3f-_0x5d8940,'height':_0x3c8321-_0x3a3e11};}[_0x364513(0x1ab)](){const _0x58fe03=_0x364513;let {scaleX:_0x505353,scaleY:_0x1d5d9d}=this[_0x58fe03(0x349)][_0x58fe03(0x425)]();return Math[_0x58fe03(0x198)](_0x505353,_0x1d5d9d);}};function _0x4682a1(_0x26ff61,_0x1bf246){const _0x449e4c=_0x364513;if(!_0x1bf246)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x26ff61||_0x26ff61[_0x449e4c(0x270)]!==_0x1bf246[_0x449e4c(0x270)]||(_0x26ff61[_0x449e4c(0x270)]===_0x2a864e[_0x449e4c(0x245)][_0x449e4c(0x385)]||_0x26ff61[_0x449e4c(0x270)]===_0x2a864e[_0x449e4c(0x245)][_0x449e4c(0x24f)])&&_0x26ff61[_0x449e4c(0x1b0)]!==_0x1bf246['segmentPage'])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x3ed35e=(0x0,_0x2a864e[_0x449e4c(0x158)])(_0x26ff61),_0x2d8430=(0x0,_0x2a864e[_0x449e4c(0x158)])(_0x1bf246);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x3ed35e==null||_0x2d8430==null?_0x3ed35e==null&&_0x2d8430==null:_0x3ed35e['pageIndex']===_0x2d8430['pageIndex']&&_0x3ed35e[_0x449e4c(0x429)]===_0x2d8430[_0x449e4c(0x429)]&&_0x3ed35e[_0x449e4c(0x3c2)]===_0x2d8430[_0x449e4c(0x3c2)]};}let _0x227c8c=class extends _0x9007c9[_0x364513(0x2c5)]{constructor(_0x564891,_0x1510ca,_0x1299ed,_0x22f81a,_0x3865b4){const _0x4cdc5b=_0x364513;super(),this[_0x4cdc5b(0x3b9)]=_0x564891,this[_0x4cdc5b(0x3fe)]=_0x1510ca,this[_0x4cdc5b(0x274)]=_0x1299ed,this[_0x4cdc5b(0x44c)]=_0x22f81a,this[_0x4cdc5b(0x29a)]=_0x3865b4,_0x389cd7(this,_0x4cdc5b(0x1e4),[]),_0x389cd7(this,'_cursors',[]),this[_0x4cdc5b(0x37e)]();}[_0x364513(0x37e)](){const _0x5063fd=_0x364513;let _0x4e1141=this[_0x5063fd(0x3b9)]['unitId'],_0x5e9461=this['_docSkeletonManagerService'];this[_0x5063fd(0x2a5)]((0x0,_0x4ddf34[_0x5063fd(0x3eb)])([this['_collabCursorController'][_0x5063fd(0x28b)](_0x4e1141),this[_0x5063fd(0x29a)][_0x5063fd(0x2ac)]])[_0x5063fd(0x1d2)]((0x0,_0x9cef3d[_0x5063fd(0x1c3)])(([_0x476e7f,_0x2c137b])=>({'skeleton':_0x5e9461[_0x5063fd(0x3fa)](),'cursors':[..._0x476e7f[_0x5063fd(0x25e)]()][_0x5063fd(0x382)](_0x494b4e=>({..._0x494b4e,'color':this[_0x5063fd(0x29a)][_0x5063fd(0x2b8)](_0x494b4e[_0x5063fd(0x466)])}))})))[_0x5063fd(0x228)](_0x34b6e9=>{const _0x399c8e=_0x5063fd;if(this[_0x399c8e(0x34c)](),_0x34b6e9){let {skeleton:_0x22b568,cursors:_0x5bd8ed}=_0x34b6e9;this[_0x399c8e(0x1f4)](_0x22b568,_0x5bd8ed);}})),this[_0x5063fd(0x409)](),this[_0x5063fd(0x1e2)]();}[_0x364513(0x1f4)](_0x14146c,_0x54b65b){const _0x1d7d4a=_0x364513;let {scene:_0x1d5685,mainComponent:_0x5388dc}=this[_0x1d7d4a(0x3b9)],_0x3a4042=_0x54b65b[_0x1d7d4a(0x1c3)](_0x1034e1=>new _0x3221aa(_0x1034e1,_0x1d5685,_0x14146c,_0x5388dc));this['_cursorShapes']=_0x3a4042,this[_0x1d7d4a(0x19a)]=_0x54b65b;}['_refreshCollabCursors'](){const _0x1e61b5=_0x364513;this[_0x1e61b5(0x34c)]();let {scene:_0x5ab45b,mainComponent:_0x4ce3cb}=this['_context'],_0x10c0de=this[_0x1e61b5(0x3fe)][_0x1e61b5(0x3fa)](),_0x557072=this[_0x1e61b5(0x19a)]['map'](_0x53a005=>new _0x3221aa(_0x53a005,_0x5ab45b,_0x10c0de,_0x4ce3cb));this[_0x1e61b5(0x1e4)]=_0x557072;}['_removeCollabCursors'](){const _0xd4dd0=_0x364513;this[_0xd4dd0(0x1e4)][_0xd4dd0(0x3e8)](_0x456b50=>_0x456b50[_0xd4dd0(0x1ad)]()),this[_0xd4dd0(0x1e4)]=[];}[_0x364513(0x1e2)](){const _0x52000f=_0x364513;let _0x2bf84f=[_0x179eb9[_0x52000f(0x42e)]['id']];this[_0x52000f(0x2a5)](this[_0x52000f(0x44c)][_0x52000f(0x3f0)](_0x36b7c3=>{const _0x5deb7d=_0x52000f;_0x2bf84f['includes'](_0x36b7c3['id'])&&_0x36b7c3[_0x5deb7d(0x120)]['unitId']===this[_0x5deb7d(0x3b9)][_0x5deb7d(0x118)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0xc96f45=_0x364513;this[_0xc96f45(0x2a5)]((0x0,_0x9007c9[_0xc96f45(0x374)])(this[_0xc96f45(0x3b9)]['engine']['onTransformChange$'])['pipe']((0x0,_0x9cef3d[_0xc96f45(0x3e5)])(_0x358c8e=>_0x358c8e['type']===_0x2a864e[_0xc96f45(0x184)]['resize']),(0x0,_0x9cef3d['throttleTime'])(0x10))[_0xc96f45(0x228)](()=>{this['_refreshCollabCursors']();}));}};_0x227c8c=_0x5343d2([_0x447c26(0x1,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x43c971[_0x364513(0x333)])),_0x447c26(0x2,(0x0,_0x9007c9['Inject'])(_0x4a5700)),_0x447c26(0x3,_0x9007c9[_0x364513(0x3c4)]),_0x447c26(0x4,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9[_0x364513(0x1f5)]))],_0x227c8c);var _0x20aa3e=class extends _0x2a864e[_0x364513(0x3a0)]{constructor(_0x34c810,_0x52c531){const _0x2dbbeb=_0x364513;super(_0x34c810,_0x52c531),_0x389cd7(this,_0x2dbbeb(0x103),void 0x0),_0x389cd7(this,'_hovered',!0x1),_0x389cd7(this,'_range',void 0x0),_0x389cd7(this,_0x2dbbeb(0x1d4),''),_0x389cd7(this,_0x2dbbeb(0x41c),_0x2dbbeb(0x1f0)),_0x389cd7(this,_0x2dbbeb(0x3f3),void 0x0),_0x389cd7(this,_0x2dbbeb(0x3ad),void 0x0),_0x389cd7(this,_0x2dbbeb(0x12c),void 0x0),_0x389cd7(this,'_highlightSecond',0x4),_0x389cd7(this,_0x2dbbeb(0x106),void 0x0),_0x389cd7(this,_0x2dbbeb(0x251),void 0x0),_0x389cd7(this,_0x2dbbeb(0x147),!0x0),_0x389cd7(this,_0x2dbbeb(0x2c6),0x0),_0x389cd7(this,_0x2dbbeb(0x182),_0x2dbbeb(0x19b)),_0x52c531&&(this[_0x2dbbeb(0x408)](_0x52c531),_0x52c531[_0x2dbbeb(0x375)]&&(_0x52c531[_0x2dbbeb(0x23e)]??this[_0x2dbbeb(0x2f8)])&&this['_startBlinking'](_0x52c531[_0x2dbbeb(0x23e)]??this[_0x2dbbeb(0x2f8)])),this['onPointerEnter$'][_0x2dbbeb(0x20f)](()=>this[_0x2dbbeb(0x408)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x2dbbeb(0x408)]({'hovered':!0x1}));}[_0x364513(0x279)](_0x305092){const _0x505da1=_0x364513;this[_0x505da1(0x2c6)]=_0x305092;}[_0x364513(0x408)](_0x6e18e6){const _0x5c6bef=_0x364513;this[_0x5c6bef(0x103)]=_0x6e18e6[_0x5c6bef(0x466)]??this[_0x5c6bef(0x103)],this[_0x5c6bef(0x449)]=_0x6e18e6[_0x5c6bef(0x1ba)]??this[_0x5c6bef(0x449)],this[_0x5c6bef(0x189)]=_0x6e18e6[_0x5c6bef(0x387)]??this[_0x5c6bef(0x189)],this['_name']=_0x6e18e6[_0x5c6bef(0x427)]??this['_name'],this['_labelPosition']=_0x6e18e6[_0x5c6bef(0x33b)]??this['_labelPosition'],this[_0x5c6bef(0x3f3)]=_0x6e18e6[_0x5c6bef(0x179)]??this[_0x5c6bef(0x3f3)],this[_0x5c6bef(0x3ad)]=_0x6e18e6['showText']??this[_0x5c6bef(0x3ad)],this[_0x5c6bef(0x182)]=_0x6e18e6[_0x5c6bef(0x45b)]??this[_0x5c6bef(0x182)],_0x6e18e6[_0x5c6bef(0x23e)]!==void 0x0&&(this[_0x5c6bef(0x2f8)]=_0x6e18e6[_0x5c6bef(0x23e)]),_0x6e18e6[_0x5c6bef(0x375)]!==void 0x0&&(this['_highlight']=_0x6e18e6['highlight']),_0x6e18e6[_0x5c6bef(0x2d3)]!==void 0x0&&(this['_offsetY']=_0x6e18e6['offsetY']),this[_0x5c6bef(0x2fe)]({'width':_0x6e18e6[_0x5c6bef(0x362)],'height':_0x6e18e6[_0x5c6bef(0x439)]});}[_0x364513(0x20c)](_0x120bf2){const _0x4b973a=_0x364513;let {row:_0x1afc10,column:_0x47a4ad}=_0x120bf2;_0x1afc10>=this['_range'][_0x4b973a(0x424)]&&_0x1afc10<=this['_range'][_0x4b973a(0x21f)]&&_0x47a4ad>=this[_0x4b973a(0x189)][_0x4b973a(0x347)]&&_0x47a4ad<=this[_0x4b973a(0x189)][_0x4b973a(0x3d1)]?this[_0x4b973a(0x408)]({'hovered':!0x0}):this[_0x4b973a(0x408)]({'hovered':!0x1});}[_0x364513(0x2a8)](_0x4e490a){const _0x5119b1=_0x364513;this[_0x5119b1(0x302)](),this['_isBlinkVisible']=!0x0,this[_0x5119b1(0x251)]=window[_0x5119b1(0x3dd)](()=>{const _0x5237de=_0x5119b1;this[_0x5237de(0x147)]=!this['_isBlinkVisible'],this[_0x5237de(0x15d)](!0x0);},0x1f4),this[_0x5119b1(0x106)]=window['setTimeout'](()=>{const _0x52d16c=_0x5119b1;this['_stopBlinking'](),this[_0x52d16c(0x147)]=!0x0,this[_0x52d16c(0x15d)](!0x0);},_0x4e490a*0x3e8);}[_0x364513(0x302)](){const _0x1c7ee7=_0x364513;this[_0x1c7ee7(0x251)]&&=(window[_0x1c7ee7(0x1f1)](this['_blinkIntervalTimer']),void 0x0),this['_blinkTimer']&&=(window[_0x1c7ee7(0x1cd)](this[_0x1c7ee7(0x106)]),void 0x0);}['triggerDblclick'](_0x1b714b){return!0x1;}['dispose'](){const _0x31d27d=_0x364513;this['_stopBlinking'](),super[_0x31d27d(0x1ad)]();}[_0x364513(0x411)](_0x36ce6a){const _0x5c42df=_0x364513;let _0x4fad3a=this[_0x5c42df(0x103)],_0x42f3b8=this['_backgroundColor'];if(this[_0x5c42df(0x12c)]&&!this[_0x5c42df(0x147)]&&(_0x4fad3a=this[_0x5c42df(0x169)](this[_0x5c42df(0x103)]),_0x42f3b8=this[_0x5c42df(0x3f3)]?this[_0x5c42df(0x169)](this['_backgroundColor']):void 0x0),_0x2a864e[_0x5c42df(0x254)][_0x5c42df(0x2c7)](_0x36ce6a,{'width':this[_0x5c42df(0x362)],'height':this[_0x5c42df(0x439)],'strokeWidth':this[_0x5c42df(0x447)]||1.5,'stroke':_0x4fad3a,'evented':!0x1,'fill':_0x42f3b8}),this[_0x5c42df(0x449)]||this[_0x5c42df(0x3ad)]){_0x36ce6a['save']();let _0x44ccfe=this['_labelHorizontalPosition']===_0x5c42df(0x457)?-_0x511a74(_0x36ce6a,this[_0x5c42df(0x1d4)]):this[_0x5c42df(0x362)];_0x36ce6a[_0x5c42df(0x2d4)](0x1,0x0,0x0,0x1,_0x44ccfe,(this[_0x5c42df(0x41c)]===_0x5c42df(0x3d5)?0x0:-0x14)+(this[_0x5c42df(0x2c6)]??0x0)),_0x441bc5['drawWith'](_0x36ce6a,{'text':this[_0x5c42df(0x1d4)],'color':_0x4fad3a}),_0x36ce6a[_0x5c42df(0x412)]();}}[_0x364513(0x169)](_0x45da93){const _0x324204=_0x364513;return _0x45da93[_0x324204(0x163)]('#')?_0x324204(0x461)+Number[_0x324204(0x451)](_0x45da93[_0x324204(0x35d)](0x1,0x3),0x10)+',\x20'+Number[_0x324204(0x451)](_0x45da93[_0x324204(0x35d)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x45da93['slice'](0x5,0x7),0x10)+_0x324204(0x2f0):_0x45da93[_0x324204(0x163)](_0x324204(0x1a5))?_0x45da93['replace'](/[\d.]+\)$/g,_0x324204(0x33a)):_0x45da93['startsWith']('rgb')?_0x45da93['replace'](_0x324204(0x135),_0x324204(0x1a5))['replace'](')',_0x324204(0x2f0)):_0x45da93;}};let _0x345e83=class extends _0x9007c9[_0x364513(0x2c5)]{constructor(_0x29a3f2,_0x1ae77c,_0x82ef00,_0x3db222){const _0x2e3e96=_0x364513;super(),this['_context']=_0x29a3f2,this[_0x2e3e96(0x177)]=_0x1ae77c,this[_0x2e3e96(0x274)]=_0x82ef00,this['_themeService']=_0x3db222,_0x389cd7(this,'_cursors',new Set()),_0x389cd7(this,_0x2e3e96(0x138),null),_0x389cd7(this,_0x2e3e96(0x2ed),null),this[_0x2e3e96(0x37e)]();}['_init'](){const _0x29a764=_0x364513;this[_0x29a764(0x177)]['currentSkeleton$']['pipe']((0x0,_0x9cef3d['takeUntil'])(this[_0x29a764(0x1df)]),(0x0,_0x9cef3d['switchMap'])(_0x24c21b=>{const _0xf93b97=_0x29a764;if(_0x24c21b){let _0x519913=_0x24c21b[_0xf93b97(0x2e6)];return(0x0,_0x4ddf34[_0xf93b97(0x3eb)])(this[_0xf93b97(0x274)][_0xf93b97(0x28b)](this['_context'][_0xf93b97(0x118)]),this['_themeService'][_0xf93b97(0x2ac)])[_0xf93b97(0x1d2)]((0x0,_0x9cef3d[_0xf93b97(0x1c3)])(([_0x1c39a1,_0x217dd7])=>{let _0xa725b0=new Map();return _0x1c39a1['forEach']((_0x45995f,_0x7eaff8)=>{const _0x434b6b=_0x5e16;if(_0x45995f[_0x434b6b(0x2c2)]===_0x519913){let _0x19922a={..._0x45995f};_0x19922a[_0x434b6b(0x466)]=this[_0x434b6b(0x29a)][_0x434b6b(0x2b8)](_0x45995f[_0x434b6b(0x466)]),_0xa725b0[_0x434b6b(0x43c)](_0x7eaff8,_0x19922a);}}),{'skeleton':_0x24c21b,'cursors':_0xa725b0};}));}return(0x0,_0x4ddf34['of'])({'skeleton':null,'cursors':new Map()});}))[_0x29a764(0x228)](({skeleton:_0x3c1480,cursors:_0x3933e0})=>{const _0x16198d=_0x29a764;this[_0x16198d(0x34c)](),_0x3c1480&&this[_0x16198d(0x1f4)](_0x3c1480,_0x3933e0);}),this[_0x29a764(0x2a5)](this[_0x29a764(0x177)][_0x29a764(0x24b)][_0x29a764(0x1d2)]((0x0,_0x9cef3d[_0x29a764(0x40f)])(this[_0x29a764(0x1df)]))['subscribe'](_0x291293=>{const _0x1f26ea=_0x29a764;var _0x55d34d;if(_0x291293==null)return;(_0x55d34d=this['_pointerMoveDisposable'])==null||_0x55d34d['unsubscribe'](),this[_0x1f26ea(0x2ed)]=null;let {skeleton:_0x154f2b}=_0x291293,{scene:_0x10d336}=this[_0x1f26ea(0x3b9)];this[_0x1f26ea(0x2ed)]=_0x10d336[_0x1f26ea(0x3f7)][_0x1f26ea(0x20f)]((0x0,_0x9007c9[_0x1f26ea(0x124)])(_0x636c1c=>{const _0x5df469=_0x1f26ea;var _0x3a4498,_0x473572;let {offsetX:_0x136819,offsetY:_0x20bb4b}=_0x636c1c,{x:_0x2d22a3,y:_0x2162c1}=_0x10d336[_0x5df469(0x154)](_0x2a864e[_0x5df469(0x3cc)][_0x5df469(0x337)]([_0x136819,_0x20bb4b])),{scaleX:_0x4a7afb,scaleY:_0x314c4b}=_0x10d336['getAncestorScale'](),_0x2196ac=_0x10d336[_0x5df469(0x11c)](_0x2a864e[_0x5df469(0x2aa)][_0x5df469(0x2d1)]),_0x1cbbec=_0x10d336['getScrollXYInfoByViewport'](_0x2a864e[_0x5df469(0x3cc)][_0x5df469(0x337)]([_0x2d22a3,_0x2162c1]),_0x2196ac),_0x4377ed=_0x154f2b['getCellIndexByOffset'](_0x136819,_0x20bb4b,_0x4a7afb,_0x314c4b,_0x1cbbec);(((_0x3a4498=this[_0x5df469(0x138)])==null?void 0x0:_0x3a4498[_0x5df469(0x1b2)])!==_0x4377ed[_0x5df469(0x1b2)]||((_0x473572=this[_0x5df469(0x138)])==null?void 0x0:_0x473572[_0x5df469(0x1ef)])!==_0x4377ed[_0x5df469(0x1ef)])&&this[_0x5df469(0x19a)][_0x5df469(0x3e8)](_0xe2fac4=>{const _0x4b43e6=_0x5df469;_0xe2fac4[_0x4b43e6(0x20c)](_0x4377ed);});},0x64));})),this['disposeWithMe']((0x0,_0x9007c9[_0x29a764(0x32d)])(()=>{const _0x34c2a7=_0x29a764;var _0x341aba;(_0x341aba=this['_pointerMoveDisposable'])==null||_0x341aba['unsubscribe'](),this[_0x34c2a7(0x2ed)]=null;}));}[_0x364513(0x1f4)](_0x386f62,_0x2f5a6c){const _0x179c77=_0x364513;let _0x162d44=this[_0x179c77(0x177)]['getCurrentSkeleton']();if(!_0x162d44)return;let _0x35102c=this[_0x179c77(0x27b)]();if(!_0x35102c)return;this[_0x179c77(0x19a)][_0x179c77(0x3e8)](_0x242685=>{const _0x1f292b=_0x179c77;_0x242685[_0x1f292b(0x15d)]();});let {scene:_0x56b39e}=_0x35102c,_0x3ca370=_0x5d75ba(Array[_0x179c77(0x121)](_0x2f5a6c[_0x179c77(0x25e)]()))[_0x179c77(0x1c3)](_0x22901b=>{const _0x2e5079=_0x179c77;let {color:_0x4ebd6c,range:_0x3e0895,name:_0x5ca05e,selection:_0x41cf09,sheetID:_0x3a9228}=_0x22901b,{startColumn:_0x14b8f6,startRow:_0x233b39,endColumn:_0x4bdad,endRow:_0x1ab51c}=_0x3e0895,_0x155fce=(0x0,_0x3886b2['getCoordByCell'])(_0x233b39,_0x14b8f6,_0x56b39e,_0x162d44),_0x27cc5d=(0x0,_0x3886b2[_0x2e5079(0x348)])(_0x1ab51c,_0x4bdad,_0x56b39e,_0x162d44),{columnHeaderHeightAndMarginTop:_0x459f49}=_0x162d44,{startX:_0x25dfcb,startY:_0x4cf079}=_0x155fce,{endX:_0x228be9,endY:_0x1c8aaf}=_0x27cc5d,_0x348862=_0x228be9-_0x25dfcb,_0x187cc0=_0x1c8aaf-_0x4cf079;return new _0x20aa3e(_0x5ca05e,{'labelPosition':_0x4cf079-_0x459f49>=0x14?_0x2e5079(0x1f0):_0x2e5079(0x3d5),'sheetID':_0x3a9228,'range':_0x3e0895,'color':_0x4ebd6c,'name':_0x5ca05e,'selection':_0x41cf09,'left':_0x25dfcb,'top':_0x4cf079,'width':_0x348862,'height':_0x187cc0,'evented':!0x1,'zIndex':0x1389});});_0x56b39e['addObjects'](_0x3ca370,0x1),this[_0x179c77(0x19a)]=new Set(_0x3ca370);}[_0x364513(0x34c)](){const _0x7ce2e2=_0x364513;var _0x3e24af;(_0x3e24af=this['_cursors'])==null||_0x3e24af[_0x7ce2e2(0x3e8)](_0x47e136=>_0x47e136['dispose']());}['_getSheetObject'](){const _0x3e5b43=_0x364513;return(0x0,_0x3886b2[_0x3e5b43(0x142)])(this[_0x3e5b43(0x3b9)][_0x3e5b43(0x13f)],this['_context']);}};_0x345e83=_0x5343d2([_0x447c26(0x1,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x3886b2[_0x364513(0x16a)])),_0x447c26(0x2,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x4a5700)),_0x447c26(0x3,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9[_0x364513(0x1f5)]))],_0x345e83);function _0x5d75ba(_0x5efd55){const _0x6d8d07=_0x364513;let _0x9862a7=new Map();return _0x5efd55['forEach'](_0x4ae611=>{const _0x883a3f=_0x5e16;if(_0x9862a7[_0x883a3f(0x206)](_0x4ae611['selection'])){let _0x3cbe9c=_0x9862a7[_0x883a3f(0x37f)](_0x4ae611[_0x883a3f(0x11a)]);_0x3cbe9c[_0x883a3f(0x427)]+=',\x20'+_0x4ae611[_0x883a3f(0x427)];}else _0x9862a7[_0x883a3f(0x43c)](_0x4ae611['selection'],_0x4ae611);}),Array[_0x6d8d07(0x121)](_0x9862a7[_0x6d8d07(0x25e)]());}function _0x50c7d2(_0x2f0799){const _0x35194c=_0x364513;return typeof _0x2f0799==_0x35194c(0x12b)&&!!_0x2f0799;}function _0x3e09b8(_0x5c5b15){const _0x3a0fcf=_0x364513;return _0x5c5b15[_0x3a0fcf(0x3cf)]===_0xd933b['CollaborationEvent'][_0x3a0fcf(0x32c)]&&_0x3a0fcf(0x1b1)in _0x5c5b15&&_0x50c7d2(_0x5c5b15[_0x3a0fcf(0x1b1)])&&typeof _0x5c5b15['data'][_0x3a0fcf(0x462)]==_0x3a0fcf(0x386)&&typeof _0x5c5b15[_0x3a0fcf(0x1b1)][_0x3a0fcf(0x11a)]==_0x3a0fcf(0x386);}function _0x19fd27(_0x15e216){const _0x432e8f=_0x364513;return _0x15e216[_0x432e8f(0x3cf)]===_0xd933b['CollaborationEvent']['USERS_LEAVE']&&_0x432e8f(0x1b1)in _0x15e216&&_0x50c7d2(_0x15e216[_0x432e8f(0x1b1)])&&typeof _0x15e216[_0x432e8f(0x1b1)][_0x432e8f(0x462)]==_0x432e8f(0x386);}function _0x6153fa(_0x345b53,_0x3504ec){const _0x11191a=_0x364513;let _0xe87c3e;try{_0xe87c3e=JSON[_0x11191a(0x1c6)](_0x345b53);}catch{return null;}if(!_0x50c7d2(_0xe87c3e)||typeof _0xe87c3e['kind']!=_0x11191a(0x386)||typeof _0xe87c3e['unitId']!=_0x11191a(0x386)||typeof _0xe87c3e[_0x11191a(0x2ad)]!='string')return null;let _0x24392d=typeof _0xe87c3e[_0x11191a(0x42a)]==_0x11191a(0x107)?_0xe87c3e['unitType']:_0x3504ec;if(_0x24392d==null)return null;let _0x5ae3ed=_0x50c7d2(_0xe87c3e[_0x11191a(0x205)])&&typeof _0xe87c3e[_0x11191a(0x205)]['x']=='number'&&Number[_0x11191a(0x2fb)](_0xe87c3e[_0x11191a(0x205)]['x'])&&typeof _0xe87c3e[_0x11191a(0x205)]['y']==_0x11191a(0x107)&&Number[_0x11191a(0x2fb)](_0xe87c3e[_0x11191a(0x205)]['y'])?{'x':_0xe87c3e[_0x11191a(0x205)]['x'],'y':_0xe87c3e[_0x11191a(0x205)]['y']}:null;return{'kind':_0xe87c3e['kind'],'unitType':_0x24392d,'unitId':_0xe87c3e[_0x11191a(0x118)],'subUnitId':_0xe87c3e[_0x11191a(0x2ad)],'selectedIds':Array[_0x11191a(0x2e4)](_0xe87c3e[_0x11191a(0x38d)])?_0xe87c3e[_0x11191a(0x38d)][_0x11191a(0x3e5)](_0x393591=>typeof _0x393591==_0x11191a(0x386)):[],'focusedId':typeof _0xe87c3e[_0x11191a(0x24d)]==_0x11191a(0x386)?_0xe87c3e[_0x11191a(0x24d)]:null,'pointer':_0x5ae3ed};}function _0x41afd8(_0x3daa2e,_0x1a9fff,_0x47b329){const _0x16cc52=_0x364513;return{'kind':_0x1a9fff,'unitType':_0x3daa2e,'unitId':_0x47b329[_0x16cc52(0x118)],'subUnitId':_0x47b329['subUnitId'],'selectedIds':Array['from'](_0x47b329[_0x16cc52(0x38d)]),'focusedId':_0x47b329['focusedId'],'pointer':_0x47b329['pointer']?{..._0x47b329[_0x16cc52(0x205)]}:null};}let _0x42f8e3=class extends _0x9007c9['RxDisposable']{constructor(_0x244153,_0x555b95,_0x10751b,_0x30a505,_0x260d74,_0x221b84){const _0xa29218=_0x364513;super(),this[_0xa29218(0x118)]=_0x244153,this[_0xa29218(0x2c1)]=_0x555b95,this['_adapter']=_0x10751b,this[_0xa29218(0x201)]=_0x30a505,this[_0xa29218(0x346)]=_0x260d74,this['_commandService']=_0x221b84,_0x389cd7(this,_0xa29218(0x14e),!0x1),_0x389cd7(this,_0xa29218(0x366),!0x1);}get['unitType'](){const _0x3d78ee=_0x364513;return this[_0x3d78ee(0x423)][_0x3d78ee(0x42a)];}[_0x364513(0x1ad)](){this['_clearRemotePresences'](),super['dispose']();}[_0x364513(0x38c)](){const _0x212510=_0x364513;this[_0x212510(0x366)]||(this['_initialized']=!0x0,this[_0x212510(0x2c1)][_0x212510(0x39a)][_0x212510(0x1d2)]((0x0,_0x4ddf34[_0x212510(0x40f)])(this['dispose$']))[_0x212510(0x228)](_0x28c712=>{const _0x4adbd2=_0x212510;if(_0x28c712===_0x2c8280[_0x4adbd2(0x31f)][_0x4adbd2(0x316)]){this['_online']=!0x0;let _0x4d6836=this[_0x4adbd2(0x423)][_0x4adbd2(0x2c8)](this['unitId']);_0x4d6836&&this[_0x4adbd2(0x343)](_0x4d6836);}else this['_online']=!0x1,this[_0x4adbd2(0x2d0)]();}),this[_0x212510(0x2c1)][_0x212510(0x440)][_0x212510(0x1d2)]((0x0,_0x4ddf34['takeUntil'])(this[_0x212510(0x1df)]))[_0x212510(0x228)](_0x378088=>{const _0x34f0e0=_0x212510;_0x3e09b8(_0x378088)?this[_0x34f0e0(0x282)](_0x378088):_0x19fd27(_0x378088)&&this['_removeRemotePresence'](_0x378088[_0x34f0e0(0x1b1)]['memberID']);}),this[_0x212510(0x423)]['localPresence$']['pipe']((0x0,_0x4ddf34[_0x212510(0x3e5)])(_0x3fd45e=>this['_online']&&_0x3fd45e[_0x212510(0x118)]===this['unitId']),(0x0,_0x4ddf34[_0x212510(0x297)])(_0x2b6ea0=>(0x0,_0x4ddf34[_0x212510(0x3b5)])(_0x2b6ea0[_0x212510(0x207)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x4ddf34[_0x212510(0x40f)])(this[_0x212510(0x1df)]))[_0x212510(0x228)](_0x5adc64=>this[_0x212510(0x343)](_0x5adc64)));}[_0x364513(0x343)](_0x3977d0){const _0xcda529=_0x364513;let _0x1e0fb2=this[_0xcda529(0x2c1)][_0xcda529(0x286)]();if(!_0x1e0fb2||!this[_0xcda529(0x14e)])return;let _0x5b4983={'eventID':_0xd933b['CollaborationEvent'][_0xcda529(0x32c)],'data':{'unitID':this[_0xcda529(0x118)],'memberID':_0x1e0fb2,'selection':JSON[_0xcda529(0x365)](_0x41afd8(this['unitType'],this[_0xcda529(0x423)][_0xcda529(0x277)],_0x3977d0))}};this[_0xcda529(0x2c1)][_0xcda529(0x128)](_0x5b4983,this[_0xcda529(0x118)])['catch'](()=>void 0x0);}['_handleCursorUpdate'](_0x55b772){const _0x3d7192=_0x364513;let {memberID:_0x570522,selection:_0x45900d}=_0x55b772[_0x3d7192(0x1b1)];if(_0x570522===this[_0x3d7192(0x2c1)][_0x3d7192(0x286)]())return;let _0x469f6d=_0x6153fa(_0x45900d,this[_0x3d7192(0x42a)]);if(!_0x469f6d||_0x469f6d[_0x3d7192(0x406)]!==this['_adapter']['presenceKind']||_0x469f6d[_0x3d7192(0x42a)]!==this[_0x3d7192(0x42a)]||_0x469f6d[_0x3d7192(0x118)]!==this[_0x3d7192(0x118)])return;let _0x533c8d=this[_0x3d7192(0x346)]['getMember'](this[_0x3d7192(0x118)],_0x570522),_0x52dfa1={'unitId':_0x469f6d[_0x3d7192(0x118)],'subUnitId':_0x469f6d[_0x3d7192(0x2ad)],'selectedIds':_0x469f6d['selectedIds'],'focusedId':_0x469f6d[_0x3d7192(0x24d)],'pointer':_0x469f6d[_0x3d7192(0x205)],'memberId':_0x570522,'color':this[_0x3d7192(0x201)]['assignAColorForMemberID'](_0x570522),'name':(_0x533c8d==null?void 0x0:_0x533c8d[_0x3d7192(0x427)])??_0x570522};this['_commandService']['executeCommand'](_0x3f9be4['id'],{'unitType':this[_0x3d7192(0x42a)],'update':{'type':'set','state':_0x52dfa1}})['catch'](()=>void 0x0);}[_0x364513(0x31d)](_0x26917c){const _0x3dce91=_0x364513;this[_0x3dce91(0x44c)][_0x3dce91(0x2ff)](_0x3f9be4['id'],{'unitType':this[_0x3dce91(0x42a)],'update':{'type':'remove','unitId':this[_0x3dce91(0x118)],'memberId':_0x26917c}})[_0x3dce91(0x15c)](()=>void 0x0);}[_0x364513(0x2d0)](){const _0x1a2537=_0x364513;this['_commandService'][_0x1a2537(0x2ff)](_0x3f9be4['id'],{'unitType':this[_0x1a2537(0x42a)],'update':{'type':_0x1a2537(0x265),'unitId':this[_0x1a2537(0x118)]}})[_0x1a2537(0x15c)](()=>void 0x0);}};_0x42f8e3=_0x5343d2([_0x447c26(0x3,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x45bd93)),_0x447c26(0x4,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x2c8280[_0x364513(0x388)])),_0x447c26(0x5,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9[_0x364513(0x3c4)]))],_0x42f8e3);let _0x4c2056=class extends _0x9007c9[_0x364513(0x2c5)]{constructor(_0x3e0cf0,_0x467655,_0xb8221c,_0xf44bb6){const _0x2164e6=_0x364513;super(),this[_0x2164e6(0x250)]=_0x3e0cf0,this[_0x2164e6(0x1c5)]=_0x467655,this[_0x2164e6(0x3a4)]=_0xb8221c,this[_0x2164e6(0x281)]=_0xf44bb6,_0x389cd7(this,'_isDisposed',!0x1),_0x389cd7(this,_0x2164e6(0x1a9),new Map()),_0x389cd7(this,_0x2164e6(0x12d),new Map()),_0x389cd7(this,'_adapterDisposables',new Map()),this[_0x2164e6(0x37e)]();}[_0x364513(0x1ad)](){const _0x51eb64=_0x364513;this['_isDisposed']=!0x0,this[_0x51eb64(0x26d)][_0x51eb64(0x3e8)](_0x49de55=>_0x49de55[_0x51eb64(0x1ad)]()),this[_0x51eb64(0x26d)][_0x51eb64(0x265)](),this[_0x51eb64(0x1a9)][_0x51eb64(0x3e8)](_0x15a2ca=>_0x15a2ca[_0x51eb64(0x1ad)]()),this[_0x51eb64(0x1a9)][_0x51eb64(0x265)](),this['_pendingEntities'][_0x51eb64(0x265)](),super['dispose']();}[_0x364513(0x37e)](){const _0x87351e=_0x364513;this[_0x87351e(0x281)][_0x87351e(0x35f)]['pipe']((0x0,_0x4ddf34[_0x87351e(0x40f)])(this[_0x87351e(0x1df)]))['subscribe'](_0x583a70=>this['_syncAdapters'](_0x583a70));}[_0x364513(0x1a1)](_0x85a189){const _0x313ca8=_0x364513;let _0x446f01=new Set(_0x85a189[_0x313ca8(0x1c3)](_0x139039=>_0x139039[_0x313ca8(0x42a)]));this['_adapterDisposables'][_0x313ca8(0x3e8)]((_0x263936,_0x54f450)=>{const _0x34411f=_0x313ca8;_0x446f01['has'](_0x54f450)||(_0x263936[_0x34411f(0x1ad)](),this[_0x34411f(0x26d)][_0x34411f(0x2cb)](_0x54f450),this[_0x34411f(0x291)](_0x54f450));}),_0x85a189[_0x313ca8(0x3e8)](_0x276106=>{const _0x237f77=_0x313ca8;this[_0x237f77(0x26d)][_0x237f77(0x206)](_0x276106[_0x237f77(0x42a)])||this[_0x237f77(0x2dc)](_0x276106);});}[_0x364513(0x2dc)](_0xfc9244){const _0x2fa945=_0x364513;let _0x5ab007=new _0x9007c9[(_0x2fa945(0x1d3))]();this[_0x2fa945(0x26d)][_0x2fa945(0x43c)](_0xfc9244[_0x2fa945(0x42a)],_0x5ab007),_0x5ab007['add'](_0xfc9244[_0x2fa945(0x1dd)]()),this[_0x2fa945(0x250)][_0x2fa945(0x335)](_0xfc9244[_0x2fa945(0x42a)])[_0x2fa945(0x3e8)](_0x2cc052=>this[_0x2fa945(0x145)](_0x2cc052[_0x2fa945(0x3c7)](),_0xfc9244)[_0x2fa945(0x15c)](()=>void 0x0));let _0x561658=this[_0x2fa945(0x250)]['getTypeOfUnitAdded$'](_0xfc9244['unitType'])[_0x2fa945(0x228)](({unit:_0x341cf8})=>this[_0x2fa945(0x145)](_0x341cf8[_0x2fa945(0x3c7)](),_0xfc9244)[_0x2fa945(0x15c)](()=>void 0x0));_0x5ab007[_0x2fa945(0x345)]((0x0,_0x9007c9[_0x2fa945(0x32d)])(()=>_0x561658[_0x2fa945(0x17d)]()));let _0x2a7da0=this[_0x2fa945(0x250)][_0x2fa945(0x2f6)](_0xfc9244[_0x2fa945(0x42a)])[_0x2fa945(0x228)](_0x5d06fc=>this[_0x2fa945(0x19d)](_0x5d06fc['getUnitId']()));_0x5ab007[_0x2fa945(0x345)]((0x0,_0x9007c9[_0x2fa945(0x32d)])(()=>_0x2a7da0[_0x2fa945(0x17d)]()));}async[_0x364513(0x145)](_0x4b6b4f,_0x39f56e){const _0x2500d4=_0x364513;if(this[_0x2500d4(0x1a9)]['has'](_0x4b6b4f)||this['_pendingEntities'][_0x2500d4(0x206)](_0x4b6b4f))return;let _0x16a0f7={};this[_0x2500d4(0x12d)][_0x2500d4(0x43c)](_0x4b6b4f,_0x16a0f7);let _0xcbde17=await this['_collabSessionService'][_0x2500d4(0x236)](_0x4b6b4f)[_0x2500d4(0x15c)](_0x4433ef=>{const _0x448b05=_0x2500d4;throw this['_pendingEntities'][_0x448b05(0x37f)](_0x4b6b4f)===_0x16a0f7&&this[_0x448b05(0x12d)][_0x448b05(0x2cb)](_0x4b6b4f),_0x4433ef;});if(this[_0x2500d4(0x1e0)]||this[_0x2500d4(0x12d)][_0x2500d4(0x37f)](_0x4b6b4f)!==_0x16a0f7||this[_0x2500d4(0x281)]['get'](_0x39f56e[_0x2500d4(0x42a)])!==_0x39f56e){this[_0x2500d4(0x12d)]['get'](_0x4b6b4f)===_0x16a0f7&&this[_0x2500d4(0x12d)][_0x2500d4(0x2cb)](_0x4b6b4f);return;}let _0x270317=this['_injector'][_0x2500d4(0x204)](_0x42f8e3,_0x4b6b4f,_0xcbde17,_0x39f56e);_0x270317[_0x2500d4(0x38c)](),this[_0x2500d4(0x12d)]['delete'](_0x4b6b4f),this[_0x2500d4(0x1a9)][_0x2500d4(0x43c)](_0x4b6b4f,_0x270317);}[_0x364513(0x19d)](_0x44f58c){const _0x38f031=_0x364513;this[_0x38f031(0x12d)]['delete'](_0x44f58c);let _0x52bdc3=this['_entities']['get'](_0x44f58c);_0x52bdc3&&(_0x52bdc3[_0x38f031(0x1ad)](),this[_0x38f031(0x1a9)][_0x38f031(0x2cb)](_0x44f58c));}[_0x364513(0x291)](_0x737d26){const _0x5e551d=_0x364513;this[_0x5e551d(0x250)][_0x5e551d(0x335)](_0x737d26)[_0x5e551d(0x3e8)](_0x156cf5=>this[_0x5e551d(0x12d)][_0x5e551d(0x2cb)](_0x156cf5[_0x5e551d(0x3c7)]())),Array[_0x5e551d(0x121)](this[_0x5e551d(0x1a9)][_0x5e551d(0x3bd)]())[_0x5e551d(0x3e8)](([_0x54870f,_0x8b1f24])=>{_0x8b1f24['unitType']===_0x737d26&&this['_disposeEntity'](_0x54870f);});}};_0x4c2056=_0x5343d2([_0x447c26(0x0,_0x9007c9['IUniverInstanceService']),_0x447c26(0x1,(0x0,_0x9007c9['Inject'])(_0x9007c9[_0x364513(0x338)])),_0x447c26(0x2,(0x0,_0x9007c9['Inject'])(_0x2c8280[_0x364513(0x1ec)])),_0x447c26(0x3,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x237270['IUnitPresenceUIAdapterRegistry']))],_0x4c2056);let _0x80c3={'toast':'!univer-grid\x20univer-grid-cols-[16px_minmax(0,1fr)]\x20univer-items-start\x20univer-gap-x-1.5\x20univer-gap-y-2','actionButton':_0x364513(0x2b3)},_0x404c99={'title':_0x364513(0x2ca),'content':_0x364513(0x1bd),'type':'error'},_0x3a59ac={'permission_rejected':{'title':_0x364513(0x1a0),'content':_0x364513(0x260),'type':_0x364513(0x170)},'license_unit_type_rejected':{'title':'collaboration-client-ui.license.title','content':_0x364513(0x1a6),'type':_0x364513(0x170)},'remote_revert':{'title':_0x364513(0x40e),'content':_0x364513(0x428),'type':_0x364513(0x396)}},_0xa55502=class extends _0x9007c9[_0x364513(0x41b)]{constructor(_0x5c34ae,_0x150d11,_0x261d8e,_0x11fbb8,_0x280a3c,_0x32aa41,_0x1e0861,_0x42ee76){const _0x234b6f=_0x364513;var _0x407953;super(),this[_0x234b6f(0x143)]=_0x5c34ae,this[_0x234b6f(0x188)]=_0x150d11,this['_collaborationUIEventService']=_0x261d8e,this['_messageService']=_0x11fbb8,this[_0x234b6f(0x426)]=_0x280a3c,this[_0x234b6f(0x363)]=_0x32aa41,this[_0x234b6f(0x3ef)]=_0x1e0861,this[_0x234b6f(0x235)]=_0x42ee76,_0x389cd7(this,_0x234b6f(0x104),null),_0x389cd7(this,_0x234b6f(0x330),new Set()),_0x389cd7(this,_0x234b6f(0x17f),new Map()),_0x389cd7(this,_0x234b6f(0x22d),new Map()),this[_0x234b6f(0x3b3)](),this[_0x234b6f(0x233)](),this[_0x234b6f(0x3ce)](),((_0x407953=this['_configService']['getConfig'](_0x234b6f(0x3e2)))==null?void 0x0:_0x407953['enableDefaultConflictUI'])!==!0x1&&this[_0x234b6f(0x308)]();}[_0x364513(0x1ad)](){const _0x28699e=_0x364513;var _0x28d3ef;(_0x28d3ef=this['_conflictNotification'])==null||_0x28d3ef[_0x28699e(0x1ad)](),this[_0x28699e(0x104)]=null;for(let _0x346626 of[this[_0x28699e(0x17f)],this['_editingConnectionsExceededNotices']])_0x346626[_0x28699e(0x3e8)](_0x191e02=>_0x191e02[_0x28699e(0x1ad)]()),_0x346626[_0x28699e(0x265)]();super[_0x28699e(0x1ad)]();}[_0x364513(0x3ce)](){const _0x2e5cb4=_0x364513;let _0x529fe1=_0x104de4=>{const _0x5779f9=_0x5e16;let _0x4577f0=new _0x9007c9['DisposableCollection']();_0x4577f0[_0x5779f9(0x345)]((0x0,_0x9007c9['toDisposable'])(_0x104de4[_0x5779f9(0x1fc)][_0x5779f9(0x228)]({'next':_0x5be9bd=>{const _0x2e4be8=_0x5779f9;_0x5be9bd[_0x2e4be8(0x306)]>=0x4e20&&this[_0x2e4be8(0x1c8)](this[_0x2e4be8(0x17f)],_0x104de4['unitID'],_0x2e4be8(0x1c4)),_0x5be9bd[_0x2e4be8(0x162)]===_0x2e4be8(0x469)&&this[_0x2e4be8(0x1c8)](this[_0x2e4be8(0x22d)],_0x104de4['unitID'],_0x2e4be8(0x130));},'complete':()=>{const _0x286777=_0x5779f9;this[_0x286777(0x450)](_0x104de4[_0x286777(0x22c)]),_0x4577f0[_0x286777(0x1ad)]();}}))),_0x4577f0[_0x5779f9(0x345)]((0x0,_0x9007c9[_0x5779f9(0x32d)])(_0x104de4[_0x5779f9(0x19e)][_0x5779f9(0x228)](_0x1ffb34=>{const _0x57eb8d=_0x5779f9;_0x1ffb34!==_0x2c8280[_0x57eb8d(0x300)][_0x57eb8d(0x2fc)]&&_0x1ffb34!==_0x2c8280['CollaborationStatus'][_0x57eb8d(0x22a)]&&this[_0x57eb8d(0x450)](_0x104de4[_0x57eb8d(0x22c)]);}))),this[_0x5779f9(0x2a5)](_0x4577f0);};this['_collaborationController'][_0x2e5cb4(0x166)]()[_0x2e5cb4(0x3e8)](_0x529fe1),this['disposeWithMe']((0x0,_0x9007c9[_0x2e5cb4(0x32d)])(this[_0x2e5cb4(0x3ef)][_0x2e5cb4(0x1f6)][_0x2e5cb4(0x228)](_0x529fe1)));}[_0x364513(0x1c8)](_0x4f6dd1,_0x538f19,_0x32c6c6){const _0x36dc37=_0x364513;_0x4f6dd1[_0x36dc37(0x206)](_0x538f19)||_0x4f6dd1[_0x36dc37(0x43c)](_0x538f19,this['_notificationService'][_0x36dc37(0x464)]({'title':this[_0x36dc37(0x363)]['t'](_0x32c6c6),'type':_0x36dc37(0x396),'duration':0x1/0x0,'closable':!0x0,'dismissible':!0x0}));}[_0x364513(0x450)](_0x3141b6){const _0x1801ad=_0x364513;for(let _0xde25ae of[this[_0x1801ad(0x17f)],this[_0x1801ad(0x22d)]]){var _0x2012a8;(_0x2012a8=_0xde25ae[_0x1801ad(0x37f)](_0x3141b6))==null||_0x2012a8[_0x1801ad(0x1ad)](),_0xde25ae[_0x1801ad(0x2cb)](_0x3141b6);}}[_0x364513(0x3b3)](){const _0x1e9d3a=_0x364513;this[_0x1e9d3a(0x2a5)](this[_0x1e9d3a(0x143)][_0x1e9d3a(0x226)](()=>{const _0x3e789b=_0x1e9d3a;if(this[_0x3e789b(0x188)][_0x3e789b(0x215)][_0x3e789b(0x459)])return this[_0x3e789b(0x363)]['t'](_0x3e789b(0x190));}));}[_0x364513(0x308)](){const _0x920770=_0x364513;let _0x5e2055=_0x47be04=>{const _0x5a58a5=_0x5e16;this[_0x5a58a5(0x2a5)]((0x0,_0x9007c9['toDisposable'])(_0x47be04[_0x5a58a5(0x342)]['subscribe'](_0x570849=>this[_0x5a58a5(0x398)](_0x570849))));};this[_0x920770(0x3ef)][_0x920770(0x166)]()[_0x920770(0x3e8)](_0x5e2055),this[_0x920770(0x2a5)]((0x0,_0x9007c9[_0x920770(0x32d)])(this[_0x920770(0x3ef)][_0x920770(0x1f6)][_0x920770(0x228)](_0x5e2055)));}[_0x364513(0x398)](_0x4e96db){const _0x443077=_0x364513;if(!_0x4e96db['cacheCleared'])return;let _0x685f20=_0x3a59ac[_0x4e96db[_0x443077(0x162)]]??_0x404c99;this[_0x443077(0x18a)]({'title':this[_0x443077(0x363)]['t'](_0x685f20[_0x443077(0x1bb)]),'content':this['_localeService']['t'](_0x685f20[_0x443077(0x18e)]),'type':_0x685f20[_0x443077(0x193)],'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x80c3,'action':{'label':this[_0x443077(0x363)]['t'](_0x443077(0x224)),'onClick':_0x56bfd=>{const _0x489fba=_0x443077;_0x56bfd[_0x489fba(0x448)](),this[_0x489fba(0x296)]();}}});}['_reloadPage'](){const _0x2aa003=_0x364513;window[_0x2aa003(0x15e)][_0x2aa003(0x3a1)]();}[_0x364513(0x233)](){const _0x16d7dd=_0x364513;this[_0x16d7dd(0x2a5)](this[_0x16d7dd(0x455)]['event$'][_0x16d7dd(0x228)](_0x5b7498=>{const _0x42fefc=_0x16d7dd;_0x5b7498['id']===_0x2c8280['CollaborationUIEventId'][_0x42fefc(0x1e1)]&&this['_messageService'][_0x42fefc(0x464)]({'type':_0x3f0ccc[_0x42fefc(0x1f7)]['Warning'],'content':this['_localeService']['t'](_0x42fefc(0x30f))}),_0x5b7498['id']===_0x2c8280[_0x42fefc(0x3d2)]['CLOSE_ROOM']&&this[_0x42fefc(0x25f)][_0x42fefc(0x464)]({'type':_0x3f0ccc[_0x42fefc(0x1f7)]['Warning'],'content':this[_0x42fefc(0x363)]['t'](_0x42fefc(0x2c0))}),_0x5b7498['id']===_0x2c8280[_0x42fefc(0x3d2)][_0x42fefc(0x3af)]&&this['_showConflictProcessingNotification'](),_0x5b7498['id']===_0x2c8280[_0x42fefc(0x3d2)][_0x42fefc(0x381)]&&_0x5b7498[_0x42fefc(0x22c)]&&this['_showConflictCacheClearFailedNotification'](_0x5b7498['unitID'],_0x5b7498['userId']??''),_0x5b7498['id']===_0x2c8280[_0x42fefc(0x3d2)][_0x42fefc(0x230)]&&this['_messageService'][_0x42fefc(0x464)]({'type':_0x3f0ccc['MessageType'][_0x42fefc(0x1c1)],'content':this[_0x42fefc(0x363)]['t'](_0x5b7498[_0x42fefc(0x1b1)]||'')}),_0x5b7498['id']===_0x2c8280[_0x42fefc(0x3d2)]['SOCKET_FAILED_RETRY']&&this[_0x42fefc(0x25f)][_0x42fefc(0x464)]({'type':_0x3f0ccc['MessageType'][_0x42fefc(0x1c1)],'content':this[_0x42fefc(0x363)]['t'](_0x42fefc(0x264))}),_0x5b7498['id']===_0x2c8280[_0x42fefc(0x3d2)][_0x42fefc(0x216)]&&this['_messageService'][_0x42fefc(0x464)]({'type':_0x3f0ccc[_0x42fefc(0x1f7)][_0x42fefc(0x227)],'content':this[_0x42fefc(0x363)]['t'](_0x42fefc(0x3ee))}),_0x5b7498['id']===_0x2c8280[_0x42fefc(0x3d2)][_0x42fefc(0x392)]&&this[_0x42fefc(0x25f)]['show']({'type':_0x3f0ccc[_0x42fefc(0x1f7)][_0x42fefc(0x227)],'content':this[_0x42fefc(0x363)]['t']('collaboration-client-ui.license.domain-rejected')});}));}[_0x364513(0x2f4)](){const _0x41acc0=_0x364513;this[_0x41acc0(0x18a)]({'title':this[_0x41acc0(0x363)]['t']('collaboration-client-ui.conflict.title'),'content':this[_0x41acc0(0x363)]['t'](_0x41acc0(0x293)),'type':'loading','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1});}['_showConflictCacheClearFailedNotification'](_0x1ec0db,_0x4b6070){const _0x5a44c4=_0x364513;this[_0x5a44c4(0x18a)]({'title':this['_localeService']['t'](_0x5a44c4(0x2ca)),'content':this[_0x5a44c4(0x363)]['t']('collaboration-client-ui.conflict.clearFailed'),'type':_0x5a44c4(0x170),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x80c3,'action':{'label':this['_localeService']['t'](_0x5a44c4(0x102)),'onClick':_0x577c42=>{const _0x5b333b=_0x5a44c4;_0x577c42[_0x5b333b(0x448)](),this[_0x5b333b(0x458)](_0x1ec0db,_0x4b6070);}}});}[_0x364513(0x458)](_0x49ca8b,_0x3ee546){const _0x213321=_0x364513;let _0x547c45=_0x49ca8b+':'+(_0x3ee546??'');this[_0x213321(0x330)]['has'](_0x547c45)||(this['_retryingConflictCacheUnitIDs'][_0x213321(0x345)](_0x547c45),this[_0x213321(0x2f4)](),this[_0x213321(0x188)]['clearOfflineData'](_0x49ca8b,_0x3ee546)[_0x213321(0x155)](()=>this['_reloadPage']())['catch'](()=>this[_0x213321(0x3ea)](_0x49ca8b,_0x3ee546))[_0x213321(0x315)](()=>this[_0x213321(0x330)][_0x213321(0x2cb)](_0x547c45)));}['_replaceConflictNotification'](_0x2a9ae4){const _0x196b62=_0x364513;var _0x35b6fb;(_0x35b6fb=this[_0x196b62(0x104)])==null||_0x35b6fb[_0x196b62(0x1ad)](),this[_0x196b62(0x104)]=this['_notificationService'][_0x196b62(0x464)](_0x2a9ae4);}};_0xa55502=_0x5343d2([_0x447c26(0x0,_0x237270['IBeforeCloseService']),_0x447c26(0x1,_0x2c8280[_0x364513(0x268)]),_0x447c26(0x2,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x2c8280[_0x364513(0x1aa)])),_0x447c26(0x3,_0x237270[_0x364513(0x350)]),_0x447c26(0x4,_0x237270[_0x364513(0x3c3)]),_0x447c26(0x5,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9[_0x364513(0x37d)])),_0x447c26(0x6,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x2c8280[_0x364513(0x1db)])),_0x447c26(0x7,_0x9007c9[_0x364513(0x237)])],_0xa55502);let _0x137570=class{constructor(_0x2c2730,_0x22c574){const _0x8c8b0=_0x364513;this[_0x8c8b0(0x10a)]=_0x2c2730,this['_renderManagerService']=_0x22c574;}[_0x364513(0x39e)](_0x5a44dd){const _0x5b1165=_0x364513;this[_0x5b1165(0x1ac)](_0x5a44dd),this['_transformPreviousActiveRange'](_0x5a44dd);}['transformRemoteChangeset'](_0x3e0eed){const _0x10af3e=_0x364513;let {unitID:_0x1fc13e}=_0x3e0eed,{redoCache:_0x4f1127}=this[_0x10af3e(0x364)][_0x10af3e(0x3ec)](_0x1fc13e)[_0x10af3e(0x380)](_0x179eb9[_0x10af3e(0x29f)])[_0x10af3e(0x19c)]();if(_0x4f1127['length']===0x0)return _0x3e0eed;let _0x2a6bf8=_0x9007c9[_0x10af3e(0x404)][_0x10af3e(0x212)](_0x3e0eed[_0x10af3e(0x261)][0x0]);for(let _0x4a5608=0x0;_0x4a5608<_0x4f1127[_0x10af3e(0x20a)];_0x4a5608++){let _0xc5695b={'id':_0x10af3e(0x25c),'params':{..._0x4f1127[_0x4a5608]}},_0x53dec0=this[_0x10af3e(0x10a)][_0x10af3e(0x273)](_0x2a6bf8,_0xc5695b,!0x1);if((0x0,_0xd933b[_0x10af3e(0x248)])(_0x53dec0))throw _0x53dec0['error'];_0x2a6bf8=_0x53dec0[_0x10af3e(0x1a7)];}return{..._0x9007c9[_0x10af3e(0x404)]['deepClone'](_0x3e0eed),'mutations':[_0x2a6bf8]};}[_0x364513(0x1ac)](_0x1860be){const _0x206455=_0x364513;let {unitID:_0x457961}=_0x1860be,_0x2bf2b9=this[_0x206455(0x364)][_0x206455(0x3ec)](_0x457961)[_0x206455(0x380)](_0x179eb9[_0x206455(0x29f)]),{undoCache:_0x2b1a49,redoCache:_0x5c1dd6}=_0x2bf2b9[_0x206455(0x19c)]();if(_0x2b1a49[_0x206455(0x20a)]===0x0||_0x5c1dd6['length']===0x0)return;let _0x3af7f0=[],_0x331d32=[],_0x4fa46d=_0x9007c9[_0x206455(0x404)]['deepClone'](_0x1860be[_0x206455(0x261)][0x0]),_0x34104a=_0x9007c9[_0x206455(0x404)]['deepClone'](_0x1860be['mutations'][0x0]);for(let _0x39190b=_0x2b1a49[_0x206455(0x20a)]-0x1;_0x39190b>=0x0;_0x39190b--){let _0x41cb6e={'id':_0x206455(0x25c),'params':{..._0x2b1a49[_0x39190b]}},_0x495c1e={'id':_0x206455(0x25c),'params':{..._0x5c1dd6[_0x39190b]}},_0x377fb8=this[_0x206455(0x10a)][_0x206455(0x273)](_0x4fa46d,_0x41cb6e,!0x1),_0x597b31=this[_0x206455(0x10a)][_0x206455(0x273)](_0x34104a,_0x495c1e,!0x1);if((0x0,_0xd933b[_0x206455(0x248)])(_0x377fb8))throw _0x377fb8[_0x206455(0x170)];if((0x0,_0xd933b[_0x206455(0x248)])(_0x597b31))throw _0x597b31[_0x206455(0x170)];_0x3af7f0['unshift'](_0x377fb8['m2Prime'][_0x206455(0x120)]),_0x331d32[_0x206455(0x26b)](_0x597b31['m2Prime'][_0x206455(0x120)]),_0x4fa46d=_0x377fb8[_0x206455(0x1a7)],_0x34104a=_0x597b31[_0x206455(0x1a7)];}_0x2bf2b9[_0x206455(0x149)]({'undoCache':_0x3af7f0,'redoCache':_0x331d32});}[_0x364513(0x259)](_0x428cb3){const _0x23e5b7=_0x364513;let {unitID:_0x402627}=_0x428cb3,_0xf78969=this[_0x23e5b7(0x364)][_0x23e5b7(0x3ec)](_0x402627)[_0x23e5b7(0x380)](_0x179eb9['DocIMEInputManagerService']),_0x47667c=_0xf78969[_0x23e5b7(0x310)]();if(_0x47667c==null)return;let _0x4bd939=[{'id':_0x23e5b7(0x25c),'params':{'unitId':_0x428cb3[_0x23e5b7(0x22c)],'actions':null,'textRanges':[_0x47667c]}}],_0x5ec26b=this['_transformService']['transformMutationsWithChangeset'](_0x428cb3,_0x4bd939);if(!(0x0,_0xd933b[_0x23e5b7(0x144)])(_0x5ec26b))throw _0x5ec26b[_0x23e5b7(0x170)];let _0x510ddf=_0x5ec26b[_0x23e5b7(0x33d)][0x0][_0x23e5b7(0x120)]['textRanges'];Array[_0x23e5b7(0x2e4)](_0x510ddf)&&_0x510ddf[_0x23e5b7(0x20a)]&&_0xf78969['setActiveRange'](_0x510ddf[0x0]);}};_0x137570=_0x5343d2([_0x447c26(0x0,_0xd933b[_0x364513(0x12f)]),_0x447c26(0x1,_0x2a864e[_0x364513(0x44f)])],_0x137570);let _0x22a7d6=class{constructor(_0xb048c9,_0xc3daa,_0x299626){const _0x3cd522=_0x364513;this[_0x3cd522(0x1c5)]=_0xb048c9,this[_0x3cd522(0x10a)]=_0xc3daa,this[_0x3cd522(0x257)]=_0x299626;}[_0x364513(0x290)](_0x2d98d5){const _0x23e8fc=_0x364513;this[_0x23e8fc(0x25a)](_0x2d98d5);}[_0x364513(0x3b2)](_0x4111bf){const _0x332f7e=_0x364513;let {unitID:_0x51d080}=_0x4111bf,{collaboration:_0x24a77c}=this[_0x332f7e(0x257)][_0x332f7e(0x3ba)](_0x51d080);if(_0x24a77c[_0x332f7e(0x20a)]===0x0)return _0x4111bf;let _0x55c2ad=_0x9007c9[_0x332f7e(0x404)]['deepClone'](_0x4111bf[_0x332f7e(0x261)][0x0]);for(let _0x7ebf8b=0x0;_0x7ebf8b<_0x24a77c[_0x332f7e(0x20a)];_0x7ebf8b++){let _0x3b3752={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24a77c[_0x7ebf8b][_0x332f7e(0x118)],..._0x24a77c[_0x7ebf8b]['redoState']}},_0x4ab8ad=this[_0x332f7e(0x10a)][_0x332f7e(0x273)](_0x55c2ad,_0x3b3752,!0x1);if((0x0,_0xd933b[_0x332f7e(0x248)])(_0x4ab8ad))throw _0x4ab8ad[_0x332f7e(0x170)];_0x55c2ad=_0x4ab8ad[_0x332f7e(0x1a7)];}return{..._0x9007c9['Tools'][_0x332f7e(0x212)](_0x4111bf),'mutations':[_0x55c2ad]};}['_transformHistoryAndStateStack'](_0x55ff89){const _0x348dfb=_0x364513;let {unitID:_0x5391bf}=_0x55ff89,{history:_0x37a6cc,collaboration:_0x19496b}=this[_0x348dfb(0x257)][_0x348dfb(0x3ba)](_0x5391bf);if(_0x37a6cc[_0x348dfb(0x20a)]===0x0&&_0x19496b['length']===0x0)return;let _0x30695f=[],_0x1e84c4=[],_0x4a5ed4=_0x9007c9['Tools']['deepClone'](_0x55ff89[_0x348dfb(0x261)][0x0]),_0x1c537a=_0x9007c9[_0x348dfb(0x404)][_0x348dfb(0x212)](_0x55ff89[_0x348dfb(0x261)][0x0]);for(let _0x30cf25=_0x37a6cc[_0x348dfb(0x20a)]-0x1;_0x30cf25>=0x0;_0x30cf25--){let _0x4949b1={'id':_0x348dfb(0x25c),'params':{'unitId':_0x37a6cc[_0x30cf25][_0x348dfb(0x118)],..._0x37a6cc[_0x30cf25]['undoState']}},_0x54d84f={'id':_0x348dfb(0x25c),'params':{'unitId':_0x37a6cc[_0x30cf25][_0x348dfb(0x118)],..._0x37a6cc[_0x30cf25][_0x348dfb(0x13d)]}},_0x4c2f60=this[_0x348dfb(0x10a)][_0x348dfb(0x273)](_0x4a5ed4,_0x4949b1,!0x1),_0x10a260=this[_0x348dfb(0x10a)][_0x348dfb(0x273)](_0x1c537a,_0x54d84f,!0x1);if((0x0,_0xd933b[_0x348dfb(0x248)])(_0x4c2f60))throw _0x4c2f60[_0x348dfb(0x170)];if((0x0,_0xd933b[_0x348dfb(0x248)])(_0x10a260))throw _0x10a260[_0x348dfb(0x170)];_0x30695f[_0x348dfb(0x26b)]({..._0x37a6cc[_0x30cf25],'undoState':_0x4c2f60['m2Prime'][_0x348dfb(0x120)],'redoState':_0x10a260[_0x348dfb(0x33d)][_0x348dfb(0x120)]}),_0x4a5ed4=_0x4c2f60[_0x348dfb(0x1a7)],_0x1c537a=_0x10a260[_0x348dfb(0x1a7)];}_0x4a5ed4=_0x9007c9[_0x348dfb(0x404)][_0x348dfb(0x212)](_0x55ff89[_0x348dfb(0x261)][0x0]),_0x1c537a=_0x9007c9[_0x348dfb(0x404)][_0x348dfb(0x212)](_0x55ff89[_0x348dfb(0x261)][0x0]);for(let _0x1a04b7=_0x19496b['length']-0x1;_0x1a04b7>=0x0;_0x1a04b7--){let _0x3abbe5={'id':_0x348dfb(0x25c),'params':{'unitId':_0x19496b[_0x1a04b7][_0x348dfb(0x118)],..._0x19496b[_0x1a04b7][_0x348dfb(0x209)]}},_0x3c7503={'id':_0x348dfb(0x25c),'params':{'unitId':_0x19496b[_0x1a04b7][_0x348dfb(0x118)],..._0x19496b[_0x1a04b7][_0x348dfb(0x13d)]}},_0x58e297=this[_0x348dfb(0x10a)]['transformMutation'](_0x4a5ed4,_0x3abbe5,!0x1),_0x341494=this['_transformService']['transformMutation'](_0x1c537a,_0x3c7503,!0x1);if((0x0,_0xd933b[_0x348dfb(0x248)])(_0x58e297))throw _0x58e297[_0x348dfb(0x170)];if((0x0,_0xd933b[_0x348dfb(0x248)])(_0x341494))throw _0x341494['error'];_0x1e84c4[_0x348dfb(0x26b)]({..._0x19496b[_0x1a04b7],'undoState':_0x58e297[_0x348dfb(0x33d)]['params'],'redoState':_0x341494[_0x348dfb(0x33d)][_0x348dfb(0x120)]}),_0x4a5ed4=_0x58e297[_0x348dfb(0x1a7)],_0x1c537a=_0x341494['m1Prime'];}this[_0x348dfb(0x257)][_0x348dfb(0x17b)](_0x5391bf,{'history':_0x30695f,'collaboration':_0x1e84c4});}};_0x22a7d6=_0x5343d2([_0x447c26(0x0,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9[_0x364513(0x338)])),_0x447c26(0x1,_0xd933b[_0x364513(0x12f)]),_0x447c26(0x2,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x43c971[_0x364513(0x2e2)]))],_0x22a7d6);let _0x3edc14=class{constructor(_0x18364e,_0x25c974){const _0x5631bd=_0x364513;this[_0x5631bd(0x37a)]=_0x18364e,this[_0x5631bd(0x10a)]=_0x25c974;}[_0x364513(0x42d)](_0x3f0234){const _0x15e40b=_0x364513;var _0x436333;let _0x4b8d6a=this[_0x15e40b(0x37a)][_0x15e40b(0x367)]()??[],_0x3627f5=this['_docSelectionManagerService'][_0x15e40b(0x361)]();if(_0x4b8d6a['length']===0x0||_0x3627f5==null)return null;let _0x3273ab=_0x3f0234['unitID'],_0x220673=[{'id':_0x15e40b(0x25c),'params':{'unitId':_0x3273ab,'actions':null,'textRanges':_0x4b8d6a}}],_0xff6fbc=this[_0x15e40b(0x10a)][_0x15e40b(0x2a2)](_0x3f0234,_0x220673);if(!(0x0,_0xd933b[_0x15e40b(0x144)])(_0xff6fbc))throw _0xff6fbc[_0x15e40b(0x170)];let _0x19e732=(_0x436333=_0xff6fbc[_0x15e40b(0x33d)][0x0])==null?void 0x0:_0x436333[_0x15e40b(0x120)],_0x2d34aa=_0x19e732&&typeof _0x19e732==_0x15e40b(0x12b)&&_0x15e40b(0x21a)in _0x19e732?_0x19e732[_0x15e40b(0x21a)]:null;if(!_0x31b954(_0x2d34aa))return null;let _0xcfde8e=_0x3cb66c(_0x3f0234[_0x15e40b(0x261)][_0x15e40b(0x218)](_0x3bc086=>_0xe514(_0x3bc086['params']))?_0x2d34aa[_0x15e40b(0x3e5)](_0x4bddc6=>!('tableId'in _0x4bddc6)):_0x2d34aa,{..._0x3627f5,'options':_0x3627f5[_0x15e40b(0x2fa)]?{..._0x3627f5[_0x15e40b(0x2fa)],'wholeDocument':!0x1}:void 0x0}),_0x388d8a={'unitId':_0x3273ab,'subUnitId':_0x3273ab};this[_0x15e40b(0x37a)]['replaceSelectionInfoWithoutRefresh'](_0xcfde8e,_0x388d8a);let _0x526809=!0x0;return{'commit':()=>{_0x526809=!0x1;},'rollback':()=>{const _0x3db0c7=_0x15e40b;_0x526809&&(_0x526809=!0x1,this[_0x3db0c7(0x37a)]['replaceSelectionInfoWithoutRefresh'](_0x3627f5,_0x388d8a));}};}};_0x3edc14=_0x5343d2([_0x447c26(0x0,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x43c971[_0x364513(0x3c8)])),_0x447c26(0x1,_0xd933b[_0x364513(0x12f)])],_0x3edc14);function _0x3cb66c(_0x36e351,_0x566b2a){const _0x20547e=_0x364513;let _0x2e6c44=[],_0x3afcbf=[];for(let _0x20f1d8 of _0x36e351)_0x396df6(_0x20f1d8)?_0x3afcbf[_0x20547e(0x1a3)](_0x20f1d8):_0x2e6c44[_0x20547e(0x1a3)](_0x20f1d8);return{..._0x566b2a,'textRanges':_0x2e6c44,'rectRanges':_0x3afcbf};}function _0x396df6(_0x341ab1){const _0x3dcf2c=_0x364513;return _0x3dcf2c(0x18d)in _0x341ab1;}function _0x31b954(_0x504e93){const _0x2c818a=_0x364513;return Array[_0x2c818a(0x2e4)](_0x504e93)&&_0x504e93[_0x2c818a(0x3ed)](_0x16253b=>typeof _0x16253b=='object'&&!!_0x16253b&&'startOffset'in _0x16253b&&_0x2c818a(0x355)in _0x16253b);}function _0xe514(_0x5d21cb){const _0x34cedb=_0x364513;return _0x5d21cb==='tableSource'?!0x0:Array['isArray'](_0x5d21cb)?_0x5d21cb['some'](_0x55f9cb=>_0xe514(_0x55f9cb)):!_0x5d21cb||typeof _0x5d21cb!=_0x34cedb(0x12b)?!0x1:Object[_0x34cedb(0x25e)](_0x5d21cb)[_0x34cedb(0x218)](_0x57c449=>_0xe514(_0x57c449));}let _0x28400b=class extends _0x9007c9['Disposable']{constructor(_0x5d4f3f,_0x3e12f5,_0x1439a3,_0x107690,_0x3ce1ac,_0x30ffbb,_0x490fe2){const _0x433809=_0x364513;super(),this[_0x433809(0x3ef)]=_0x5d4f3f,this[_0x433809(0x438)]=_0x3e12f5,this[_0x433809(0x160)]=_0x1439a3,this[_0x433809(0x1b9)]=_0x107690,this[_0x433809(0x320)]=_0x3ce1ac,this[_0x433809(0x25f)]=_0x30ffbb,this[_0x433809(0x363)]=_0x490fe2,_0x389cd7(this,_0x433809(0x418),new _0x4ddf34[(_0x433809(0x24c))](_0x2c8280[_0x433809(0x300)][_0x433809(0x1ae)])),this['_initEntityListener']();}[_0x364513(0x317)](){const _0xbd8241=_0x364513;this[_0xbd8241(0x2a5)](this['_collaborationController'][_0xbd8241(0x1f6)][_0xbd8241(0x228)](_0x5cf725=>{const _0x2b2333=_0xbd8241;_0x5cf725 instanceof _0x2c8280[_0x2b2333(0x1af)]&&_0x5cf725[_0x2b2333(0x134)]({'onTransformIME':_0x3a3600=>this[_0x2b2333(0x438)][_0x2b2333(0x39e)](_0x3a3600),'onTransformState':_0x25bf56=>this[_0x2b2333(0x160)][_0x2b2333(0x290)](_0x25bf56),'onPrepareTransformSelections':_0x48d3c8=>this['_docTransformSelectionsService']['prepareTransformSelections'](_0x48d3c8),'onSyncEditingCollabCursor':_0x425e55=>this[_0x2b2333(0x320)][_0x2b2333(0x341)](_0x425e55),'onTransformRemoteChangesetByIMECache':_0x594aa2=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x594aa2),'onTransformRemoteChangesetByStateCache':_0x4ab339=>this[_0x2b2333(0x160)]['transformRemoteChangeset'](_0x4ab339)});}));}};_0x28400b=_0x5343d2([_0x447c26(0x0,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x2c8280['CollaborationController'])),_0x447c26(0x1,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x137570)),_0x447c26(0x2,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x22a7d6)),_0x447c26(0x3,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x3edc14)),_0x447c26(0x4,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x5599a1)),_0x447c26(0x5,_0x237270[_0x364513(0x350)]),_0x447c26(0x6,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9[_0x364513(0x37d)]))],_0x28400b);let _0x52647d=class extends _0x9007c9[_0x364513(0x41b)]{constructor(_0x321196,_0x2e6105,_0x24411a,_0x1a9f7d){const _0x1e2254=_0x364513;super(),this[_0x1e2254(0x1c5)]=_0x321196,this[_0x1e2254(0x3bc)]=_0x2e6105,this['_logService']=_0x24411a,this[_0x1e2254(0x384)]=_0x1a9f7d,_0x389cd7(this,_0x1e2254(0x407),void 0x0),this[_0x1e2254(0x37e)]();}[_0x364513(0x37e)](){const _0x31bc93=_0x364513;this[_0x31bc93(0x139)](),this[_0x31bc93(0x1eb)](),this[_0x31bc93(0x312)](),this['_initUserListener']();}[_0x364513(0x199)](){const _0x59a321=_0x364513;this[_0x59a321(0x2a5)](this[_0x59a321(0x384)][_0x59a321(0x125)][_0x59a321(0x228)](_0x2cf712=>{const _0x29cbbc=_0x59a321;this[_0x29cbbc(0x407)]=_0x2cf712==null?void 0x0:_0x2cf712[_0x29cbbc(0x462)];}));}[_0x364513(0x139)](){const _0x396b38=_0x364513;let _0x5c7889=_0x40f7a1=>{const _0x2a80a5=_0x5e16;var _0xaa90bc;this[_0x2a80a5(0x467)](_0x2a80a5(0x170),'[Window\x20Error]:\x20'+_0x40f7a1[_0x2a80a5(0x34e)]+_0x2a80a5(0x399)+_0x40f7a1[_0x2a80a5(0x28a)]+':'+_0x40f7a1[_0x2a80a5(0x1f3)]+':'+_0x40f7a1[_0x2a80a5(0x3c0)]+'\x0a'+(((_0xaa90bc=_0x40f7a1[_0x2a80a5(0x170)])==null?void 0x0:_0xaa90bc['stack'])||''));};window['addEventListener'](_0x396b38(0x170),_0x5c7889),this[_0x396b38(0x2a5)](()=>{const _0x2ebfe4=_0x396b38;window[_0x2ebfe4(0x11e)](_0x2ebfe4(0x170),_0x5c7889);});}[_0x364513(0x1eb)](){const _0x428552=_0x364513;let _0x1ae2ef=_0x20882c=>{const _0x282bd3=_0x5e16;this[_0x282bd3(0x467)](_0x282bd3(0x170),'[Unhandled\x20Rejection]:\x20'+_0x20882c[_0x282bd3(0x162)]);};window[_0x428552(0x17e)]('unhandledrejection',_0x1ae2ef),this[_0x428552(0x2a5)](()=>{const _0x17f7ec=_0x428552;window[_0x17f7ec(0x11e)](_0x17f7ec(0x359),_0x1ae2ef);});}[_0x364513(0x312)](){const _0x1a2d90=_0x364513;let _0xa8b30d=this[_0x1a2d90(0x1e6)][_0x1a2d90(0x170)][_0x1a2d90(0x3d9)](this[_0x1a2d90(0x1e6)]);this[_0x1a2d90(0x1e6)][_0x1a2d90(0x170)]=(..._0x3cbe04)=>{const _0x5daaab=_0x1a2d90;let _0x26abd0=_0x3cbe04[_0x5daaab(0x1c3)](_0x4ddc32=>_0x4ddc32 instanceof Error?_0x4ddc32[_0x5daaab(0x34e)]+'\x0a'+_0x4ddc32[_0x5daaab(0x1ce)]:String(_0x4ddc32))[_0x5daaab(0x20d)]('\x20');this[_0x5daaab(0x467)](_0x5daaab(0x170),_0x5daaab(0x239)+_0x26abd0),_0xa8b30d(..._0x3cbe04);},this[_0x1a2d90(0x2a5)](()=>{const _0x4a7903=_0x1a2d90;this['_logService'][_0x4a7903(0x170)]=_0xa8b30d;});}[_0x364513(0x467)](_0xe06ebc,_0x58783e){const _0x2f5db6=_0x364513;try{let _0x48b5c8={'userId':this[_0x2f5db6(0x407)],'logLabel':_0xe06ebc,'content':_0x58783e};this[_0x2f5db6(0x3bc)]['post']('/universer-api/frontend/logs',{'body':_0x48b5c8})[_0x2f5db6(0x15c)](()=>{});}catch{}}};_0x52647d=_0x5343d2([_0x447c26(0x0,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9[_0x364513(0x338)])),_0x447c26(0x1,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x547f33[_0x364513(0x35b)])),_0x447c26(0x2,_0x9007c9[_0x364513(0x2ba)]),_0x447c26(0x3,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x2c8280['CollaborationSessionService']))],_0x52647d);function _0x14ed87({state$:_0x432868}){const _0x18bc79=_0x364513;let _0x371fe5=(0x0,_0x237270[_0x18bc79(0x2d8)])(_0x432868,null,!0x0);return _0x371fe5?(0x0,_0x5844d5['jsxs'])(_0x18bc79(0x383),{'data-u-comp':_0x18bc79(0x33f),'role':_0x18bc79(0x3cb),'className':_0x18bc79(0x44d),'children':[(0x0,_0x5844d5[_0x18bc79(0x22b)])(_0x57beb4,{'className':_0x18bc79(0x41f)}),(0x0,_0x5844d5['jsx'])(_0x18bc79(0x252),{'children':_0x371fe5[_0x18bc79(0x18e)]}),(0x0,_0x5844d5[_0x18bc79(0x22b)])(_0x3f0ccc[_0x18bc79(0x258)],{'size':'small','variant':'primary','onClick':()=>window[_0x18bc79(0x15e)][_0x18bc79(0x3a1)](),'children':_0x371fe5[_0x18bc79(0x172)]})]}):null;}let _0x47a6a7=_0x364513(0x21b),_0x2352e3=class extends _0x9007c9[_0x364513(0x41b)]{constructor(_0x14e1a3,_0x38227e,_0x506928,_0x4bac9e,_0x10d184){const _0x3f5152=_0x364513;super(),this['_snapshotLoadingService']=_0x14e1a3,this[_0x3f5152(0x25f)]=_0x38227e,this['_localeService']=_0x506928,this['_injector']=_0x4bac9e,_0x389cd7(this,_0x3f5152(0x3ca),new _0x4ddf34[(_0x3f5152(0x24c))](null)),_0x389cd7(this,_0x3f5152(0x136),new Set()),_0x389cd7(this,_0x3f5152(0x2e3),new Map()),_0x389cd7(this,_0x3f5152(0x3ff),this[_0x3f5152(0x3ca)][_0x3f5152(0x394)]());let _0x4d34aa=()=>(0x0,_0x26f351[_0x3f5152(0x441)])(_0x14ed87,{'state$':this['timeoutState$']});this[_0x3f5152(0x2a5)](_0x10d184[_0x3f5152(0x3b7)](_0x237270[_0x3f5152(0x3f1)][_0x3f5152(0x376)],()=>(0x0,_0x237270['connectInjector'])(_0x4d34aa,this['_injector']))),this[_0x3f5152(0x2a5)](this['_snapshotLoadingService']['state$'][_0x3f5152(0x228)](_0x1df1f8=>{const _0x11ee51=_0x3f5152;_0x1df1f8[_0x11ee51(0x3e8)](_0x34908d=>this['_updateMessage'](_0x34908d));}));}[_0x364513(0x1ad)](){const _0x1d823c=_0x364513;this[_0x1d823c(0x136)][_0x1d823c(0x3e8)](_0x595006=>this['_messageService'][_0x1d823c(0x39f)](_0x595006)),this[_0x1d823c(0x136)][_0x1d823c(0x265)](),this[_0x1d823c(0x2e3)][_0x1d823c(0x3e8)](({timeoutId:_0x8d0b4f})=>clearTimeout(_0x8d0b4f)),this['_blockProgressWatches'][_0x1d823c(0x265)](),this['_timeoutState$'][_0x1d823c(0x2df)](),super['dispose']();}['_updateMessage'](_0x2a675c){const _0x5c8eb7=_0x364513;let _0x350339=''+_0x47a6a7+_0x2a675c[_0x5c8eb7(0x118)];_0x2a675c['stage']===_0xd933b[_0x5c8eb7(0x393)][_0x5c8eb7(0x168)]?(this[_0x5c8eb7(0x3a6)](_0x2a675c['unitId']),this[_0x5c8eb7(0x360)](_0x2a675c[_0x5c8eb7(0x118)]),this[_0x5c8eb7(0x25f)]['remove'](_0x350339),this[_0x5c8eb7(0x136)]['delete'](_0x350339)):_0x2a675c[_0x5c8eb7(0x167)]===_0xd933b[_0x5c8eb7(0x393)]['ERROR']?(this[_0x5c8eb7(0x3a6)](_0x2a675c[_0x5c8eb7(0x118)]),this[_0x5c8eb7(0x360)](_0x2a675c[_0x5c8eb7(0x118)]),this['_messageService'][_0x5c8eb7(0x464)]({'id':_0x350339,'type':_0x3f0ccc[_0x5c8eb7(0x1f7)][_0x5c8eb7(0x227)],'content':this[_0x5c8eb7(0x363)]['t'](_0x5c8eb7(0x3ee))}),this[_0x5c8eb7(0x136)][_0x5c8eb7(0x2cb)](_0x350339)):_0x2a675c[_0x5c8eb7(0x167)]!==_0xd933b[_0x5c8eb7(0x393)]['LOADING_BLOCKS']||_0x2a675c[_0x5c8eb7(0x280)]<=0xa?(this[_0x5c8eb7(0x3a6)](_0x2a675c[_0x5c8eb7(0x118)]),this[_0x5c8eb7(0x25f)][_0x5c8eb7(0x39f)](_0x350339),this[_0x5c8eb7(0x136)][_0x5c8eb7(0x2cb)](_0x350339)):this['_watchBlockProgress'](_0x2a675c)||(this[_0x5c8eb7(0x25f)][_0x5c8eb7(0x464)]({'id':_0x350339,'type':_0x3f0ccc['MessageType'][_0x5c8eb7(0x1ff)],'duration':0x1/0x0,'content':this[_0x5c8eb7(0x363)]['t']('collaboration-client-ui.collabStatus.fetchMiss')+'\x20'+_0x2a675c[_0x5c8eb7(0x1d9)]+'/'+_0x2a675c['totalBlocks']}),this[_0x5c8eb7(0x136)]['add'](_0x350339));}[_0x364513(0x1dc)](_0x4e594c){const _0x10a53a=_0x364513;let _0x533831=this[_0x10a53a(0x2e3)]['get'](_0x4e594c[_0x10a53a(0x118)]);if((_0x533831==null?void 0x0:_0x533831[_0x10a53a(0x1d9)])===_0x4e594c[_0x10a53a(0x1d9)])return _0x533831[_0x10a53a(0x28d)];this[_0x10a53a(0x3a6)](_0x4e594c['unitId']);let _0x223a68=setTimeout(()=>{const _0x5e9066=_0x10a53a;let _0x4d3be6=this[_0x5e9066(0x2e3)][_0x5e9066(0x37f)](_0x4e594c[_0x5e9066(0x118)]);if(!_0x4d3be6||_0x4d3be6[_0x5e9066(0x247)]!==_0x223a68)return;_0x4d3be6[_0x5e9066(0x28d)]=!0x0;let _0x272112=''+_0x47a6a7+_0x4e594c[_0x5e9066(0x118)];this[_0x5e9066(0x25f)][_0x5e9066(0x39f)](_0x272112),this[_0x5e9066(0x136)][_0x5e9066(0x2cb)](_0x272112),this[_0x5e9066(0x3ca)]['next']({'unitId':_0x4e594c[_0x5e9066(0x118)],'content':this[_0x5e9066(0x363)]['t'](_0x5e9066(0x114),String(_0x4e594c[_0x5e9066(0x1d9)]),String(_0x4e594c[_0x5e9066(0x280)])),'refreshLabel':this['_localeService']['t']('collaboration-client-ui.snapshotLoading.refresh')});},0xea60);return this[_0x10a53a(0x2e3)][_0x10a53a(0x43c)](_0x4e594c[_0x10a53a(0x118)],{'loadedBlocks':_0x4e594c[_0x10a53a(0x1d9)],'timedOut':!0x1,'timeoutId':_0x223a68}),!0x1;}['_clearBlockProgressWatch'](_0x361673){const _0x3b0685=_0x364513;let _0x4c08a4=this[_0x3b0685(0x2e3)][_0x3b0685(0x37f)](_0x361673);_0x4c08a4&&(clearTimeout(_0x4c08a4['timeoutId']),this[_0x3b0685(0x2e3)]['delete'](_0x361673),this[_0x3b0685(0x360)](_0x361673));}[_0x364513(0x360)](_0xfc9f0c){const _0xf1df61=_0x364513;var _0x3f782b;((_0x3f782b=this[_0xf1df61(0x3ca)][_0xf1df61(0x436)])==null?void 0x0:_0x3f782b[_0xf1df61(0x118)])===_0xfc9f0c&&this['_timeoutState$'][_0xf1df61(0x1d7)](null);}};_0x2352e3=_0x5343d2([_0x447c26(0x0,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0xd933b[_0x364513(0x1ed)])),_0x447c26(0x1,_0x237270[_0x364513(0x350)]),_0x447c26(0x2,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9[_0x364513(0x37d)])),_0x447c26(0x3,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9[_0x364513(0x338)])),_0x447c26(0x4,_0x237270[_0x364513(0x27f)])],_0x2352e3);let _0x286201=class extends _0x9007c9[_0x364513(0x41b)]{constructor(_0x50be8c,_0x1309cd,_0x541ac9,_0x2286fc,_0x34fbc1){const _0x1cc188=_0x364513;var _0x5ea6ef;super(),this[_0x1cc188(0x235)]=_0x50be8c,this[_0x1cc188(0x32f)]=_0x1309cd,this[_0x1cc188(0x20e)]=_0x541ac9,this[_0x1cc188(0x1e6)]=_0x2286fc,this[_0x1cc188(0x40a)]=_0x34fbc1,_0x389cd7(this,_0x1cc188(0x202),new Map()),_0x389cd7(this,'_saveTaskMap',new Map()),_0x389cd7(this,_0x1cc188(0x31a),new Map()),_0x389cd7(this,_0x1cc188(0x410),!0x1),this[_0x1cc188(0x410)]=!((_0x5ea6ef=this[_0x1cc188(0x235)][_0x1cc188(0x267)](_0x2c8280[_0x1cc188(0x314)]))!=null&&_0x5ea6ef[_0x1cc188(0x2c3)]);}[_0x364513(0x422)](){this['_disabled']=!0x0;}[_0x364513(0x353)](){const _0x112a91=_0x364513;this[_0x112a91(0x410)]=!0x1;}get[_0x364513(0x215)](){const _0x34e4b1=_0x364513;let _0x3e551a=new Map(this[_0x34e4b1(0x372)]);return this[_0x34e4b1(0x31a)][_0x34e4b1(0x3e8)]((_0x508350,_0x1ecd06)=>{const _0x330c86=_0x34e4b1;_0x3e551a[_0x330c86(0x206)](_0x1ecd06)||_0x3e551a[_0x330c86(0x43c)](_0x1ecd06,0x0);}),_0x3e551a;}[_0x364513(0x1ad)](){const _0x5b7a96=_0x364513;this['_disposed']||(super[_0x5b7a96(0x1ad)](),this[_0x5b7a96(0x410)]=!0x0,this[_0x5b7a96(0x161)]()[_0x5b7a96(0x15c)](_0x102f33=>this['_logService']['error'](_0x102f33)));}async[_0x364513(0x2f1)](_0x495b31,_0x459b48){const _0x3b886a=_0x364513;if(this[_0x3b886a(0x410)])return null;let _0x541d95=this[_0x3b886a(0x126)](_0x459b48),_0x30056f=await this[_0x3b886a(0x32f)][_0x3b886a(0x327)]((0x0,_0x2c8280[_0x3b886a(0x36e)])(_0x495b31,_0x541d95));return(_0x30056f==null?void 0x0:_0x30056f[_0x3b886a(0x22c)])===_0x495b31&&this[_0x3b886a(0x26f)](_0x30056f[_0x3b886a(0x1c2)])===_0x541d95?_0x30056f:null;}async[_0x364513(0x30c)](_0x8a52a1,_0x2f13e4,_0x4e32c8){const _0x6ad1c4=_0x364513;let _0x4cbb7f=this['_getUserId'](_0x4e32c8),_0x490ec7=(0x0,_0x2c8280[_0x6ad1c4(0x36e)])(_0x8a52a1,_0x4cbb7f),_0x1165ef=this[_0x6ad1c4(0x32f)][_0x6ad1c4(0x269)](_0x490ec7,{..._0x2f13e4,'unitID':_0x8a52a1,'userId':_0x4cbb7f});return this[_0x6ad1c4(0x2be)](_0x490ec7,_0x1165ef),!!await _0x1165ef;}async['backupOfflineData'](_0x3212d5,_0x1030a7,_0x55c6b5){const _0x1cefe5=_0x364513;let _0x3f4442=this[_0x1cefe5(0x126)](_0x55c6b5),_0x2a6c0a=(0x0,_0x2c8280[_0x1cefe5(0x36e)])(_0x3212d5,_0x3f4442),_0x19e72d=this[_0x1cefe5(0x202)][_0x1cefe5(0x37f)](_0x2a6c0a)??await this[_0x1cefe5(0x32f)]['getItem'](_0x2a6c0a);if(!_0x19e72d||this[_0x1cefe5(0x26f)](_0x19e72d[_0x1cefe5(0x1c2)])!==_0x3f4442||_0x19e72d[_0x1cefe5(0x22c)]!==_0x3212d5)return;let _0x3ed848=Date['now'](),_0x195967=new Date(_0x3ed848)[_0x1cefe5(0x41e)]();await this['_localStorageService'][_0x1cefe5(0x269)](_0x2a6c0a+_0x1cefe5(0x430)+_0x3ed848,{'reason':_0x1030a7,'createdAt':_0x195967,'data':_0x19e72d});}async[_0x364513(0x197)](_0x148492,_0x523a64){const _0x593565=_0x364513;let _0x4d26b7=this[_0x593565(0x126)](_0x523a64),_0xc90249=(0x0,_0x2c8280[_0x593565(0x36e)])(_0x148492,_0x4d26b7),_0x718b6e=this[_0x593565(0x372)][_0x593565(0x37f)](_0xc90249);_0x718b6e!==void 0x0&&(window[_0x593565(0x1cd)](_0x718b6e),this[_0x593565(0x372)][_0x593565(0x2cb)](_0xc90249));let _0x4a895c=this['_activeSaveTaskMap'][_0x593565(0x37f)](_0xc90249);_0x4a895c&&await Promise[_0x593565(0x3b0)](_0x4a895c),this['_cachedData'][_0x593565(0x2cb)](_0xc90249),await this['_localStorageService'][_0x593565(0x36a)](_0xc90249);}[_0x364513(0x3c1)](_0x41f5fe,_0x42cb0b,_0x4d1a00,_0x5eb638,_0x48a9bd){const _0x11cf61=_0x364513;if(this['_disposed'])return;let _0x94d551=this['_getUserId'](_0x48a9bd),_0x3c0e1b=(0x0,_0x2c8280[_0x11cf61(0x36e)])(_0x41f5fe,_0x94d551),_0x53c4df=this[_0x11cf61(0x20e)]['getCurrentRevOfUnit'](_0x41f5fe);this[_0x11cf61(0x202)][_0x11cf61(0x43c)](_0x3c0e1b,{'unitID':_0x41f5fe,'userId':_0x94d551,'type':_0x42cb0b,'awaitingChangeset':_0x4d1a00,'mutations':_0x5eb638,'rev':_0x53c4df}),this[_0x11cf61(0x372)][_0x11cf61(0x206)](_0x3c0e1b)||this['_scheduleSaving'](_0x3c0e1b);}[_0x364513(0x126)](_0x45929c=((()=>{const _0x85c13f=_0x364513;var _0x2defaa;return(_0x2defaa=this[_0x85c13f(0x40a)][_0x85c13f(0x2ae)]())==null?void 0x0:_0x2defaa['userID'];})())){const _0x5aa964=_0x364513;return this[_0x5aa964(0x26f)](_0x45929c);}[_0x364513(0x26f)](_0x42d2df){return _0x42d2df===''||_0x42d2df==null?void 0x0:_0x42d2df;}[_0x364513(0x3e0)](_0x46064b){const _0x48783e=_0x364513;let _0xfabfe5=this['_getSaveTimeout']();_0xfabfe5===0x0?this[_0x48783e(0x2f3)](_0x46064b)[_0x48783e(0x15c)](_0x428211=>this[_0x48783e(0x1e6)][_0x48783e(0x170)](_0x428211)):this[_0x48783e(0x372)]['set'](_0x46064b,window[_0x48783e(0x3f6)](()=>{const _0x377a4f=_0x48783e;this['_saveCache'](_0x46064b)[_0x377a4f(0x15c)](_0x1ee7f7=>this['_logService'][_0x377a4f(0x170)](_0x1ee7f7));},_0xfabfe5));}[_0x364513(0x309)](){const _0x5dd119=_0x364513;return this[_0x5dd119(0x235)][_0x5dd119(0x267)](_0x2c8280[_0x5dd119(0x111)])??_0x2c8280[_0x5dd119(0x24a)];}['_saveCache'](_0x154baf){const _0x2ef9bb=_0x364513;let _0x13850d=this[_0x2ef9bb(0x372)][_0x2ef9bb(0x37f)](_0x154baf);_0x13850d!==void 0x0&&window[_0x2ef9bb(0x1cd)](_0x13850d);let _0x11444f=this[_0x2ef9bb(0x202)][_0x2ef9bb(0x37f)](_0x154baf);if(!_0x11444f)return Promise[_0x2ef9bb(0x27c)]();let _0x195628=this['_activeSaveTaskMap'][_0x2ef9bb(0x37f)](_0x154baf),_0x25769f=Promise[_0x2ef9bb(0x3b0)](_0x195628?[..._0x195628]:[])[_0x2ef9bb(0x155)](()=>this[_0x2ef9bb(0x32f)][_0x2ef9bb(0x269)](_0x154baf,_0x11444f))['then'](()=>{const _0x4b09a6=_0x2ef9bb;_0x13850d!==void 0x0&&this[_0x4b09a6(0x372)]['get'](_0x154baf)===_0x13850d&&(this['_saveTaskMap']['delete'](_0x154baf),!this[_0x4b09a6(0x16e)]&&this[_0x4b09a6(0x202)][_0x4b09a6(0x37f)](_0x154baf)!==_0x11444f&&this[_0x4b09a6(0x3e0)](_0x154baf));});return this[_0x2ef9bb(0x2be)](_0x154baf,_0x25769f),_0x25769f;}['_trackActiveSaveTask'](_0x1c6968,_0x5177ac){const _0x5efbbe=_0x364513;let _0x1d6dfa=this[_0x5efbbe(0x31a)][_0x5efbbe(0x37f)](_0x1c6968);_0x1d6dfa||(_0x1d6dfa=new Set(),this[_0x5efbbe(0x31a)][_0x5efbbe(0x43c)](_0x1c6968,_0x1d6dfa)),_0x1d6dfa[_0x5efbbe(0x345)](_0x5177ac);let _0x3fe5f6=()=>{const _0x2cee9a=_0x5efbbe;_0x1d6dfa[_0x2cee9a(0x2cb)](_0x5177ac),_0x1d6dfa[_0x2cee9a(0x459)]===0x0&&this[_0x2cee9a(0x31a)][_0x2cee9a(0x2cb)](_0x1c6968);};_0x5177ac['then'](_0x3fe5f6,_0x3fe5f6);}async['exhaustSavingTask'](){const _0x304492=_0x364513;let _0x29d1fb=[...this[_0x304492(0x372)]['keys']()]['map'](_0x3539f7=>this[_0x304492(0x2f3)](_0x3539f7));for(let _0x1275e6 of this[_0x304492(0x31a)][_0x304492(0x25e)]())_0x29d1fb[_0x304492(0x1a3)](...[..._0x1275e6][_0x304492(0x1c3)](_0x491f82=>_0x491f82[_0x304492(0x155)](()=>void 0x0)));await Promise['all'](_0x29d1fb);}};_0x286201=_0x5343d2([_0x447c26(0x0,_0x9007c9[_0x364513(0x237)]),_0x447c26(0x1,_0x9007c9['ILocalStorageService']),_0x447c26(0x2,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0xd933b[_0x364513(0x16c)])),_0x447c26(0x3,_0x9007c9[_0x364513(0x2ba)]),_0x447c26(0x4,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9[_0x364513(0x27a)]))],_0x286201);var _0x314a31=class extends _0x9007c9[_0x364513(0x41b)]{get[_0x364513(0x156)](){const _0x1ca25e=_0x364513;return this[_0x1ca25e(0x186)][_0x1ca25e(0x368)]();}constructor(){const _0x5652c0=_0x364513;super(),_0x389cd7(this,_0x5652c0(0x186),new _0x4ddf34[(_0x5652c0(0x24c))](navigator[_0x5652c0(0x28c)])),_0x389cd7(this,_0x5652c0(0x30d),this[_0x5652c0(0x186)][_0x5652c0(0x394)]()),this[_0x5652c0(0x241)](),this[_0x5652c0(0x115)]();}[_0x364513(0x1ad)](){const _0x53702f=_0x364513;super[_0x53702f(0x1ad)](),this[_0x53702f(0x186)][_0x53702f(0x2df)]();}[_0x364513(0x115)](){const _0x3a6267=_0x364513;this[_0x3a6267(0x2a5)]((0x0,_0x4ddf34['merge'])((0x0,_0x4ddf34[_0x3a6267(0x1a2)])(window,_0x3a6267(0x156)),(0x0,_0x4ddf34[_0x3a6267(0x1a2)])(window,_0x3a6267(0x185)),(0x0,_0x4ddf34[_0x3a6267(0x1a2)])(document,_0x3a6267(0x119))[_0x3a6267(0x1d2)]((0x0,_0x4ddf34[_0x3a6267(0x1c3)])(()=>document[_0x3a6267(0x2ec)]==='visible'),(0x0,_0x4ddf34[_0x3a6267(0x3e5)])(_0x39d669=>_0x39d669)))[_0x3a6267(0x1d2)]((0x0,_0x4ddf34[_0x3a6267(0x3e5)])(()=>navigator[_0x3a6267(0x28c)]))[_0x3a6267(0x228)](()=>this[_0x3a6267(0x186)][_0x3a6267(0x1d7)](!0x0)));}[_0x364513(0x241)](){const _0xf3dc60=_0x364513;this['disposeWithMe']((0x0,_0x4ddf34[_0xf3dc60(0x1a2)])(window,_0xf3dc60(0x34b))[_0xf3dc60(0x228)](()=>this[_0xf3dc60(0x186)][_0xf3dc60(0x1d7)](!0x1)));}};let _0x397e1a=class extends _0x9007c9[_0x364513(0x36b)]{constructor(_0x31cd12=_0x3d9e7f,_0x19230c,_0x402579,_0x8ef63f,_0x1a0ceb){const _0x29d811=_0x364513;super(),this[_0x29d811(0x240)]=_0x31cd12,this[_0x29d811(0x364)]=_0x19230c,this[_0x29d811(0x1c5)]=_0x402579,this[_0x29d811(0x235)]=_0x8ef63f,this['_commandService']=_0x1a0ceb;let {..._0x1e0d6d}=(0x0,_0x9007c9[_0x29d811(0x3d4)])({},_0x3d9e7f,this['_config']);this[_0x29d811(0x235)][_0x29d811(0x34a)](_0x29d811(0x3e2),_0x1e0d6d);}[_0x364513(0x152)](){const _0x1baa1e=_0x364513;this['_registerDependencies'](),this[_0x1baa1e(0x2a5)](this[_0x1baa1e(0x44c)][_0x1baa1e(0x45e)](_0x3f9be4)),this[_0x1baa1e(0x2b4)]();}[_0x364513(0x26a)](){const _0x36dffb=_0x364513;this[_0x36dffb(0x173)]();}[_0x364513(0x433)](){const _0x26ff8c=_0x364513;var _0x1d4d72;let _0x5f1c09=[[_0x45bd93],[_0x547f33[_0x26ff8c(0x30e)],{'useClass':_0x547f33[_0x26ff8c(0x44a)]}],[_0x2c8280[_0x26ff8c(0x268)],{'useClass':_0x286201}],[_0x2c8280[_0x26ff8c(0x210)],{'useClass':_0x314a31}],[_0x1e532c],[_0xa55502],[_0x4a5700],[_0x4c2056],[_0x2352e3]];this['_config'][_0x26ff8c(0x2db)]!==!0x1&&_0x5f1c09[_0x26ff8c(0x1a3)]([_0x3edc14],[_0x137570],[_0x22a7d6],[_0x5599a1],[_0x28400b],[_0x5cffc8]),this[_0x26ff8c(0x240)][_0x26ff8c(0x256)]&&_0x5f1c09['push']([_0x52647d]),(0x0,_0x9007c9[_0x26ff8c(0x101)])(this[_0x26ff8c(0x1c5)],(0x0,_0x9007c9[_0x26ff8c(0x2a6)])(_0x5f1c09,(_0x1d4d72=this[_0x26ff8c(0x240)])==null?void 0x0:_0x1d4d72[_0x26ff8c(0x1de)]));}[_0x364513(0x173)](){const _0xee01ef=_0x364513;this[_0xee01ef(0x240)][_0xee01ef(0x2db)]!==!0x1&&this[_0xee01ef(0x2a5)](this[_0xee01ef(0x364)][_0xee01ef(0x288)](_0x9007c9[_0xee01ef(0x1da)][_0xee01ef(0x444)],[_0x227c8c])),this[_0xee01ef(0x2a5)](this[_0xee01ef(0x364)]['registerRenderModule'](_0x9007c9[_0xee01ef(0x1da)][_0xee01ef(0x2a4)],[_0x345e83]));}[_0x364513(0x2b4)](){const _0x5082e3=_0x364513;(0x0,_0x9007c9[_0x5082e3(0x223)])(this[_0x5082e3(0x1c5)],[[_0x4a5700],[_0x4c2056],[_0x1e532c],[_0xa55502],[_0x2352e3]]),this['_config'][_0x5082e3(0x2db)]!==!0x1&&(0x0,_0x9007c9[_0x5082e3(0x223)])(this[_0x5082e3(0x1c5)],[[_0x28400b],[_0x5cffc8]]),this['_config'][_0x5082e3(0x256)]&&(0x0,_0x9007c9[_0x5082e3(0x223)])(this[_0x5082e3(0x1c5)],[[_0x52647d]]);}};_0x389cd7(_0x397e1a,_0x364513(0x370),_0x364513(0x1bc)),_0x389cd7(_0x397e1a,_0x364513(0x3a8),_0x58edc5),_0x389cd7(_0x397e1a,_0x364513(0x18c),_0x3e5bbf),_0x397e1a=_0x5343d2([(0x0,_0x9007c9[_0x364513(0x460)])(_0x3320df['UniverLicensePlugin'],_0x43c971[_0x364513(0x221)],_0x2a864e[_0x364513(0x1e8)],_0x547f33[_0x364513(0x2c4)],_0xd933b[_0x364513(0x1a4)],_0x179eb9[_0x364513(0x442)],_0x2c8280[_0x364513(0x369)]),_0x447c26(0x1,_0x2a864e[_0x364513(0x44f)]),_0x447c26(0x2,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x9007c9['Injector'])),_0x447c26(0x3,_0x9007c9[_0x364513(0x237)]),_0x447c26(0x4,_0x9007c9[_0x364513(0x3c4)])],_0x397e1a);let _0x598282=class extends _0x2c8280[_0x364513(0x3fb)]{constructor(_0x2108bc,_0x360341,_0x25cd84,_0x2a4fc2,_0xf74672){const _0xcf598=_0x364513;super(_0x2108bc,_0x360341,_0x25cd84,_0x2a4fc2,_0xf74672),_0x389cd7(this,_0xcf598(0x415),new _0x4ddf34[(_0xcf598(0x2ef))]()),this['disposeWithMe'](()=>{const _0x560c1a=_0xcf598;this[_0x560c1a(0x415)][_0x560c1a(0x1d7)](),this[_0x560c1a(0x415)][_0x560c1a(0x2df)]();});}async[_0x364513(0x2f7)](_0x6d8c6f){const _0x16da27=_0x364513;let _0x4aefbd=await this['_getSessionTicket'](),_0x4b1a4e=this[_0x16da27(0x211)](_0x6d8c6f,_0x4aefbd);return this[_0x16da27(0x3ab)](_0x4b1a4e);}[_0x364513(0x211)](_0x5ac266,_0x2d7ae0){const _0x458e4a=_0x364513;let _0x56e201=typeof window>'u'?new URL(_0x5ac266):new URL(_0x5ac266,window[_0x458e4a(0x15e)][_0x458e4a(0x35a)]);_0x56e201['searchParams'][_0x458e4a(0x43c)](_0x458e4a(0x23c),_0x2d7ae0);let _0x31a282=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x458e4a(0x123)]);return _0x31a282[_0x458e4a(0x37f)](_0x458e4a(0x191))&&_0x56e201[_0x458e4a(0x27d)]['set']('runId',_0x31a282['get'](_0x458e4a(0x191))),_0x56e201[_0x458e4a(0x43e)]();}async[_0x364513(0x356)](){const _0x5710dd=_0x364513;var _0xbef944;let _0x1f2123=this[_0x5710dd(0x235)][_0x5710dd(0x267)](_0x2c8280[_0x5710dd(0x314)]),_0x596774=(_0x1f2123==null?void 0x0:_0x1f2123[_0x5710dd(0x3f5)])??_0x2c8280[_0x5710dd(0x164)];return((_0xbef944=(await(0x0,_0x4ddf34['firstValueFrom'])(this[_0x5710dd(0x3bc)]['stream'](_0x5710dd(0x3a2),_0x596774,{'headers':{'Content-Type':_0x5710dd(0x18f)}})[_0x5710dd(0x1d2)]((0x0,_0x4ddf34[_0x5710dd(0x3e5)])(_0x5932e3=>_0x5932e3['type']===_0x547f33[_0x5710dd(0x24e)][_0x5710dd(0x3e4)]),(0x0,_0x4ddf34[_0x5710dd(0x2bc)])(0x4e20),(0x0,_0x4ddf34[_0x5710dd(0x40f)])(this[_0x5710dd(0x415)]))))[_0x5710dd(0x208)])==null?void 0x0:_0xbef944['ticket'])??'';}};_0x598282=_0x5343d2([_0x447c26(0x0,(0x0,_0x9007c9['Inject'])(_0x9007c9[_0x364513(0x338)])),_0x447c26(0x1,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x547f33[_0x364513(0x35b)])),_0x447c26(0x2,_0x9007c9[_0x364513(0x237)]),_0x447c26(0x3,_0x9007c9['ILogService']),_0x447c26(0x4,_0xd933b[_0x364513(0x42f)])],_0x598282);let _0x5120e9=class extends _0x9007c9['Disposable']{constructor(_0x626278,_0x203016,_0x27b3bf){const _0x5a7f4d=_0x364513;super(),this[_0x5a7f4d(0x2ea)]=_0x626278,this[_0x5a7f4d(0x3bc)]=_0x203016,this[_0x5a7f4d(0x235)]=_0x27b3bf;}async[_0x364513(0x40c)](_0x34c22b,_0x5f4ec2,_0x565fdb,..._0x2afd8b){const _0x2057bf=_0x364513;let _0x554586=this[_0x2057bf(0x2ea)][_0x2057bf(0x421)]();if(!_0x554586)throw Error(_0x2057bf(0x266));let _0x5aff1d=(this[_0x2057bf(0x235)][_0x2057bf(0x267)](_0x2c8280[_0x2057bf(0x2b2)])??_0x2c8280[_0x2057bf(0x2d7)])+'/'+_0x34c22b+'/run/'+_0x5f4ec2,_0x4ff1bc={'scriptId':_0x34c22b,'runId':new URL(window[_0x2057bf(0x15e)]['href'])[_0x2057bf(0x27d)][_0x2057bf(0x37f)](_0x2057bf(0x191))??'','function':_0x5f4ec2,'unitId':_0x554586[_0x2057bf(0x3c7)](),'argsOfFunction':JSON[_0x2057bf(0x365)](_0x2afd8b),'invokeId':_0x565fdb['invokeId']??'','executionId':_0x565fdb[_0x2057bf(0x32b)]??''};try{let _0x101814=await this[_0x2057bf(0x3bc)][_0x2057bf(0x2d9)](_0x5aff1d,{'body':_0x4ff1bc});return _0x101814[_0x2057bf(0x208)][_0x2057bf(0x170)]&&_0x101814['body']['error'][_0x2057bf(0x25d)]!==_0x1ba6fd[_0x2057bf(0x176)]['OK']?_0x2057bf(0x33c):_0x101814['body'][_0x2057bf(0x255)];}catch{return _0x2057bf(0x33c);}}};_0x5120e9=_0x5343d2([_0x447c26(0x0,_0x9007c9[_0x364513(0x3f9)]),_0x447c26(0x1,(0x0,_0x9007c9[_0x364513(0x2d2)])(_0x547f33[_0x364513(0x35b)])),_0x447c26(0x2,_0x9007c9[_0x364513(0x237)])],_0x5120e9);let _0x4b8100=0x7530,_0x537c89=_0x364513(0x1e3);var _0x2920b2=class extends _0x9007c9[_0x364513(0x41b)]{constructor(){const _0x569165=_0x364513;super(),_0x389cd7(this,'_id',(0x0,_0x9007c9['generateRandomId'])()),_0x389cd7(this,_0x569165(0x11b),new Set()),_0x389cd7(this,'_unitOnClients',new Map()),_0x389cd7(this,_0x569165(0x14f),null),_0x389cd7(this,_0x569165(0x30b),new Map()),_0x389cd7(this,_0x569165(0x416),new Map()),this[_0x569165(0x37e)]();}[_0x364513(0x1ad)](){const _0x2ed407=_0x364513;super[_0x2ed407(0x1ad)](),this[_0x2ed407(0x30b)][_0x2ed407(0x3e8)]((_0xfa6b1,_0x379de4)=>this[_0x2ed407(0x1f9)](_0x379de4)),this[_0x2ed407(0x14f)]&&window['clearInterval'](this[_0x2ed407(0x14f)]);}[_0x364513(0x3e9)](_0x17dee2){const _0x195cf3=_0x364513;return this[_0x195cf3(0x11f)](_0x17dee2)[_0x195cf3(0x1d2)]((0x0,_0x4ddf34[_0x195cf3(0x113)])());}['editingUnit'](_0x535f4a){const _0x1ed117=_0x364513;this[_0x1ed117(0x11b)]['size']===0x0&&this[_0x1ed117(0x1cc)](),this[_0x1ed117(0x11b)][_0x1ed117(0x345)](_0x535f4a),this[_0x1ed117(0x229)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x535f4a],'isForwarded':!0x1});}[_0x364513(0x100)](_0x32a2ce){const _0x3dfdae=_0x364513;this[_0x3dfdae(0x11b)][_0x3dfdae(0x2cb)](_0x32a2ce),this[_0x3dfdae(0x11b)][_0x3dfdae(0x459)]===0x0&&this['_heartbeatTimer']&&window[_0x3dfdae(0x1f1)](this['_heartbeatTimer']);}['_init'](){const _0x562685=_0x364513;this[_0x562685(0x2a5)]((0x0,_0x9007c9['toDisposable'])((0x0,_0x4ddf34[_0x562685(0x1a2)])(window,_0x562685(0x352))[_0x562685(0x228)](_0x11ae28=>{const _0x2d8c34=_0x562685;if(_0x11ae28['key']!==_0x537c89||!_0x11ae28[_0x2d8c34(0x18b)])return;let _0x9790cd=JSON[_0x2d8c34(0x1c6)](_0x11ae28[_0x2d8c34(0x18b)]);this[_0x2d8c34(0x220)](_0x9790cd);}))),window[_0x562685(0x17e)]('unload',()=>this[_0x562685(0x229)]({'type':0x1,'memberID':this[_0x562685(0x16f)],'unitIDs':Array[_0x562685(0x121)](this[_0x562685(0x11b)])}));}[_0x364513(0x220)](_0x4103c0){const _0x30f21c=_0x364513;switch(_0x4103c0[_0x30f21c(0x193)]){case 0x0:this[_0x30f21c(0x219)](_0x4103c0);break;case 0x1:this[_0x30f21c(0x13e)](_0x4103c0);break;case 0x2:this[_0x30f21c(0x150)](_0x4103c0);}}['_handleJoinEvent'](_0x41311c){const _0x1e5887=_0x364513;let {unitIDs:_0x52be67,memberID:_0x3fb9a8,isForwarded:_0x428324}=_0x41311c;_0x52be67[_0x1e5887(0x3e8)](_0x4e889f=>{const _0x2ae767=_0x1e5887;if(!_0x428324&&this[_0x2ae767(0x35c)]['has'](_0x4e889f)&&this['_ensureSubject'](_0x4e889f)['next'](_0x2c8280[_0x2ae767(0x2cc)][_0x2ae767(0x263)]),!this[_0x2ae767(0x35c)]['has'](_0x4e889f)||!this[_0x2ae767(0x35c)][_0x2ae767(0x37f)](_0x4e889f)[_0x2ae767(0x206)](_0x3fb9a8)){let _0x2584b2=this[_0x2ae767(0x35c)][_0x2ae767(0x37f)](_0x4e889f)||new Set();_0x2584b2[_0x2ae767(0x345)](_0x3fb9a8),this[_0x2ae767(0x35c)][_0x2ae767(0x43c)](_0x4e889f,_0x2584b2),this[_0x2ae767(0x403)](_0x3fb9a8);}}),_0x428324||this['_send']({'type':0x0,'memberID':this[_0x1e5887(0x16f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x364513(0x403)](_0x1c16c7){const _0x9be886=_0x364513;this['_removeClearOtherTimer'](_0x1c16c7);let _0x5d0b19=window[_0x9be886(0x3f6)](()=>{const _0xef5375=_0x9be886;this[_0xef5375(0x35c)][_0xef5375(0x3e8)](_0x41bb10=>{_0x41bb10['delete'](_0x1c16c7);});},_0x4b8100*0x2);this[_0x9be886(0x30b)][_0x9be886(0x43c)](_0x1c16c7,_0x5d0b19);}[_0x364513(0x1f9)](_0x6b0f5a){const _0x32178d=_0x364513;if(this['_clearOtherTimers'][_0x32178d(0x206)](_0x6b0f5a)){let _0x4e5f46=this[_0x32178d(0x30b)]['get'](_0x6b0f5a);_0x4e5f46&&window[_0x32178d(0x1cd)](_0x4e5f46),this[_0x32178d(0x30b)][_0x32178d(0x43c)](_0x6b0f5a,null);}}[_0x364513(0x13e)](_0x385116){const _0x5e035e=_0x364513;let {memberID:_0x3deac6,unitIDs:_0x17c9de}=_0x385116;_0x17c9de[_0x5e035e(0x3e8)](_0x552420=>{const _0x446087=_0x5e035e;var _0x2cdfdf;let _0xab79b=this[_0x446087(0x35c)][_0x446087(0x37f)](_0x552420);_0xab79b&&(_0xab79b['delete'](_0x3deac6),(_0x2cdfdf=this[_0x446087(0x11f)](_0x552420))==null||_0x2cdfdf[_0x446087(0x1d7)](_0xab79b[_0x446087(0x459)]===0x0?_0x2c8280['UnitStatus'][_0x446087(0x157)]:_0x2c8280[_0x446087(0x2cc)]['OTHER_CLIENTS_EDITING']));}),this[_0x5e035e(0x1f9)](_0x3deac6);}[_0x364513(0x150)](_0x2a8378){const _0x2238e2=_0x364513;this['_scheduleClearOtherTimer'](_0x2a8378[_0x2238e2(0x462)]);}[_0x364513(0x229)](_0x212d69){const _0x1ed64b=_0x364513;localStorage['setItem'](_0x537c89,JSON[_0x1ed64b(0x365)](_0x212d69));}[_0x364513(0x1cc)](){const _0x142420=_0x364513;this[_0x142420(0x14f)]=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x4b8100);}[_0x364513(0x11f)](_0x560db1){const _0x2ea851=_0x364513;return this[_0x2ea851(0x416)]['has'](_0x560db1)||this['_unitStatus'][_0x2ea851(0x43c)](_0x560db1,new _0x4ddf34[(_0x2ea851(0x24c))](_0x2c8280['UnitStatus'][_0x2ea851(0x157)])),this[_0x2ea851(0x416)][_0x2ea851(0x37f)](_0x560db1);}};Object[_0x364513(0x29c)](_0x57079e,_0x364513(0x127),{'enumerable':!0x0,'get':function(){return _0x598282;}}),Object[_0x364513(0x29c)](_0x57079e,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x1e532c;}}),Object[_0x364513(0x29c)](_0x57079e,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return _0x5120e9;}}),_0x57079e[_0x364513(0x3ac)]=_0x20aa3e,Object[_0x364513(0x29c)](_0x57079e,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x397e1a;}}),_0x57079e[_0x364513(0x285)]=_0x2920b2;}));function _0x468c(){const _0x36b1da=['timeoutState$','collabCursorState$','imageSourceType','0\x200\x2016\x2016','_scheduleClearOtherTimer','Tools','@univerjs-pro/collaboration','kind','_memberID','setShapeProps','_initResize','_userManagerService','getColor','runOnServer','_colorIndex','collaboration-client-ui.remoteRevert.title','takeUntil','_disabled','_draw','restore','OffLineIcon','getSheetId','_dispose$','_unitStatus','COLORS','_status$','_refRangeService','16FxHRTt','Disposable','_labelPosition','memberId','toISOString','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','handleInsertRangeMoveRight','getFocusedUnit','disableLocalCache','_adapter','startRow','getAncestorScale','_notificationService','name','collaboration-client-ui.remoteRevert.content','columnGroupId','unitType','mask','trim','prepareTransformSelections','SetDocZoomRatioOperation','ISnapshotServerService',':backup:','displayName','button','_registerDependencies','UniverUi','InsertRangeMoveRightCommandId','value','1em','_docTransformIMECacheService','height','ColorKit','children','set','UniverProCollaborationClientUi','toString','_updateLocalCursor','event$','createElement','UniverDocsUIPlugin','polite','UNIVER_DOC','DeleteRangeMoveUpCommandId','forwardRef','strokeWidth','preventDefault','_hovered','WebSocketService','measureText','_commandService','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','bold\x2013px\x20Arial,\x20sans-serif','IRenderManagerService','_removeAwaitingNotices','parseInt','key','UniverNetwork','evenodd','_collaborationUIEventService','@univerjs/docs','left','_retryConflictCacheClear','size','_presenceStatusRegistrations','labelHorizontalPosition','clsx','OPERATION','registerCommand','cursorInfo','DependentOn','rgba(','memberID','useMemo','show','font','color','_uploadLog','hide','license_editing_connections_exceeded','10819971yrJJTO','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','disposeUnit','registerDependencies','collaboration-client-ui.conflict.retry','_color','_conflictNotification','Rectangle','_blinkTimer','number','_anchor','WarningIcon','_transformService','canRenderSelection','fill','target','1500543QORYvn','non-scaling-stroke','on-line-icon_clip0_910_349','LOCAL_CACHE_INTERVAL_KEY','SetTextSelectionsOperation','distinctUntilChanged','collaboration-client-ui.snapshotLoading.timeout','_listenToOnlineEvent','useRef','colorChannel1','unitId','visibilitychange','selection','_selfUnitIDs','getViewport','handleInsertRow','removeEventListener','_ensureSubject','params','from','removeRemotePresence','search','debounce','socket$','_getUserId','BrowserCollaborationSocketService','send','RegularPolygon','source','object','_highlight','_pendingEntities','getOwnPropertyDescriptor','ITransformService','collaboration-client-ui.license.editing-connections-exceeded','RemoveRowCommandId','parseFloat','univerjs-icon\x20univerjs-icon-','addHandlerCallback','rgb','_messageIds','getTypeOfUnitAdded$','_lastPointer','_initWindowErrorListener','_syncEditingCollabCursorService','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','@univerjs/core','redoState','_handleLeaveEvent','unit','isReleased','RECT','getSheetObject','_beforeCloseService','isTransformMutationsWithChangesetSuccess','_startEntity','url(#on-line-icon_clip0_910_349)','_isBlinkVisible','UniverDesign','setUndoRedoMutationParamsCache','iterator','handleInsertRangeMoveDown','@univerjs/engine-render','find','_online','_heartbeatTimer','_handleHeartbeatEvent','collab-text-anchor-','onStarting','Module','getCoordRelativeToViewport','then','online','NO_OTHER_CLIENTS_EDITING','getDocumentSkeletonColumnPagePathInfo','indicator','597112AASejM','univer-h-8\x20univer-w-8\x20univer-rounded-lg','catch','makeDirty','location','localName','_docTransformStateCacheService','exhaustSavingTask','reason','startsWith','DEFAULT_WS_SESSION_TICKET_URL','save','getCollabEntities','stage','COMPLETE','_getLighterColor','SheetSkeletonManagerService','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','RevisionService','assign','_disposed','_id','error','_getAnchorBounding','refreshLabel','_registerRenderDependencies','update','fillStyle','ErrorCode','_sheetSkeletonManagerService','status','backgroundColor','deserializeRangeWithSheet','setStateCache','getMergeData','unsubscribe','addEventListener','_saveTimedOutNotices','USERS_LEAVE','collab-rect-range-','_labelHorizontalPosition','_startDocCollabCursor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','focus','_online$','tag','_localCacheService','_range','_replaceConflictNotification','newValue','version','tableId','content','application/json','collaboration-client-ui.collaboration.offline-data-not-saved','runId','_drawTextRange','type','univer-text-blue-500','beginPath','30PbPlXU','clearOfflineData','max','_initUserListener','_cursors','right','getUndoRedoMutationParamsCache','_disposeEntity','status$','687261wnhSBo','collaboration-client-ui.permission.title','_syncAdapters','fromEvent','push','UniverCollaborationPlugin','rgba','collaboration-client-ui.license.unit-type-rejected','m1Prime','i18nKey','_entities','CollaborationUIEventService','_getScale','_transformUndoRedoStack','dispose','NOT_COLLAB','DocCollaborationEntity','segmentPage','data','column','replace','onPointerLeave$','collaboration-client-ui.collabClient.tooltip.reconnect','stroke-width','collaboration-client-ui.collabStatus.syncing','univer-text-green-500','_docTransformSelectionsService','hovered','title','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collaboration-client-ui.conflict.content','_uiPartsService','roomMembers$','getSheetBySheetId','Warning','userId','map','collaboration-client-ui.session.collaboration-timeout','_injector','parse','_assignedColors','_showAwaitingNotice','exports','addClipboardHook','InsertRangeMoveDownCommandId','_scheduleHeartbeat','clearTimeout','stack','_docSkeleton','element','useImperativeHandle','pipe','DisposableCollection','_name','React','getCollabEntity$','next','_startSheetCollabCursor','loadedBlocks','UniverInstanceType','CollaborationController','_watchBlockProgress','activate','override','dispose$','_isDisposed','OTHER_CLIENT_EDITING','_initCommandExecutedListener','ACTIVE_UNIT_EVENT_CHANNEL','_cursorShapes','useCallback','_logService','addObject','UniverRenderEnginePlugin','_docClipboardService','hasAttribute','_initUnhandledRejectionListener','CollaborationSessionService','SnapshotLoadingService','findNodePositionByCharIndex','row','top','clearInterval','roomMembers','lineno','_updateCollabCursors','ThemeService','entityInit$','MessageType','svg','_removeClearOtherTimer','@univerjs-pro/collaboration-client-ui','Tooltip','changesetResend$','RefRangeService','_entityInit$','Loading','CONFLICT','_colorAssignService','_cachedData','DOC_RANGE_TYPE','createInstance','pointer','has','shareInterval','body','undoState','length','assignAColorForMemberID','onMouseMove','join','_revisionService','subscribeEvent','INetworkConditionService','_createSocketURL','deepClone','reconnect','_getMergeRange','saveTaskMap','SOCKET_FAILED','IDocClipboardService','some','_handleJoinEvent','textRanges','snapshot-loading-','idSuffix','removeAttribute','_cursor','endRow','_handleEvent','UniverDocsPlugin','true','touchDependencies','collaboration-client-ui.snapshotLoading.refresh','_eventUnsubscribe','registerBeforeClose','Error','subscribe','_send','AWAITING_WITH_PENDING','jsx','unitID','_editingConnectionsExceededNotices','Unknown\x20user','react/jsx-runtime','JOIN_ROOM_FAILED','clipPath','\x20-\x20','_initEvent','off-line-icon','_configService','requireSession','IConfigService','useDependency','[LogService\x20Error]:\x20','white','handleIRemoveRow','sessionTicket','_syncPresenceStatusComponents','highlightSecond','univer-text-red-500','_config','_listenToOfflineEvent','IUnitPresenceUIAdapterRegistry','_onRefRangeChange','getCurrentUnitOfType','DocumentSkeletonPageType','SYNCED','timeoutId','isTransformMutationFailure','UniverProLicense','LOCAL_CACHE_INTERVAL','currentSkeleton$','BehaviorSubject','focusedId','HTTPEventType','FOOTER','_univerInstanceService','_blinkIntervalTimer','span','_drawRectRange','Rect','result','enableFrontendLog','_docStateChangeManagerService','Button','_transformPreviousActiveRange','_transformHistoryAndStateStack','@univerjs-pro/collaboration-client','doc.mutation.rich-text-editing','code','values','_messageService','collaboration-client-ui.permission.content','mutations','_toggleOffline','OTHER_CLIENTS_EDITING','collaboration-client-ui.session.will-retry','clear','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getConfig','ILocalCacheService','setItem','onRendered','unshift','current','_adapterDisposables','@univerjs/engine-formula','_normalizeUserId','pageType','static','FETCH_MISS','transformMutation','_collabCursorController','OFFLINE','debounceTime','presenceKind','_registerPresenceStatusComponent','setOffsetY','UserManagerService','_getSheetObject','resolve','searchParams','amd','IUIPartsService','totalBlocks','_adapterRegistry','_handleCursorUpdate','_imageIoService','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','WebBrowserSingleActiveUnitService','getMemberID','observe','registerRenderModule','arc','filename','getCollabCursors$','onLine','timedOut','LoadingMultiIcon','url(#$1','transformStateCache','_disposeEntitiesForType','collaboration-client-ui.operation.update-remote-unit-presence','collaboration-client-ui.conflict.processing','getBoundingClientRect','_roomMembers$','_reloadPage','throttle','isInternalEditorID','switchMap','_themeService','2206988fXQeKH','defineProperty','@univerjs-pro/license','handleDeleteRangeMoveUp','DocIMEInputManagerService','_initPresenceStatusComponents','decorate','transformMutationsWithChangeset','M0\x200H16V16H0z','UNIVER_SHEET','disposeWithMe','mergeOverrideWithDependencies','TEXT_RANGE_LAYER_INDEX','_startBlinking','hadStyleAttribute','SHEET_VIEWPORT_KEY','function','currentTheme$','subUnitId','getCurrentUser','path','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','use','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','!univer-m-0\x20univer-col-start-2\x20univer-row-start-2\x20univer-justify-self-end','_initDependencies','handleIRemoveCol','CollaborationEvent','constructor','getColorFromTheme','http://www.w3.org/2000/svg','ILogService','EffectRefRangId','timeout','getCurrentSelections','_trackActiveSaveTask','...','collaboration-client-ui.collaboration.closeRoom','_session','sheetID','enableOfflineEditing','UniverNetworkPlugin','RxDisposable','_offsetY','drawWith','getLocalPresence','black','collaboration-client-ui.conflict.title','delete','UnitStatus','_textBubble','UniverProtocol','_render','_clearRemotePresences','VIEW_MAIN','Inject','offsetY','transform','_hideTimer','_handleHover','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','useObservable','post','pulse','enableDocumentCollaborationUI','_bindAdapter','defs','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','complete','UniverCore','_initStatusComponent','DocStateChangeManagerService','_blockProgressWatches','isArray','_anchorDot','sheetId','@univerjs/sheets','originalStrokeWidth','useLayoutEffect','_instanceService','univer-m-0\x20univer-p-0','visibilityState','_pointerMoveDisposable','warning-icon','Subject',',\x200.2)','loadOfflineData','collaboration-client-ui.collabStatus.synced','_saveCache','_showConflictProcessingNotification','_toggleOnline','getTypeOfUnitDisposed$','createSocket','_highlightSecond','round','options','isFinite','AWAITING','univer-text-gray-400','transformByState','executeCommand','CollaborationStatus','@univerjs/sheets-ui','_stopBlinking','lineTo','red.300','statusUIPart','elapsedMs','currentColor','_initConflictHandling','_getSaveTimeout','green.600','_clearOtherTimers','saveOfflineData','online$','ISocketService','collaboration-client-ui.collaboration.single-unit.warning','getActiveRange','text','_monkeyPatchLogService','_initStatusListener','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','finally','ONLINE','_initEntityListener','symbol','_onCursorDelete','_activeSaveTaskMap','toRgbString','jiqing.500','_removeRemotePresence','cursorInfo$','SessionStatus','_docSyncEditingCollabCursorService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','UniverEngineFormula','off-line-icon_clip0_910_343','univer-inline-flex\x20univer-items-center\x20univer-justify-center','getActiveSheet','fillText','getItem','getCurrentTypeOfUnit$','_onCursorUpdate','clearRemotePresences','executionId','UPDATE_CURSOR','toDisposable','getMember','_localStorageService','_retryingConflictCacheUnitIDs','includes','min','DocSkeletonManagerService','_hover','getAllUnitsForType','selections','FromArray','Injector','state','0.2)','labelPosition','Failed','m2Prime','@univerjs/docs-ui','snapshot-loading-timeout','getPropertyPriority','syncEditingCollabCursor','conflict$','_sendLocalPresence','univer-text-orange-500','add','_memberService','startColumn','getCoordByCell','_scene','setConfig','offline','_removeCollabCursors','none','message','strokeOpacity','IMessageService','useId','storage','enableLocalCache','_collabCursorState$','endOffset','_getSessionTicket','_shapes','OnLineIcon','unhandledrejection','origin','HTTPService','_unitOnClients','slice','getPropertyValue','adapters$','_clearTimeoutState','getSelectionInfo','width','_localeService','_renderManagerService','stringify','_initialized','getDocRanges','getValue','UniverCollaborationClientPlugin','removeItem','Plugin','runRefRangeMutations','loading-multi-icon','getLocalCacheKey','setAlpha','pluginName','connectInjector','_saveTaskMap','toPrimitive','fromEventSubject','highlight','GLOBAL','spin','appliedStrokeWidth','collaboration-client-ui.collabStatus.fetchMiss','_docSelectionManagerService','baseVal','_cursorInfo$','LocaleService','_init','get','with','CONFLICT_CACHE_CLEAR_FAILED','flatMap','div','_collaborationSessionService','HEADER','string','range','MemberService','_presenceAdapterRegistry','NodePositionConvertToCursor','toStringTag','init','selectedIds','stroke','split','133842jBcRnU','prototype','LICENSE_DOMAIN_REJECTED','SnapshotLoadStage','asObservable','CommandType','warning','NodePositionConvertToRectRange','_onConflict','\x20at\x20','sessionStatus$','onPointerEnter$','univer-appearance-none','generateRandomId','transformIMECache','remove','Shape','reload','GET','style','_collabSessionService','InsertColCommandId','_clearBlockProgressWatch','saveImage','packageName','getRangePointData','univer-flex\x20univer-items-center\x20univer-justify-center','_doCreateSocket','SheetCollabCursorShape','_showText','default','CONFLICT_PROCESSING','allSettled','isActive','transformRemoteChangeset','_setupBeforeClosingHandler','UniverProCollaboration','timer','RichTextEditingMutation','registerComponent','_drawAnchor','_context','getStateCache','priority','_httpService','entries','blue.400','5191228MSGIsI','colno','updateOfflineData','columnIndex','INotificationService','ICommandService','attrs','on-line-icon','getUnitId','DocSelectionManagerService','HEADER_MENU','_timeoutState$','alert','Vector2','react','_initAwaitingNotices','eventID','@univerjs/protocol','endColumn','CollaborationUIEventId','0\x200\x2017\x2016','merge','bottom','canRenderAnchor','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','serializeRangeWithSheet','bind','closePath','MoveRangeCommandId','registerRefRange','setInterval','viewBox','toFixed','_scheduleSaving','ranges','collaboration-client-ui.config','operators','Response','filter','rxjs','@univerjs/design','forEach','getUnitStatus$','_showConflictCacheClearFailedNotification','combineLatest','getRenderUnitById','every','collaboration-client-ui.session.connection-failed','_collaborationController','onCommandExecuted','BuiltInUIPart','RemoveColCommandId','_backgroundColor','@univerjs/ui','wsSessionTicketUrl','setTimeout','onPointerMove$','clickable','IUniverInstanceService','getSkeleton','CollaborationSocketService','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','xlink:href','_docSkeletonManagerService'];_0x468c=function(){return _0x36b1da;};return _0x468c();}