@univerjs-pro/collaboration-client 0.24.0 → 0.25.0

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 (98) 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 -0
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -0
  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 -0
  11. package/lib/cjs/locale/it-IT.js +1 -0
  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 -0
  15. package/lib/cjs/locale/pt-BR.js +1 -0
  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 -0
  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 -0
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -0
  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 -0
  32. package/lib/es/locale/it-IT.js +1 -0
  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 -0
  36. package/lib/es/locale/pt-BR.js +1 -0
  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 -0
  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 -0
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -0
  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 -0
  53. package/lib/locale/it-IT.js +1 -0
  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 -0
  57. package/lib/locale/pt-BR.js +1 -0
  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 -0
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/locale/ar-SA.d.ts +3 -0
  65. package/lib/types/locale/ca-ES.d.ts +1 -1
  66. package/lib/types/locale/de-DE.d.ts +3 -0
  67. package/lib/types/locale/en-US.d.ts +39 -37
  68. package/lib/types/locale/es-ES.d.ts +1 -1
  69. package/lib/types/locale/fr-FR.d.ts +1 -1
  70. package/lib/types/locale/id-ID.d.ts +3 -0
  71. package/lib/types/locale/it-IT.d.ts +3 -0
  72. package/lib/types/locale/pl-PL.d.ts +3 -0
  73. package/lib/types/locale/pt-BR.d.ts +3 -0
  74. package/lib/types/locale/ru-RU.d.ts +1 -1
  75. package/lib/types/locale/zh-HK.d.ts +3 -0
  76. package/lib/types/locale/zh-TW.d.ts +1 -1
  77. package/lib/umd/facade.js +1 -1
  78. package/lib/umd/index.js +1 -1
  79. package/lib/umd/locale/ar-SA.js +1 -0
  80. package/lib/umd/locale/ca-ES.js +1 -1
  81. package/lib/umd/locale/de-DE.js +1 -0
  82. package/lib/umd/locale/en-US.js +1 -1
  83. package/lib/umd/locale/es-ES.js +1 -1
  84. package/lib/umd/locale/fa-IR.js +1 -1
  85. package/lib/umd/locale/fr-FR.js +1 -1
  86. package/lib/umd/locale/id-ID.js +1 -0
  87. package/lib/umd/locale/it-IT.js +1 -0
  88. package/lib/umd/locale/ja-JP.js +1 -1
  89. package/lib/umd/locale/ko-KR.js +1 -1
  90. package/lib/umd/locale/pl-PL.js +1 -0
  91. package/lib/umd/locale/pt-BR.js +1 -0
  92. package/lib/umd/locale/ru-RU.js +1 -1
  93. package/lib/umd/locale/sk-SK.js +1 -1
  94. package/lib/umd/locale/vi-VN.js +1 -1
  95. package/lib/umd/locale/zh-CN.js +1 -1
  96. package/lib/umd/locale/zh-HK.js +1 -0
  97. package/lib/umd/locale/zh-TW.js +1 -1
  98. package/package.json +11 -11
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -1,3 +1,3 @@
1
- import enUS from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -0,0 +1,3 @@
1
+ import type enUS from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
@@ -1,3 +1,3 @@
1
- import enUS from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x55d1ed,_0x1def79){const _0x3d7bb3=_0x495d,_0x2e5e2d=_0x55d1ed();while(!![]){try{const _0xc5e7c0=-parseInt(_0x3d7bb3(0x1d3))/0x1+parseInt(_0x3d7bb3(0x1ee))/0x2+parseInt(_0x3d7bb3(0x1c1))/0x3+parseInt(_0x3d7bb3(0x1ba))/0x4+-parseInt(_0x3d7bb3(0x1bb))/0x5*(parseInt(_0x3d7bb3(0x1fa))/0x6)+parseInt(_0x3d7bb3(0x1e6))/0x7+parseInt(_0x3d7bb3(0x1df))/0x8*(-parseInt(_0x3d7bb3(0x1d4))/0x9);if(_0xc5e7c0===_0x1def79)break;else _0x2e5e2d['push'](_0x2e5e2d['shift']());}catch(_0xbae406){_0x2e5e2d['push'](_0x2e5e2d['shift']());}}}(_0x5af8,0x57560),function(_0x16ce1d,_0x247099){const _0x4275a9=_0x495d;typeof exports==_0x4275a9(0x1e9)&&typeof module<'u'?_0x247099(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define==_0x4275a9(0x1e0)&&define[_0x4275a9(0x1d6)]?define([_0x4275a9(0x1f5),_0x4275a9(0x1f2),_0x4275a9(0x1f0),'@univerjs/core',_0x4275a9(0x1bc),_0x4275a9(0x1dc)],_0x247099):(_0x16ce1d=typeof globalThis<'u'?globalThis:_0x16ce1d||self,_0x247099(_0x16ce1d[_0x4275a9(0x1cf)]={},_0x16ce1d['UniverProCollaborationClient'],_0x16ce1d[_0x4275a9(0x1e4)],_0x16ce1d['UniverCore'],_0x16ce1d['UniverProCollaboration'],_0x16ce1d[_0x4275a9(0x1dc)]));}(this,function(_0x6ae73e,_0x22aec4,_0xbd3ebf,_0x2f2254,_0x225c37,_0xef539b){const _0xce9930=_0x495d;Object[_0xce9930(0x1b6)](_0x6ae73e,Symbol[_0xce9930(0x1d2)],{'value':'Module'});var _0x29f935=class extends _0xbd3ebf[_0xce9930(0x1e1)]{get[_0xce9930(0x1c7)](){const _0x3f3fb3=_0xce9930;return _0x22aec4[_0x3f3fb3(0x1c7)];}};_0xbd3ebf['FEnum'][_0xce9930(0x1e8)](_0x29f935);var _0x585ee8=class extends _0xbd3ebf[_0xce9930(0x1f1)]{get[_0xce9930(0x1d5)](){return'CollaborationStatusChanged';}};_0xbd3ebf[_0xce9930(0x1f1)][_0xce9930(0x1e8)](_0x585ee8);function _0xb0fd4e(_0x550b4b,_0x3e10c5){return function(_0x1c0e1b,_0x42b97b){_0x3e10c5(_0x1c0e1b,_0x42b97b,_0x550b4b);};}function _0x3f3560(_0x71a2f,_0x3d35f9,_0x4bbdbf,_0x3181e2){const _0x5e4bad=_0xce9930;var _0x42d0b0=arguments[_0x5e4bad(0x1d1)],_0x1f1a2d=_0x42d0b0<0x3?_0x3d35f9:_0x3181e2===null?_0x3181e2=Object[_0x5e4bad(0x1c0)](_0x3d35f9,_0x4bbdbf):_0x3181e2,_0x2ed237;if(typeof Reflect==_0x5e4bad(0x1e9)&&typeof Reflect[_0x5e4bad(0x1bd)]==_0x5e4bad(0x1e0))_0x1f1a2d=Reflect['decorate'](_0x71a2f,_0x3d35f9,_0x4bbdbf,_0x3181e2);else{for(var _0x2c48cb=_0x71a2f[_0x5e4bad(0x1d1)]-0x1;_0x2c48cb>=0x0;_0x2c48cb--)(_0x2ed237=_0x71a2f[_0x2c48cb])&&(_0x1f1a2d=(_0x42d0b0<0x3?_0x2ed237(_0x1f1a2d):_0x42d0b0>0x3?_0x2ed237(_0x3d35f9,_0x4bbdbf,_0x1f1a2d):_0x2ed237(_0x3d35f9,_0x4bbdbf))||_0x1f1a2d);}return _0x42d0b0>0x3&&_0x1f1a2d&&Object[_0x5e4bad(0x1b6)](_0x3d35f9,_0x4bbdbf,_0x1f1a2d),_0x1f1a2d;}let _0x1613fa=class extends _0xbd3ebf['FBase']{constructor(_0x62ce5b,_0x49b689,_0x4caa2a,_0x3d6744,_0x513985){const _0x5a75bc=_0xce9930;super(),this['_handler']=_0x62ce5b,this[_0x5a75bc(0x1b7)]=_0x49b689,this[_0x5a75bc(0x1d7)]=_0x4caa2a,this['_snapshotService']=_0x3d6744,this['_collaborationController']=_0x513985;}async[_0xce9930(0x1ec)](){const _0x54d5c8=_0xce9930;return this[_0x54d5c8(0x1d9)]();}async[_0xce9930(0x1d9)](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0xce9930(0x1c8)](_0x2df059){const _0x246fae=_0xce9930;return this[_0x246fae(0x1cd)](_0x2df059);}async['loadSheetAsync'](_0x396342,_0xee47fc){const _0x430a95=_0xce9930;return await this['_snapshotService']['loadSheet'](_0x396342,0x0,_0xee47fc)?(await this['_collaborationController']['readyForCollab'](_0x396342),this[_0x430a95(0x1f6)][_0x430a95(0x1c2)](_0x396342)):null;}[_0xce9930(0x1f3)](_0x4fa5dc,_0x400832){const _0x2d1fa2=_0xce9930;return(0x0,_0x2f2254[_0x2d1fa2(0x1b9)])(this[_0x2d1fa2(0x1b7)]['get'](_0x22aec4[_0x2d1fa2(0x1cc)])[_0x2d1fa2(0x1b8)](_0x4fa5dc)[_0x2d1fa2(0x1d0)]((0x0,_0xef539b[_0x2d1fa2(0x1bf)])(_0x4c4f7a=>_0x4c4f7a[_0x2d1fa2(0x1ea)]))[_0x2d1fa2(0x1be)](_0x4e3bb5=>_0x400832(Array[_0x2d1fa2(0x1e3)](_0x4e3bb5[_0x2d1fa2(0x1f8)]()))));}[_0xce9930(0x1da)](_0x520a7d){const _0x521873=_0xce9930;var _0x411475;let _0x4eef8e;if(_0x520a7d)_0x4eef8e=_0x520a7d;else{let _0x178f1a=this[_0x521873(0x1d7)][_0x521873(0x1f4)]();_0x4eef8e=_0x178f1a==null?void 0x0:_0x178f1a['getUnitId']();}if(!_0x4eef8e)return _0x22aec4[_0x521873(0x1c7)][_0x521873(0x1f7)];let _0x63e42d=this[_0x521873(0x1dd)]['getCollabEntity'](_0x4eef8e);return(_0x411475=_0x63e42d==null?void 0x0:_0x63e42d[_0x521873(0x1de)]['status'])==null?_0x22aec4[_0x521873(0x1c7)]['NOT_COLLAB']:_0x411475;}};_0x1613fa=_0x3f3560([_0xb0fd4e(0x1,(0x0,_0x2f2254[_0xce9930(0x1fb)])(_0x2f2254[_0xce9930(0x1e5)])),_0xb0fd4e(0x2,_0x2f2254[_0xce9930(0x1eb)]),_0xb0fd4e(0x3,(0x0,_0x2f2254[_0xce9930(0x1fb)])(_0x225c37[_0xce9930(0x1e2)])),_0xb0fd4e(0x4,(0x0,_0x2f2254[_0xce9930(0x1fb)])(_0x22aec4[_0xce9930(0x1c5)]))],_0x1613fa);var _0x1b8069=class extends _0xbd3ebf[_0xce9930(0x1db)]{[_0xce9930(0x1ef)](_0x266769){const _0x36be20=_0xce9930;let _0x3525a7=_0x266769[_0x36be20(0x1c6)](_0x22aec4[_0x36be20(0x1c5)]);this['disposeWithMe'](this[_0x36be20(0x1ed)](this[_0x36be20(0x1b4)][_0x36be20(0x1d5)],()=>{const _0x2e6317=_0x36be20;let _0x310bd2=new _0x2f2254['DisposableCollection'](),_0x327136=_0x3525a7[_0x2e6317(0x1c4)][_0x2e6317(0x1be)](_0x5330d4=>{const _0x5514be=_0x2e6317;let _0x1700cc=_0x5330d4[_0x5514be(0x1ca)][_0x5514be(0x1be)](_0x1eee93=>{const _0x1eaa35=_0x5514be;let _0x7ceffc={'unitId':_0x5330d4[_0x1eaa35(0x1c3)],'status':_0x1eee93};this[_0x1eaa35(0x1c9)](this[_0x1eaa35(0x1b4)][_0x1eaa35(0x1d5)],_0x7ceffc);});_0x310bd2[_0x5514be(0x1d8)]((0x0,_0x2f2254[_0x5514be(0x1b9)])(_0x1700cc));});return _0x310bd2[_0x2e6317(0x1d8)]((0x0,_0x2f2254[_0x2e6317(0x1b9)])(_0x327136)),_0x310bd2;}));}['getCollaboration'](){const _0x4b7bd5=_0xce9930;return this[_0x4b7bd5(0x1b7)][_0x4b7bd5(0x1b5)](_0x1613fa,{'getUniverSheet':_0x5e1e7e=>this[_0x4b7bd5(0x1c2)](_0x5e1e7e)});}[_0xce9930(0x1f9)](_0x190b7f,_0xa2bc81,_0xad348e){const _0x4a0bd8=_0xce9930;return this['_injector'][_0x4a0bd8(0x1c6)](_0x22aec4[_0x4a0bd8(0x1ce)])[_0x4a0bd8(0x1e7)](_0x190b7f,_0xa2bc81,_0xad348e);}[_0xce9930(0x1cb)](_0x49fedc,_0xc83262,_0x5de884){const _0x20c67a=_0xce9930;return this[_0x20c67a(0x1b7)][_0x20c67a(0x1c6)](_0x22aec4[_0x20c67a(0x1ce)])['loadUnitOfRevision'](_0x49fedc,_0xc83262,_0x5de884);}};_0xbd3ebf[_0xce9930(0x1db)][_0xce9930(0x1e8)](_0x1b8069),Object[_0xce9930(0x1b6)](_0x6ae73e,'FCollaboration',{'enumerable':!0x0,'get':function(){return _0x1613fa;}});}));function _0x495d(_0x92a68b,_0x40005c){_0x92a68b=_0x92a68b-0x1b4;const _0x5af8ef=_0x5af8();let _0x495db1=_0x5af8ef[_0x92a68b];return _0x495db1;}function _0x5af8(){const _0x5261f2=['UniverProCollaborationClientFacade','pipe','length','toStringTag','158552xEpUxd','5759973HxhPas','CollaborationStatusChanged','amd','_univerInstanceService','add','loadActiveSheetAsync','getCollaborationStatus','FUniver','rxjs','_collaborationController','state','16EjcciA','function','FEnum','SnapshotService','from','UniverCoreFacade','Injector','4779908Nclybl','loadUnit','extend','object','members$','IUniverInstanceService','loadActiveSheet','registerEventHandler','1087646deULmj','_initialize','@univerjs/core/facade','FEventName','@univerjs-pro/collaboration-client','subscribeCollaborators','getFocusedUnit','exports','_handler','NOT_COLLAB','values','loadServerUnit','12AJthSa','Inject','Event','createInstance','defineProperty','_injector','waitForRoom$','toDisposable','2261708NrPSPD','270925NAfMtY','@univerjs-pro/collaboration','decorate','subscribe','switchMap','getOwnPropertyDescriptor','337650PIWdNB','getUniverSheet','unitID','entityInit$','CollaborationController','get','CollaborationStatus','loadSheet','fireEvent','status$','loadServerUnitOfRevision','MemberService','loadSheetAsync','DataLoaderService'];_0x5af8=function(){return _0x5261f2;};return _0x5af8();}
1
+ function _0x4925(_0x5acd61,_0x1e2b3a){_0x5acd61=_0x5acd61-0x9d;const _0x443bd3=_0x443b();let _0x4925d6=_0x443bd3[_0x5acd61];return _0x4925d6;}(function(_0x80c52b,_0x389e86){const _0x82adf2=_0x4925,_0x53be11=_0x80c52b();while(!![]){try{const _0x76d20e=-parseInt(_0x82adf2(0xbd))/0x1+-parseInt(_0x82adf2(0xb6))/0x2*(parseInt(_0x82adf2(0xe0))/0x3)+parseInt(_0x82adf2(0xb1))/0x4+-parseInt(_0x82adf2(0xb7))/0x5+parseInt(_0x82adf2(0xae))/0x6+parseInt(_0x82adf2(0xdf))/0x7+parseInt(_0x82adf2(0xe1))/0x8;if(_0x76d20e===_0x389e86)break;else _0x53be11['push'](_0x53be11['shift']());}catch(_0xddf65a){_0x53be11['push'](_0x53be11['shift']());}}}(_0x443b,0x790bb),function(_0x57a82e,_0x576a42){const _0x2cd0d4=_0x4925;typeof exports==_0x2cd0d4(0xe3)&&typeof module<'u'?_0x576a42(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x2cd0d4(0xbc)&&define[_0x2cd0d4(0xdb)]?define(['exports',_0x2cd0d4(0xdd),_0x2cd0d4(0xa0),'@univerjs/core',_0x2cd0d4(0xa8),_0x2cd0d4(0xd1)],_0x576a42):(_0x57a82e=typeof globalThis<'u'?globalThis:_0x57a82e||self,_0x576a42(_0x57a82e['UniverProCollaborationClientFacade']={},_0x57a82e[_0x2cd0d4(0xc9)],_0x57a82e['UniverCoreFacade'],_0x57a82e[_0x2cd0d4(0xd3)],_0x57a82e[_0x2cd0d4(0xa6)],_0x57a82e[_0x2cd0d4(0xd1)]));}(this,function(_0x202d24,_0x34805c,_0x2c3d4f,_0x1358af,_0x56a7bf,_0x247898){const _0x49b58d=_0x4925;Object[_0x49b58d(0xa9)](_0x202d24,Symbol[_0x49b58d(0xc6)],{'value':_0x49b58d(0x9f)});var _0x1a76ae=class extends _0x2c3d4f[_0x49b58d(0xd9)]{get[_0x49b58d(0xbb)](){return _0x34805c['CollaborationStatus'];}};_0x2c3d4f[_0x49b58d(0xd9)]['extend'](_0x1a76ae);var _0x259589=class extends _0x2c3d4f[_0x49b58d(0xc4)]{get[_0x49b58d(0xe6)](){return'CollaborationStatusChanged';}};_0x2c3d4f['FEventName'][_0x49b58d(0xda)](_0x259589);function _0x555c22(_0x2964a2,_0x450ec0){return function(_0x29d45c,_0x12e0b8){_0x450ec0(_0x29d45c,_0x12e0b8,_0x2964a2);};}function _0x39a80c(_0x57b346,_0x73f338,_0x30254e,_0x21f463){const _0x50b42b=_0x49b58d;var _0x4a1b69=arguments['length'],_0x24ca06=_0x4a1b69<0x3?_0x73f338:_0x21f463===null?_0x21f463=Object[_0x50b42b(0xa2)](_0x73f338,_0x30254e):_0x21f463,_0x38e8c3;if(typeof Reflect==_0x50b42b(0xe3)&&typeof Reflect[_0x50b42b(0xba)]==_0x50b42b(0xbc))_0x24ca06=Reflect['decorate'](_0x57b346,_0x73f338,_0x30254e,_0x21f463);else{for(var _0x5e85c0=_0x57b346[_0x50b42b(0xd7)]-0x1;_0x5e85c0>=0x0;_0x5e85c0--)(_0x38e8c3=_0x57b346[_0x5e85c0])&&(_0x24ca06=(_0x4a1b69<0x3?_0x38e8c3(_0x24ca06):_0x4a1b69>0x3?_0x38e8c3(_0x73f338,_0x30254e,_0x24ca06):_0x38e8c3(_0x73f338,_0x30254e))||_0x24ca06);}return _0x4a1b69>0x3&&_0x24ca06&&Object[_0x50b42b(0xa9)](_0x73f338,_0x30254e,_0x24ca06),_0x24ca06;}let _0x5e83a5=class extends _0x2c3d4f['FBase']{constructor(_0x91aad2,_0x161336,_0x105283,_0x2b5c56,_0x516e5e){const _0x469922=_0x49b58d;super(),this[_0x469922(0xca)]=_0x91aad2,this[_0x469922(0x9e)]=_0x161336,this[_0x469922(0xa1)]=_0x105283,this[_0x469922(0xd8)]=_0x2b5c56,this['_collaborationController']=_0x516e5e;}async[_0x49b58d(0xb5)](){return this['loadActiveSheetAsync']();}async[_0x49b58d(0xb2)](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x4d0402){const _0x46b1d1=_0x49b58d;return this[_0x46b1d1(0xa5)](_0x4d0402);}async[_0x49b58d(0xa5)](_0x3dc10f,_0x5cd411){const _0x320ebd=_0x49b58d;return await this[_0x320ebd(0xd8)]['loadSheet'](_0x3dc10f,0x0,_0x5cd411)?(await this[_0x320ebd(0xa7)]['readyForCollab'](_0x3dc10f),this[_0x320ebd(0xca)][_0x320ebd(0xab)](_0x3dc10f)):null;}[_0x49b58d(0xc2)](_0x54dca0,_0x308a9b){const _0x3fa0d7=_0x49b58d;return(0x0,_0x1358af[_0x3fa0d7(0xb3)])(this[_0x3fa0d7(0x9e)]['get'](_0x34805c[_0x3fa0d7(0xbf)])[_0x3fa0d7(0xd6)](_0x54dca0)[_0x3fa0d7(0xa3)]((0x0,_0x247898[_0x3fa0d7(0xa4)])(_0x44da36=>_0x44da36[_0x3fa0d7(0xb4)]))[_0x3fa0d7(0xc1)](_0xd6d70f=>_0x308a9b(Array[_0x3fa0d7(0xaf)](_0xd6d70f['values']()))));}[_0x49b58d(0xe5)](_0x9bf2c5){const _0x215470=_0x49b58d;var _0x16d234;let _0x28c252;if(_0x9bf2c5)_0x28c252=_0x9bf2c5;else{let _0x730a5b=this[_0x215470(0xa1)]['getFocusedUnit']();_0x28c252=_0x730a5b==null?void 0x0:_0x730a5b['getUnitId']();}if(!_0x28c252)return _0x34805c['CollaborationStatus'][_0x215470(0xc0)];let _0x35a83e=this[_0x215470(0xa7)][_0x215470(0xc5)](_0x28c252);return(_0x16d234=_0x35a83e==null?void 0x0:_0x35a83e[_0x215470(0xcc)][_0x215470(0xcd)])==null?_0x34805c['CollaborationStatus'][_0x215470(0xc0)]:_0x16d234;}};_0x5e83a5=_0x39a80c([_0x555c22(0x1,(0x0,_0x1358af[_0x49b58d(0xaa)])(_0x1358af[_0x49b58d(0xd5)])),_0x555c22(0x2,_0x1358af[_0x49b58d(0xd0)]),_0x555c22(0x3,(0x0,_0x1358af[_0x49b58d(0xaa)])(_0x56a7bf[_0x49b58d(0xb9)])),_0x555c22(0x4,(0x0,_0x1358af[_0x49b58d(0xaa)])(_0x34805c[_0x49b58d(0xdc)]))],_0x5e83a5);var _0x3b2b18=class extends _0x2c3d4f[_0x49b58d(0x9d)]{['_initialize'](_0x5ac019){const _0x1b733d=_0x49b58d;let _0x8f7e9e=_0x5ac019['get'](_0x34805c[_0x1b733d(0xdc)]);this[_0x1b733d(0xc8)](this[_0x1b733d(0xad)](this[_0x1b733d(0xbe)][_0x1b733d(0xe6)],()=>{const _0x4d1583=_0x1b733d;let _0x4d3e1c=new _0x1358af[(_0x4d1583(0xcf))](),_0x568d06=_0x8f7e9e[_0x4d1583(0xc7)][_0x4d1583(0xc1)](_0x1934d0=>{const _0x44e0eb=_0x4d1583;let _0x4ec2f1=_0x1934d0[_0x44e0eb(0xc3)][_0x44e0eb(0xc1)](_0x18aefd=>{const _0x3a34cd=_0x44e0eb;let _0x401838={'unitId':_0x1934d0['unitID'],'status':_0x18aefd};this[_0x3a34cd(0xb8)](this['Event'][_0x3a34cd(0xe6)],_0x401838);});_0x4d3e1c[_0x44e0eb(0xcb)]((0x0,_0x1358af[_0x44e0eb(0xb3)])(_0x4ec2f1));});return _0x4d3e1c[_0x4d1583(0xcb)]((0x0,_0x1358af[_0x4d1583(0xb3)])(_0x568d06)),_0x4d3e1c;}));}[_0x49b58d(0xd4)](){const _0x4a54cc=_0x49b58d;return this[_0x4a54cc(0x9e)][_0x4a54cc(0xe2)](_0x5e83a5,{'getUniverSheet':_0x26337d=>this[_0x4a54cc(0xab)](_0x26337d)});}[_0x49b58d(0xac)](_0x3875e7,_0x1e1ad0,_0x50650b){const _0xa866c8=_0x49b58d;return this[_0xa866c8(0x9e)][_0xa866c8(0xe4)](_0x34805c[_0xa866c8(0xb0)])[_0xa866c8(0xde)](_0x3875e7,_0x1e1ad0,_0x50650b);}['loadServerUnitOfRevision'](_0x569cf7,_0x329058,_0x1ced38){const _0x102d0d=_0x49b58d;return this['_injector']['get'](_0x34805c[_0x102d0d(0xb0)])[_0x102d0d(0xce)](_0x569cf7,_0x329058,_0x1ced38);}};_0x2c3d4f[_0x49b58d(0x9d)][_0x49b58d(0xda)](_0x3b2b18),Object[_0x49b58d(0xa9)](_0x202d24,_0x49b58d(0xd2),{'enumerable':!0x0,'get':function(){return _0x5e83a5;}});}));function _0x443b(){const _0x292008=['@univerjs-pro/collaboration','defineProperty','Inject','getUniverSheet','loadServerUnit','registerEventHandler','5870082PTZusV','from','DataLoaderService','426776rwWHRd','loadActiveSheetAsync','toDisposable','members$','loadActiveSheet','6CAJNMK','1478870ixqBgY','fireEvent','SnapshotService','decorate','CollaborationStatus','function','382823scwCSy','Event','MemberService','NOT_COLLAB','subscribe','subscribeCollaborators','status$','FEventName','getCollabEntity','toStringTag','entityInit$','disposeWithMe','UniverProCollaborationClient','_handler','add','state','status','loadUnitOfRevision','DisposableCollection','IUniverInstanceService','rxjs','FCollaboration','UniverCore','getCollaboration','Injector','waitForRoom$','length','_snapshotService','FEnum','extend','amd','CollaborationController','@univerjs-pro/collaboration-client','loadUnit','6175491WOQbhM','913929AGfrEf','968600UQRioK','createInstance','object','get','getCollaborationStatus','CollaborationStatusChanged','FUniver','_injector','Module','@univerjs/core/facade','_univerInstanceService','getOwnPropertyDescriptor','pipe','switchMap','loadSheetAsync','UniverProCollaboration','_collaborationController'];_0x443b=function(){return _0x292008;};return _0x443b();}