@univerjs-pro/collaboration-client 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 +15 -15
@@ -1 +1 @@
1
- const _0x55fe3e=_0x2e9c;(function(_0x54a528,_0x4fa53e){const _0x372d0d=_0x2e9c,_0x23c32b=_0x54a528();while(!![]){try{const _0x2b9d4d=-parseInt(_0x372d0d(0x1d7))/0x1+-parseInt(_0x372d0d(0x1e3))/0x2+parseInt(_0x372d0d(0x1e6))/0x3*(parseInt(_0x372d0d(0x1e7))/0x4)+parseInt(_0x372d0d(0x1e4))/0x5*(parseInt(_0x372d0d(0x1e8))/0x6)+parseInt(_0x372d0d(0x1db))/0x7*(-parseInt(_0x372d0d(0x1ea))/0x8)+parseInt(_0x372d0d(0x1de))/0x9+parseInt(_0x372d0d(0x1e5))/0xa*(parseInt(_0x372d0d(0x1e1))/0xb);if(_0x2b9d4d===_0x4fa53e)break;else _0x23c32b['push'](_0x23c32b['shift']());}catch(_0x23893f){_0x23c32b['push'](_0x23c32b['shift']());}}}(_0x5550,0xa4bfc));function _0x2e9c(_0x45d2e6,_0x53c183){_0x45d2e6=_0x45d2e6-0x1d6;const _0x5550b4=_0x5550();let _0x2e9c68=_0x5550b4[_0x45d2e6];return _0x2e9c68;}function _0x5550(){const _0x6ce197=['加入協作失敗,您的編輯將暫存於本機。','已同步','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','763sBFmFp','正在擷取伺服器資料...','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','1868904wPqzeK','協作文件數量超過限制,您的編輯將暫存於本機。','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','77wsqWbA','由於協作房間已關閉,編輯權限已被收回。','2572836HKKqzU','20izMcQe','4001990XESZmW','33366YIeFtR','36eqiFNU','620052JIGYvm','伺服器未回應協作請求,您的編輯將儲存在本機。','70104KwXVLz','點擊重新連線','協作衝突','本機檔案','認證錯誤','連線失敗,請檢查您的網路。','編輯衝突','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','606118cSRilw'];_0x5550=function(){return _0x6ce197;};return _0x5550();}const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x55fe3e(0x1eb)}},'collabStatus':{'fetchMiss':_0x55fe3e(0x1dc),'conflict':_0x55fe3e(0x1f0),'notCollab':_0x55fe3e(0x1ed),'synced':_0x55fe3e(0x1d9),'syncing':'同步中...','offline':'已離線,編輯將儲存在本機'},'session':{'connection-failed':_0x55fe3e(0x1ef),'will-retry':'連線失敗,將在稍後重試連線。','room-full':'此文件協作人數已達上限,您的編輯將暫存於本機。','join-failed':_0x55fe3e(0x1da),'room-not-exists':_0x55fe3e(0x1d8),'room-permission-denied':'沒有協作權限,您的編輯將暫存於本機。','room-cnt-exceeds':_0x55fe3e(0x1df),'collaboration-timeout':_0x55fe3e(0x1e9)},'conflict':{'title':_0x55fe3e(0x1ec),'content':_0x55fe3e(0x1d6)},'permission':{'title':_0x55fe3e(0x1ee),'content':'您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。'},'collaboration':{'single-unit':{'warning':_0x55fe3e(0x1e0)},'closeRoom':_0x55fe3e(0x1e2)},'auth':{'needGotoLoginAlert':_0x55fe3e(0x1dd)}}};export{e as default};
1
+ const _0x47cf02=_0x4882;function _0x2711(){const _0xf6a9ef=['同步中...','編輯衝突','加入協作失敗,您的編輯將暫存於本機。','13393630VWDkij','8150085cndmho','協作文件數量超過限制,您的編輯將暫存於本機。','1260936wObPyg','協作衝突','已離線,編輯將儲存在本機','連線失敗,將在稍後重試連線。','4qxTvQj','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','連線失敗,請檢查您的網路。','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','8447455sVDbyU','42vRsuYc','4hilIFe','沒有協作權限,您的編輯將暫存於本機。','653879Qpoeze','認證錯誤','正在擷取伺服器資料...','5998856qVEaSl','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','4683261igwXCg','由於協作房間已關閉,編輯權限已被收回。','加入協作失敗,請稍後重試,您的編輯將暫存於本機。'];_0x2711=function(){return _0xf6a9ef;};return _0x2711();}function _0x4882(_0x4eea93,_0x2a7876){_0x4eea93=_0x4eea93-0xb2;const _0x27114e=_0x2711();let _0x488297=_0x27114e[_0x4eea93];return _0x488297;}(function(_0x52f273,_0x2754a0){const _0xbb5d1f=_0x4882,_0x2eacd7=_0x52f273();while(!![]){try{const _0x285f2d=-parseInt(_0xbb5d1f(0xbc))/0x1*(parseInt(_0xbb5d1f(0xb3))/0x2)+parseInt(_0xbb5d1f(0xc1))/0x3*(parseInt(_0xbb5d1f(0xba))/0x4)+parseInt(_0xbb5d1f(0xb8))/0x5+parseInt(_0xbb5d1f(0xca))/0x6*(-parseInt(_0xbb5d1f(0xb9))/0x7)+parseInt(_0xbb5d1f(0xbf))/0x8+parseInt(_0xbb5d1f(0xc8))/0x9+-parseInt(_0xbb5d1f(0xc7))/0xa;if(_0x285f2d===_0x2754a0)break;else _0x2eacd7['push'](_0x2eacd7['shift']());}catch(_0x9acf2f){_0x2eacd7['push'](_0x2eacd7['shift']());}}}(_0x2711,0xf3a37));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x47cf02(0xbe),'conflict':_0x47cf02(0xc5),'notCollab':'本機檔案','synced':'已同步','syncing':_0x47cf02(0xc4),'offline':_0x47cf02(0xcc)},'session':{'connection-failed':_0x47cf02(0xb5),'will-retry':_0x47cf02(0xb2),'room-full':'此文件協作人數已達上限,您的編輯將暫存於本機。','join-failed':_0x47cf02(0xc3),'room-not-exists':_0x47cf02(0xc6),'room-permission-denied':_0x47cf02(0xbb),'room-cnt-exceeds':_0x47cf02(0xc9),'collaboration-timeout':'伺服器未回應協作請求,您的編輯將儲存在本機。'},'conflict':{'title':_0x47cf02(0xcb),'content':_0x47cf02(0xb4)},'permission':{'title':_0x47cf02(0xbd),'content':_0x47cf02(0xb7)},'collaboration':{'single-unit':{'warning':_0x47cf02(0xb6)},'closeRoom':_0x47cf02(0xc2)},'auth':{'needGotoLoginAlert':_0x47cf02(0xc0)}}};export{e as default};
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x4dea15,_0x1dd729){const _0x526174=_0x17b5,_0x37e073=_0x4dea15();while(!![]){try{const _0x35dab4=-parseInt(_0x526174(0x156))/0x1*(parseInt(_0x526174(0x146))/0x2)+-parseInt(_0x526174(0x17e))/0x3+-parseInt(_0x526174(0x11b))/0x4*(parseInt(_0x526174(0x17d))/0x5)+parseInt(_0x526174(0x14c))/0x6*(parseInt(_0x526174(0x169))/0x7)+-parseInt(_0x526174(0x13a))/0x8+parseInt(_0x526174(0x134))/0x9+parseInt(_0x526174(0x161))/0xa;if(_0x35dab4===_0x1dd729)break;else _0x37e073['push'](_0x37e073['shift']());}catch(_0x586608){_0x37e073['push'](_0x37e073['shift']());}}}(_0x19a3,0x55b0e),function(_0x18a468,_0x48014a){const _0x6476c1=_0x17b5;typeof exports==_0x6476c1(0x158)&&typeof module<'u'?_0x48014a(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('rxjs')):typeof define=='function'&&define['amd']?define([_0x6476c1(0x15a),_0x6476c1(0x122),'@univerjs/core/facade','@univerjs/core',_0x6476c1(0x16d)],_0x48014a):(_0x18a468=typeof globalThis<'u'?globalThis:_0x18a468||self,_0x48014a(_0x18a468['UniverProCollaborationClientFacade']={},_0x18a468[_0x6476c1(0x15f)],_0x18a468['UniverCoreFacade'],_0x18a468['UniverCore'],_0x18a468[_0x6476c1(0x16d)]));}(this,function(_0x1a9563,_0x3116ec,_0x5e3f0b,_0x55fa5b,_0x2a8999){const _0xd4bcc8=_0x17b5;Object[_0xd4bcc8(0x163)](_0x1a9563,Symbol[_0xd4bcc8(0x16b)],{'value':_0xd4bcc8(0x152)});var _0x314a94=class extends _0x5e3f0b[_0xd4bcc8(0x145)]{get[_0xd4bcc8(0x120)](){const _0xc53187=_0xd4bcc8;return _0x3116ec[_0xc53187(0x120)];}};_0x5e3f0b[_0xd4bcc8(0x145)][_0xd4bcc8(0x129)](_0x314a94);var _0x2ce332=class extends _0x5e3f0b[_0xd4bcc8(0x173)]{get[_0xd4bcc8(0x12a)](){const _0x54cd5b=_0xd4bcc8;return _0x54cd5b(0x12a);}get[_0xd4bcc8(0x136)](){const _0x3588a1=_0xd4bcc8;return _0x3588a1(0x136);}get['CollaborationChangesetResend'](){return'CollaborationChangesetResend';}};_0x5e3f0b[_0xd4bcc8(0x173)][_0xd4bcc8(0x129)](_0x2ce332);function _0x220f8c(_0x29a0d6,_0x26b32d){return function(_0x4d920c,_0x2aea01){_0x26b32d(_0x4d920c,_0x2aea01,_0x29a0d6);};}function _0x17ce5a(_0x46b383,_0x159458,_0x2f0cc6,_0x9bacaa){const _0x3ce176=_0xd4bcc8;var _0x6e5590=arguments['length'],_0x9188de=_0x6e5590<0x3?_0x159458:_0x9bacaa===null?_0x9bacaa=Object['getOwnPropertyDescriptor'](_0x159458,_0x2f0cc6):_0x9bacaa,_0x52ab3c;if(typeof Reflect==_0x3ce176(0x158)&&typeof Reflect[_0x3ce176(0x177)]==_0x3ce176(0x125))_0x9188de=Reflect[_0x3ce176(0x177)](_0x46b383,_0x159458,_0x2f0cc6,_0x9bacaa);else{for(var _0x3c49fd=_0x46b383[_0x3ce176(0x119)]-0x1;_0x3c49fd>=0x0;_0x3c49fd--)(_0x52ab3c=_0x46b383[_0x3c49fd])&&(_0x9188de=(_0x6e5590<0x3?_0x52ab3c(_0x9188de):_0x6e5590>0x3?_0x52ab3c(_0x159458,_0x2f0cc6,_0x9188de):_0x52ab3c(_0x159458,_0x2f0cc6))||_0x9188de);}return _0x6e5590>0x3&&_0x9188de&&Object[_0x3ce176(0x163)](_0x159458,_0x2f0cc6,_0x9188de),_0x9188de;}let _0x28a77d=class extends _0x5e3f0b[_0xd4bcc8(0x15d)]{constructor(_0x19fde2,_0x4710fd,_0xa70455,_0x287eec,_0x3b28f9){const _0x3386b6=_0xd4bcc8;super(),this['_handler']=_0x19fde2,this['_injector']=_0x4710fd,this['_univerInstanceService']=_0xa70455,this[_0x3386b6(0x166)]=_0x287eec,this[_0x3386b6(0x118)]=_0x3b28f9;}async[_0xd4bcc8(0x153)](_0x3c6171,_0x2995ba){const _0x109500=_0xd4bcc8;return await this[_0x109500(0x166)][_0x109500(0x12b)](_0x3c6171,_0x55fa5b[_0x109500(0x179)]['UNIVER_SHEET'],void 0x0,_0x2995ba)?(await this[_0x109500(0x118)][_0x109500(0x116)](_0x3c6171),this['_handler'][_0x109500(0x117)](_0x3c6171)):null;}async['loadDocAsync'](_0x3bea64,_0x3f0e8a){const _0x20fd6c=_0xd4bcc8;return await this[_0x20fd6c(0x166)]['loadUnit'](_0x3bea64,_0x55fa5b[_0x20fd6c(0x179)]['UNIVER_DOC'],void 0x0,_0x3f0e8a)?(await this[_0x20fd6c(0x118)][_0x20fd6c(0x116)](_0x3bea64),this['_handler']['getDocument'](_0x3bea64)):null;}async[_0xd4bcc8(0x17c)](_0x3d227c,_0x153c7b){const _0x5765cd=_0xd4bcc8;return await this[_0x5765cd(0x166)][_0x5765cd(0x12b)](_0x3d227c,_0x55fa5b[_0x5765cd(0x179)]['UNIVER_BASE'],void 0x0,_0x153c7b)?(await this[_0x5765cd(0x118)]['readyForCollab'](_0x3d227c),this[_0x5765cd(0x149)]['getBase'](_0x3d227c)):null;}async[_0xd4bcc8(0x13d)](_0x5950a0,_0x4028c6){const _0x22f484=_0xd4bcc8;return await this[_0x22f484(0x166)][_0x22f484(0x12b)](_0x5950a0,_0x55fa5b[_0x22f484(0x179)][_0x22f484(0x114)],void 0x0,_0x4028c6)?(await this[_0x22f484(0x118)][_0x22f484(0x116)](_0x5950a0),this[_0x22f484(0x149)][_0x22f484(0x14e)](_0x5950a0)):null;}async[_0xd4bcc8(0x11c)](_0x5a5ae8,_0x43ddc4){const _0x45761a=_0xd4bcc8;return await this[_0x45761a(0x166)]['loadUnit'](_0x5a5ae8,_0x55fa5b[_0x45761a(0x179)][_0x45761a(0x13f)],void 0x0,_0x43ddc4)?(await this[_0x45761a(0x118)][_0x45761a(0x116)](_0x5a5ae8),this[_0x45761a(0x149)][_0x45761a(0x144)](_0x5a5ae8)):null;}async[_0xd4bcc8(0x13e)](_0x15b94b,_0x198d72){const _0x546a57=_0xd4bcc8;return await this[_0x546a57(0x166)][_0x546a57(0x12b)](_0x15b94b,_0x55fa5b['UniverInstanceType']['UNIVER_PDF'],void 0x0,_0x198d72)?(await this[_0x546a57(0x118)][_0x546a57(0x116)](_0x15b94b),this[_0x546a57(0x149)][_0x546a57(0x150)](_0x15b94b)):null;}['subscribeCollaborators'](_0x225588,_0x2e6565){const _0x2e3574=_0xd4bcc8;let _0x133829=this[_0x2e3574(0x154)]['get'](_0x3116ec[_0x2e3574(0x137)])[_0x2e3574(0x124)](_0x225588)['pipe']((0x0,_0x2a8999[_0x2e3574(0x176)])(_0x4dee46=>_0x4dee46[_0x2e3574(0x135)]))[_0x2e3574(0x131)](_0x1a9740=>_0x2e6565(Array[_0x2e3574(0x171)](_0x1a9740[_0x2e3574(0x130)]())));return(0x0,_0x55fa5b[_0x2e3574(0x14a)])(_0x133829);}[_0xd4bcc8(0x16f)](_0x4e44ff){const _0x96535f=_0xd4bcc8;let _0x668ff2=this[_0x96535f(0x172)](_0x4e44ff);if(!_0x668ff2)return _0x3116ec[_0x96535f(0x120)][_0x96535f(0x143)];let _0x5e03e3=this[_0x96535f(0x118)][_0x96535f(0x140)](_0x668ff2);return(_0x5e03e3==null?void 0x0:_0x5e03e3[_0x96535f(0x164)]['status'])??_0x3116ec['CollaborationStatus'][_0x96535f(0x143)];}[_0xd4bcc8(0x15c)](_0xcf3a44){const _0xcfc81=_0xd4bcc8;let _0x463dae=this['_resolveUnitId'](_0xcf3a44);return _0x463dae?this[_0xcfc81(0x118)][_0xcfc81(0x15c)](_0x463dae):!0x1;}['flush'](_0x278cbf,_0x582ef0={}){const _0x5ae3d=_0xd4bcc8;let _0x555323=this['_resolveUnitId'](_0x278cbf);if(!_0x555323)return Promise['reject'](Error(_0x5ae3d(0x14b)));let _0x1756fd=this['_collaborationController'][_0x5ae3d(0x140)](_0x555323);if(!_0x1756fd)return Promise['reject'](Error(_0x5ae3d(0x178)+_0x555323+_0x5ae3d(0x13c)));let _0x33e6d3=_0x1756fd['state'][_0x5ae3d(0x147)];if(_0x33e6d3===_0x3116ec[_0x5ae3d(0x120)][_0x5ae3d(0x175)])return Promise[_0x5ae3d(0x115)]();let _0x194710=_0x1e70c3(_0x555323,_0x33e6d3);if(_0x194710)return Promise[_0x5ae3d(0x162)](_0x194710);let _0x39194d=_0x582ef0[_0x5ae3d(0x15e)]??0x7530;return new Promise((_0x3e0e34,_0x1abdda)=>{const _0x2ec7f3=_0x5ae3d;let _0x4956f4=!0x1,_0x191433=null,_0x12fdba=setTimeout(()=>{const _0x142acd=_0x17b5;_0x4956f4=!0x0,_0x191433==null||_0x191433[_0x142acd(0x15b)](),_0x1abdda(Error(_0x142acd(0x123)+_0x555323+_0x142acd(0x128)+_0x39194d+_0x142acd(0x16e)));},_0x39194d),_0x21c305=()=>{const _0x2a75cb=_0x17b5;_0x4956f4=!0x0,clearTimeout(_0x12fdba),_0x191433==null||_0x191433[_0x2a75cb(0x15b)]();};_0x191433=_0x1756fd['status$'][_0x2ec7f3(0x131)](_0x40fb6f=>{const _0x3e56d7=_0x2ec7f3;if(_0x4956f4)return;if(_0x40fb6f===_0x3116ec['CollaborationStatus'][_0x3e56d7(0x175)]){_0x21c305(),_0x3e0e34();return;}let _0x4fe745=_0x1e70c3(_0x555323,_0x40fb6f);_0x4fe745&&(_0x21c305(),_0x1abdda(_0x4fe745));});});}['_resolveUnitId'](_0x2b8153){const _0x5c5853=_0xd4bcc8;var _0x4edef5;return _0x2b8153||((_0x4edef5=this[_0x5c5853(0x12f)][_0x5c5853(0x17b)]())==null?void 0x0:_0x4edef5['getUnitId']());}};_0x28a77d=_0x17ce5a([_0x220f8c(0x1,(0x0,_0x55fa5b[_0xd4bcc8(0x11f)])(_0x55fa5b['Injector'])),_0x220f8c(0x2,_0x55fa5b[_0xd4bcc8(0x132)]),_0x220f8c(0x3,(0x0,_0x55fa5b[_0xd4bcc8(0x11f)])(_0x3116ec[_0xd4bcc8(0x165)])),_0x220f8c(0x4,(0x0,_0x55fa5b[_0xd4bcc8(0x11f)])(_0x3116ec[_0xd4bcc8(0x160)]))],_0x28a77d);function _0x1e70c3(_0x5564cd,_0x404c56){const _0x452281=_0xd4bcc8;return _0x404c56===_0x3116ec[_0x452281(0x120)]['CONFLICT']||_0x404c56===_0x3116ec[_0x452281(0x120)]['NOT_COLLAB']?Error(_0x452281(0x159)+_0x5564cd+_0x452281(0x11d)+_0x404c56+'.'):null;}var _0x241c5c=class extends _0x5e3f0b[_0xd4bcc8(0x126)]{[_0xd4bcc8(0x11a)](_0x22e9c0){const _0x2a2148=_0xd4bcc8;let _0x468f25=_0x22e9c0['get'](_0x3116ec['CollaborationController']);this[_0x2a2148(0x16a)](this[_0x2a2148(0x168)](this[_0x2a2148(0x139)]['CollaborationStatusChanged'],()=>{const _0x558c1c=_0x2a2148;let _0xcda015=new _0x55fa5b[(_0x558c1c(0x11e))](),_0x50cf07=_0x592e74=>{const _0x222eb8=_0x558c1c;let _0x2de0ee=_0x592e74['status$'][_0x222eb8(0x127)]((0x0,_0x2a8999[_0x222eb8(0x12c)])())[_0x222eb8(0x131)](_0x2aebf5=>{const _0x4cfaf4=_0x222eb8;let _0x2b3f4a={'unitId':_0x592e74['unitID'],'status':_0x2aebf5};this[_0x4cfaf4(0x121)](this[_0x4cfaf4(0x139)][_0x4cfaf4(0x12a)],_0x2b3f4a);});_0xcda015[_0x222eb8(0x141)]((0x0,_0x55fa5b['toDisposable'])(_0x2de0ee));};return _0x468f25[_0x558c1c(0x142)]()['forEach'](_0x50cf07),_0xcda015[_0x558c1c(0x141)]((0x0,_0x55fa5b[_0x558c1c(0x14a)])(_0x468f25[_0x558c1c(0x148)]['subscribe'](_0x50cf07))),_0xcda015;})),this['disposeWithMe'](this[_0x2a2148(0x168)](this[_0x2a2148(0x139)][_0x2a2148(0x136)],()=>{const _0xaee031=_0x2a2148;let _0x315571=new _0x55fa5b[(_0xaee031(0x11e))](),_0x125f40=_0x3b545f=>{const _0x59ed7d=_0xaee031;let _0x431c8a=_0x3b545f[_0x59ed7d(0x113)][_0x59ed7d(0x131)](_0x42c4e6=>{const _0x468e09=_0x59ed7d;let _0x48b804={'unitId':_0x42c4e6['unitID'],'reason':_0x42c4e6[_0x468e09(0x12d)],'message':_0x42c4e6[_0x468e09(0x12e)],'revert':_0x42c4e6[_0x468e09(0x13b)],'localChanges':_0x42c4e6['localChanges'],'cacheCleared':_0x42c4e6[_0x468e09(0x151)]};this[_0x468e09(0x121)](this[_0x468e09(0x139)][_0x468e09(0x136)],_0x48b804);});_0x315571[_0x59ed7d(0x141)]((0x0,_0x55fa5b[_0x59ed7d(0x14a)])(_0x431c8a));};return _0x468f25[_0xaee031(0x142)]()[_0xaee031(0x17a)](_0x125f40),_0x315571[_0xaee031(0x141)]((0x0,_0x55fa5b[_0xaee031(0x14a)])(_0x468f25[_0xaee031(0x148)][_0xaee031(0x131)](_0x125f40))),_0x315571;})),this[_0x2a2148(0x16a)](this['registerEventHandler'](this['Event'][_0x2a2148(0x170)],()=>{const _0x4f85de=_0x2a2148;let _0x93cc98=new _0x55fa5b['DisposableCollection'](),_0x40a7a8=_0x35be12=>{const _0x51b77c=_0x17b5;let _0x450ee1=_0x35be12[_0x51b77c(0x174)][_0x51b77c(0x131)](_0x8e30c0=>{const _0x404084=_0x51b77c;let _0x223c5c={'unitId':_0x8e30c0['unitID'],'reqId':_0x8e30c0['reqId'],'reason':_0x8e30c0[_0x404084(0x12d)],'attempt':_0x8e30c0[_0x404084(0x14f)],'elapsedMs':_0x8e30c0['elapsedMs'],'unsyncedMutationCount':_0x8e30c0['unsyncedMutationCount'],'nextDelayMs':_0x8e30c0[_0x404084(0x14d)]};this[_0x404084(0x121)](this[_0x404084(0x139)][_0x404084(0x170)],_0x223c5c);});_0x93cc98['add']((0x0,_0x55fa5b[_0x51b77c(0x14a)])(_0x450ee1));};return _0x468f25[_0x4f85de(0x142)]()[_0x4f85de(0x17a)](_0x40a7a8),_0x93cc98[_0x4f85de(0x141)]((0x0,_0x55fa5b[_0x4f85de(0x14a)])(_0x468f25[_0x4f85de(0x148)][_0x4f85de(0x131)](_0x40a7a8))),_0x93cc98;}));}['getCollaboration'](){const _0x24ce85=_0xd4bcc8;return this[_0x24ce85(0x154)]['createInstance'](_0x28a77d,{'getWorkbook':_0x3708cc=>this[_0x24ce85(0x117)](_0x3708cc),'getDocument':_0xa6f3b6=>this[_0x24ce85(0x167)](_0xa6f3b6),'getPresentation':_0x577d4a=>this[_0x24ce85(0x14e)](_0x577d4a),'getBase':_0x2f7823=>this[_0x24ce85(0x138)](_0x2f7823),'getBoard':_0xf6e3c0=>this['getBoard'](_0xf6e3c0),'getPdf':_0x527a8d=>this[_0x24ce85(0x150)](_0x527a8d)});}['loadServerUnit'](_0x8e08d4,_0x22c835,_0x5abb42){const _0x5483b2=_0xd4bcc8;return this[_0x5483b2(0x154)][_0x5483b2(0x133)](_0x3116ec[_0x5483b2(0x165)])[_0x5483b2(0x12b)](_0x8e08d4,_0x22c835,_0x5abb42);}[_0xd4bcc8(0x155)](_0x481147,_0x26a3ae,_0x1e120a){const _0x3d7461=_0xd4bcc8;return this[_0x3d7461(0x154)]['get'](_0x3116ec['DataLoaderService'])[_0x3d7461(0x16c)](_0x481147,_0x26a3ae,_0x1e120a);}};_0x5e3f0b[_0xd4bcc8(0x126)]['extend'](_0x241c5c),Object[_0xd4bcc8(0x163)](_0x1a9563,_0xd4bcc8(0x157),{'enumerable':!0x0,'get':function(){return _0x28a77d;}});}));function _0x17b5(_0x3d5e8c,_0x250a0f){_0x3d5e8c=_0x3d5e8c-0x113;const _0x19a30b=_0x19a3();let _0x17b595=_0x19a30b[_0x3d5e8c];return _0x17b595;}function _0x19a3(){const _0x360373=['getCollaborationStatus','CollaborationChangesetResend','from','_resolveUnitId','FEventName','changesetResend$','SYNCED','switchMap','decorate','[FCollaboration]:\x20Unit\x20\x22','UniverInstanceType','forEach','getFocusedUnit','loadBaseAsync','320DRxyVC','726015QxkKrt','conflict$','UNIVER_SLIDE','resolve','readyForCollab','getWorkbook','_collaborationController','length','_initialize','1368CZsQvv','loadBoardAsync','\x22\x20while\x20collaboration\x20status\x20is\x20','DisposableCollection','Inject','CollaborationStatus','fireEvent','@univerjs-pro/collaboration-client','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','waitForRoom$','function','FUniver','pipe','\x22\x20after\x20','extend','CollaborationStatusChanged','loadUnit','distinctUntilChanged','reason','message','_univerInstanceService','values','subscribe','IUniverInstanceService','get','142416iJaXxX','members$','CollaborationConflict','MemberService','getBase','Event','4406840nGtmaT','revert','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','loadSlideAsync','loadPdfAsync','UNIVER_BOARD','getCollabEntity','add','getCollabEntities','NOT_COLLAB','getBoard','FEnum','836810lVAAwy','status','entityInit$','_handler','toDisposable','[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.','71586iJvTFm','nextDelayMs','getPresentation','attempt','getPdf','cacheCleared','Module','loadSheetAsync','_injector','loadServerUnitOfRevision','1pXFQRn','FCollaboration','object','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','exports','unsubscribe','hasWritePending','FBase','timeout','UniverProCollaborationClient','CollaborationController','15325260NVTwJn','reject','defineProperty','state','DataLoaderService','_dataLoaderService','getDocument','registerEventHandler','21uCdMZg','disposeWithMe','toStringTag','loadUnitOfRevision','rxjs','ms.'];_0x19a3=function(){return _0x360373;};return _0x19a3();}
1
+ function _0xc5ff(_0x423174,_0x3d56e1){_0x423174=_0x423174-0x81;const _0x3593c1=_0x3593();let _0xc5ff9a=_0x3593c1[_0x423174];return _0xc5ff9a;}function _0x3593(){const _0x568ca0=['reqId','15430zbYHwa','_injector','NOT_COLLAB','forEach','getDocument','UniverCoreFacade','conflict$','amd','subscribe','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','extend','UniverCore','waitForRoom$','18kaxEhs','registerEventHandler','hasWritePending','getUnitId','FCollaboration','state','UniverProCollaborationClient','CONFLICT','unitID','reject','368xKYxkA','subscribeCollaborators','DisposableCollection','unsubscribe','getCollaborationStatus','cacheCleared','loadPdfAsync','4231098QdIRAo','pipe','switchMap','21802dQmKRO','toDisposable','flush','timeout','_handler','getFocusedUnit','DataLoaderService','\x22\x20after\x20','@univerjs-pro/collaboration-client','6252688HwdNEa','resolve','_dataLoaderService','CollaborationController','decorate','fireEvent','loadBaseAsync','MemberService','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','UNIVER_BASE','createInstance','Injector','getPdf','_univerInstanceService','disposeWithMe','FEventName','readyForCollab','status','getCollaboration','loadSheetAsync','getOwnPropertyDescriptor','length','getCollabEntities','_collaborationController','loadBoardAsync','UNIVER_SHEET','16FJritn','distinctUntilChanged','2432151GYlZir','1711360CCUOSb','@univerjs/core','Event','4355lcdlfB','CollaborationStatus','CollaborationChangesetResend','values','SYNCED','CollaborationStatusChanged','_initialize','defineProperty','loadSlideAsync','Inject','getPresentation','getBoard','UNIVER_SLIDE','getWorkbook','FEnum','from','changesetResend$','add','Module','loadUnit','getBase','entityInit$','loadServerUnitOfRevision','CollaborationConflict','IUniverInstanceService','UniverInstanceType','_resolveUnitId','rxjs','[FCollaboration]:\x20Unit\x20\x22','reason','UNIVER_BOARD','8793820NQXvOU','getCollabEntity','get','FUniver','function','object','status$','loadUnitOfRevision'];_0x3593=function(){return _0x568ca0;};return _0x3593();}(function(_0x308660,_0x144786){const _0x698089=_0xc5ff,_0x479bb6=_0x308660();while(!![]){try{const _0xacbd2=parseInt(_0x698089(0xb2))/0x1*(parseInt(_0x698089(0xf1))/0x2)+parseInt(_0x698089(0x86))/0x3+-parseInt(_0x698089(0x92))/0x4+parseInt(_0x698089(0xaf))/0x5*(-parseInt(_0x698089(0xe7))/0x6)+-parseInt(_0x698089(0xd1))/0x7+parseInt(_0x698089(0xac))/0x8*(-parseInt(_0x698089(0xae))/0x9)+parseInt(_0x698089(0xda))/0xa*(parseInt(_0x698089(0x89))/0xb);if(_0xacbd2===_0x144786)break;else _0x479bb6['push'](_0x479bb6['shift']());}catch(_0x25d723){_0x479bb6['push'](_0x479bb6['shift']());}}}(_0x3593,0xd79f2),function(_0xeff011,_0x54116c){const _0x363af9=_0xc5ff;typeof exports==_0x363af9(0xd6)&&typeof module<'u'?_0x54116c(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('rxjs')):typeof define==_0x363af9(0xd5)&&define[_0x363af9(0xe1)]?define(['exports',_0x363af9(0x91),'@univerjs/core/facade',_0x363af9(0xb0),_0x363af9(0xcd)],_0x54116c):(_0xeff011=typeof globalThis<'u'?globalThis:_0xeff011||self,_0x54116c(_0xeff011['UniverProCollaborationClientFacade']={},_0xeff011[_0x363af9(0xed)],_0xeff011[_0x363af9(0xdf)],_0xeff011[_0x363af9(0xe5)],_0xeff011[_0x363af9(0xcd)]));}(this,function(_0x102256,_0x5f35f2,_0x44fb20,_0x42f323,_0x3e105b){const _0x3ef1bf=_0xc5ff;Object[_0x3ef1bf(0xb9)](_0x102256,Symbol['toStringTag'],{'value':_0x3ef1bf(0xc4)});var _0x499f19=class extends _0x44fb20[_0x3ef1bf(0xc0)]{get['CollaborationStatus'](){const _0x55539b=_0x3ef1bf;return _0x5f35f2[_0x55539b(0xb3)];}};_0x44fb20[_0x3ef1bf(0xc0)]['extend'](_0x499f19);var _0x4aaf93=class extends _0x44fb20[_0x3ef1bf(0xa1)]{get['CollaborationStatusChanged'](){const _0x437825=_0x3ef1bf;return _0x437825(0xb7);}get[_0x3ef1bf(0xc9)](){const _0x571e53=_0x3ef1bf;return _0x571e53(0xc9);}get[_0x3ef1bf(0xb4)](){const _0x470799=_0x3ef1bf;return _0x470799(0xb4);}};_0x44fb20[_0x3ef1bf(0xa1)][_0x3ef1bf(0xe4)](_0x4aaf93);function _0x26cbd2(_0x4c4c60,_0x2ec554){return function(_0x133d4d,_0x50a2f7){_0x2ec554(_0x133d4d,_0x50a2f7,_0x4c4c60);};}function _0x48c2d3(_0xd4a2b3,_0x530521,_0xf4794f,_0x394197){const _0x6d3329=_0x3ef1bf;var _0x946218=arguments[_0x6d3329(0xa7)],_0x4009f6=_0x946218<0x3?_0x530521:_0x394197===null?_0x394197=Object[_0x6d3329(0xa6)](_0x530521,_0xf4794f):_0x394197,_0x538db2;if(typeof Reflect==_0x6d3329(0xd6)&&typeof Reflect[_0x6d3329(0x96)]=='function')_0x4009f6=Reflect[_0x6d3329(0x96)](_0xd4a2b3,_0x530521,_0xf4794f,_0x394197);else{for(var _0x5345bd=_0xd4a2b3[_0x6d3329(0xa7)]-0x1;_0x5345bd>=0x0;_0x5345bd--)(_0x538db2=_0xd4a2b3[_0x5345bd])&&(_0x4009f6=(_0x946218<0x3?_0x538db2(_0x4009f6):_0x946218>0x3?_0x538db2(_0x530521,_0xf4794f,_0x4009f6):_0x538db2(_0x530521,_0xf4794f))||_0x4009f6);}return _0x946218>0x3&&_0x4009f6&&Object['defineProperty'](_0x530521,_0xf4794f,_0x4009f6),_0x4009f6;}let _0xdf49f3=class extends _0x44fb20['FBase']{constructor(_0x134e88,_0x26665b,_0x2ace45,_0x25d049,_0x197ac9){const _0x2c130d=_0x3ef1bf;super(),this[_0x2c130d(0x8d)]=_0x134e88,this['_injector']=_0x26665b,this[_0x2c130d(0x9f)]=_0x2ace45,this[_0x2c130d(0x94)]=_0x25d049,this[_0x2c130d(0xa9)]=_0x197ac9;}async[_0x3ef1bf(0xa5)](_0x4f8d49,_0xe26abb){const _0x481edd=_0x3ef1bf;return await this[_0x481edd(0x94)]['loadUnit'](_0x4f8d49,_0x42f323['UniverInstanceType'][_0x481edd(0xab)],void 0x0,_0xe26abb)?(await this[_0x481edd(0xa9)]['readyForCollab'](_0x4f8d49),this['_handler'][_0x481edd(0xbf)](_0x4f8d49)):null;}async['loadDocAsync'](_0x415997,_0x2dded0){const _0x3b3298=_0x3ef1bf;return await this[_0x3b3298(0x94)][_0x3b3298(0xc5)](_0x415997,_0x42f323[_0x3b3298(0xcb)]['UNIVER_DOC'],void 0x0,_0x2dded0)?(await this[_0x3b3298(0xa9)]['readyForCollab'](_0x415997),this[_0x3b3298(0x8d)][_0x3b3298(0xde)](_0x415997)):null;}async[_0x3ef1bf(0x98)](_0x5139ee,_0x40a39b){const _0x3bfd32=_0x3ef1bf;return await this[_0x3bfd32(0x94)]['loadUnit'](_0x5139ee,_0x42f323[_0x3bfd32(0xcb)][_0x3bfd32(0x9b)],void 0x0,_0x40a39b)?(await this[_0x3bfd32(0xa9)][_0x3bfd32(0xa2)](_0x5139ee),this[_0x3bfd32(0x8d)][_0x3bfd32(0xc6)](_0x5139ee)):null;}async[_0x3ef1bf(0xba)](_0x5e90e5,_0x41ae3d){const _0x26a07d=_0x3ef1bf;return await this[_0x26a07d(0x94)]['loadUnit'](_0x5e90e5,_0x42f323[_0x26a07d(0xcb)][_0x26a07d(0xbe)],void 0x0,_0x41ae3d)?(await this['_collaborationController'][_0x26a07d(0xa2)](_0x5e90e5),this['_handler']['getPresentation'](_0x5e90e5)):null;}async[_0x3ef1bf(0xaa)](_0x4b68af,_0x1e5838){const _0x1c764a=_0x3ef1bf;return await this[_0x1c764a(0x94)]['loadUnit'](_0x4b68af,_0x42f323[_0x1c764a(0xcb)][_0x1c764a(0xd0)],void 0x0,_0x1e5838)?(await this['_collaborationController'][_0x1c764a(0xa2)](_0x4b68af),this[_0x1c764a(0x8d)]['getBoard'](_0x4b68af)):null;}async[_0x3ef1bf(0x85)](_0x43f94a,_0x7624f0){const _0x41b729=_0x3ef1bf;return await this[_0x41b729(0x94)]['loadUnit'](_0x43f94a,_0x42f323[_0x41b729(0xcb)]['UNIVER_PDF'],void 0x0,_0x7624f0)?(await this[_0x41b729(0xa9)]['readyForCollab'](_0x43f94a),this[_0x41b729(0x8d)][_0x41b729(0x9e)](_0x43f94a)):null;}[_0x3ef1bf(0xf2)](_0x5c6ccd,_0x75887a){const _0x2d5af3=_0x3ef1bf;let _0x141776=this[_0x2d5af3(0xdb)][_0x2d5af3(0xd3)](_0x5f35f2[_0x2d5af3(0x99)])[_0x2d5af3(0xe6)](_0x5c6ccd)[_0x2d5af3(0x87)]((0x0,_0x3e105b[_0x2d5af3(0x88)])(_0x4181cc=>_0x4181cc['members$']))[_0x2d5af3(0xe2)](_0x1d7922=>_0x75887a(Array[_0x2d5af3(0xc1)](_0x1d7922[_0x2d5af3(0xb5)]())));return(0x0,_0x42f323[_0x2d5af3(0x8a)])(_0x141776);}[_0x3ef1bf(0x83)](_0x5a437b){const _0x39ce00=_0x3ef1bf;let _0x1d82d1=this[_0x39ce00(0xcc)](_0x5a437b);if(!_0x1d82d1)return _0x5f35f2[_0x39ce00(0xb3)]['NOT_COLLAB'];let _0x47b01c=this[_0x39ce00(0xa9)][_0x39ce00(0xd2)](_0x1d82d1);return(_0x47b01c==null?void 0x0:_0x47b01c[_0x39ce00(0xec)]['status'])??_0x5f35f2['CollaborationStatus'][_0x39ce00(0xdc)];}[_0x3ef1bf(0xe9)](_0x4bb8be){const _0xe02553=_0x3ef1bf;let _0x3336ea=this['_resolveUnitId'](_0x4bb8be);return _0x3336ea?this['_collaborationController'][_0xe02553(0xe9)](_0x3336ea):!0x1;}[_0x3ef1bf(0x8b)](_0x4bdaea,_0x38841a={}){const _0x2e4ba8=_0x3ef1bf;let _0x52f94e=this['_resolveUnitId'](_0x4bdaea);if(!_0x52f94e)return Promise[_0x2e4ba8(0xf0)](Error('[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.'));let _0x487ca0=this['_collaborationController'][_0x2e4ba8(0xd2)](_0x52f94e);if(!_0x487ca0)return Promise[_0x2e4ba8(0xf0)](Error(_0x2e4ba8(0xce)+_0x52f94e+_0x2e4ba8(0xe3)));let _0x11239a=_0x487ca0[_0x2e4ba8(0xec)][_0x2e4ba8(0xa3)];if(_0x11239a===_0x5f35f2[_0x2e4ba8(0xb3)][_0x2e4ba8(0xb6)])return Promise[_0x2e4ba8(0x93)]();let _0x5d94cb=_0x3b56d6(_0x52f94e,_0x11239a);if(_0x5d94cb)return Promise[_0x2e4ba8(0xf0)](_0x5d94cb);let _0x1e5151=_0x38841a[_0x2e4ba8(0x8c)]??0x7530;return new Promise((_0x26067f,_0x1dffac)=>{const _0x15b7e2=_0x2e4ba8;let _0x107c50=!0x1,_0x505235=null,_0x54fae8=setTimeout(()=>{const _0x5cfc7e=_0xc5ff;_0x107c50=!0x0,_0x505235==null||_0x505235['unsubscribe'](),_0x1dffac(Error(_0x5cfc7e(0x9a)+_0x52f94e+_0x5cfc7e(0x90)+_0x1e5151+'ms.'));},_0x1e5151),_0x18bafd=()=>{const _0x5ee9d2=_0xc5ff;_0x107c50=!0x0,clearTimeout(_0x54fae8),_0x505235==null||_0x505235[_0x5ee9d2(0x82)]();};_0x505235=_0x487ca0[_0x15b7e2(0xd7)][_0x15b7e2(0xe2)](_0x320941=>{if(_0x107c50)return;if(_0x320941===_0x5f35f2['CollaborationStatus']['SYNCED']){_0x18bafd(),_0x26067f();return;}let _0x1800b8=_0x3b56d6(_0x52f94e,_0x320941);_0x1800b8&&(_0x18bafd(),_0x1dffac(_0x1800b8));});});}[_0x3ef1bf(0xcc)](_0x1b8296){const _0x13fe6c=_0x3ef1bf;var _0xa9444b;return _0x1b8296||((_0xa9444b=this[_0x13fe6c(0x9f)][_0x13fe6c(0x8e)]())==null?void 0x0:_0xa9444b[_0x13fe6c(0xea)]());}};_0xdf49f3=_0x48c2d3([_0x26cbd2(0x1,(0x0,_0x42f323[_0x3ef1bf(0xbb)])(_0x42f323[_0x3ef1bf(0x9d)])),_0x26cbd2(0x2,_0x42f323[_0x3ef1bf(0xca)]),_0x26cbd2(0x3,(0x0,_0x42f323[_0x3ef1bf(0xbb)])(_0x5f35f2[_0x3ef1bf(0x8f)])),_0x26cbd2(0x4,(0x0,_0x42f323[_0x3ef1bf(0xbb)])(_0x5f35f2[_0x3ef1bf(0x95)]))],_0xdf49f3);function _0x3b56d6(_0x6ca59d,_0x35efc6){const _0x148864=_0x3ef1bf;return _0x35efc6===_0x5f35f2[_0x148864(0xb3)][_0x148864(0xee)]||_0x35efc6===_0x5f35f2[_0x148864(0xb3)][_0x148864(0xdc)]?Error('[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22'+_0x6ca59d+'\x22\x20while\x20collaboration\x20status\x20is\x20'+_0x35efc6+'.'):null;}var _0x5050c8=class extends _0x44fb20[_0x3ef1bf(0xd4)]{[_0x3ef1bf(0xb8)](_0x3edc92){const _0x297450=_0x3ef1bf;let _0x756d99=_0x3edc92[_0x297450(0xd3)](_0x5f35f2[_0x297450(0x95)]);this[_0x297450(0xa0)](this[_0x297450(0xe8)](this['Event'][_0x297450(0xb7)],()=>{const _0xcfe159=_0x297450;let _0x3f2c02=new _0x42f323[(_0xcfe159(0x81))](),_0x30c716=_0x111727=>{const _0x50e2e5=_0xcfe159;let _0x24cd40=_0x111727[_0x50e2e5(0xd7)][_0x50e2e5(0x87)]((0x0,_0x3e105b[_0x50e2e5(0xad)])())[_0x50e2e5(0xe2)](_0x144ccb=>{const _0x35cfa6=_0x50e2e5;let _0x2af0dc={'unitId':_0x111727[_0x35cfa6(0xef)],'status':_0x144ccb};this[_0x35cfa6(0x97)](this[_0x35cfa6(0xb1)]['CollaborationStatusChanged'],_0x2af0dc);});_0x3f2c02['add']((0x0,_0x42f323[_0x50e2e5(0x8a)])(_0x24cd40));};return _0x756d99[_0xcfe159(0xa8)]()[_0xcfe159(0xdd)](_0x30c716),_0x3f2c02['add']((0x0,_0x42f323[_0xcfe159(0x8a)])(_0x756d99['entityInit$'][_0xcfe159(0xe2)](_0x30c716))),_0x3f2c02;})),this[_0x297450(0xa0)](this[_0x297450(0xe8)](this['Event'][_0x297450(0xc9)],()=>{const _0x210a8e=_0x297450;let _0x229f6f=new _0x42f323[(_0x210a8e(0x81))](),_0x1e53a2=_0xd579dc=>{const _0x3ed228=_0x210a8e;let _0x2304ac=_0xd579dc[_0x3ed228(0xe0)][_0x3ed228(0xe2)](_0x2bc1da=>{const _0x10eaa5=_0x3ed228;let _0x406bf3={'unitId':_0x2bc1da[_0x10eaa5(0xef)],'reason':_0x2bc1da[_0x10eaa5(0xcf)],'message':_0x2bc1da['message'],'revert':_0x2bc1da['revert'],'localChanges':_0x2bc1da['localChanges'],'cacheCleared':_0x2bc1da[_0x10eaa5(0x84)]};this[_0x10eaa5(0x97)](this[_0x10eaa5(0xb1)]['CollaborationConflict'],_0x406bf3);});_0x229f6f['add']((0x0,_0x42f323['toDisposable'])(_0x2304ac));};return _0x756d99[_0x210a8e(0xa8)]()['forEach'](_0x1e53a2),_0x229f6f['add']((0x0,_0x42f323[_0x210a8e(0x8a)])(_0x756d99[_0x210a8e(0xc7)][_0x210a8e(0xe2)](_0x1e53a2))),_0x229f6f;})),this[_0x297450(0xa0)](this[_0x297450(0xe8)](this['Event'][_0x297450(0xb4)],()=>{const _0x496162=_0x297450;let _0x2c1ba1=new _0x42f323[(_0x496162(0x81))](),_0x1fba6f=_0x395889=>{const _0x32fc78=_0x496162;let _0x2981f3=_0x395889[_0x32fc78(0xc2)]['subscribe'](_0x25b72e=>{const _0x3cd958=_0x32fc78;let _0x13148d={'unitId':_0x25b72e['unitID'],'reqId':_0x25b72e[_0x3cd958(0xd9)],'reason':_0x25b72e['reason'],'attempt':_0x25b72e['attempt'],'elapsedMs':_0x25b72e['elapsedMs'],'unsyncedMutationCount':_0x25b72e['unsyncedMutationCount'],'nextDelayMs':_0x25b72e['nextDelayMs']};this[_0x3cd958(0x97)](this['Event'][_0x3cd958(0xb4)],_0x13148d);});_0x2c1ba1[_0x32fc78(0xc3)]((0x0,_0x42f323[_0x32fc78(0x8a)])(_0x2981f3));};return _0x756d99[_0x496162(0xa8)]()['forEach'](_0x1fba6f),_0x2c1ba1[_0x496162(0xc3)]((0x0,_0x42f323['toDisposable'])(_0x756d99[_0x496162(0xc7)][_0x496162(0xe2)](_0x1fba6f))),_0x2c1ba1;}));}[_0x3ef1bf(0xa4)](){const _0x5150d4=_0x3ef1bf;return this[_0x5150d4(0xdb)][_0x5150d4(0x9c)](_0xdf49f3,{'getWorkbook':_0x14516a=>this[_0x5150d4(0xbf)](_0x14516a),'getDocument':_0x499405=>this['getDocument'](_0x499405),'getPresentation':_0x3f569a=>this[_0x5150d4(0xbc)](_0x3f569a),'getBase':_0x12fd73=>this[_0x5150d4(0xc6)](_0x12fd73),'getBoard':_0x536e3d=>this[_0x5150d4(0xbd)](_0x536e3d),'getPdf':_0x2e0afe=>this[_0x5150d4(0x9e)](_0x2e0afe)});}['loadServerUnit'](_0x2f819b,_0x40bd5c,_0x2b5f48){const _0x27e5fc=_0x3ef1bf;return this[_0x27e5fc(0xdb)][_0x27e5fc(0xd3)](_0x5f35f2[_0x27e5fc(0x8f)])['loadUnit'](_0x2f819b,_0x40bd5c,_0x2b5f48);}[_0x3ef1bf(0xc8)](_0x2429d9,_0x3d934a,_0x4f464c){const _0x195d20=_0x3ef1bf;return this[_0x195d20(0xdb)]['get'](_0x5f35f2[_0x195d20(0x8f)])[_0x195d20(0xd8)](_0x2429d9,_0x3d934a,_0x4f464c);}};_0x44fb20[_0x3ef1bf(0xd4)][_0x3ef1bf(0xe4)](_0x5050c8),Object[_0x3ef1bf(0xb9)](_0x102256,_0x3ef1bf(0xeb),{'enumerable':!0x0,'get':function(){return _0xdf49f3;}});}));