@univerjs-pro/collaboration-client 1.0.0-alpha.0 → 1.0.0-alpha.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 +13 -13
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x5336c5=_0x2a12;(function(_0x2b1f5e,_0x5ef170){const _0x83d91a=_0x2a12,_0x33aeec=_0x2b1f5e();while(!![]){try{const _0x3f166b=parseInt(_0x83d91a(0x1e2))/0x1*(-parseInt(_0x83d91a(0x1d6))/0x2)+parseInt(_0x83d91a(0x1ce))/0x3+parseInt(_0x83d91a(0x1d7))/0x4*(-parseInt(_0x83d91a(0x1c5))/0x5)+parseInt(_0x83d91a(0x1cb))/0x6+-parseInt(_0x83d91a(0x1d5))/0x7*(parseInt(_0x83d91a(0x1ea))/0x8)+-parseInt(_0x83d91a(0x1f5))/0x9+parseInt(_0x83d91a(0x1d1))/0xa*(parseInt(_0x83d91a(0x1df))/0xb);if(_0x3f166b===_0x5ef170)break;else _0x33aeec['push'](_0x33aeec['shift']());}catch(_0x27e8be){_0x33aeec['push'](_0x33aeec['shift']());}}}(_0x1810,0xadb5f));import{CollaborationController as _0x42f083,CollaborationStatus as _0x261e17,DataLoaderService as _0x382443,MemberService as _0x162476}from'@univerjs-pro/collaboration-client';import{FBase as _0x4fa887,FEnum as _0x55ad85,FEventName as _0x5ae43d,FUniver as _0x4c266a}from'@univerjs/core/facade';import{DisposableCollection as _0xaa38c,IUniverInstanceService as _0x2f92dc,Inject as _0x480ff5,Injector as _0x18114b,toDisposable as _0x278fff}from'@univerjs/core';import{SnapshotService as _0x51b064}from'@univerjs-pro/collaboration';import{switchMap as _0x19b790}from'rxjs';var h=class extends _0x55ad85{get[_0x5336c5(0x1ef)](){return _0x261e17;}};_0x55ad85[_0x5336c5(0x1dd)](h);var g=class extends _0x5ae43d{get['CollaborationStatusChanged'](){const _0x587b81=_0x5336c5;return _0x587b81(0x1c9);}};_0x5ae43d['extend'](g);function _(_0x1b4967,_0x1b8e4d){return function(_0x53a32a,_0x4b9628){_0x1b8e4d(_0x53a32a,_0x4b9628,_0x1b4967);};}function v(_0x346a50,_0x33e994,_0x135e91,_0x3962c0){const _0x263609=_0x5336c5;var _0x47a1f5=arguments[_0x263609(0x1c1)],_0x26527d=_0x47a1f5<0x3?_0x33e994:_0x3962c0===null?_0x3962c0=Object[_0x263609(0x1c6)](_0x33e994,_0x135e91):_0x3962c0,_0x23f6dc;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x263609(0x1ba))_0x26527d=Reflect[_0x263609(0x1d4)](_0x346a50,_0x33e994,_0x135e91,_0x3962c0);else{for(var _0x4b769a=_0x346a50[_0x263609(0x1c1)]-0x1;_0x4b769a>=0x0;_0x4b769a--)(_0x23f6dc=_0x346a50[_0x4b769a])&&(_0x26527d=(_0x47a1f5<0x3?_0x23f6dc(_0x26527d):_0x47a1f5>0x3?_0x23f6dc(_0x33e994,_0x135e91,_0x26527d):_0x23f6dc(_0x33e994,_0x135e91))||_0x26527d);}return _0x47a1f5>0x3&&_0x26527d&&Object[_0x263609(0x1c8)](_0x33e994,_0x135e91,_0x26527d),_0x26527d;}let y=class extends _0x4fa887{constructor(_0x4c01ca,_0x2b2c7c,_0x2ab56a,_0x4b1a44,_0x2df179){const _0x567643=_0x5336c5;super(),this['_handler']=_0x4c01ca,this[_0x567643(0x1e7)]=_0x2b2c7c,this[_0x567643(0x1e6)]=_0x2ab56a,this[_0x567643(0x1bf)]=_0x4b1a44,this['_collaborationController']=_0x2df179;}async[_0x5336c5(0x1de)](_0x2a454f,_0x5b7212){const _0x1781c9=_0x5336c5;return await this[_0x1781c9(0x1bf)][_0x1781c9(0x1bd)](_0x2a454f,0x0,_0x5b7212)?(await this[_0x1781c9(0x1e3)][_0x1781c9(0x1d0)](_0x2a454f),this[_0x1781c9(0x1f1)][_0x1781c9(0x1da)](_0x2a454f)):null;}async[_0x5336c5(0x1e4)](_0x19cd05,_0x43bedb){const _0x290c76=_0x5336c5;return await this[_0x290c76(0x1bf)][_0x290c76(0x1d2)](_0x19cd05,0x0,_0x43bedb)?(await this[_0x290c76(0x1e3)][_0x290c76(0x1d0)](_0x19cd05),this[_0x290c76(0x1f1)][_0x290c76(0x1f6)](_0x19cd05)):null;}async['loadBaseAsync'](_0x3da25b,_0x2e5ab1){const _0x60dc95=_0x5336c5;return await this[_0x60dc95(0x1bf)][_0x60dc95(0x1f3)](_0x3da25b,0x0,_0x2e5ab1)?(await this[_0x60dc95(0x1e3)][_0x60dc95(0x1d0)](_0x3da25b),this[_0x60dc95(0x1f1)]['getBase'](_0x3da25b)):null;}async[_0x5336c5(0x1c2)](_0xb676b4,_0x68df2e){const _0x3f4dc5=_0x5336c5;return await this[_0x3f4dc5(0x1bf)][_0x3f4dc5(0x1f4)](_0xb676b4,0x0,_0x68df2e)?(await this[_0x3f4dc5(0x1e3)][_0x3f4dc5(0x1d0)](_0xb676b4),this[_0x3f4dc5(0x1f1)][_0x3f4dc5(0x1e0)](_0xb676b4)):null;}[_0x5336c5(0x1cc)](_0x2fa2bf,_0x543682){const _0x405a4f=_0x5336c5;return _0x278fff(this[_0x405a4f(0x1e7)][_0x405a4f(0x1c7)](_0x162476)[_0x405a4f(0x1e8)](_0x2fa2bf)[_0x405a4f(0x1e1)](_0x19b790(_0x5e123a=>_0x5e123a['members$']))[_0x405a4f(0x1c0)](_0x3b616e=>_0x543682(Array['from'](_0x3b616e[_0x405a4f(0x1eb)]()))));}[_0x5336c5(0x1ca)](_0x5ebde8){const _0x3bd8ae=_0x5336c5;var _0xec70d1;let _0x48888e;if(_0x5ebde8)_0x48888e=_0x5ebde8;else{let _0x3cdc23=this['_univerInstanceService'][_0x3bd8ae(0x1f2)]();_0x48888e=_0x3cdc23==null?void 0x0:_0x3cdc23[_0x3bd8ae(0x1ed)]();}if(!_0x48888e)return _0x261e17[_0x3bd8ae(0x1be)];let _0x5ef77e=this[_0x3bd8ae(0x1e3)][_0x3bd8ae(0x1c3)](_0x48888e);return(_0xec70d1=_0x5ef77e==null?void 0x0:_0x5ef77e[_0x3bd8ae(0x1ec)][_0x3bd8ae(0x1ee)])==null?_0x261e17[_0x3bd8ae(0x1be)]:_0xec70d1;}};y=v([_(0x1,_0x480ff5(_0x18114b)),_(0x2,_0x2f92dc),_(0x3,_0x480ff5(_0x51b064)),_(0x4,_0x480ff5(_0x42f083))],y);function _0x2a12(_0x8d7bce,_0x49db62){_0x8d7bce=_0x8d7bce-0x1ba;const _0x181094=_0x1810();let _0x2a124e=_0x181094[_0x8d7bce];return _0x2a124e;}var b=class extends _0x4c266a{[_0x5336c5(0x1e9)](_0x16b8e0){const _0x225704=_0x5336c5;let _0x37adb5=_0x16b8e0[_0x225704(0x1c7)](_0x42f083);this[_0x225704(0x1db)](this[_0x225704(0x1cd)](this[_0x225704(0x1cf)][_0x225704(0x1c9)],()=>{const _0x561187=_0x225704;let _0x20bbc7=new _0xaa38c(),_0x56c9ba=_0x37adb5['entityInit$'][_0x561187(0x1c0)](_0x4d2c16=>{const _0x454769=_0x561187;let _0x2a9d95=_0x4d2c16[_0x454769(0x1c4)]['subscribe'](_0x16ea9f=>{const _0x1b56fa=_0x454769;let _0x5d045e={'unitId':_0x4d2c16['unitID'],'status':_0x16ea9f};this['fireEvent'](this['Event'][_0x1b56fa(0x1c9)],_0x5d045e);});_0x20bbc7[_0x454769(0x1d3)](_0x278fff(_0x2a9d95));});return _0x20bbc7[_0x561187(0x1d3)](_0x278fff(_0x56c9ba)),_0x20bbc7;}));}[_0x5336c5(0x1e5)](){const _0x1ae042=_0x5336c5;return this['_injector'][_0x1ae042(0x1dc)](y,{'getWorkbook':_0x37e84a=>this[_0x1ae042(0x1da)](_0x37e84a),'getDocument':_0x18af1e=>this[_0x1ae042(0x1f6)](_0x18af1e),'getPresentation':_0x36176c=>this[_0x1ae042(0x1e0)](_0x36176c),'getBase':_0x45da8c=>this[_0x1ae042(0x1d8)](_0x45da8c)});}[_0x5336c5(0x1f0)](_0x130c8e,_0x54e985,_0x4c390c){const _0x3dad4a=_0x5336c5;return this[_0x3dad4a(0x1e7)][_0x3dad4a(0x1c7)](_0x382443)[_0x3dad4a(0x1d9)](_0x130c8e,_0x54e985,_0x4c390c);}[_0x5336c5(0x1bc)](_0x4c8785,_0x37142a,_0x5d8467){const _0xdd7ad6=_0x5336c5;return this[_0xdd7ad6(0x1e7)][_0xdd7ad6(0x1c7)](_0x382443)[_0xdd7ad6(0x1bb)](_0x4c8785,_0x37142a,_0x5d8467);}};_0x4c266a[_0x5336c5(0x1dd)](b);export{y as FCollaboration};function _0x1810(){const _0x3165d2=['getPresentation','pipe','19727pVQhuZ','_collaborationController','loadDocAsync','getCollaboration','_univerInstanceService','_injector','waitForRoom$','_initialize','1514656IKLxSH','values','state','getUnitId','status','CollaborationStatus','loadServerUnit','_handler','getFocusedUnit','loadBase','loadSlide','1280070YUkhfg','getDocument','function','loadUnitOfRevision','loadServerUnitOfRevision','loadSheet','NOT_COLLAB','_snapshotService','subscribe','length','loadSlideAsync','getCollabEntity','status$','23965HuZpWA','getOwnPropertyDescriptor','get','defineProperty','CollaborationStatusChanged','getCollaborationStatus','105990ehsizV','subscribeCollaborators','registerEventHandler','3331608okxroL','Event','readyForCollab','72190HaIbKn','loadDoc','add','decorate','21yCtaBC','32DfpUpv','76orXYEm','getBase','loadUnit','getWorkbook','disposeWithMe','createInstance','extend','loadSheetAsync','1067TMmoyD'];_0x1810=function(){return _0x3165d2;};return _0x1810();}
1
+ const _0x535688=_0x32d8;(function(_0x1402b6,_0x2926d7){const _0x4c134d=_0x32d8,_0x1a7d1e=_0x1402b6();while(!![]){try{const _0x7d5b21=parseInt(_0x4c134d(0x146))/0x1+parseInt(_0x4c134d(0x15e))/0x2+parseInt(_0x4c134d(0x133))/0x3*(parseInt(_0x4c134d(0x15b))/0x4)+parseInt(_0x4c134d(0x145))/0x5+-parseInt(_0x4c134d(0x164))/0x6+-parseInt(_0x4c134d(0x138))/0x7+-parseInt(_0x4c134d(0x137))/0x8;if(_0x7d5b21===_0x2926d7)break;else _0x1a7d1e['push'](_0x1a7d1e['shift']());}catch(_0x3956d5){_0x1a7d1e['push'](_0x1a7d1e['shift']());}}}(_0x2ecd,0xa9ec4));import{CollaborationController as _0x57c2fa,CollaborationStatus as _0x466a7c,DataLoaderService as _0x3b99ae,MemberService as _0x8775a6}from'@univerjs-pro/collaboration-client';import{FBase as _0x1be2a3,FEnum as _0x24fe2e,FEventName as _0x4d53a3,FUniver as _0x41b409}from'@univerjs/core/facade';import{DisposableCollection as _0x5d55b0,IUniverInstanceService as _0x447d85,Inject as _0x557dd6,Injector as _0x3294ff,toDisposable as _0x330e8e}from'@univerjs/core';import{SnapshotService as _0x5d09fc}from'@univerjs-pro/collaboration';function _0x32d8(_0x580b71,_0x428fb1){_0x580b71=_0x580b71-0x12f;const _0x2ecd8a=_0x2ecd();let _0x32d870=_0x2ecd8a[_0x580b71];return _0x32d870;}import{switchMap as _0x54716c}from'rxjs';var h=class extends _0x24fe2e{get[_0x535688(0x15d)](){return _0x466a7c;}};_0x24fe2e[_0x535688(0x161)](h);var g=class extends _0x4d53a3{get[_0x535688(0x13d)](){const _0x2c6a42=_0x535688;return _0x2c6a42(0x13d);}};_0x4d53a3[_0x535688(0x161)](g);function _0x2ecd(){const _0x309892=['CollaborationStatus','2586416dpmJiv','getWorkbook','loadSheetAsync','extend','_handler','loadServerUnitOfRevision','706176tClWmO','readyForCollab','waitForRoom$','loadBase','loadUnit','getUnitId','3KhGrPy','values','defineProperty','status','12139424Wclfhg','8013082drXEPi','loadDocAsync','loadUnitOfRevision','add','_injector','CollaborationStatusChanged','subscribeCollaborators','loadSlide','_univerInstanceService','NOT_COLLAB','getBase','_collaborationController','status$','3629620jEuWVv','439277EBlBqi','decorate','registerEventHandler','from','state','getPresentation','subscribe','loadDoc','entityInit$','createInstance','pipe','getDocument','loadSheet','_initialize','getOwnPropertyDescriptor','getCollaboration','members$','unitID','_snapshotService','Event','get','4069780GQDdSA','length'];_0x2ecd=function(){return _0x309892;};return _0x2ecd();}function _(_0x579572,_0x1b8beb){return function(_0x527f45,_0xa56f44){_0x1b8beb(_0x527f45,_0xa56f44,_0x579572);};}function v(_0x223de4,_0x72dde8,_0xf7e1c6,_0x44871b){const _0x59109a=_0x535688;var _0x4a3437=arguments[_0x59109a(0x15c)],_0x32e5b7=_0x4a3437<0x3?_0x72dde8:_0x44871b===null?_0x44871b=Object[_0x59109a(0x154)](_0x72dde8,_0xf7e1c6):_0x44871b,_0x5c6f6f;if(typeof Reflect=='object'&&typeof Reflect[_0x59109a(0x147)]=='function')_0x32e5b7=Reflect[_0x59109a(0x147)](_0x223de4,_0x72dde8,_0xf7e1c6,_0x44871b);else{for(var _0x512109=_0x223de4[_0x59109a(0x15c)]-0x1;_0x512109>=0x0;_0x512109--)(_0x5c6f6f=_0x223de4[_0x512109])&&(_0x32e5b7=(_0x4a3437<0x3?_0x5c6f6f(_0x32e5b7):_0x4a3437>0x3?_0x5c6f6f(_0x72dde8,_0xf7e1c6,_0x32e5b7):_0x5c6f6f(_0x72dde8,_0xf7e1c6))||_0x32e5b7);}return _0x4a3437>0x3&&_0x32e5b7&&Object[_0x59109a(0x135)](_0x72dde8,_0xf7e1c6,_0x32e5b7),_0x32e5b7;}let y=class extends _0x1be2a3{constructor(_0x448ef,_0x50e545,_0x52df02,_0x4998c0,_0x14ec50){const _0x2a39d2=_0x535688;super(),this['_handler']=_0x448ef,this['_injector']=_0x50e545,this['_univerInstanceService']=_0x52df02,this[_0x2a39d2(0x158)]=_0x4998c0,this['_collaborationController']=_0x14ec50;}async[_0x535688(0x160)](_0x4e32d6,_0x2ab3b1){const _0x3672a7=_0x535688;return await this[_0x3672a7(0x158)][_0x3672a7(0x152)](_0x4e32d6,0x0,_0x2ab3b1)?(await this[_0x3672a7(0x143)][_0x3672a7(0x165)](_0x4e32d6),this['_handler'][_0x3672a7(0x15f)](_0x4e32d6)):null;}async[_0x535688(0x139)](_0x494075,_0x1c2729){const _0x31859b=_0x535688;return await this[_0x31859b(0x158)][_0x31859b(0x14d)](_0x494075,0x0,_0x1c2729)?(await this['_collaborationController'][_0x31859b(0x165)](_0x494075),this[_0x31859b(0x162)][_0x31859b(0x151)](_0x494075)):null;}async['loadBaseAsync'](_0x2eea37,_0x4ff339){const _0x432834=_0x535688;return await this[_0x432834(0x158)][_0x432834(0x130)](_0x2eea37,0x0,_0x4ff339)?(await this[_0x432834(0x143)][_0x432834(0x165)](_0x2eea37),this['_handler'][_0x432834(0x142)](_0x2eea37)):null;}async['loadSlideAsync'](_0x5dc69f,_0x4d3063){const _0xbdea46=_0x535688;return await this[_0xbdea46(0x158)][_0xbdea46(0x13f)](_0x5dc69f,0x0,_0x4d3063)?(await this[_0xbdea46(0x143)]['readyForCollab'](_0x5dc69f),this[_0xbdea46(0x162)][_0xbdea46(0x14b)](_0x5dc69f)):null;}[_0x535688(0x13e)](_0x4cb2bb,_0x2605cc){const _0x49e669=_0x535688;return _0x330e8e(this[_0x49e669(0x13c)]['get'](_0x8775a6)[_0x49e669(0x12f)](_0x4cb2bb)[_0x49e669(0x150)](_0x54716c(_0x479bfc=>_0x479bfc[_0x49e669(0x156)]))[_0x49e669(0x14c)](_0x538ceb=>_0x2605cc(Array[_0x49e669(0x149)](_0x538ceb[_0x49e669(0x134)]()))));}['getCollaborationStatus'](_0x469b56){const _0x396a3f=_0x535688;var _0x335df9;let _0x123630;if(_0x469b56)_0x123630=_0x469b56;else{let _0x500b38=this[_0x396a3f(0x140)]['getFocusedUnit']();_0x123630=_0x500b38==null?void 0x0:_0x500b38[_0x396a3f(0x132)]();}if(!_0x123630)return _0x466a7c[_0x396a3f(0x141)];let _0x3aeef9=this[_0x396a3f(0x143)]['getCollabEntity'](_0x123630);return(_0x335df9=_0x3aeef9==null?void 0x0:_0x3aeef9[_0x396a3f(0x14a)][_0x396a3f(0x136)])==null?_0x466a7c['NOT_COLLAB']:_0x335df9;}};y=v([_(0x1,_0x557dd6(_0x3294ff)),_(0x2,_0x447d85),_(0x3,_0x557dd6(_0x5d09fc)),_(0x4,_0x557dd6(_0x57c2fa))],y);var b=class extends _0x41b409{[_0x535688(0x153)](_0x38f34c){const _0x469339=_0x535688;let _0x41ada6=_0x38f34c['get'](_0x57c2fa);this['disposeWithMe'](this[_0x469339(0x148)](this[_0x469339(0x159)][_0x469339(0x13d)],()=>{const _0x30e43a=_0x469339;let _0x524dee=new _0x5d55b0(),_0x6ba074=_0x41ada6[_0x30e43a(0x14e)]['subscribe'](_0x51573b=>{const _0x3061f3=_0x30e43a;let _0x42a21e=_0x51573b[_0x3061f3(0x144)][_0x3061f3(0x14c)](_0x28e598=>{const _0x2465c5=_0x3061f3;let _0x19c6f7={'unitId':_0x51573b[_0x2465c5(0x157)],'status':_0x28e598};this['fireEvent'](this['Event']['CollaborationStatusChanged'],_0x19c6f7);});_0x524dee[_0x3061f3(0x13b)](_0x330e8e(_0x42a21e));});return _0x524dee[_0x30e43a(0x13b)](_0x330e8e(_0x6ba074)),_0x524dee;}));}[_0x535688(0x155)](){const _0x20b39b=_0x535688;return this[_0x20b39b(0x13c)][_0x20b39b(0x14f)](y,{'getWorkbook':_0x361d6a=>this[_0x20b39b(0x15f)](_0x361d6a),'getDocument':_0x4c2963=>this[_0x20b39b(0x151)](_0x4c2963),'getPresentation':_0x3c47b2=>this['getPresentation'](_0x3c47b2),'getBase':_0x1ac48f=>this[_0x20b39b(0x142)](_0x1ac48f)});}['loadServerUnit'](_0x2e5000,_0x4e4dbd,_0x53e99e){const _0x2c3715=_0x535688;return this[_0x2c3715(0x13c)][_0x2c3715(0x15a)](_0x3b99ae)[_0x2c3715(0x131)](_0x2e5000,_0x4e4dbd,_0x53e99e);}[_0x535688(0x163)](_0x5f6789,_0x3ecfc9,_0x4515c1){const _0x2bb056=_0x535688;return this[_0x2bb056(0x13c)][_0x2bb056(0x15a)](_0x3b99ae)[_0x2bb056(0x13a)](_0x5f6789,_0x3ecfc9,_0x4515c1);}};_0x41b409[_0x535688(0x161)](b);export{y as FCollaboration};