@univerjs-pro/collaboration-client 1.0.0-alpha.1 → 1.0.0-alpha.2

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
@@ -1 +1 @@
1
- const _0xc89ca8=_0x4b0d;function _0x4b0d(_0x7ab5a2,_0x21255e){_0x7ab5a2=_0x7ab5a2-0xc4;const _0x442d76=_0x442d();let _0x4b0d47=_0x442d76[_0x7ab5a2];return _0x4b0d47;}(function(_0x4a97e1,_0x7fd119){const _0x1a1017=_0x4b0d,_0x2c0660=_0x4a97e1();while(!![]){try{const _0x4f8a02=-parseInt(_0x1a1017(0xcd))/0x1*(parseInt(_0x1a1017(0xd3))/0x2)+-parseInt(_0x1a1017(0xd7))/0x3+-parseInt(_0x1a1017(0xd4))/0x4+parseInt(_0x1a1017(0xc6))/0x5*(-parseInt(_0x1a1017(0xc4))/0x6)+parseInt(_0x1a1017(0xcc))/0x7*(parseInt(_0x1a1017(0xdb))/0x8)+parseInt(_0x1a1017(0xd1))/0x9+parseInt(_0x1a1017(0xce))/0xa*(parseInt(_0x1a1017(0xc5))/0xb);if(_0x4f8a02===_0x7fd119)break;else _0x2c0660['push'](_0x2c0660['shift']());}catch(_0x29eada){_0x2c0660['push'](_0x2c0660['shift']());}}}(_0x442d,0x55fb6));function _0x442d(){const _0x29ad82=['您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','5173398SIUNFD','點擊重新連線','14URqbSA','1894840kyCMrR','加入協作失敗,您的編輯將暫存於本機。','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','11622yBnXLL','認證錯誤','連線失敗,請檢查您的網路。','沒有協作權限,您的編輯將暫存於本機。','8wqHTjj','協作文件數量超過限制,您的編輯將暫存於本機。','744ekZDej','22pekTQK','21355hfuaZZ','伺服器未回應協作請求,您的編輯將儲存在本機。','編輯衝突','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','此文件協作人數已達上限,您的編輯將暫存於本機。','已同步','3441277pIHIBg','947uBJMdf','1497830ZkHAoj','協作衝突'];_0x442d=function(){return _0x29ad82;};return _0x442d();}const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0xc89ca8(0xd2)}},'collabStatus':{'fetchMiss':'正在擷取伺服器資料...','conflict':_0xc89ca8(0xc8),'notCollab':'本機檔案','synced':_0xc89ca8(0xcb),'syncing':'同步中...','offline':'已離線,編輯將儲存在本機'},'session':{'connection-failed':_0xc89ca8(0xd9),'will-retry':'連線失敗,將在稍後重試連線。','room-full':_0xc89ca8(0xca),'join-failed':_0xc89ca8(0xd6),'room-not-exists':_0xc89ca8(0xd5),'room-permission-denied':_0xc89ca8(0xda),'room-cnt-exceeds':_0xc89ca8(0xdc),'collaboration-timeout':_0xc89ca8(0xc7)},'conflict':{'title':_0xc89ca8(0xcf),'content':'您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。'},'permission':{'title':_0xc89ca8(0xd8),'content':'您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。'},'collaboration':{'single-unit':{'warning':_0xc89ca8(0xc9)},'closeRoom':'由於協作房間已關閉,編輯權限已被收回。'},'auth':{'needGotoLoginAlert':_0xc89ca8(0xd0)}}};export{e as default};
1
+ const _0x3d2533=_0x25c8;function _0x27b1(){const _0x37c3db=['216BuLsuT','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','編輯衝突','343532JhilrH','此文件協作人數已達上限,您的編輯將暫存於本機。','69915bbtlCz','伺服器未回應協作請求,您的編輯將儲存在本機。','492oBGPYn','連線失敗,請檢查您的網路。','加入協作失敗,您的編輯將暫存於本機。','已離線,編輯將儲存在本機','同步中...','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','正在擷取伺服器資料...','點擊重新連線','87965inQleH','連線失敗,將在稍後重試連線。','5612406FheadX','5444248OMNDEm','協作文件數量超過限制,您的編輯將暫存於本機。','協作衝突','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','61602NWGCcS','46049157sIYXFm'];_0x27b1=function(){return _0x37c3db;};return _0x27b1();}(function(_0x251d85,_0x3ea4d9){const _0x149bdd=_0x25c8,_0x1f1665=_0x251d85();while(!![]){try{const _0x2463e1=parseInt(_0x149bdd(0x8b))/0x1+parseInt(_0x149bdd(0x84))/0x2+parseInt(_0x149bdd(0x7f))/0x3+parseInt(_0x149bdd(0x80))/0x4+-parseInt(_0x149bdd(0x7d))/0x5*(-parseInt(_0x149bdd(0x8d))/0x6)+parseInt(_0x149bdd(0x89))/0x7*(parseInt(_0x149bdd(0x86))/0x8)+-parseInt(_0x149bdd(0x85))/0x9;if(_0x2463e1===_0x3ea4d9)break;else _0x1f1665['push'](_0x1f1665['shift']());}catch(_0x19ddbc){_0x1f1665['push'](_0x1f1665['shift']());}}}(_0x27b1,0xf0285));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x3d2533(0x7c)}},'collabStatus':{'fetchMiss':_0x3d2533(0x7b),'conflict':_0x3d2533(0x88),'notCollab':'本機檔案','synced':'已同步','syncing':_0x3d2533(0x91),'offline':_0x3d2533(0x90)},'session':{'connection-failed':_0x3d2533(0x8e),'will-retry':_0x3d2533(0x7e),'room-full':_0x3d2533(0x8a),'join-failed':'加入協作失敗,請稍後重試,您的編輯將暫存於本機。','room-not-exists':_0x3d2533(0x8f),'room-permission-denied':'沒有協作權限,您的編輯將暫存於本機。','room-cnt-exceeds':_0x3d2533(0x81),'collaboration-timeout':_0x3d2533(0x8c)},'conflict':{'title':_0x3d2533(0x82),'content':_0x3d2533(0x92)},'permission':{'title':'認證錯誤','content':_0x3d2533(0x87)},'collaboration':{'single-unit':{'warning':'您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。'},'closeRoom':'由於協作房間已關閉,編輯權限已被收回。'},'auth':{'needGotoLoginAlert':_0x3d2533(0x83)}}};function _0x25c8(_0x1141fa,_0x282a30){_0x1141fa=_0x1141fa-0x7b;const _0x27b152=_0x27b1();let _0x25c80c=_0x27b152[_0x1141fa];return _0x25c80c;}export{e as default};
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x4322(_0x1d64c9,_0xa85045){_0x1d64c9=_0x1d64c9-0x1bb;const _0x3879e1=_0x3879();let _0x432296=_0x3879e1[_0x1d64c9];return _0x432296;}function _0x3879(){const _0x334e76=['CollaborationStatusChanged','FUniver','7gfrpiM','disposeWithMe','3971902CoQkJP','length','_handler','loadSlide','@univerjs/core/facade','decorate','add','_collaborationController','getCollaboration','defineProperty','FEventName','DataLoaderService','readyForCollab','877693tHCBnH','values','@univerjs/core','loadServerUnitOfRevision','Injector','toStringTag','registerEventHandler','entityInit$','_snapshotService','loadBaseAsync','FEnum','exports','loadUnitOfRevision','UniverProCollaborationClient','36IGCIcv','CollaborationController','UniverProCollaboration','973168TxITEy','toDisposable','getDocument','_injector','IUniverInstanceService','FCollaboration','pipe','1173096NKrbST','10YDSxUF','FBase','getFocusedUnit','CollaborationStatus','MemberService','object','loadSheet','getCollabEntity','2697955uaBdgN','subscribe','getWorkbook','state','loadBase','loadDocAsync','getPresentation','@univerjs-pro/collaboration','status$','function','18WXIyuR','switchMap','@univerjs-pro/collaboration-client','amd','948928IpHQyh','unitID','getUnitId','6939366asFhbS','Inject','createInstance','get','Event','DisposableCollection','loadDoc','_initialize','NOT_COLLAB','getOwnPropertyDescriptor','rxjs','extend','getBase'];_0x3879=function(){return _0x334e76;};return _0x3879();}(function(_0xd33a76,_0x59fe51){const _0x5f39f4=_0x4322,_0x482e71=_0xd33a76();while(!![]){try{const _0xafcf71=parseInt(_0x5f39f4(0x1c0))/0x1+-parseInt(_0x5f39f4(0x1d8))/0x2+parseInt(_0x5f39f4(0x1eb))/0x3*(parseInt(_0x5f39f4(0x1d1))/0x4)+-parseInt(_0x5f39f4(0x1e1))/0x5+-parseInt(_0x5f39f4(0x1f2))/0x6*(parseInt(_0x5f39f4(0x201))/0x7)+-parseInt(_0x5f39f4(0x1ef))/0x8*(-parseInt(_0x5f39f4(0x1ce))/0x9)+-parseInt(_0x5f39f4(0x1d9))/0xa*(-parseInt(_0x5f39f4(0x203))/0xb);if(_0xafcf71===_0x59fe51)break;else _0x482e71['push'](_0x482e71['shift']());}catch(_0x45c4e6){_0x482e71['push'](_0x482e71['shift']());}}}(_0x3879,0xd95b3),function(_0x3a1e6e,_0x1d5742){const _0x557fb1=_0x4322;typeof exports==_0x557fb1(0x1de)&&typeof module<'u'?_0x1d5742(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x557fb1(0x1ea)&&define[_0x557fb1(0x1ee)]?define([_0x557fb1(0x1cb),_0x557fb1(0x1ed),_0x557fb1(0x207),_0x557fb1(0x1c2),_0x557fb1(0x1e8),'rxjs'],_0x1d5742):(_0x3a1e6e=typeof globalThis<'u'?globalThis:_0x3a1e6e||self,_0x1d5742(_0x3a1e6e['UniverProCollaborationClientFacade']={},_0x3a1e6e[_0x557fb1(0x1cd)],_0x3a1e6e['UniverCoreFacade'],_0x3a1e6e['UniverCore'],_0x3a1e6e[_0x557fb1(0x1d0)],_0x3a1e6e[_0x557fb1(0x1fc)]));}(this,function(_0x35a544,_0x1ad98c,_0x131f9c,_0x80d3a0,_0x1a6ca0,_0x4d9d27){const _0x4c1a34=_0x4322;Object[_0x4c1a34(0x1bc)](_0x35a544,Symbol[_0x4c1a34(0x1c5)],{'value':'Module'});var _0x771dcd=class extends _0x131f9c[_0x4c1a34(0x1ca)]{get[_0x4c1a34(0x1dc)](){const _0x5e5025=_0x4c1a34;return _0x1ad98c[_0x5e5025(0x1dc)];}};_0x131f9c[_0x4c1a34(0x1ca)]['extend'](_0x771dcd);var _0x5213d3=class extends _0x131f9c[_0x4c1a34(0x1bd)]{get['CollaborationStatusChanged'](){const _0x5b53da=_0x4c1a34;return _0x5b53da(0x1ff);}};_0x131f9c[_0x4c1a34(0x1bd)][_0x4c1a34(0x1fd)](_0x5213d3);function _0x494468(_0x1d276a,_0x1f2d10){return function(_0x5a99b9,_0x3fee8a){_0x1f2d10(_0x5a99b9,_0x3fee8a,_0x1d276a);};}function _0x3abfd8(_0x10d3ad,_0x10065,_0x2b7495,_0x536fa6){const _0x35bc15=_0x4c1a34;var _0x17f015=arguments[_0x35bc15(0x204)],_0x297848=_0x17f015<0x3?_0x10065:_0x536fa6===null?_0x536fa6=Object[_0x35bc15(0x1fb)](_0x10065,_0x2b7495):_0x536fa6,_0x4de904;if(typeof Reflect=='object'&&typeof Reflect[_0x35bc15(0x208)]==_0x35bc15(0x1ea))_0x297848=Reflect[_0x35bc15(0x208)](_0x10d3ad,_0x10065,_0x2b7495,_0x536fa6);else{for(var _0x4d43fd=_0x10d3ad['length']-0x1;_0x4d43fd>=0x0;_0x4d43fd--)(_0x4de904=_0x10d3ad[_0x4d43fd])&&(_0x297848=(_0x17f015<0x3?_0x4de904(_0x297848):_0x17f015>0x3?_0x4de904(_0x10065,_0x2b7495,_0x297848):_0x4de904(_0x10065,_0x2b7495))||_0x297848);}return _0x17f015>0x3&&_0x297848&&Object[_0x35bc15(0x1bc)](_0x10065,_0x2b7495,_0x297848),_0x297848;}let _0x4eb2b5=class extends _0x131f9c[_0x4c1a34(0x1da)]{constructor(_0x542b71,_0x4772ac,_0x343266,_0x4fdbfd,_0x38e1bd){const _0x2a820b=_0x4c1a34;super(),this[_0x2a820b(0x205)]=_0x542b71,this[_0x2a820b(0x1d4)]=_0x4772ac,this['_univerInstanceService']=_0x343266,this[_0x2a820b(0x1c8)]=_0x4fdbfd,this[_0x2a820b(0x20a)]=_0x38e1bd;}async['loadSheetAsync'](_0x125406,_0x11eae5){const _0x14591f=_0x4c1a34;return await this[_0x14591f(0x1c8)][_0x14591f(0x1df)](_0x125406,0x0,_0x11eae5)?(await this['_collaborationController'][_0x14591f(0x1bf)](_0x125406),this[_0x14591f(0x205)][_0x14591f(0x1e3)](_0x125406)):null;}async[_0x4c1a34(0x1e6)](_0x2c5cb3,_0x401f68){const _0x1f4807=_0x4c1a34;return await this['_snapshotService'][_0x1f4807(0x1f8)](_0x2c5cb3,0x0,_0x401f68)?(await this[_0x1f4807(0x20a)][_0x1f4807(0x1bf)](_0x2c5cb3),this[_0x1f4807(0x205)]['getDocument'](_0x2c5cb3)):null;}async[_0x4c1a34(0x1c9)](_0x55c7f8,_0x5d71b1){const _0x220ef7=_0x4c1a34;return await this[_0x220ef7(0x1c8)][_0x220ef7(0x1e5)](_0x55c7f8,0x0,_0x5d71b1)?(await this[_0x220ef7(0x20a)]['readyForCollab'](_0x55c7f8),this[_0x220ef7(0x205)]['getBase'](_0x55c7f8)):null;}async['loadSlideAsync'](_0x48c220,_0x2e3cdd){const _0x253c6d=_0x4c1a34;return await this['_snapshotService'][_0x253c6d(0x206)](_0x48c220,0x0,_0x2e3cdd)?(await this[_0x253c6d(0x20a)]['readyForCollab'](_0x48c220),this[_0x253c6d(0x205)][_0x253c6d(0x1e7)](_0x48c220)):null;}['subscribeCollaborators'](_0x179493,_0x5c1d53){const _0x2490e4=_0x4c1a34;return(0x0,_0x80d3a0[_0x2490e4(0x1d2)])(this[_0x2490e4(0x1d4)][_0x2490e4(0x1f5)](_0x1ad98c[_0x2490e4(0x1dd)])['waitForRoom$'](_0x179493)[_0x2490e4(0x1d7)]((0x0,_0x4d9d27[_0x2490e4(0x1ec)])(_0x36d168=>_0x36d168['members$']))[_0x2490e4(0x1e2)](_0x2731ef=>_0x5c1d53(Array['from'](_0x2731ef[_0x2490e4(0x1c1)]()))));}['getCollaborationStatus'](_0x44ad64){const _0x24ef74=_0x4c1a34;var _0xb1ec65;let _0x427fa0;if(_0x44ad64)_0x427fa0=_0x44ad64;else{let _0x4fce71=this['_univerInstanceService'][_0x24ef74(0x1db)]();_0x427fa0=_0x4fce71==null?void 0x0:_0x4fce71[_0x24ef74(0x1f1)]();}if(!_0x427fa0)return _0x1ad98c[_0x24ef74(0x1dc)]['NOT_COLLAB'];let _0x421dfe=this[_0x24ef74(0x20a)][_0x24ef74(0x1e0)](_0x427fa0);return(_0xb1ec65=_0x421dfe==null?void 0x0:_0x421dfe[_0x24ef74(0x1e4)]['status'])==null?_0x1ad98c[_0x24ef74(0x1dc)][_0x24ef74(0x1fa)]:_0xb1ec65;}};_0x4eb2b5=_0x3abfd8([_0x494468(0x1,(0x0,_0x80d3a0[_0x4c1a34(0x1f3)])(_0x80d3a0[_0x4c1a34(0x1c4)])),_0x494468(0x2,_0x80d3a0[_0x4c1a34(0x1d5)]),_0x494468(0x3,(0x0,_0x80d3a0['Inject'])(_0x1a6ca0['SnapshotService'])),_0x494468(0x4,(0x0,_0x80d3a0[_0x4c1a34(0x1f3)])(_0x1ad98c[_0x4c1a34(0x1cf)]))],_0x4eb2b5);var _0x193672=class extends _0x131f9c[_0x4c1a34(0x200)]{[_0x4c1a34(0x1f9)](_0x55789a){const _0x24de41=_0x4c1a34;let _0x510a2f=_0x55789a[_0x24de41(0x1f5)](_0x1ad98c[_0x24de41(0x1cf)]);this[_0x24de41(0x202)](this[_0x24de41(0x1c6)](this[_0x24de41(0x1f6)]['CollaborationStatusChanged'],()=>{const _0x490391=_0x24de41;let _0xfb34d6=new _0x80d3a0[(_0x490391(0x1f7))](),_0x2f228c=_0x510a2f[_0x490391(0x1c7)]['subscribe'](_0x50737f=>{const _0x2c07cc=_0x490391;let _0x28a30b=_0x50737f[_0x2c07cc(0x1e9)][_0x2c07cc(0x1e2)](_0x1336cb=>{const _0x1e0542=_0x2c07cc;let _0x166f14={'unitId':_0x50737f[_0x1e0542(0x1f0)],'status':_0x1336cb};this['fireEvent'](this[_0x1e0542(0x1f6)][_0x1e0542(0x1ff)],_0x166f14);});_0xfb34d6[_0x2c07cc(0x209)]((0x0,_0x80d3a0[_0x2c07cc(0x1d2)])(_0x28a30b));});return _0xfb34d6[_0x490391(0x209)]((0x0,_0x80d3a0[_0x490391(0x1d2)])(_0x2f228c)),_0xfb34d6;}));}[_0x4c1a34(0x1bb)](){const _0x119bf1=_0x4c1a34;return this[_0x119bf1(0x1d4)][_0x119bf1(0x1f4)](_0x4eb2b5,{'getWorkbook':_0x4c8241=>this['getWorkbook'](_0x4c8241),'getDocument':_0x497a3a=>this[_0x119bf1(0x1d3)](_0x497a3a),'getPresentation':_0x5af403=>this['getPresentation'](_0x5af403),'getBase':_0x1f962c=>this[_0x119bf1(0x1fe)](_0x1f962c)});}['loadServerUnit'](_0x14f5d3,_0xb52ab,_0x268edf){const _0x901334=_0x4c1a34;return this[_0x901334(0x1d4)][_0x901334(0x1f5)](_0x1ad98c[_0x901334(0x1be)])['loadUnit'](_0x14f5d3,_0xb52ab,_0x268edf);}[_0x4c1a34(0x1c3)](_0x3825b9,_0x354efa,_0x3a42fd){const _0x4777bd=_0x4c1a34;return this['_injector'][_0x4777bd(0x1f5)](_0x1ad98c[_0x4777bd(0x1be)])[_0x4777bd(0x1cc)](_0x3825b9,_0x354efa,_0x3a42fd);}};_0x131f9c[_0x4c1a34(0x200)][_0x4c1a34(0x1fd)](_0x193672),Object[_0x4c1a34(0x1bc)](_0x35a544,_0x4c1a34(0x1d6),{'enumerable':!0x0,'get':function(){return _0x4eb2b5;}});}));
1
+ function _0x39a8(){const _0x52c00c=['pipe','Inject','unitID','1792710nVQWDS','loadSheet','FCollaboration','switchMap','_snapshotService','readyForCollab','getOwnPropertyDescriptor','loadServerUnitOfRevision','UniverProCollaborationClient','943236bcepRm','registerEventHandler','loadSlideAsync','DataLoaderService','length','UniverCoreFacade','loadDocAsync','loadServerUnit','add','1015689QzrrYU','702824dSlfXs','@univerjs/core','@univerjs/core/facade','status$','loadUnitOfRevision','extend','values','_initialize','state','getWorkbook','getCollabEntity','4xKmiNm','toDisposable','toStringTag','getFocusedUnit','1625294pFXSEb','MemberService','exports','from','UniverProCollaboration','_handler','18NNkVJV','Event','CollaborationStatus','FUniver','members$','18NQzqLg','Injector','subscribe','_injector','loadBaseAsync','getCollaborationStatus','createInstance','waitForRoom$','subscribeCollaborators','function','getDocument','get','NOT_COLLAB','decorate','object','514270jpHVuZ','loadSlide','1YKBHJp','495714mwxAkm','CollaborationController','fireEvent','getPresentation','loadBase','rxjs','loadSheetAsync','UniverProCollaborationClientFacade','loadUnit','FEventName','getBase','FEnum','UniverCore','Module','status','_collaborationController','SnapshotService','defineProperty','CollaborationStatusChanged'];_0x39a8=function(){return _0x52c00c;};return _0x39a8();}function _0x4427(_0x166e43,_0x32c7c5){_0x166e43=_0x166e43-0x171;const _0x39a819=_0x39a8();let _0x4427d8=_0x39a819[_0x166e43];return _0x4427d8;}(function(_0x16e95c,_0x6ad17e){const _0x6242e8=_0x4427,_0x4e1e6c=_0x16e95c();while(!![]){try{const _0x7a5d9d=-parseInt(_0x6242e8(0x185))/0x1*(-parseInt(_0x6242e8(0x186))/0x2)+-parseInt(_0x6242e8(0x1ae))/0x3*(parseInt(_0x6242e8(0x1ba))/0x4)+parseInt(_0x6242e8(0x183))/0x5*(parseInt(_0x6242e8(0x174))/0x6)+parseInt(_0x6242e8(0x1a5))/0x7+-parseInt(_0x6242e8(0x1af))/0x8*(-parseInt(_0x6242e8(0x1c4))/0x9)+-parseInt(_0x6242e8(0x19c))/0xa+-parseInt(_0x6242e8(0x1be))/0xb;if(_0x7a5d9d===_0x6ad17e)break;else _0x4e1e6c['push'](_0x4e1e6c['shift']());}catch(_0x5719e6){_0x4e1e6c['push'](_0x4e1e6c['shift']());}}}(_0x39a8,0x31245),function(_0x4e2c60,_0x7df73d){const _0xb78b3e=_0x4427;typeof exports==_0xb78b3e(0x182)&&typeof module<'u'?_0x7df73d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define=='function'&&define['amd']?define([_0xb78b3e(0x1c0),'@univerjs-pro/collaboration-client',_0xb78b3e(0x1b1),_0xb78b3e(0x1b0),'@univerjs-pro/collaboration',_0xb78b3e(0x18b)],_0x7df73d):(_0x4e2c60=typeof globalThis<'u'?globalThis:_0x4e2c60||self,_0x7df73d(_0x4e2c60[_0xb78b3e(0x18d)]={},_0x4e2c60[_0xb78b3e(0x1a4)],_0x4e2c60[_0xb78b3e(0x1aa)],_0x4e2c60[_0xb78b3e(0x192)],_0x4e2c60[_0xb78b3e(0x1c2)],_0x4e2c60[_0xb78b3e(0x18b)]));}(this,function(_0x1a6e23,_0xb89e0b,_0x2d30eb,_0x51cdf5,_0xd5626b,_0x20fd6a){const _0x3a0109=_0x4427;Object[_0x3a0109(0x197)](_0x1a6e23,Symbol[_0x3a0109(0x1bc)],{'value':_0x3a0109(0x193)});var _0x40fcf4=class extends _0x2d30eb[_0x3a0109(0x191)]{get[_0x3a0109(0x171)](){const _0x4e3e89=_0x3a0109;return _0xb89e0b[_0x4e3e89(0x171)];}};_0x2d30eb[_0x3a0109(0x191)][_0x3a0109(0x1b4)](_0x40fcf4);var _0x1cfdff=class extends _0x2d30eb[_0x3a0109(0x18f)]{get[_0x3a0109(0x198)](){const _0x14fef9=_0x3a0109;return _0x14fef9(0x198);}};_0x2d30eb[_0x3a0109(0x18f)][_0x3a0109(0x1b4)](_0x1cfdff);function _0x59df80(_0x45ef82,_0x2a9b63){return function(_0x572f9d,_0x3bb5ca){_0x2a9b63(_0x572f9d,_0x3bb5ca,_0x45ef82);};}function _0x4534ac(_0x1f6df0,_0xaa2071,_0x35ce14,_0x171ac5){const _0xe3b83a=_0x3a0109;var _0x51ed83=arguments[_0xe3b83a(0x1a9)],_0x20cc5a=_0x51ed83<0x3?_0xaa2071:_0x171ac5===null?_0x171ac5=Object[_0xe3b83a(0x1a2)](_0xaa2071,_0x35ce14):_0x171ac5,_0x4524d1;if(typeof Reflect==_0xe3b83a(0x182)&&typeof Reflect[_0xe3b83a(0x181)]==_0xe3b83a(0x17d))_0x20cc5a=Reflect[_0xe3b83a(0x181)](_0x1f6df0,_0xaa2071,_0x35ce14,_0x171ac5);else{for(var _0x249fb9=_0x1f6df0['length']-0x1;_0x249fb9>=0x0;_0x249fb9--)(_0x4524d1=_0x1f6df0[_0x249fb9])&&(_0x20cc5a=(_0x51ed83<0x3?_0x4524d1(_0x20cc5a):_0x51ed83>0x3?_0x4524d1(_0xaa2071,_0x35ce14,_0x20cc5a):_0x4524d1(_0xaa2071,_0x35ce14))||_0x20cc5a);}return _0x51ed83>0x3&&_0x20cc5a&&Object[_0xe3b83a(0x197)](_0xaa2071,_0x35ce14,_0x20cc5a),_0x20cc5a;}let _0x2f85da=class extends _0x2d30eb['FBase']{constructor(_0x534f93,_0x35c81c,_0x328b98,_0x73bea5,_0x258601){const _0x521483=_0x3a0109;super(),this[_0x521483(0x1c3)]=_0x534f93,this[_0x521483(0x177)]=_0x35c81c,this['_univerInstanceService']=_0x328b98,this[_0x521483(0x1a0)]=_0x73bea5,this[_0x521483(0x195)]=_0x258601;}async[_0x3a0109(0x18c)](_0x4c4c78,_0x45d671){const _0x4355b2=_0x3a0109;return await this[_0x4355b2(0x1a0)][_0x4355b2(0x19d)](_0x4c4c78,0x0,_0x45d671)?(await this['_collaborationController'][_0x4355b2(0x1a1)](_0x4c4c78),this['_handler'][_0x4355b2(0x1b8)](_0x4c4c78)):null;}async[_0x3a0109(0x1ab)](_0x399053,_0x2fc7a7){const _0x5ae2b5=_0x3a0109;return await this[_0x5ae2b5(0x1a0)]['loadDoc'](_0x399053,0x0,_0x2fc7a7)?(await this[_0x5ae2b5(0x195)][_0x5ae2b5(0x1a1)](_0x399053),this[_0x5ae2b5(0x1c3)][_0x5ae2b5(0x17e)](_0x399053)):null;}async[_0x3a0109(0x178)](_0x549daf,_0x362340){const _0x852f9e=_0x3a0109;return await this[_0x852f9e(0x1a0)][_0x852f9e(0x18a)](_0x549daf,0x0,_0x362340)?(await this['_collaborationController'][_0x852f9e(0x1a1)](_0x549daf),this[_0x852f9e(0x1c3)][_0x852f9e(0x190)](_0x549daf)):null;}async[_0x3a0109(0x1a7)](_0x3b081e,_0x5d2b6a){const _0x55292b=_0x3a0109;return await this[_0x55292b(0x1a0)][_0x55292b(0x184)](_0x3b081e,0x0,_0x5d2b6a)?(await this[_0x55292b(0x195)]['readyForCollab'](_0x3b081e),this[_0x55292b(0x1c3)]['getPresentation'](_0x3b081e)):null;}[_0x3a0109(0x17c)](_0x4e3104,_0x26820f){const _0x253cb5=_0x3a0109;return(0x0,_0x51cdf5[_0x253cb5(0x1bb)])(this[_0x253cb5(0x177)][_0x253cb5(0x17f)](_0xb89e0b[_0x253cb5(0x1bf)])[_0x253cb5(0x17b)](_0x4e3104)[_0x253cb5(0x199)]((0x0,_0x20fd6a[_0x253cb5(0x19f)])(_0x5cfff2=>_0x5cfff2[_0x253cb5(0x173)]))[_0x253cb5(0x176)](_0x103180=>_0x26820f(Array[_0x253cb5(0x1c1)](_0x103180[_0x253cb5(0x1b5)]()))));}[_0x3a0109(0x179)](_0x3ed15f){const _0x1dc348=_0x3a0109;var _0x2bbc89;let _0x746c8;if(_0x3ed15f)_0x746c8=_0x3ed15f;else{let _0x43ad3c=this['_univerInstanceService'][_0x1dc348(0x1bd)]();_0x746c8=_0x43ad3c==null?void 0x0:_0x43ad3c['getUnitId']();}if(!_0x746c8)return _0xb89e0b[_0x1dc348(0x171)][_0x1dc348(0x180)];let _0x40fb8c=this[_0x1dc348(0x195)][_0x1dc348(0x1b9)](_0x746c8);return(_0x2bbc89=_0x40fb8c==null?void 0x0:_0x40fb8c[_0x1dc348(0x1b7)][_0x1dc348(0x194)])==null?_0xb89e0b['CollaborationStatus'][_0x1dc348(0x180)]:_0x2bbc89;}};_0x2f85da=_0x4534ac([_0x59df80(0x1,(0x0,_0x51cdf5[_0x3a0109(0x19a)])(_0x51cdf5[_0x3a0109(0x175)])),_0x59df80(0x2,_0x51cdf5['IUniverInstanceService']),_0x59df80(0x3,(0x0,_0x51cdf5[_0x3a0109(0x19a)])(_0xd5626b[_0x3a0109(0x196)])),_0x59df80(0x4,(0x0,_0x51cdf5[_0x3a0109(0x19a)])(_0xb89e0b['CollaborationController']))],_0x2f85da);var _0x53ece8=class extends _0x2d30eb[_0x3a0109(0x172)]{[_0x3a0109(0x1b6)](_0x368de0){const _0x758abf=_0x3a0109;let _0x296fa9=_0x368de0['get'](_0xb89e0b[_0x758abf(0x187)]);this['disposeWithMe'](this[_0x758abf(0x1a6)](this['Event'][_0x758abf(0x198)],()=>{const _0xce78d2=_0x758abf;let _0x343165=new _0x51cdf5['DisposableCollection'](),_0x10750d=_0x296fa9['entityInit$'][_0xce78d2(0x176)](_0x2bc429=>{const _0x173f78=_0xce78d2;let _0x58a833=_0x2bc429[_0x173f78(0x1b2)]['subscribe'](_0x13067b=>{const _0x7769c7=_0x173f78;let _0x2b7125={'unitId':_0x2bc429[_0x7769c7(0x19b)],'status':_0x13067b};this[_0x7769c7(0x188)](this[_0x7769c7(0x1c5)][_0x7769c7(0x198)],_0x2b7125);});_0x343165[_0x173f78(0x1ad)]((0x0,_0x51cdf5[_0x173f78(0x1bb)])(_0x58a833));});return _0x343165[_0xce78d2(0x1ad)]((0x0,_0x51cdf5[_0xce78d2(0x1bb)])(_0x10750d)),_0x343165;}));}['getCollaboration'](){const _0x8df78c=_0x3a0109;return this['_injector'][_0x8df78c(0x17a)](_0x2f85da,{'getWorkbook':_0x37af1c=>this[_0x8df78c(0x1b8)](_0x37af1c),'getDocument':_0x3c850b=>this[_0x8df78c(0x17e)](_0x3c850b),'getPresentation':_0x269830=>this[_0x8df78c(0x189)](_0x269830),'getBase':_0x17b8f4=>this[_0x8df78c(0x190)](_0x17b8f4)});}[_0x3a0109(0x1ac)](_0x2a666e,_0x569cf6,_0x28f7d5){const _0x5859d2=_0x3a0109;return this[_0x5859d2(0x177)][_0x5859d2(0x17f)](_0xb89e0b[_0x5859d2(0x1a8)])[_0x5859d2(0x18e)](_0x2a666e,_0x569cf6,_0x28f7d5);}[_0x3a0109(0x1a3)](_0x49f8f2,_0x1f578b,_0x5c16a3){const _0x540acb=_0x3a0109;return this[_0x540acb(0x177)][_0x540acb(0x17f)](_0xb89e0b[_0x540acb(0x1a8)])[_0x540acb(0x1b3)](_0x49f8f2,_0x1f578b,_0x5c16a3);}};_0x2d30eb[_0x3a0109(0x172)][_0x3a0109(0x1b4)](_0x53ece8),Object[_0x3a0109(0x197)](_0x1a6e23,_0x3a0109(0x19e),{'enumerable':!0x0,'get':function(){return _0x2f85da;}});}));