@univerjs-pro/collaboration-client 0.25.0 → 1.0.0-alpha.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 (97) 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/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 +11 -7
  69. package/lib/types/locale/types.d.ts +3 -0
  70. package/lib/types/plugin.d.ts +1 -1
  71. package/lib/types/services/attachment-remote/attachment-io.service.d.ts +22 -0
  72. package/lib/types/services/attachment-remote/types.d.ts +23 -0
  73. package/lib/types/services/data-loader/data-loader.service.d.ts +3 -0
  74. package/lib/types/services/local-cache/local-cache.service.d.ts +1 -0
  75. package/lib/umd/facade.js +1 -1
  76. package/lib/umd/index.js +1 -1
  77. package/lib/umd/locale/ar-SA.js +1 -1
  78. package/lib/umd/locale/ca-ES.js +1 -1
  79. package/lib/umd/locale/de-DE.js +1 -1
  80. package/lib/umd/locale/en-US.js +1 -1
  81. package/lib/umd/locale/es-ES.js +1 -1
  82. package/lib/umd/locale/fa-IR.js +1 -1
  83. package/lib/umd/locale/fr-FR.js +1 -1
  84. package/lib/umd/locale/id-ID.js +1 -1
  85. package/lib/umd/locale/it-IT.js +1 -1
  86. package/lib/umd/locale/ja-JP.js +1 -1
  87. package/lib/umd/locale/ko-KR.js +1 -1
  88. package/lib/umd/locale/pl-PL.js +1 -1
  89. package/lib/umd/locale/pt-BR.js +1 -1
  90. package/lib/umd/locale/ru-RU.js +1 -1
  91. package/lib/umd/locale/sk-SK.js +1 -1
  92. package/lib/umd/locale/vi-VN.js +1 -1
  93. package/lib/umd/locale/zh-CN.js +1 -1
  94. package/lib/umd/locale/zh-HK.js +1 -1
  95. package/lib/umd/locale/zh-TW.js +1 -1
  96. package/package.json +16 -14
  97. package/lib/types/controllers/config.schema.d.ts +0 -64
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x1338f2=_0x6ddf;(function(_0x58a1a8,_0x4ec335){const _0xd2c237=_0x6ddf,_0x1aec85=_0x58a1a8();while(!![]){try{const _0x19e3c5=-parseInt(_0xd2c237(0x14a))/0x1*(-parseInt(_0xd2c237(0x17b))/0x2)+parseInt(_0xd2c237(0x147))/0x3*(parseInt(_0xd2c237(0x176))/0x4)+parseInt(_0xd2c237(0x141))/0x5*(parseInt(_0xd2c237(0x159))/0x6)+parseInt(_0xd2c237(0x15c))/0x7*(-parseInt(_0xd2c237(0x178))/0x8)+-parseInt(_0xd2c237(0x17a))/0x9+parseInt(_0xd2c237(0x171))/0xa*(-parseInt(_0xd2c237(0x184))/0xb)+parseInt(_0xd2c237(0x156))/0xc;if(_0x19e3c5===_0x4ec335)break;else _0x1aec85['push'](_0x1aec85['shift']());}catch(_0x304e6f){_0x1aec85['push'](_0x1aec85['shift']());}}}(_0x235e,0xa29f2),Object['defineProperty'](exports,Symbol[_0x1338f2(0x17e)],{'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');var a=class extends t['FEnum']{get['CollaborationStatus'](){const _0x3e7395=_0x1338f2;return e[_0x3e7395(0x169)];}};t[_0x1338f2(0x14c)]['extend'](a);var o=class extends t['FEventName']{get[_0x1338f2(0x167)](){const _0x570e46=_0x1338f2;return _0x570e46(0x167);}};t[_0x1338f2(0x145)][_0x1338f2(0x160)](o);function s(_0x2149cd,_0xb0d47f){return function(_0x4686f4,_0x284dbf){_0xb0d47f(_0x4686f4,_0x284dbf,_0x2149cd);};}function c(_0xb3fae4,_0xf70f37,_0x398502,_0x588891){const _0x143c01=_0x1338f2;var _0xb936ac=arguments[_0x143c01(0x157)],_0x566bd2=_0xb936ac<0x3?_0xf70f37:_0x588891===null?_0x588891=Object[_0x143c01(0x161)](_0xf70f37,_0x398502):_0x588891,_0x2b8da9;if(typeof Reflect==_0x143c01(0x173)&&typeof Reflect[_0x143c01(0x155)]=='function')_0x566bd2=Reflect['decorate'](_0xb3fae4,_0xf70f37,_0x398502,_0x588891);else{for(var _0x3ee850=_0xb3fae4[_0x143c01(0x157)]-0x1;_0x3ee850>=0x0;_0x3ee850--)(_0x2b8da9=_0xb3fae4[_0x3ee850])&&(_0x566bd2=(_0xb936ac<0x3?_0x2b8da9(_0x566bd2):_0xb936ac>0x3?_0x2b8da9(_0xf70f37,_0x398502,_0x566bd2):_0x2b8da9(_0xf70f37,_0x398502))||_0x566bd2);}return _0xb936ac>0x3&&_0x566bd2&&Object[_0x143c01(0x163)](_0xf70f37,_0x398502,_0x566bd2),_0x566bd2;}let l=class extends t[_0x1338f2(0x142)]{constructor(_0x54e7c6,_0x36395a,_0x4f3ad3,_0x4551dc,_0x1bb696){const _0x308c60=_0x1338f2;super(),this['_handler']=_0x54e7c6,this[_0x308c60(0x158)]=_0x36395a,this[_0x308c60(0x17f)]=_0x4f3ad3,this[_0x308c60(0x174)]=_0x4551dc,this[_0x308c60(0x181)]=_0x1bb696;}async['loadActiveSheet'](){const _0x1c6bc3=_0x1338f2;return this[_0x1c6bc3(0x16b)]();}async[_0x1338f2(0x16b)](){const _0x1eea3f=_0x1338f2;throw Error(_0x1eea3f(0x15e));}async[_0x1338f2(0x15a)](_0xf9bdd6){const _0x569af7=_0x1338f2;return this[_0x569af7(0x16e)](_0xf9bdd6);}async[_0x1338f2(0x16e)](_0x3ba0cb,_0xa6e1e4){const _0x507fd8=_0x1338f2;return await this[_0x507fd8(0x174)]['loadSheet'](_0x3ba0cb,0x0,_0xa6e1e4)?(await this[_0x507fd8(0x181)]['readyForCollab'](_0x3ba0cb),this[_0x507fd8(0x14d)][_0x507fd8(0x153)](_0x3ba0cb)):null;}[_0x1338f2(0x183)](_0x3947fa,_0x495cfa){const _0x5856e0=_0x1338f2;return(0x0,n['toDisposable'])(this[_0x5856e0(0x158)][_0x5856e0(0x148)](e[_0x5856e0(0x17d)])['waitForRoom$'](_0x3947fa)['pipe']((0x0,i[_0x5856e0(0x150)])(_0x38b330=>_0x38b330[_0x5856e0(0x168)]))[_0x5856e0(0x15b)](_0x30601f=>_0x495cfa(Array['from'](_0x30601f['values']()))));}[_0x1338f2(0x14b)](_0x496ff9){const _0x5eb504=_0x1338f2;var _0x479ca6;let _0x5ce66f;if(_0x496ff9)_0x5ce66f=_0x496ff9;else{let _0x4ef498=this[_0x5eb504(0x17f)][_0x5eb504(0x175)]();_0x5ce66f=_0x4ef498==null?void 0x0:_0x4ef498[_0x5eb504(0x14e)]();}if(!_0x5ce66f)return e[_0x5eb504(0x169)][_0x5eb504(0x16a)];let _0x2da53b=this['_collaborationController'][_0x5eb504(0x152)](_0x5ce66f);return(_0x479ca6=_0x2da53b==null?void 0x0:_0x2da53b[_0x5eb504(0x172)][_0x5eb504(0x149)])==null?e[_0x5eb504(0x169)]['NOT_COLLAB']:_0x479ca6;}};function _0x235e(){const _0x1773d0=['disposeWithMe','4525029vdGNqb','2406eowgTj','add','MemberService','toStringTag','_univerInstanceService','DataLoaderService','_collaborationController','toDisposable','subscribeCollaborators','1637603ggbWJw','2930SMtpXe','FBase','IUniverInstanceService','Injector','FEventName','getCollaboration','3ZiyMOT','get','status','996WqxfTm','getCollaborationStatus','FEnum','_handler','getUnitId','unitID','switchMap','createInstance','getCollabEntity','getUniverSheet','FUniver','decorate','17658660PHaeut','length','_injector','5766isFqMz','loadSheet','subscribe','9142Lnpanb','registerEventHandler','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','SnapshotService','extend','getOwnPropertyDescriptor','loadUnit','defineProperty','DisposableCollection','Event','CollaborationController','CollaborationStatusChanged','members$','CollaborationStatus','NOT_COLLAB','loadActiveSheetAsync','Inject','loadUnitOfRevision','loadSheetAsync','entityInit$','loadServerUnitOfRevision','70EoKukV','state','object','_snapshotService','getFocusedUnit','546092MUDeWa','fireEvent','7096nWpqmL'];_0x235e=function(){return _0x1773d0;};return _0x235e();}l=c([s(0x1,(0x0,n[_0x1338f2(0x16c)])(n[_0x1338f2(0x144)])),s(0x2,n[_0x1338f2(0x143)]),s(0x3,(0x0,n[_0x1338f2(0x16c)])(r[_0x1338f2(0x15f)])),s(0x4,(0x0,n[_0x1338f2(0x16c)])(e[_0x1338f2(0x166)]))],l);function _0x6ddf(_0x4866ba,_0x1ebae1){_0x4866ba=_0x4866ba-0x141;const _0x235efb=_0x235e();let _0x6ddfcf=_0x235efb[_0x4866ba];return _0x6ddfcf;}var u=class extends t[_0x1338f2(0x154)]{['_initialize'](_0x53c871){const _0x3880f3=_0x1338f2;let _0x8d77b6=_0x53c871[_0x3880f3(0x148)](e[_0x3880f3(0x166)]);this[_0x3880f3(0x179)](this[_0x3880f3(0x15d)](this[_0x3880f3(0x165)][_0x3880f3(0x167)],()=>{const _0x18d407=_0x3880f3;let _0x14f3bd=new n[(_0x18d407(0x164))](),_0x4cde63=_0x8d77b6[_0x18d407(0x16f)][_0x18d407(0x15b)](_0x3dad31=>{const _0x249e63=_0x18d407;let _0x5c85c0=_0x3dad31['status$'][_0x249e63(0x15b)](_0x425611=>{const _0x2a863d=_0x249e63;let _0x3d7aee={'unitId':_0x3dad31[_0x2a863d(0x14f)],'status':_0x425611};this[_0x2a863d(0x177)](this[_0x2a863d(0x165)][_0x2a863d(0x167)],_0x3d7aee);});_0x14f3bd[_0x249e63(0x17c)]((0x0,n[_0x249e63(0x182)])(_0x5c85c0));});return _0x14f3bd[_0x18d407(0x17c)]((0x0,n[_0x18d407(0x182)])(_0x4cde63)),_0x14f3bd;}));}[_0x1338f2(0x146)](){const _0xd20f27=_0x1338f2;return this[_0xd20f27(0x158)][_0xd20f27(0x151)](l,{'getUniverSheet':_0x10d13e=>this[_0xd20f27(0x153)](_0x10d13e)});}['loadServerUnit'](_0x53f961,_0x1fe1ff,_0x38d886){const _0x4f0ee7=_0x1338f2;return this[_0x4f0ee7(0x158)]['get'](e[_0x4f0ee7(0x180)])[_0x4f0ee7(0x162)](_0x53f961,_0x1fe1ff,_0x38d886);}[_0x1338f2(0x170)](_0x31c476,_0x2881c9,_0x83aa75){const _0x5221ef=_0x1338f2;return this[_0x5221ef(0x158)]['get'](e['DataLoaderService'])[_0x5221ef(0x16d)](_0x31c476,_0x2881c9,_0x83aa75);}};t[_0x1338f2(0x154)]['extend'](u),Object[_0x1338f2(0x163)](exports,'FCollaboration',{'enumerable':!0x0,'get':function(){return l;}});
1
+ const _0x347938=_0x5edd;(function(_0xb37f48,_0x48c635){const _0x569b28=_0x5edd,_0x3619d4=_0xb37f48();while(!![]){try{const _0x4036b7=parseInt(_0x569b28(0x11b))/0x1+parseInt(_0x569b28(0x13e))/0x2*(-parseInt(_0x569b28(0x135))/0x3)+parseInt(_0x569b28(0x14c))/0x4+parseInt(_0x569b28(0x12e))/0x5+parseInt(_0x569b28(0x11e))/0x6*(parseInt(_0x569b28(0x147))/0x7)+parseInt(_0x569b28(0x141))/0x8*(parseInt(_0x569b28(0x144))/0x9)+-parseInt(_0x569b28(0x15a))/0xa;if(_0x4036b7===_0x48c635)break;else _0x3619d4['push'](_0x3619d4['shift']());}catch(_0x1cc10b){_0x3619d4['push'](_0x3619d4['shift']());}}}(_0x509a,0xe9cee),Object[_0x347938(0x152)](exports,Symbol['toStringTag'],{'value':_0x347938(0x129)}));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[_0x347938(0x158)]{get[_0x347938(0x14b)](){const _0x496beb=_0x347938;return e[_0x496beb(0x14b)];}};t[_0x347938(0x158)][_0x347938(0x140)](a);var o=class extends t[_0x347938(0x125)]{get[_0x347938(0x11f)](){const _0x4584cd=_0x347938;return _0x4584cd(0x11f);}};t[_0x347938(0x125)][_0x347938(0x140)](o);function s(_0xf710f0,_0x13a854){return function(_0x5ba977,_0x4f3351){_0x13a854(_0x5ba977,_0x4f3351,_0xf710f0);};}function c(_0x1f6bab,_0x1d5e0b,_0x127eb6,_0x348584){const _0x4d936a=_0x347938;var _0xe5ec3a=arguments['length'],_0x4a0005=_0xe5ec3a<0x3?_0x1d5e0b:_0x348584===null?_0x348584=Object[_0x4d936a(0x14a)](_0x1d5e0b,_0x127eb6):_0x348584,_0x4a8584;if(typeof Reflect==_0x4d936a(0x13d)&&typeof Reflect[_0x4d936a(0x146)]==_0x4d936a(0x145))_0x4a0005=Reflect['decorate'](_0x1f6bab,_0x1d5e0b,_0x127eb6,_0x348584);else{for(var _0x54b329=_0x1f6bab['length']-0x1;_0x54b329>=0x0;_0x54b329--)(_0x4a8584=_0x1f6bab[_0x54b329])&&(_0x4a0005=(_0xe5ec3a<0x3?_0x4a8584(_0x4a0005):_0xe5ec3a>0x3?_0x4a8584(_0x1d5e0b,_0x127eb6,_0x4a0005):_0x4a8584(_0x1d5e0b,_0x127eb6))||_0x4a0005);}return _0xe5ec3a>0x3&&_0x4a0005&&Object[_0x4d936a(0x152)](_0x1d5e0b,_0x127eb6,_0x4a0005),_0x4a0005;}function _0x509a(){const _0x17f900=['FEventName','loadServerUnit','status$','state','Module','loadSlide','from','disposeWithMe','getWorkbook','2017645NYmhJn','unitID','fireEvent','loadBaseAsync','DataLoaderService','getDocument','FUniver','21nutOTz','_collaborationController','FCollaboration','switchMap','getBase','values','DisposableCollection','Inject','object','109922HlrqxB','getPresentation','extend','18336cjYfbG','SnapshotService','getCollaborationStatus','108OwvQLB','function','decorate','272762sXZIxD','loadUnitOfRevision','NOT_COLLAB','getOwnPropertyDescriptor','CollaborationStatus','5570932jtetXJ','loadDocAsync','waitForRoom$','getUnitId','_handler','entityInit$','defineProperty','pipe','_injector','readyForCollab','status','loadSlideAsync','FEnum','FBase','34254370yoyVUz','createInstance','add','_snapshotService','loadServerUnitOfRevision','1463368HMsKTP','get','toDisposable','228cGHTAL','CollaborationStatusChanged','Injector','_univerInstanceService','getFocusedUnit','getCollaboration','subscribe'];_0x509a=function(){return _0x17f900;};return _0x509a();}function _0x5edd(_0x5959df,_0x64e6e){_0x5959df=_0x5959df-0x117;const _0x509a6a=_0x509a();let _0x5edd6f=_0x509a6a[_0x5959df];return _0x5edd6f;}let l=class extends t[_0x347938(0x159)]{constructor(_0x17d358,_0x442247,_0xaa6d9c,_0x29cf25,_0x58a382){const _0x53c3c1=_0x347938;super(),this['_handler']=_0x17d358,this[_0x53c3c1(0x154)]=_0x442247,this[_0x53c3c1(0x121)]=_0xaa6d9c,this[_0x53c3c1(0x119)]=_0x29cf25,this[_0x53c3c1(0x136)]=_0x58a382;}async['loadSheetAsync'](_0x5c44b7,_0x44a033){const _0x53a041=_0x347938;return await this[_0x53a041(0x119)]['loadSheet'](_0x5c44b7,0x0,_0x44a033)?(await this[_0x53a041(0x136)][_0x53a041(0x155)](_0x5c44b7),this[_0x53a041(0x150)]['getWorkbook'](_0x5c44b7)):null;}async[_0x347938(0x14d)](_0x5d4361,_0x2e2511){const _0x1b6a2d=_0x347938;return await this['_snapshotService']['loadDoc'](_0x5d4361,0x0,_0x2e2511)?(await this[_0x1b6a2d(0x136)]['readyForCollab'](_0x5d4361),this[_0x1b6a2d(0x150)]['getDocument'](_0x5d4361)):null;}async[_0x347938(0x131)](_0x4022fb,_0x3ac6c5){const _0x207e16=_0x347938;return await this['_snapshotService']['loadBase'](_0x4022fb,0x0,_0x3ac6c5)?(await this[_0x207e16(0x136)][_0x207e16(0x155)](_0x4022fb),this[_0x207e16(0x150)][_0x207e16(0x139)](_0x4022fb)):null;}async[_0x347938(0x157)](_0x121435,_0x4c5505){const _0x21ae05=_0x347938;return await this[_0x21ae05(0x119)][_0x21ae05(0x12a)](_0x121435,0x0,_0x4c5505)?(await this['_collaborationController'][_0x21ae05(0x155)](_0x121435),this[_0x21ae05(0x150)][_0x21ae05(0x13f)](_0x121435)):null;}['subscribeCollaborators'](_0x55901b,_0x3bea77){const _0xe332cf=_0x347938;return(0x0,n[_0xe332cf(0x11d)])(this[_0xe332cf(0x154)][_0xe332cf(0x11c)](e['MemberService'])[_0xe332cf(0x14e)](_0x55901b)[_0xe332cf(0x153)]((0x0,i[_0xe332cf(0x138)])(_0x28492e=>_0x28492e['members$']))[_0xe332cf(0x124)](_0x34166d=>_0x3bea77(Array[_0xe332cf(0x12b)](_0x34166d[_0xe332cf(0x13a)]()))));}[_0x347938(0x143)](_0x565f9b){const _0x3a9a51=_0x347938;var _0x54ea70;let _0x4fd6b6;if(_0x565f9b)_0x4fd6b6=_0x565f9b;else{let _0x5f515a=this[_0x3a9a51(0x121)][_0x3a9a51(0x122)]();_0x4fd6b6=_0x5f515a==null?void 0x0:_0x5f515a[_0x3a9a51(0x14f)]();}if(!_0x4fd6b6)return e[_0x3a9a51(0x14b)][_0x3a9a51(0x149)];let _0x186258=this['_collaborationController']['getCollabEntity'](_0x4fd6b6);return(_0x54ea70=_0x186258==null?void 0x0:_0x186258[_0x3a9a51(0x128)][_0x3a9a51(0x156)])==null?e[_0x3a9a51(0x14b)][_0x3a9a51(0x149)]:_0x54ea70;}};l=c([s(0x1,(0x0,n[_0x347938(0x13c)])(n[_0x347938(0x120)])),s(0x2,n['IUniverInstanceService']),s(0x3,(0x0,n[_0x347938(0x13c)])(r[_0x347938(0x142)])),s(0x4,(0x0,n[_0x347938(0x13c)])(e['CollaborationController']))],l);var u=class extends t['FUniver']{['_initialize'](_0x174713){const _0x574490=_0x347938;let _0x3e6e7d=_0x174713[_0x574490(0x11c)](e['CollaborationController']);this[_0x574490(0x12c)](this['registerEventHandler'](this['Event']['CollaborationStatusChanged'],()=>{const _0x5b21d6=_0x574490;let _0x5be78b=new n[(_0x5b21d6(0x13b))](),_0x143377=_0x3e6e7d[_0x5b21d6(0x151)][_0x5b21d6(0x124)](_0x279580=>{const _0x4dd32b=_0x5b21d6;let _0x42e29b=_0x279580[_0x4dd32b(0x127)][_0x4dd32b(0x124)](_0x258618=>{const _0x4bd44a=_0x4dd32b;let _0x4089d7={'unitId':_0x279580[_0x4bd44a(0x12f)],'status':_0x258618};this[_0x4bd44a(0x130)](this['Event']['CollaborationStatusChanged'],_0x4089d7);});_0x5be78b['add']((0x0,n['toDisposable'])(_0x42e29b));});return _0x5be78b[_0x5b21d6(0x118)]((0x0,n[_0x5b21d6(0x11d)])(_0x143377)),_0x5be78b;}));}[_0x347938(0x123)](){const _0x518653=_0x347938;return this[_0x518653(0x154)][_0x518653(0x117)](l,{'getWorkbook':_0x25f584=>this[_0x518653(0x12d)](_0x25f584),'getDocument':_0x577535=>this[_0x518653(0x133)](_0x577535),'getPresentation':_0x358a4a=>this[_0x518653(0x13f)](_0x358a4a),'getBase':_0x27d24a=>this[_0x518653(0x139)](_0x27d24a)});}[_0x347938(0x126)](_0x555221,_0x5d3f7d,_0x30ad91){const _0x220f21=_0x347938;return this[_0x220f21(0x154)][_0x220f21(0x11c)](e[_0x220f21(0x132)])['loadUnit'](_0x555221,_0x5d3f7d,_0x30ad91);}[_0x347938(0x11a)](_0xd9e9a,_0x4afbbb,_0x11bdb9){const _0xfa4348=_0x347938;return this[_0xfa4348(0x154)][_0xfa4348(0x11c)](e[_0xfa4348(0x132)])[_0xfa4348(0x148)](_0xd9e9a,_0x4afbbb,_0x11bdb9);}};t[_0x347938(0x134)][_0x347938(0x140)](u),Object[_0x347938(0x152)](exports,_0x347938(0x137),{'enumerable':!0x0,'get':function(){return l;}});