@univerjs-pro/collaboration-client 1.0.1 → 1.0.3

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 _0x268abb=_0x52c8;(function(_0x4294d1,_0x2ca75d){const _0x123c58=_0x52c8,_0x51978b=_0x4294d1();while(!![]){try{const _0x574b3d=-parseInt(_0x123c58(0x1fc))/0x1*(parseInt(_0x123c58(0x1ff))/0x2)+-parseInt(_0x123c58(0x20d))/0x3*(-parseInt(_0x123c58(0x204))/0x4)+-parseInt(_0x123c58(0x1fd))/0x5+-parseInt(_0x123c58(0x1f1))/0x6+parseInt(_0x123c58(0x20a))/0x7*(parseInt(_0x123c58(0x208))/0x8)+-parseInt(_0x123c58(0x1f9))/0x9+parseInt(_0x123c58(0x1f2))/0xa*(parseInt(_0x123c58(0x206))/0xb);if(_0x574b3d===_0x2ca75d)break;else _0x51978b['push'](_0x51978b['shift']());}catch(_0xd67c00){_0x51978b['push'](_0x51978b['shift']());}}}(_0x25fc,0xd15ce));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x268abb(0x203)}},'collabStatus':{'fetchMiss':_0x268abb(0x202),'conflict':_0x268abb(0x1fa),'notCollab':'本機檔案','synced':'已同步','syncing':_0x268abb(0x1f4),'offline':_0x268abb(0x20e)},'session':{'connection-failed':_0x268abb(0x1f3),'will-retry':_0x268abb(0x1f6),'room-full':_0x268abb(0x1f5),'join-failed':_0x268abb(0x207),'room-not-exists':_0x268abb(0x1f8),'room-permission-denied':_0x268abb(0x201),'room-cnt-exceeds':_0x268abb(0x1fb),'collaboration-timeout':_0x268abb(0x205)},'conflict':{'title':_0x268abb(0x20c),'content':_0x268abb(0x200)},'permission':{'title':_0x268abb(0x1fe),'content':_0x268abb(0x20b)},'collaboration':{'single-unit':{'warning':_0x268abb(0x209)},'closeRoom':_0x268abb(0x1f7)},'auth':{'needGotoLoginAlert':_0x268abb(0x20f)}}};function _0x25fc(){const _0x3dcd6f=['協作文件數量超過限制,您的編輯將暫存於本機。','120578OzUIEz','6810590cIoxpK','認證錯誤','26yGijua','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','沒有協作權限,您的編輯將暫存於本機。','正在擷取伺服器資料...','點擊重新連線','2976968ffiAjf','伺服器未回應協作請求,您的編輯將儲存在本機。','8785458ZIjqiS','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','24UxQQCX','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','464345Efytnp','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','協作衝突','3RkVuKW','已離線,編輯將儲存在本機','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','6167214CTUTho','50NlATES','連線失敗,請檢查您的網路。','同步中...','此文件協作人數已達上限,您的編輯將暫存於本機。','連線失敗,將在稍後重試連線。','由於協作房間已關閉,編輯權限已被收回。','加入協作失敗,您的編輯將暫存於本機。','1094274NsnkQE','編輯衝突'];_0x25fc=function(){return _0x3dcd6f;};return _0x25fc();}function _0x52c8(_0x2b9f49,_0x2f4162){_0x2b9f49=_0x2b9f49-0x1f1;const _0x25fc4c=_0x25fc();let _0x52c848=_0x25fc4c[_0x2b9f49];return _0x52c848;}export{e as default};
1
+ const _0x192e24=_0x4537;function _0x4537(_0x5efbdd,_0x39bc99){_0x5efbdd=_0x5efbdd-0xa5;const _0x6bc96c=_0x6bc9();let _0x4537e4=_0x6bc96c[_0x5efbdd];return _0x4537e4;}(function(_0x24d19f,_0x1d88ef){const _0x318150=_0x4537,_0x2b3c90=_0x24d19f();while(!![]){try{const _0x540df9=parseInt(_0x318150(0xbb))/0x1*(-parseInt(_0x318150(0xc2))/0x2)+-parseInt(_0x318150(0xaa))/0x3*(parseInt(_0x318150(0xa9))/0x4)+-parseInt(_0x318150(0xb9))/0x5*(-parseInt(_0x318150(0xc0))/0x6)+parseInt(_0x318150(0xb2))/0x7*(-parseInt(_0x318150(0xb5))/0x8)+-parseInt(_0x318150(0xb4))/0x9*(parseInt(_0x318150(0xba))/0xa)+parseInt(_0x318150(0xab))/0xb*(-parseInt(_0x318150(0xb1))/0xc)+parseInt(_0x318150(0xae))/0xd;if(_0x540df9===_0x1d88ef)break;else _0x2b3c90['push'](_0x2b3c90['shift']());}catch(_0x3505cd){_0x2b3c90['push'](_0x2b3c90['shift']());}}}(_0x6bc9,0x9af64));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x192e24(0xa5),'conflict':_0x192e24(0xbd),'notCollab':_0x192e24(0xbe),'synced':_0x192e24(0xaf),'syncing':_0x192e24(0xb3),'offline':'已離線,編輯將儲存在本機'},'session':{'connection-failed':_0x192e24(0xb7),'will-retry':_0x192e24(0xbc),'room-full':_0x192e24(0xb0),'join-failed':'加入協作失敗,請稍後重試,您的編輯將暫存於本機。','room-not-exists':_0x192e24(0xad),'room-permission-denied':'沒有協作權限,您的編輯將暫存於本機。','room-cnt-exceeds':_0x192e24(0xb8),'collaboration-timeout':_0x192e24(0xbf)},'conflict':{'title':_0x192e24(0xc3),'content':_0x192e24(0xac)},'permission':{'title':_0x192e24(0xb6),'content':_0x192e24(0xc1)},'collaboration':{'single-unit':{'warning':_0x192e24(0xa6)},'closeRoom':_0x192e24(0xa8)},'auth':{'needGotoLoginAlert':_0x192e24(0xa7)}}};export{e as default};function _0x6bc9(){const _0x74f7ee=['已同步','此文件協作人數已達上限,您的編輯將暫存於本機。','108aTzitr','119NzoNIn','同步中...','45YtZgNM','93872HucQJj','認證錯誤','連線失敗,請檢查您的網路。','協作文件數量超過限制,您的編輯將暫存於本機。','10dveamw','2218870vZTNAj','5wpiRLg','連線失敗,將在稍後重試連線。','編輯衝突','本機檔案','伺服器未回應協作請求,您的編輯將儲存在本機。','631122roFWDo','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','363980EjVNEm','協作衝突','正在擷取伺服器資料...','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','由於協作房間已關閉,編輯權限已被收回。','80lmufZh','16311rJKEdl','881639flNahb','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','加入協作失敗,您的編輯將暫存於本機。','45152822HasmAm'];_0x6bc9=function(){return _0x74f7ee;};return _0x6bc9();}
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0xdfcd(){const _0x437f81=['CollaborationController','_handler','49707zAeFVB','Inject','function','599418OrKEsn','NOT_COLLAB','1375356KIGqmt','exports','loadSheetAsync','DataLoaderService','DisposableCollection','FCollaboration','UniverCoreFacade','loadDoc','UniverCore','UniverProCollaborationClient','@univerjs-pro/collaboration','switchMap','loadBoardAsync','FEnum','subscribe','status','getOwnPropertyDescriptor','createInstance','entityInit$','pipe','@univerjs/core/facade','Event','CONFLICT','loadPdfAsync','@univerjs-pro/collaboration-client','values','UniverProCollaboration','getCollaboration','loadPdf','flush','IUniverInstanceService','waitForRoom$','add','_collaborationController','status$','8677590kslcmR','_injector','_univerInstanceService','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.','getWorkbook','from','extend','state','decorate','subscribeCollaborators','loadBase','getDocument','getPdf','32hmqzqW','toDisposable','708AhFmbU','toStringTag','SnapshotService','6108yDkWVa','timeout','loadUnitOfRevision','@univerjs/core','get','rxjs','readyForCollab','reject','defineProperty','members$','length','unitID','Injector','2930fmMGwf','loadDocAsync','getCollabEntity','SYNCED','UniverProCollaborationClientFacade','loadUnit','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','amd','fireEvent','getCollaborationStatus','loadServerUnitOfRevision','\x22\x20after\x20','loadSlideAsync','getBase','MemberService','CollaborationStatusChanged','154CwCZtp','getUnitId','3RPPeNM','registerEventHandler','CollaborationStatus','FUniver','_snapshotService','_resolveUnitId','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','FEventName','562577PEBazW','object','loadSlide','unsubscribe','1669238kCbKES','loadServerUnit','disposeWithMe'];_0xdfcd=function(){return _0x437f81;};return _0xdfcd();}function _0x45c2(_0x390010,_0x2d8b72){_0x390010=_0x390010-0x18f;const _0xdfcd15=_0xdfcd();let _0x45c2d9=_0xdfcd15[_0x390010];return _0x45c2d9;}(function(_0x482365,_0xe0f638){const _0x376ca8=_0x45c2,_0x1356ad=_0x482365();while(!![]){try{const _0x28e7d2=-parseInt(_0x376ca8(0x1f9))/0x1+parseInt(_0x376ca8(0x192))/0x2*(-parseInt(_0x376ca8(0x1f1))/0x3)+parseInt(_0x376ca8(0x1d2))/0x4*(-parseInt(_0x376ca8(0x1df))/0x5)+parseInt(_0x376ca8(0x1cf))/0x6*(parseInt(_0x376ca8(0x197))/0x7)+parseInt(_0x376ca8(0x1cd))/0x8*(-parseInt(_0x376ca8(0x19a))/0x9)+parseInt(_0x376ca8(0x1bf))/0xa+parseInt(_0x376ca8(0x1ef))/0xb*(parseInt(_0x376ca8(0x19c))/0xc);if(_0x28e7d2===_0xe0f638)break;else _0x1356ad['push'](_0x1356ad['shift']());}catch(_0x3e7fb3){_0x1356ad['push'](_0x1356ad['shift']());}}}(_0xdfcd,0xb78d9),function(_0x2a0ffa,_0x2f463e){const _0x3c280a=_0x45c2;typeof exports=='object'&&typeof module<'u'?_0x2f463e(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x3c280a(0x199)&&define[_0x3c280a(0x1e6)]?define([_0x3c280a(0x19d),_0x3c280a(0x1b4),_0x3c280a(0x1b0),_0x3c280a(0x1d5),_0x3c280a(0x1a6),_0x3c280a(0x1d7)],_0x2f463e):(_0x2a0ffa=typeof globalThis<'u'?globalThis:_0x2a0ffa||self,_0x2f463e(_0x2a0ffa[_0x3c280a(0x1e3)]={},_0x2a0ffa[_0x3c280a(0x1a5)],_0x2a0ffa[_0x3c280a(0x1a2)],_0x2a0ffa[_0x3c280a(0x1a4)],_0x2a0ffa[_0x3c280a(0x1b6)],_0x2a0ffa[_0x3c280a(0x1d7)]));}(this,function(_0x27a369,_0x2b0af0,_0x365aae,_0x5c873f,_0x2f70f4,_0x19232d){const _0x46c129=_0x45c2;Object['defineProperty'](_0x27a369,Symbol[_0x46c129(0x1d0)],{'value':'Module'});var _0x44c836=class extends _0x365aae[_0x46c129(0x1a9)]{get[_0x46c129(0x1f3)](){const _0xa1d5=_0x46c129;return _0x2b0af0[_0xa1d5(0x1f3)];}};_0x365aae[_0x46c129(0x1a9)][_0x46c129(0x1c6)](_0x44c836);var _0x50a8eb=class extends _0x365aae[_0x46c129(0x1f8)]{get[_0x46c129(0x1ee)](){return'CollaborationStatusChanged';}};_0x365aae[_0x46c129(0x1f8)][_0x46c129(0x1c6)](_0x50a8eb);function _0x5e9676(_0x5df10d,_0x1b1c70){return function(_0x307e07,_0x3d537a){_0x1b1c70(_0x307e07,_0x3d537a,_0x5df10d);};}function _0x6a9d04(_0x46c0db,_0x2837b4,_0x38006d,_0x577af4){const _0x394ec8=_0x46c129;var _0x48e201=arguments[_0x394ec8(0x1dc)],_0x2068be=_0x48e201<0x3?_0x2837b4:_0x577af4===null?_0x577af4=Object[_0x394ec8(0x1ac)](_0x2837b4,_0x38006d):_0x577af4,_0x2fdb81;if(typeof Reflect==_0x394ec8(0x18f)&&typeof Reflect[_0x394ec8(0x1c8)]==_0x394ec8(0x199))_0x2068be=Reflect[_0x394ec8(0x1c8)](_0x46c0db,_0x2837b4,_0x38006d,_0x577af4);else{for(var _0x2d265b=_0x46c0db[_0x394ec8(0x1dc)]-0x1;_0x2d265b>=0x0;_0x2d265b--)(_0x2fdb81=_0x46c0db[_0x2d265b])&&(_0x2068be=(_0x48e201<0x3?_0x2fdb81(_0x2068be):_0x48e201>0x3?_0x2fdb81(_0x2837b4,_0x38006d,_0x2068be):_0x2fdb81(_0x2837b4,_0x38006d))||_0x2068be);}return _0x48e201>0x3&&_0x2068be&&Object[_0x394ec8(0x1da)](_0x2837b4,_0x38006d,_0x2068be),_0x2068be;}let _0x2b77a0=class extends _0x365aae['FBase']{constructor(_0x2b2d4d,_0x5ce2dd,_0x4f55f3,_0x178dae,_0x3c6915){const _0x492925=_0x46c129;super(),this[_0x492925(0x196)]=_0x2b2d4d,this[_0x492925(0x1c0)]=_0x5ce2dd,this['_univerInstanceService']=_0x4f55f3,this[_0x492925(0x1f5)]=_0x178dae,this[_0x492925(0x1bd)]=_0x3c6915;}async[_0x46c129(0x19e)](_0x45411d,_0x56b174){const _0x2f8497=_0x46c129;return await this[_0x2f8497(0x1f5)]['loadSheet'](_0x45411d,0x0,_0x56b174)?(await this['_collaborationController'][_0x2f8497(0x1d8)](_0x45411d),this['_handler'][_0x2f8497(0x1c4)](_0x45411d)):null;}async[_0x46c129(0x1e0)](_0x3bb08c,_0x2f82f6){const _0x49cc72=_0x46c129;return await this['_snapshotService'][_0x49cc72(0x1a3)](_0x3bb08c,0x0,_0x2f82f6)?(await this[_0x49cc72(0x1bd)][_0x49cc72(0x1d8)](_0x3bb08c),this[_0x49cc72(0x196)]['getDocument'](_0x3bb08c)):null;}async['loadBaseAsync'](_0x2f24c4,_0x59e31a){const _0x58858e=_0x46c129;return await this[_0x58858e(0x1f5)][_0x58858e(0x1ca)](_0x2f24c4,0x0,_0x59e31a)?(await this['_collaborationController'][_0x58858e(0x1d8)](_0x2f24c4),this[_0x58858e(0x196)]['getBase'](_0x2f24c4)):null;}async[_0x46c129(0x1eb)](_0x5eac42,_0x5e0113){const _0x407323=_0x46c129;return await this[_0x407323(0x1f5)][_0x407323(0x190)](_0x5eac42,0x0,_0x5e0113)?(await this['_collaborationController'][_0x407323(0x1d8)](_0x5eac42),this[_0x407323(0x196)]['getPresentation'](_0x5eac42)):null;}async[_0x46c129(0x1a8)](_0x2e6896,_0x13bf99){const _0x5c32da=_0x46c129;return await this[_0x5c32da(0x1f5)]['loadBoard'](_0x2e6896,0x0,_0x13bf99)?(await this['_collaborationController']['readyForCollab'](_0x2e6896),this[_0x5c32da(0x196)]['getBoard'](_0x2e6896)):null;}async[_0x46c129(0x1b3)](_0x3e3962,_0xbbbfde){const _0x2f359e=_0x46c129;return await this[_0x2f359e(0x1f5)][_0x2f359e(0x1b8)](_0x3e3962,0x0,_0xbbbfde)?(await this['_collaborationController'][_0x2f359e(0x1d8)](_0x3e3962),this['_handler']['getPdf'](_0x3e3962)):null;}[_0x46c129(0x1c9)](_0xe61ea4,_0x5ee6ba){const _0x1cad57=_0x46c129;let _0xed9a25=this[_0x1cad57(0x1c0)][_0x1cad57(0x1d6)](_0x2b0af0[_0x1cad57(0x1ed)])[_0x1cad57(0x1bb)](_0xe61ea4)[_0x1cad57(0x1af)]((0x0,_0x19232d[_0x1cad57(0x1a7)])(_0x5c4867=>_0x5c4867[_0x1cad57(0x1db)]))['subscribe'](_0x5e2814=>_0x5ee6ba(Array[_0x1cad57(0x1c5)](_0x5e2814[_0x1cad57(0x1b5)]())));return(0x0,_0x5c873f[_0x1cad57(0x1ce)])(_0xed9a25);}[_0x46c129(0x1e8)](_0x11e863){const _0x16d0b6=_0x46c129;let _0x1ec69d=this[_0x16d0b6(0x1f6)](_0x11e863);if(!_0x1ec69d)return _0x2b0af0['CollaborationStatus'][_0x16d0b6(0x19b)];let _0x26578e=this[_0x16d0b6(0x1bd)][_0x16d0b6(0x1e1)](_0x1ec69d);return(_0x26578e==null?void 0x0:_0x26578e[_0x16d0b6(0x1c7)][_0x16d0b6(0x1ab)])??_0x2b0af0['CollaborationStatus'][_0x16d0b6(0x19b)];}[_0x46c129(0x1b9)](_0x51db16,_0x1bc29b={}){const _0x1a1dc1=_0x46c129;let _0x58d73b=this[_0x1a1dc1(0x1f6)](_0x51db16);if(!_0x58d73b)return Promise[_0x1a1dc1(0x1d9)](Error(_0x1a1dc1(0x1c3)));let _0x2a1dec=this['_collaborationController'][_0x1a1dc1(0x1e1)](_0x58d73b);if(!_0x2a1dec)return Promise[_0x1a1dc1(0x1d9)](Error('[FCollaboration]:\x20Unit\x20\x22'+_0x58d73b+_0x1a1dc1(0x1c2)));let _0xeb12f1=_0x2a1dec[_0x1a1dc1(0x1c7)]['status'];if(_0xeb12f1===_0x2b0af0['CollaborationStatus'][_0x1a1dc1(0x1e2)])return Promise['resolve']();let _0x427e35=_0x45fbbe(_0x58d73b,_0xeb12f1);if(_0x427e35)return Promise['reject'](_0x427e35);let _0x3a47cd=_0x1bc29b[_0x1a1dc1(0x1d3)]??0x7530;return new Promise((_0x3fc2d0,_0x24adbf)=>{const _0x169a9b=_0x1a1dc1;let _0x151a27=!0x1,_0x32df82=null,_0x1a17b5=setTimeout(()=>{const _0x1ca552=_0x45c2;_0x151a27=!0x0,_0x32df82==null||_0x32df82[_0x1ca552(0x191)](),_0x24adbf(Error(_0x1ca552(0x1e5)+_0x58d73b+_0x1ca552(0x1ea)+_0x3a47cd+'ms.'));},_0x3a47cd),_0x1356e8=()=>{const _0x1de7cf=_0x45c2;_0x151a27=!0x0,clearTimeout(_0x1a17b5),_0x32df82==null||_0x32df82[_0x1de7cf(0x191)]();};_0x32df82=_0x2a1dec[_0x169a9b(0x1be)][_0x169a9b(0x1aa)](_0x33e4ee=>{const _0x39d38b=_0x169a9b;if(_0x151a27)return;if(_0x33e4ee===_0x2b0af0[_0x39d38b(0x1f3)][_0x39d38b(0x1e2)]){_0x1356e8(),_0x3fc2d0();return;}let _0x35cdad=_0x45fbbe(_0x58d73b,_0x33e4ee);_0x35cdad&&(_0x1356e8(),_0x24adbf(_0x35cdad));});});}[_0x46c129(0x1f6)](_0xd33157){const _0x513637=_0x46c129;var _0x15463d;return _0xd33157||((_0x15463d=this[_0x513637(0x1c1)]['getFocusedUnit']())==null?void 0x0:_0x15463d[_0x513637(0x1f0)]());}};_0x2b77a0=_0x6a9d04([_0x5e9676(0x1,(0x0,_0x5c873f[_0x46c129(0x198)])(_0x5c873f[_0x46c129(0x1de)])),_0x5e9676(0x2,_0x5c873f[_0x46c129(0x1ba)]),_0x5e9676(0x3,(0x0,_0x5c873f[_0x46c129(0x198)])(_0x2f70f4[_0x46c129(0x1d1)])),_0x5e9676(0x4,(0x0,_0x5c873f[_0x46c129(0x198)])(_0x2b0af0[_0x46c129(0x195)]))],_0x2b77a0);function _0x45fbbe(_0x574b99,_0x3c1d4c){const _0xf8c55b=_0x46c129;return _0x3c1d4c===_0x2b0af0[_0xf8c55b(0x1f3)][_0xf8c55b(0x1b2)]||_0x3c1d4c===_0x2b0af0['CollaborationStatus'][_0xf8c55b(0x19b)]?Error(_0xf8c55b(0x1f7)+_0x574b99+'\x22\x20while\x20collaboration\x20status\x20is\x20'+_0x3c1d4c+'.'):null;}var _0x2a94cc=class extends _0x365aae[_0x46c129(0x1f4)]{['_initialize'](_0x4cce96){const _0x130a11=_0x46c129;let _0x376f2b=_0x4cce96[_0x130a11(0x1d6)](_0x2b0af0[_0x130a11(0x195)]);this[_0x130a11(0x194)](this[_0x130a11(0x1f2)](this['Event'][_0x130a11(0x1ee)],()=>{const _0x1d5662=_0x130a11;let _0x4c298f=new _0x5c873f[(_0x1d5662(0x1a0))](),_0x5c823a=_0x376f2b[_0x1d5662(0x1ae)][_0x1d5662(0x1aa)](_0x59b8af=>{const _0x14b735=_0x1d5662;let _0x1a7652=_0x59b8af['status$'][_0x14b735(0x1aa)](_0x5900c9=>{const _0x5aaa9=_0x14b735;let _0x435431={'unitId':_0x59b8af[_0x5aaa9(0x1dd)],'status':_0x5900c9};this[_0x5aaa9(0x1e7)](this[_0x5aaa9(0x1b1)][_0x5aaa9(0x1ee)],_0x435431);});_0x4c298f[_0x14b735(0x1bc)]((0x0,_0x5c873f[_0x14b735(0x1ce)])(_0x1a7652));});return _0x4c298f['add']((0x0,_0x5c873f['toDisposable'])(_0x5c823a)),_0x4c298f;}));}[_0x46c129(0x1b7)](){const _0x1f2c48=_0x46c129;return this['_injector'][_0x1f2c48(0x1ad)](_0x2b77a0,{'getWorkbook':_0xf3c8a8=>this[_0x1f2c48(0x1c4)](_0xf3c8a8),'getDocument':_0x3dc82d=>this[_0x1f2c48(0x1cb)](_0x3dc82d),'getPresentation':_0x49009a=>this['getPresentation'](_0x49009a),'getBase':_0x9f0638=>this[_0x1f2c48(0x1ec)](_0x9f0638),'getBoard':_0x5b2267=>this['getBoard'](_0x5b2267),'getPdf':_0x77e7fe=>this[_0x1f2c48(0x1cc)](_0x77e7fe)});}[_0x46c129(0x193)](_0x1d08f7,_0x454ebf,_0x19faa5){const _0x47054f=_0x46c129;return this[_0x47054f(0x1c0)]['get'](_0x2b0af0['DataLoaderService'])[_0x47054f(0x1e4)](_0x1d08f7,_0x454ebf,_0x19faa5);}[_0x46c129(0x1e9)](_0x7f6287,_0x40b27a,_0xa61c83){const _0x32e782=_0x46c129;return this[_0x32e782(0x1c0)][_0x32e782(0x1d6)](_0x2b0af0[_0x32e782(0x19f)])[_0x32e782(0x1d4)](_0x7f6287,_0x40b27a,_0xa61c83);}};_0x365aae['FUniver'][_0x46c129(0x1c6)](_0x2a94cc),Object[_0x46c129(0x1da)](_0x27a369,_0x46c129(0x1a1),{'enumerable':!0x0,'get':function(){return _0x2b77a0;}});}));
1
+ function _0x4178(){const _0x171a91=['exports','DataLoaderService','FEventName','add','@univerjs/core/facade','DisposableCollection','getCollaboration','@univerjs-pro/collaboration-client','17745SQhgPs','UniverCore','getCollabEntity','115906EQColz','Event','toStringTag','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','getUnitId','toDisposable','ms.','loadServerUnit','loadBaseAsync','_handler','loadDoc','loadSlide','_resolveUnitId','readyForCollab','\x22\x20after\x20','loadUnitOfRevision','CollaborationStatusChanged','flush','_snapshotService','loadServerUnitOfRevision','UniverProCollaborationClientFacade','object','325991ARBIxG','1411056KUGugY','getBoard','_univerInstanceService','getPresentation','2268837FETNUs','loadBase','358076herWWJ','FEnum','FUniver','FBase','NOT_COLLAB','function','loadPdf','FCollaboration','extend','unsubscribe','status$','switchMap','amd','Injector','UniverProCollaboration','getOwnPropertyDescriptor','CollaborationController','get','getFocusedUnit','10hPlzjB','loadPdfAsync','getDocument','fireEvent','6uoBtHT','Inject','disposeWithMe','pipe','loadSlideAsync','getCollaborationStatus','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','defineProperty','values','144shBQUj','rxjs','MemberService','subscribeCollaborators','timeout','decorate','Module','getBase','waitForRoom$','loadBoardAsync','loadUnit','_collaborationController','getWorkbook','registerEventHandler','@univerjs-pro/collaboration','loadBoard','3046410UkfBrG','SYNCED','length','CollaborationStatus','unitID','subscribe','resolve','status','loadSheet','members$','reject','state','UniverCoreFacade','getPdf','_injector'];_0x4178=function(){return _0x171a91;};return _0x4178();}function _0x46ec(_0x11ab44,_0x45e4ac){_0x11ab44=_0x11ab44-0xd0;const _0x4178a3=_0x4178();let _0x46ec85=_0x4178a3[_0x11ab44];return _0x46ec85;}(function(_0x1627c0,_0x1dbf51){const _0x1ddbf4=_0x46ec,_0x4b36d4=_0x1627c0();while(!![]){try{const _0x40fc8f=parseInt(_0x1ddbf4(0x121))/0x1+parseInt(_0x1ddbf4(0x10b))/0x2*(parseInt(_0x1ddbf4(0xd8))/0x3)+parseInt(_0x1ddbf4(0x128))/0x4*(parseInt(_0x1ddbf4(0xd4))/0x5)+-parseInt(_0x1ddbf4(0xe1))/0x6*(parseInt(_0x1ddbf4(0x108))/0x7)+parseInt(_0x1ddbf4(0x122))/0x8+-parseInt(_0x1ddbf4(0x126))/0x9+-parseInt(_0x1ddbf4(0xf1))/0xa;if(_0x40fc8f===_0x1dbf51)break;else _0x4b36d4['push'](_0x4b36d4['shift']());}catch(_0x30d4a7){_0x4b36d4['push'](_0x4b36d4['shift']());}}}(_0x4178,0x2be1f),function(_0x4b3fac,_0x2390bc){const _0x32761d=_0x46ec;typeof exports==_0x32761d(0x120)&&typeof module<'u'?_0x2390bc(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x32761d(0x12d)&&define[_0x32761d(0x134)]?define([_0x32761d(0x100),_0x32761d(0x107),_0x32761d(0x104),'@univerjs/core',_0x32761d(0xef),_0x32761d(0xe2)],_0x2390bc):(_0x4b3fac=typeof globalThis<'u'?globalThis:_0x4b3fac||self,_0x2390bc(_0x4b3fac[_0x32761d(0x11f)]={},_0x4b3fac['UniverProCollaborationClient'],_0x4b3fac[_0x32761d(0xfd)],_0x4b3fac[_0x32761d(0x109)],_0x4b3fac[_0x32761d(0x136)],_0x4b3fac[_0x32761d(0xe2)]));}(this,function(_0x4d25f7,_0x5a9ff5,_0x74564e,_0x28b429,_0x429641,_0x5c90fd){const _0x7bb825=_0x46ec;Object[_0x7bb825(0xdf)](_0x4d25f7,Symbol[_0x7bb825(0x10d)],{'value':_0x7bb825(0xe7)});var _0x1044e0=class extends _0x74564e[_0x7bb825(0x129)]{get[_0x7bb825(0xf4)](){const _0x3d1416=_0x7bb825;return _0x5a9ff5[_0x3d1416(0xf4)];}};_0x74564e['FEnum'][_0x7bb825(0x130)](_0x1044e0);var _0x4dbfe5=class extends _0x74564e['FEventName']{get[_0x7bb825(0x11b)](){const _0x400495=_0x7bb825;return _0x400495(0x11b);}};_0x74564e[_0x7bb825(0x102)][_0x7bb825(0x130)](_0x4dbfe5);function _0x63836b(_0x261404,_0x55cfae){return function(_0x1fbaa7,_0x48d7d7){_0x55cfae(_0x1fbaa7,_0x48d7d7,_0x261404);};}function _0x59ec6b(_0x3063a2,_0xee7bd0,_0x5d6f78,_0x56b86c){const _0x25793b=_0x7bb825;var _0x143648=arguments[_0x25793b(0xf3)],_0x6c828c=_0x143648<0x3?_0xee7bd0:_0x56b86c===null?_0x56b86c=Object[_0x25793b(0xd0)](_0xee7bd0,_0x5d6f78):_0x56b86c,_0x38b4cd;if(typeof Reflect==_0x25793b(0x120)&&typeof Reflect['decorate']==_0x25793b(0x12d))_0x6c828c=Reflect[_0x25793b(0xe6)](_0x3063a2,_0xee7bd0,_0x5d6f78,_0x56b86c);else{for(var _0x5b9095=_0x3063a2['length']-0x1;_0x5b9095>=0x0;_0x5b9095--)(_0x38b4cd=_0x3063a2[_0x5b9095])&&(_0x6c828c=(_0x143648<0x3?_0x38b4cd(_0x6c828c):_0x143648>0x3?_0x38b4cd(_0xee7bd0,_0x5d6f78,_0x6c828c):_0x38b4cd(_0xee7bd0,_0x5d6f78))||_0x6c828c);}return _0x143648>0x3&&_0x6c828c&&Object[_0x25793b(0xdf)](_0xee7bd0,_0x5d6f78,_0x6c828c),_0x6c828c;}let _0x1a2363=class extends _0x74564e[_0x7bb825(0x12b)]{constructor(_0x2a6daa,_0x482f5a,_0x15c930,_0x519c7a,_0x13c953){const _0x115b46=_0x7bb825;super(),this['_handler']=_0x2a6daa,this[_0x115b46(0xff)]=_0x482f5a,this[_0x115b46(0x124)]=_0x15c930,this[_0x115b46(0x11d)]=_0x519c7a,this[_0x115b46(0xec)]=_0x13c953;}async['loadSheetAsync'](_0x3bfd68,_0x3351cd){const _0xf4a1a8=_0x7bb825;return await this[_0xf4a1a8(0x11d)][_0xf4a1a8(0xf9)](_0x3bfd68,0x0,_0x3351cd)?(await this[_0xf4a1a8(0xec)]['readyForCollab'](_0x3bfd68),this[_0xf4a1a8(0x114)]['getWorkbook'](_0x3bfd68)):null;}async['loadDocAsync'](_0x41c835,_0x529f25){const _0x513f59=_0x7bb825;return await this['_snapshotService'][_0x513f59(0x115)](_0x41c835,0x0,_0x529f25)?(await this[_0x513f59(0xec)]['readyForCollab'](_0x41c835),this['_handler'][_0x513f59(0xd6)](_0x41c835)):null;}async[_0x7bb825(0x113)](_0xd05731,_0x2b44c6){const _0x43b3e0=_0x7bb825;return await this['_snapshotService'][_0x43b3e0(0x127)](_0xd05731,0x0,_0x2b44c6)?(await this['_collaborationController'][_0x43b3e0(0x118)](_0xd05731),this[_0x43b3e0(0x114)]['getBase'](_0xd05731)):null;}async[_0x7bb825(0xdc)](_0x22b36e,_0x4aa71e){const _0x15d76=_0x7bb825;return await this[_0x15d76(0x11d)][_0x15d76(0x116)](_0x22b36e,0x0,_0x4aa71e)?(await this[_0x15d76(0xec)]['readyForCollab'](_0x22b36e),this[_0x15d76(0x114)][_0x15d76(0x125)](_0x22b36e)):null;}async[_0x7bb825(0xea)](_0x4b6c30,_0x32613c){const _0x5258cd=_0x7bb825;return await this[_0x5258cd(0x11d)][_0x5258cd(0xf0)](_0x4b6c30,0x0,_0x32613c)?(await this[_0x5258cd(0xec)][_0x5258cd(0x118)](_0x4b6c30),this[_0x5258cd(0x114)]['getBoard'](_0x4b6c30)):null;}async[_0x7bb825(0xd5)](_0x97ae9b,_0x325e08){const _0x5c500a=_0x7bb825;return await this[_0x5c500a(0x11d)][_0x5c500a(0x12e)](_0x97ae9b,0x0,_0x325e08)?(await this['_collaborationController'][_0x5c500a(0x118)](_0x97ae9b),this[_0x5c500a(0x114)][_0x5c500a(0xfe)](_0x97ae9b)):null;}[_0x7bb825(0xe4)](_0x4c7e47,_0x46f332){const _0x2b642d=_0x7bb825;let _0x14b85a=this[_0x2b642d(0xff)][_0x2b642d(0xd2)](_0x5a9ff5[_0x2b642d(0xe3)])[_0x2b642d(0xe9)](_0x4c7e47)[_0x2b642d(0xdb)]((0x0,_0x5c90fd[_0x2b642d(0x133)])(_0x58897d=>_0x58897d[_0x2b642d(0xfa)]))[_0x2b642d(0xf6)](_0x49a577=>_0x46f332(Array['from'](_0x49a577[_0x2b642d(0xe0)]())));return(0x0,_0x28b429[_0x2b642d(0x110)])(_0x14b85a);}[_0x7bb825(0xdd)](_0x7570ec){const _0x251b8b=_0x7bb825;let _0x1c0911=this[_0x251b8b(0x117)](_0x7570ec);if(!_0x1c0911)return _0x5a9ff5[_0x251b8b(0xf4)]['NOT_COLLAB'];let _0x36496e=this[_0x251b8b(0xec)][_0x251b8b(0x10a)](_0x1c0911);return(_0x36496e==null?void 0x0:_0x36496e[_0x251b8b(0xfc)][_0x251b8b(0xf8)])??_0x5a9ff5['CollaborationStatus'][_0x251b8b(0x12c)];}[_0x7bb825(0x11c)](_0x4a023f,_0x100c41={}){const _0x3947de=_0x7bb825;let _0x27ff9c=this['_resolveUnitId'](_0x4a023f);if(!_0x27ff9c)return Promise[_0x3947de(0xfb)](Error('[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.'));let _0x13e910=this[_0x3947de(0xec)][_0x3947de(0x10a)](_0x27ff9c);if(!_0x13e910)return Promise[_0x3947de(0xfb)](Error('[FCollaboration]:\x20Unit\x20\x22'+_0x27ff9c+_0x3947de(0x10e)));let _0x4b4c35=_0x13e910[_0x3947de(0xfc)][_0x3947de(0xf8)];if(_0x4b4c35===_0x5a9ff5[_0x3947de(0xf4)][_0x3947de(0xf2)])return Promise[_0x3947de(0xf7)]();let _0x5cdd31=_0x11cd49(_0x27ff9c,_0x4b4c35);if(_0x5cdd31)return Promise['reject'](_0x5cdd31);let _0x599ea1=_0x100c41[_0x3947de(0xe5)]??0x7530;return new Promise((_0x48c11d,_0x31e204)=>{const _0x19d6e2=_0x3947de;let _0x3f6d3b=!0x1,_0x561cee=null,_0x6070d3=setTimeout(()=>{const _0x252f87=_0x46ec;_0x3f6d3b=!0x0,_0x561cee==null||_0x561cee[_0x252f87(0x131)](),_0x31e204(Error('[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22'+_0x27ff9c+_0x252f87(0x119)+_0x599ea1+_0x252f87(0x111)));},_0x599ea1),_0x845cfe=()=>{const _0x5cef9a=_0x46ec;_0x3f6d3b=!0x0,clearTimeout(_0x6070d3),_0x561cee==null||_0x561cee[_0x5cef9a(0x131)]();};_0x561cee=_0x13e910[_0x19d6e2(0x132)][_0x19d6e2(0xf6)](_0x33dbbf=>{const _0x3ef791=_0x19d6e2;if(_0x3f6d3b)return;if(_0x33dbbf===_0x5a9ff5[_0x3ef791(0xf4)][_0x3ef791(0xf2)]){_0x845cfe(),_0x48c11d();return;}let _0x4f90c1=_0x11cd49(_0x27ff9c,_0x33dbbf);_0x4f90c1&&(_0x845cfe(),_0x31e204(_0x4f90c1));});});}[_0x7bb825(0x117)](_0x32bfca){const _0x3a2e97=_0x7bb825;var _0xb3003d;return _0x32bfca||((_0xb3003d=this['_univerInstanceService'][_0x3a2e97(0xd3)]())==null?void 0x0:_0xb3003d[_0x3a2e97(0x10f)]());}};_0x1a2363=_0x59ec6b([_0x63836b(0x1,(0x0,_0x28b429[_0x7bb825(0xd9)])(_0x28b429[_0x7bb825(0x135)])),_0x63836b(0x2,_0x28b429['IUniverInstanceService']),_0x63836b(0x3,(0x0,_0x28b429['Inject'])(_0x429641['SnapshotService'])),_0x63836b(0x4,(0x0,_0x28b429['Inject'])(_0x5a9ff5[_0x7bb825(0xd1)]))],_0x1a2363);function _0x11cd49(_0x4ff4db,_0x514984){const _0x40864b=_0x7bb825;return _0x514984===_0x5a9ff5[_0x40864b(0xf4)]['CONFLICT']||_0x514984===_0x5a9ff5[_0x40864b(0xf4)][_0x40864b(0x12c)]?Error(_0x40864b(0xde)+_0x4ff4db+'\x22\x20while\x20collaboration\x20status\x20is\x20'+_0x514984+'.'):null;}var _0x20caa4=class extends _0x74564e['FUniver']{['_initialize'](_0x2fb22b){const _0x30e37b=_0x7bb825;let _0x3bc4cd=_0x2fb22b[_0x30e37b(0xd2)](_0x5a9ff5[_0x30e37b(0xd1)]);this[_0x30e37b(0xda)](this[_0x30e37b(0xee)](this['Event']['CollaborationStatusChanged'],()=>{const _0xca243a=_0x30e37b;let _0x6f8478=new _0x28b429[(_0xca243a(0x105))](),_0x39ed31=_0x3bc4cd['entityInit$'][_0xca243a(0xf6)](_0x31fa3b=>{const _0x14ac47=_0xca243a;let _0xd532a7=_0x31fa3b[_0x14ac47(0x132)][_0x14ac47(0xf6)](_0x4a0e64=>{const _0x2dc196=_0x14ac47;let _0x1b240c={'unitId':_0x31fa3b[_0x2dc196(0xf5)],'status':_0x4a0e64};this[_0x2dc196(0xd7)](this[_0x2dc196(0x10c)][_0x2dc196(0x11b)],_0x1b240c);});_0x6f8478[_0x14ac47(0x103)]((0x0,_0x28b429[_0x14ac47(0x110)])(_0xd532a7));});return _0x6f8478[_0xca243a(0x103)]((0x0,_0x28b429[_0xca243a(0x110)])(_0x39ed31)),_0x6f8478;}));}[_0x7bb825(0x106)](){const _0x4892a4=_0x7bb825;return this['_injector']['createInstance'](_0x1a2363,{'getWorkbook':_0x3eda6a=>this[_0x4892a4(0xed)](_0x3eda6a),'getDocument':_0xd3458c=>this[_0x4892a4(0xd6)](_0xd3458c),'getPresentation':_0x1a1d94=>this[_0x4892a4(0x125)](_0x1a1d94),'getBase':_0x4c2095=>this[_0x4892a4(0xe8)](_0x4c2095),'getBoard':_0x125da5=>this[_0x4892a4(0x123)](_0x125da5),'getPdf':_0x43f355=>this['getPdf'](_0x43f355)});}[_0x7bb825(0x112)](_0x1b8218,_0x14eb26,_0x42d8a6){const _0x423bd6=_0x7bb825;return this[_0x423bd6(0xff)][_0x423bd6(0xd2)](_0x5a9ff5['DataLoaderService'])[_0x423bd6(0xeb)](_0x1b8218,_0x14eb26,_0x42d8a6);}[_0x7bb825(0x11e)](_0x2db66e,_0x2cace7,_0x29e469){const _0x574435=_0x7bb825;return this[_0x574435(0xff)][_0x574435(0xd2)](_0x5a9ff5[_0x574435(0x101)])[_0x574435(0x11a)](_0x2db66e,_0x2cace7,_0x29e469);}};_0x74564e[_0x7bb825(0x12a)]['extend'](_0x20caa4),Object[_0x7bb825(0xdf)](_0x4d25f7,_0x7bb825(0x12f),{'enumerable':!0x0,'get':function(){return _0x1a2363;}});}));