@univerjs-pro/collaboration-client 0.24.0 → 0.25.0-insiders.20260608-e4336f7

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 (109) 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/config/config.d.ts +70 -0
  65. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +15 -1
  66. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +6 -14
  67. package/lib/types/facade/f-collaboration.d.ts +38 -25
  68. package/lib/types/index.d.ts +4 -2
  69. package/lib/types/locale/ar-SA.d.ts +3 -0
  70. package/lib/types/locale/ca-ES.d.ts +1 -1
  71. package/lib/types/locale/de-DE.d.ts +3 -0
  72. package/lib/types/locale/en-US.d.ts +39 -37
  73. package/lib/types/locale/es-ES.d.ts +1 -1
  74. package/lib/types/locale/fr-FR.d.ts +1 -1
  75. package/lib/types/locale/id-ID.d.ts +3 -0
  76. package/lib/types/locale/it-IT.d.ts +3 -0
  77. package/lib/types/locale/pl-PL.d.ts +3 -0
  78. package/lib/types/locale/pt-BR.d.ts +3 -0
  79. package/lib/types/locale/ru-RU.d.ts +1 -1
  80. package/lib/types/locale/zh-HK.d.ts +3 -0
  81. package/lib/types/locale/zh-TW.d.ts +1 -1
  82. package/lib/types/plugin.d.ts +1 -1
  83. package/lib/types/services/attachment-remote/attachment-io.service.d.ts +22 -0
  84. package/lib/types/services/attachment-remote/types.d.ts +23 -0
  85. package/lib/types/services/data-loader/data-loader.service.d.ts +3 -0
  86. package/lib/types/services/local-cache/local-cache.service.d.ts +1 -0
  87. package/lib/umd/facade.js +1 -1
  88. package/lib/umd/index.js +1 -1
  89. package/lib/umd/locale/ar-SA.js +1 -0
  90. package/lib/umd/locale/ca-ES.js +1 -1
  91. package/lib/umd/locale/de-DE.js +1 -0
  92. package/lib/umd/locale/en-US.js +1 -1
  93. package/lib/umd/locale/es-ES.js +1 -1
  94. package/lib/umd/locale/fa-IR.js +1 -1
  95. package/lib/umd/locale/fr-FR.js +1 -1
  96. package/lib/umd/locale/id-ID.js +1 -0
  97. package/lib/umd/locale/it-IT.js +1 -0
  98. package/lib/umd/locale/ja-JP.js +1 -1
  99. package/lib/umd/locale/ko-KR.js +1 -1
  100. package/lib/umd/locale/pl-PL.js +1 -0
  101. package/lib/umd/locale/pt-BR.js +1 -0
  102. package/lib/umd/locale/ru-RU.js +1 -1
  103. package/lib/umd/locale/sk-SK.js +1 -1
  104. package/lib/umd/locale/vi-VN.js +1 -1
  105. package/lib/umd/locale/zh-CN.js +1 -1
  106. package/lib/umd/locale/zh-HK.js +1 -0
  107. package/lib/umd/locale/zh-TW.js +1 -1
  108. package/package.json +16 -14
  109. package/lib/types/controllers/config.schema.d.ts +0 -64
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x11c52d=_0x1d24;(function(_0x14bb66,_0x1b875e){const _0x1d4a09=_0x1d24,_0x522942=_0x14bb66();while(!![]){try{const _0x32db88=parseInt(_0x1d4a09(0xad))/0x1+-parseInt(_0x1d4a09(0xc5))/0x2*(-parseInt(_0x1d4a09(0x9e))/0x3)+-parseInt(_0x1d4a09(0xbb))/0x4+parseInt(_0x1d4a09(0x9b))/0x5*(parseInt(_0x1d4a09(0xb3))/0x6)+parseInt(_0x1d4a09(0xa8))/0x7+-parseInt(_0x1d4a09(0x99))/0x8*(-parseInt(_0x1d4a09(0xa3))/0x9)+-parseInt(_0x1d4a09(0x96))/0xa*(parseInt(_0x1d4a09(0x9c))/0xb);if(_0x32db88===_0x1b875e)break;else _0x522942['push'](_0x522942['shift']());}catch(_0x3a6958){_0x522942['push'](_0x522942['shift']());}}}(_0x2ec3,0xed145),Object[_0x11c52d(0xba)](exports,Symbol[_0x11c52d(0xac)],{'value':'Module'}));let e=require(`@univerjs-pro/collaboration-client`),t=require(`@univerjs/core/facade`),n=require(`@univerjs/core`),r=require(`@univerjs-pro/collaboration`),i=require(`rxjs`);function _0x2ec3(){const _0x32c076=['752DzNqHs','entityInit$','833015ZVisUT','11TxuWOR','getUnitId','2722431CjbWES','disposeWithMe','pipe','Inject','FEventName','32868qYZrHL','decorate','loadSheet','Event','extend','2010064CyNmWV','SnapshotService','fireEvent','switchMap','toStringTag','665727bkaCgG','_initialize','subscribe','CollaborationController','FBase','FEnum','42ultSHe','loadActiveSheet','CollaborationStatus','loadSheetAsync','DisposableCollection','loadServerUnit','getCollaboration','defineProperty','5534640eKmYYD','toDisposable','CollaborationStatusChanged','_injector','length','registerEventHandler','state','readyForCollab','DataLoaderService','loadUnitOfRevision','2ZOyghY','NOT_COLLAB','values','loadServerUnitOfRevision','_collaborationController','FUniver','_handler','getUniverSheet','FCollaboration','add','_univerInstanceService','subscribeCollaborators','getCollabEntity','loadUnit','_snapshotService','from','get','10151280ygLFnq','status','getCollaborationStatus'];_0x2ec3=function(){return _0x32c076;};return _0x2ec3();}var a=class extends t[_0x11c52d(0xb2)]{get[_0x11c52d(0xb5)](){return e['CollaborationStatus'];}};t[_0x11c52d(0xb2)][_0x11c52d(0xa7)](a);var o=class extends t[_0x11c52d(0xa2)]{get[_0x11c52d(0xbd)](){return'CollaborationStatusChanged';}};function _0x1d24(_0x48bc2c,_0x7b28e6){_0x48bc2c=_0x48bc2c-0x8c;const _0x2ec34c=_0x2ec3();let _0x1d241f=_0x2ec34c[_0x48bc2c];return _0x1d241f;}t[_0x11c52d(0xa2)][_0x11c52d(0xa7)](o);function s(_0x175ddc,_0x114e76){return function(_0x2137da,_0x32f97e){_0x114e76(_0x2137da,_0x32f97e,_0x175ddc);};}function c(_0x34784a,_0x4517b2,_0x22a74e,_0x17add6){const _0x5483d2=_0x11c52d;var _0xd3e451=arguments[_0x5483d2(0xbf)],_0x13ee00=_0xd3e451<0x3?_0x4517b2:_0x17add6===null?_0x17add6=Object['getOwnPropertyDescriptor'](_0x4517b2,_0x22a74e):_0x17add6,_0x6dabd3;if(typeof Reflect=='object'&&typeof Reflect[_0x5483d2(0xa4)]=='function')_0x13ee00=Reflect[_0x5483d2(0xa4)](_0x34784a,_0x4517b2,_0x22a74e,_0x17add6);else{for(var _0x453dc8=_0x34784a[_0x5483d2(0xbf)]-0x1;_0x453dc8>=0x0;_0x453dc8--)(_0x6dabd3=_0x34784a[_0x453dc8])&&(_0x13ee00=(_0xd3e451<0x3?_0x6dabd3(_0x13ee00):_0xd3e451>0x3?_0x6dabd3(_0x4517b2,_0x22a74e,_0x13ee00):_0x6dabd3(_0x4517b2,_0x22a74e))||_0x13ee00);}return _0xd3e451>0x3&&_0x13ee00&&Object[_0x5483d2(0xba)](_0x4517b2,_0x22a74e,_0x13ee00),_0x13ee00;}let l=class extends t[_0x11c52d(0xb1)]{constructor(_0x408e7f,_0x1ca230,_0x73d89d,_0x1d1b1c,_0x18aaa2){const _0x22b689=_0x11c52d;super(),this[_0x22b689(0xcb)]=_0x408e7f,this[_0x22b689(0xbe)]=_0x1ca230,this[_0x22b689(0x8f)]=_0x73d89d,this['_snapshotService']=_0x1d1b1c,this[_0x22b689(0xc9)]=_0x18aaa2;}async[_0x11c52d(0xb4)](){return this['loadActiveSheetAsync']();}async['loadActiveSheetAsync'](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x11c52d(0xa5)](_0x249668){const _0x3ac9fa=_0x11c52d;return this[_0x3ac9fa(0xb6)](_0x249668);}async[_0x11c52d(0xb6)](_0x51e516,_0x179751){const _0x5ae268=_0x11c52d;return await this[_0x5ae268(0x93)]['loadSheet'](_0x51e516,0x0,_0x179751)?(await this[_0x5ae268(0xc9)][_0x5ae268(0xc2)](_0x51e516),this['_handler'][_0x5ae268(0x8c)](_0x51e516)):null;}[_0x11c52d(0x90)](_0x4e5c00,_0x4d3ca7){const _0x461445=_0x11c52d;return(0x0,n[_0x461445(0xbc)])(this[_0x461445(0xbe)][_0x461445(0x95)](e['MemberService'])['waitForRoom$'](_0x4e5c00)[_0x461445(0xa0)]((0x0,i[_0x461445(0xab)])(_0x1e3898=>_0x1e3898['members$']))[_0x461445(0xaf)](_0x320713=>_0x4d3ca7(Array[_0x461445(0x94)](_0x320713[_0x461445(0xc7)]()))));}[_0x11c52d(0x98)](_0x47bbb0){const _0x5ece07=_0x11c52d;var _0x581f70;let _0x61c350;if(_0x47bbb0)_0x61c350=_0x47bbb0;else{let _0x23023e=this[_0x5ece07(0x8f)]['getFocusedUnit']();_0x61c350=_0x23023e==null?void 0x0:_0x23023e[_0x5ece07(0x9d)]();}if(!_0x61c350)return e[_0x5ece07(0xb5)][_0x5ece07(0xc6)];let _0x364132=this[_0x5ece07(0xc9)][_0x5ece07(0x91)](_0x61c350);return(_0x581f70=_0x364132==null?void 0x0:_0x364132[_0x5ece07(0xc1)][_0x5ece07(0x97)])==null?e[_0x5ece07(0xb5)]['NOT_COLLAB']:_0x581f70;}};l=c([s(0x1,(0x0,n['Inject'])(n['Injector'])),s(0x2,n['IUniverInstanceService']),s(0x3,(0x0,n[_0x11c52d(0xa1)])(r[_0x11c52d(0xa9)])),s(0x4,(0x0,n[_0x11c52d(0xa1)])(e[_0x11c52d(0xb0)]))],l);var u=class extends t[_0x11c52d(0xca)]{[_0x11c52d(0xae)](_0x48b254){const _0x574323=_0x11c52d;let _0x49d06f=_0x48b254['get'](e[_0x574323(0xb0)]);this[_0x574323(0x9f)](this[_0x574323(0xc0)](this[_0x574323(0xa6)][_0x574323(0xbd)],()=>{const _0x49a15e=_0x574323;let _0x47e663=new n[(_0x49a15e(0xb7))](),_0x266532=_0x49d06f[_0x49a15e(0x9a)]['subscribe'](_0x382d82=>{const _0x157005=_0x49a15e;let _0x361945=_0x382d82['status$']['subscribe'](_0x570b65=>{const _0x41bf46=_0x1d24;let _0x538f20={'unitId':_0x382d82['unitID'],'status':_0x570b65};this[_0x41bf46(0xaa)](this['Event'][_0x41bf46(0xbd)],_0x538f20);});_0x47e663[_0x157005(0x8e)]((0x0,n[_0x157005(0xbc)])(_0x361945));});return _0x47e663['add']((0x0,n[_0x49a15e(0xbc)])(_0x266532)),_0x47e663;}));}[_0x11c52d(0xb9)](){const _0x3fe59d=_0x11c52d;return this[_0x3fe59d(0xbe)]['createInstance'](l,{'getUniverSheet':_0x398e34=>this[_0x3fe59d(0x8c)](_0x398e34)});}[_0x11c52d(0xb8)](_0x11e147,_0x9db088,_0x55cc37){const _0x31d53e=_0x11c52d;return this[_0x31d53e(0xbe)]['get'](e[_0x31d53e(0xc3)])[_0x31d53e(0x92)](_0x11e147,_0x9db088,_0x55cc37);}[_0x11c52d(0xc8)](_0x335f61,_0x374508,_0x5aabd0){const _0x40c506=_0x11c52d;return this[_0x40c506(0xbe)][_0x40c506(0x95)](e[_0x40c506(0xc3)])[_0x40c506(0xc4)](_0x335f61,_0x374508,_0x5aabd0);}};t[_0x11c52d(0xca)][_0x11c52d(0xa7)](u),Object['defineProperty'](exports,_0x11c52d(0x8d),{'enumerable':!0x0,'get':function(){return l;}});
1
+ function _0x3275(){const _0x5a8e07=['state','6908792Tbpfoq','120WvpsJF','332458HFBinx','_collaborationController','1450552fiTUym','FEventName','MemberService','CollaborationController','loadServerUnitOfRevision','get','loadSlideAsync','values','subscribe','toDisposable','function','Module','_handler','FCollaboration','_injector','97596ywDeOJ','4465305OQkQYF','12dVFfWG','status','loadUnitOfRevision','waitForRoom$','switchMap','add','toStringTag','defineProperty','getBase','3845886XrQvCN','getOwnPropertyDescriptor','entityInit$','subscribeCollaborators','disposeWithMe','FUniver','from','_snapshotService','860ZgLBYY','FEnum','DisposableCollection','readyForCollab','registerEventHandler','extend','getPresentation','Injector','CollaborationStatusChanged','Inject','object','_univerInstanceService','loadDocAsync','pipe','status$','DataLoaderService','getUnitId','FBase','NOT_COLLAB','decorate','Event','CollaborationStatus','loadUnit','19697iiBNDf','getDocument','getFocusedUnit','length','144CWaxQf','getWorkbook','getCollaboration','members$','loadBase','3BTutpR'];_0x3275=function(){return _0x5a8e07;};return _0x3275();}const _0x5a985c=_0x129d;(function(_0x301da2,_0x5289f2){const _0x4410ba=_0x129d,_0x30c2b9=_0x301da2();while(!![]){try{const _0x46aba7=-parseInt(_0x4410ba(0x1a1))/0x1*(parseInt(_0x4410ba(0x1c1))/0x2)+-parseInt(_0x4410ba(0x1aa))/0x3*(-parseInt(_0x4410ba(0x1b0))/0x4)+parseInt(_0x4410ba(0x1c0))/0x5+parseInt(_0x4410ba(0x1a5))/0x6*(parseInt(_0x4410ba(0x1ae))/0x7)+parseInt(_0x4410ba(0x1ac))/0x8+-parseInt(_0x4410ba(0x1bf))/0x9*(-parseInt(_0x4410ba(0x1d2))/0xa)+-parseInt(_0x4410ba(0x1ca))/0xb*(parseInt(_0x4410ba(0x1ad))/0xc);if(_0x46aba7===_0x5289f2)break;else _0x30c2b9['push'](_0x30c2b9['shift']());}catch(_0x10ce64){_0x30c2b9['push'](_0x30c2b9['shift']());}}}(_0x3275,0x8cf10),Object[_0x5a985c(0x1c8)](exports,Symbol[_0x5a985c(0x1c7)],{'value':_0x5a985c(0x1bb)}));let e=require('@univerjs-pro/collaboration-client'),t=require('@univerjs/core/facade'),n=require('@univerjs/core'),r=require('@univerjs-pro/collaboration'),i=require('rxjs');var a=class extends t[_0x5a985c(0x1d3)]{get[_0x5a985c(0x1e7)](){const _0x1b2d79=_0x5a985c;return e[_0x1b2d79(0x1e7)];}};t[_0x5a985c(0x1d3)][_0x5a985c(0x1d7)](a);function _0x129d(_0x5b8272,_0x352e1a){_0x5b8272=_0x5b8272-0x1a0;const _0x3275d7=_0x3275();let _0x129d03=_0x3275d7[_0x5b8272];return _0x129d03;}var o=class extends t[_0x5a985c(0x1b1)]{get[_0x5a985c(0x1da)](){return'CollaborationStatusChanged';}};t[_0x5a985c(0x1b1)][_0x5a985c(0x1d7)](o);function s(_0x5a0588,_0x31e8c5){return function(_0x2b32cb,_0x290c92){_0x31e8c5(_0x2b32cb,_0x290c92,_0x5a0588);};}function c(_0x20f216,_0x534cd6,_0x596adf,_0x2f6e3e){const _0x83f5dd=_0x5a985c;var _0x2779c8=arguments['length'],_0x113a13=_0x2779c8<0x3?_0x534cd6:_0x2f6e3e===null?_0x2f6e3e=Object[_0x83f5dd(0x1cb)](_0x534cd6,_0x596adf):_0x2f6e3e,_0x27f528;if(typeof Reflect==_0x83f5dd(0x1dc)&&typeof Reflect[_0x83f5dd(0x1e5)]==_0x83f5dd(0x1ba))_0x113a13=Reflect[_0x83f5dd(0x1e5)](_0x20f216,_0x534cd6,_0x596adf,_0x2f6e3e);else{for(var _0x4a602d=_0x20f216[_0x83f5dd(0x1a4)]-0x1;_0x4a602d>=0x0;_0x4a602d--)(_0x27f528=_0x20f216[_0x4a602d])&&(_0x113a13=(_0x2779c8<0x3?_0x27f528(_0x113a13):_0x2779c8>0x3?_0x27f528(_0x534cd6,_0x596adf,_0x113a13):_0x27f528(_0x534cd6,_0x596adf))||_0x113a13);}return _0x2779c8>0x3&&_0x113a13&&Object['defineProperty'](_0x534cd6,_0x596adf,_0x113a13),_0x113a13;}let l=class extends t[_0x5a985c(0x1e3)]{constructor(_0x384f77,_0x47b7fd,_0x596ba1,_0x4a3858,_0x587eb8){const _0x16acaa=_0x5a985c;super(),this[_0x16acaa(0x1bc)]=_0x384f77,this[_0x16acaa(0x1be)]=_0x47b7fd,this[_0x16acaa(0x1dd)]=_0x596ba1,this[_0x16acaa(0x1d1)]=_0x4a3858,this[_0x16acaa(0x1af)]=_0x587eb8;}async['loadSheetAsync'](_0x355b2c,_0x38c63b){const _0x3bc79a=_0x5a985c;return await this[_0x3bc79a(0x1d1)]['loadSheet'](_0x355b2c,0x0,_0x38c63b)?(await this['_collaborationController'][_0x3bc79a(0x1d5)](_0x355b2c),this[_0x3bc79a(0x1bc)][_0x3bc79a(0x1a6)](_0x355b2c)):null;}async[_0x5a985c(0x1de)](_0x337df8,_0x1165e8){const _0x338336=_0x5a985c;return await this[_0x338336(0x1d1)]['loadDoc'](_0x337df8,0x0,_0x1165e8)?(await this[_0x338336(0x1af)][_0x338336(0x1d5)](_0x337df8),this[_0x338336(0x1bc)][_0x338336(0x1a2)](_0x337df8)):null;}async['loadBaseAsync'](_0x26b4df,_0x576de2){const _0x30f38a=_0x5a985c;return await this[_0x30f38a(0x1d1)][_0x30f38a(0x1a9)](_0x26b4df,0x0,_0x576de2)?(await this[_0x30f38a(0x1af)]['readyForCollab'](_0x26b4df),this[_0x30f38a(0x1bc)][_0x30f38a(0x1c9)](_0x26b4df)):null;}async[_0x5a985c(0x1b6)](_0x5626a6,_0x574f9d){const _0x5ac94d=_0x5a985c;return await this[_0x5ac94d(0x1d1)]['loadSlide'](_0x5626a6,0x0,_0x574f9d)?(await this['_collaborationController'][_0x5ac94d(0x1d5)](_0x5626a6),this[_0x5ac94d(0x1bc)]['getPresentation'](_0x5626a6)):null;}[_0x5a985c(0x1cd)](_0x176d5c,_0x18303f){const _0x50c840=_0x5a985c;return(0x0,n[_0x50c840(0x1b9)])(this[_0x50c840(0x1be)]['get'](e[_0x50c840(0x1b2)])[_0x50c840(0x1c4)](_0x176d5c)[_0x50c840(0x1df)]((0x0,i[_0x50c840(0x1c5)])(_0x19e854=>_0x19e854[_0x50c840(0x1a8)]))[_0x50c840(0x1b8)](_0x16a8a6=>_0x18303f(Array[_0x50c840(0x1d0)](_0x16a8a6[_0x50c840(0x1b7)]()))));}['getCollaborationStatus'](_0x3383c7){const _0x5689de=_0x5a985c;var _0x145109;let _0x488f8c;if(_0x3383c7)_0x488f8c=_0x3383c7;else{let _0x575a87=this[_0x5689de(0x1dd)][_0x5689de(0x1a3)]();_0x488f8c=_0x575a87==null?void 0x0:_0x575a87[_0x5689de(0x1e2)]();}if(!_0x488f8c)return e[_0x5689de(0x1e7)][_0x5689de(0x1e4)];let _0x7ae12c=this['_collaborationController']['getCollabEntity'](_0x488f8c);return(_0x145109=_0x7ae12c==null?void 0x0:_0x7ae12c[_0x5689de(0x1ab)][_0x5689de(0x1c2)])==null?e['CollaborationStatus'][_0x5689de(0x1e4)]:_0x145109;}};l=c([s(0x1,(0x0,n[_0x5a985c(0x1db)])(n[_0x5a985c(0x1d9)])),s(0x2,n['IUniverInstanceService']),s(0x3,(0x0,n[_0x5a985c(0x1db)])(r['SnapshotService'])),s(0x4,(0x0,n['Inject'])(e[_0x5a985c(0x1b3)]))],l);var u=class extends t['FUniver']{['_initialize'](_0x52a70a){const _0x5814c7=_0x5a985c;let _0x30ff89=_0x52a70a[_0x5814c7(0x1b5)](e['CollaborationController']);this[_0x5814c7(0x1ce)](this[_0x5814c7(0x1d6)](this['Event']['CollaborationStatusChanged'],()=>{const _0x40e5e1=_0x5814c7;let _0x550400=new n[(_0x40e5e1(0x1d4))](),_0x36eba9=_0x30ff89[_0x40e5e1(0x1cc)][_0x40e5e1(0x1b8)](_0x5819c6=>{const _0x18a2d6=_0x40e5e1;let _0x3486ab=_0x5819c6[_0x18a2d6(0x1e0)][_0x18a2d6(0x1b8)](_0x8516e1=>{const _0x3a51f6=_0x18a2d6;let _0x4be3e8={'unitId':_0x5819c6['unitID'],'status':_0x8516e1};this['fireEvent'](this[_0x3a51f6(0x1e6)][_0x3a51f6(0x1da)],_0x4be3e8);});_0x550400['add']((0x0,n[_0x18a2d6(0x1b9)])(_0x3486ab));});return _0x550400[_0x40e5e1(0x1c6)]((0x0,n[_0x40e5e1(0x1b9)])(_0x36eba9)),_0x550400;}));}[_0x5a985c(0x1a7)](){const _0x542071=_0x5a985c;return this[_0x542071(0x1be)]['createInstance'](l,{'getWorkbook':_0x193e51=>this['getWorkbook'](_0x193e51),'getDocument':_0x4319d2=>this['getDocument'](_0x4319d2),'getPresentation':_0x4b6abc=>this[_0x542071(0x1d8)](_0x4b6abc),'getBase':_0x36f715=>this[_0x542071(0x1c9)](_0x36f715)});}['loadServerUnit'](_0x28f313,_0x17cae6,_0x266e95){const _0x3993db=_0x5a985c;return this[_0x3993db(0x1be)][_0x3993db(0x1b5)](e[_0x3993db(0x1e1)])[_0x3993db(0x1a0)](_0x28f313,_0x17cae6,_0x266e95);}[_0x5a985c(0x1b4)](_0x19cc22,_0x43bb4a,_0x29ff3c){const _0x25c0ee=_0x5a985c;return this['_injector']['get'](e['DataLoaderService'])[_0x25c0ee(0x1c3)](_0x19cc22,_0x43bb4a,_0x29ff3c);}};t[_0x5a985c(0x1cf)][_0x5a985c(0x1d7)](u),Object[_0x5a985c(0x1c8)](exports,_0x5a985c(0x1bd),{'enumerable':!0x0,'get':function(){return l;}});