@univerjs-pro/collaboration-client 0.25.0 → 0.25.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 +11 -11
@@ -1 +1 @@
1
- function _0x1ab9(_0x96d70a,_0x306507){_0x96d70a=_0x96d70a-0x14b;const _0x6aaff7=_0x6aaf();let _0x1ab988=_0x6aaff7[_0x96d70a];return _0x1ab988;}const _0x2dece4=_0x1ab9;(function(_0x199cfa,_0x4e17bd){const _0x3b3a5b=_0x1ab9,_0x9f9973=_0x199cfa();while(!![]){try{const _0x35cc5a=parseInt(_0x3b3a5b(0x152))/0x1+-parseInt(_0x3b3a5b(0x165))/0x2+-parseInt(_0x3b3a5b(0x154))/0x3*(-parseInt(_0x3b3a5b(0x14d))/0x4)+parseInt(_0x3b3a5b(0x150))/0x5*(parseInt(_0x3b3a5b(0x15a))/0x6)+parseInt(_0x3b3a5b(0x14e))/0x7+parseInt(_0x3b3a5b(0x164))/0x8*(-parseInt(_0x3b3a5b(0x162))/0x9)+-parseInt(_0x3b3a5b(0x15c))/0xa*(parseInt(_0x3b3a5b(0x159))/0xb);if(_0x35cc5a===_0x4e17bd)break;else _0x9f9973['push'](_0x9f9973['shift']());}catch(_0x2502c3){_0x9f9973['push'](_0x9f9973['shift']());}}}(_0x6aaf,0x3e169));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x2dece4(0x160)}},'collabStatus':{'fetchMiss':_0x2dece4(0x14f),'conflict':'編輯衝突','notCollab':_0x2dece4(0x161),'synced':_0x2dece4(0x166),'syncing':'同步中...','offline':_0x2dece4(0x158)},'session':{'connection-failed':_0x2dece4(0x156),'will-retry':_0x2dece4(0x15e),'room-full':_0x2dece4(0x163),'join-failed':_0x2dece4(0x155),'room-not-exists':_0x2dece4(0x169),'room-permission-denied':_0x2dece4(0x14b),'room-cnt-exceeds':_0x2dece4(0x15b),'collaboration-timeout':_0x2dece4(0x157)},'conflict':{'title':_0x2dece4(0x15d),'content':_0x2dece4(0x15f)},'permission':{'title':_0x2dece4(0x168),'content':_0x2dece4(0x167)},'collaboration':{'single-unit':{'warning':_0x2dece4(0x153)},'closeRoom':_0x2dece4(0x14c)},'auth':{'needGotoLoginAlert':_0x2dece4(0x151)}}};export{e as default};function _0x6aaf(){const _0x4bc856=['您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','3QZDvXR','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','連線失敗,請檢查您的網路。','伺服器未回應協作請求,您的編輯將儲存在本機。','已離線,編輯將儲存在本機','3930047tAwylq','1070178AgQOkc','協作文件數量超過限制,您的編輯將暫存於本機。','10PpEUac','協作衝突','連線失敗,將在稍後重試連線。','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','點擊重新連線','本機檔案','889407ICGaYD','此文件協作人數已達上限,您的編輯將暫存於本機。','8jwsqWn','358908UWHhTM','已同步','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','認證錯誤','加入協作失敗,您的編輯將暫存於本機。','沒有協作權限,您的編輯將暫存於本機。','由於協作房間已關閉,編輯權限已被收回。','190108FUBpDe','2160886BrlCND','正在擷取伺服器資料...','10DgqhUm','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','176916cTOsEZ'];_0x6aaf=function(){return _0x4bc856;};return _0x6aaf();}
1
+ const _0x5397a1=_0x4c79;function _0x56be(){const _0xce81cf=['已同步','4QclOrQ','正在擷取伺服器資料...','連線失敗,將在稍後重試連線。','18MFsqfO','沒有協作權限,您的編輯將暫存於本機。','16456220ViuJzo','4562035HHElIb','已離線,編輯將儲存在本機','2717034JsjhfQ','21PkOBWX','協作衝突','207cwAyMu','由於協作房間已關閉,編輯權限已被收回。','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','此文件協作人數已達上限,您的編輯將暫存於本機。','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','同步中...','點擊重新連線','102830jdgODe','10498752kwogoq','227418QznsOt','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','加入協作失敗,您的編輯將暫存於本機。','365004KlBzJe','協作文件數量超過限制,您的編輯將暫存於本機。','本機檔案'];_0x56be=function(){return _0xce81cf;};return _0x56be();}function _0x4c79(_0x50f815,_0x2c51f3){_0x50f815=_0x50f815-0x71;const _0x56be7a=_0x56be();let _0x4c798f=_0x56be7a[_0x50f815];return _0x4c798f;}(function(_0x2cf72e,_0x5231fd){const _0xbb2f20=_0x4c79,_0x2aa2df=_0x2cf72e();while(!![]){try{const _0xcbf74e=parseInt(_0xbb2f20(0x8b))/0x1*(-parseInt(_0xbb2f20(0x77))/0x2)+-parseInt(_0xbb2f20(0x7a))/0x3*(-parseInt(_0xbb2f20(0x73))/0x4)+-parseInt(_0xbb2f20(0x7d))/0x5+parseInt(_0xbb2f20(0x7f))/0x6*(parseInt(_0xbb2f20(0x80))/0x7)+-parseInt(_0xbb2f20(0x8a))/0x8+-parseInt(_0xbb2f20(0x82))/0x9*(-parseInt(_0xbb2f20(0x89))/0xa)+parseInt(_0xbb2f20(0x7c))/0xb;if(_0xcbf74e===_0x5231fd)break;else _0x2aa2df['push'](_0x2aa2df['shift']());}catch(_0x4f68d2){_0x2aa2df['push'](_0x2aa2df['shift']());}}}(_0x56be,0xea1f5));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x5397a1(0x88)}},'collabStatus':{'fetchMiss':_0x5397a1(0x78),'conflict':'編輯衝突','notCollab':_0x5397a1(0x75),'synced':_0x5397a1(0x76),'syncing':_0x5397a1(0x87),'offline':_0x5397a1(0x7e)},'session':{'connection-failed':'連線失敗,請檢查您的網路。','will-retry':_0x5397a1(0x79),'room-full':_0x5397a1(0x85),'join-failed':_0x5397a1(0x86),'room-not-exists':_0x5397a1(0x72),'room-permission-denied':_0x5397a1(0x7b),'room-cnt-exceeds':_0x5397a1(0x74),'collaboration-timeout':'伺服器未回應協作請求,您的編輯將儲存在本機。'},'conflict':{'title':_0x5397a1(0x81),'content':'您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。'},'permission':{'title':'認證錯誤','content':_0x5397a1(0x71)},'collaboration':{'single-unit':{'warning':_0x5397a1(0x84)},'closeRoom':_0x5397a1(0x83)},'auth':{'needGotoLoginAlert':'您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。'}}};export{e as default};
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x4925(_0x5acd61,_0x1e2b3a){_0x5acd61=_0x5acd61-0x9d;const _0x443bd3=_0x443b();let _0x4925d6=_0x443bd3[_0x5acd61];return _0x4925d6;}(function(_0x80c52b,_0x389e86){const _0x82adf2=_0x4925,_0x53be11=_0x80c52b();while(!![]){try{const _0x76d20e=-parseInt(_0x82adf2(0xbd))/0x1+-parseInt(_0x82adf2(0xb6))/0x2*(parseInt(_0x82adf2(0xe0))/0x3)+parseInt(_0x82adf2(0xb1))/0x4+-parseInt(_0x82adf2(0xb7))/0x5+parseInt(_0x82adf2(0xae))/0x6+parseInt(_0x82adf2(0xdf))/0x7+parseInt(_0x82adf2(0xe1))/0x8;if(_0x76d20e===_0x389e86)break;else _0x53be11['push'](_0x53be11['shift']());}catch(_0xddf65a){_0x53be11['push'](_0x53be11['shift']());}}}(_0x443b,0x790bb),function(_0x57a82e,_0x576a42){const _0x2cd0d4=_0x4925;typeof exports==_0x2cd0d4(0xe3)&&typeof module<'u'?_0x576a42(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x2cd0d4(0xbc)&&define[_0x2cd0d4(0xdb)]?define(['exports',_0x2cd0d4(0xdd),_0x2cd0d4(0xa0),'@univerjs/core',_0x2cd0d4(0xa8),_0x2cd0d4(0xd1)],_0x576a42):(_0x57a82e=typeof globalThis<'u'?globalThis:_0x57a82e||self,_0x576a42(_0x57a82e['UniverProCollaborationClientFacade']={},_0x57a82e[_0x2cd0d4(0xc9)],_0x57a82e['UniverCoreFacade'],_0x57a82e[_0x2cd0d4(0xd3)],_0x57a82e[_0x2cd0d4(0xa6)],_0x57a82e[_0x2cd0d4(0xd1)]));}(this,function(_0x202d24,_0x34805c,_0x2c3d4f,_0x1358af,_0x56a7bf,_0x247898){const _0x49b58d=_0x4925;Object[_0x49b58d(0xa9)](_0x202d24,Symbol[_0x49b58d(0xc6)],{'value':_0x49b58d(0x9f)});var _0x1a76ae=class extends _0x2c3d4f[_0x49b58d(0xd9)]{get[_0x49b58d(0xbb)](){return _0x34805c['CollaborationStatus'];}};_0x2c3d4f[_0x49b58d(0xd9)]['extend'](_0x1a76ae);var _0x259589=class extends _0x2c3d4f[_0x49b58d(0xc4)]{get[_0x49b58d(0xe6)](){return'CollaborationStatusChanged';}};_0x2c3d4f['FEventName'][_0x49b58d(0xda)](_0x259589);function _0x555c22(_0x2964a2,_0x450ec0){return function(_0x29d45c,_0x12e0b8){_0x450ec0(_0x29d45c,_0x12e0b8,_0x2964a2);};}function _0x39a80c(_0x57b346,_0x73f338,_0x30254e,_0x21f463){const _0x50b42b=_0x49b58d;var _0x4a1b69=arguments['length'],_0x24ca06=_0x4a1b69<0x3?_0x73f338:_0x21f463===null?_0x21f463=Object[_0x50b42b(0xa2)](_0x73f338,_0x30254e):_0x21f463,_0x38e8c3;if(typeof Reflect==_0x50b42b(0xe3)&&typeof Reflect[_0x50b42b(0xba)]==_0x50b42b(0xbc))_0x24ca06=Reflect['decorate'](_0x57b346,_0x73f338,_0x30254e,_0x21f463);else{for(var _0x5e85c0=_0x57b346[_0x50b42b(0xd7)]-0x1;_0x5e85c0>=0x0;_0x5e85c0--)(_0x38e8c3=_0x57b346[_0x5e85c0])&&(_0x24ca06=(_0x4a1b69<0x3?_0x38e8c3(_0x24ca06):_0x4a1b69>0x3?_0x38e8c3(_0x73f338,_0x30254e,_0x24ca06):_0x38e8c3(_0x73f338,_0x30254e))||_0x24ca06);}return _0x4a1b69>0x3&&_0x24ca06&&Object[_0x50b42b(0xa9)](_0x73f338,_0x30254e,_0x24ca06),_0x24ca06;}let _0x5e83a5=class extends _0x2c3d4f['FBase']{constructor(_0x91aad2,_0x161336,_0x105283,_0x2b5c56,_0x516e5e){const _0x469922=_0x49b58d;super(),this[_0x469922(0xca)]=_0x91aad2,this[_0x469922(0x9e)]=_0x161336,this[_0x469922(0xa1)]=_0x105283,this[_0x469922(0xd8)]=_0x2b5c56,this['_collaborationController']=_0x516e5e;}async[_0x49b58d(0xb5)](){return this['loadActiveSheetAsync']();}async[_0x49b58d(0xb2)](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x4d0402){const _0x46b1d1=_0x49b58d;return this[_0x46b1d1(0xa5)](_0x4d0402);}async[_0x49b58d(0xa5)](_0x3dc10f,_0x5cd411){const _0x320ebd=_0x49b58d;return await this[_0x320ebd(0xd8)]['loadSheet'](_0x3dc10f,0x0,_0x5cd411)?(await this[_0x320ebd(0xa7)]['readyForCollab'](_0x3dc10f),this[_0x320ebd(0xca)][_0x320ebd(0xab)](_0x3dc10f)):null;}[_0x49b58d(0xc2)](_0x54dca0,_0x308a9b){const _0x3fa0d7=_0x49b58d;return(0x0,_0x1358af[_0x3fa0d7(0xb3)])(this[_0x3fa0d7(0x9e)]['get'](_0x34805c[_0x3fa0d7(0xbf)])[_0x3fa0d7(0xd6)](_0x54dca0)[_0x3fa0d7(0xa3)]((0x0,_0x247898[_0x3fa0d7(0xa4)])(_0x44da36=>_0x44da36[_0x3fa0d7(0xb4)]))[_0x3fa0d7(0xc1)](_0xd6d70f=>_0x308a9b(Array[_0x3fa0d7(0xaf)](_0xd6d70f['values']()))));}[_0x49b58d(0xe5)](_0x9bf2c5){const _0x215470=_0x49b58d;var _0x16d234;let _0x28c252;if(_0x9bf2c5)_0x28c252=_0x9bf2c5;else{let _0x730a5b=this[_0x215470(0xa1)]['getFocusedUnit']();_0x28c252=_0x730a5b==null?void 0x0:_0x730a5b['getUnitId']();}if(!_0x28c252)return _0x34805c['CollaborationStatus'][_0x215470(0xc0)];let _0x35a83e=this[_0x215470(0xa7)][_0x215470(0xc5)](_0x28c252);return(_0x16d234=_0x35a83e==null?void 0x0:_0x35a83e[_0x215470(0xcc)][_0x215470(0xcd)])==null?_0x34805c['CollaborationStatus'][_0x215470(0xc0)]:_0x16d234;}};_0x5e83a5=_0x39a80c([_0x555c22(0x1,(0x0,_0x1358af[_0x49b58d(0xaa)])(_0x1358af[_0x49b58d(0xd5)])),_0x555c22(0x2,_0x1358af[_0x49b58d(0xd0)]),_0x555c22(0x3,(0x0,_0x1358af[_0x49b58d(0xaa)])(_0x56a7bf[_0x49b58d(0xb9)])),_0x555c22(0x4,(0x0,_0x1358af[_0x49b58d(0xaa)])(_0x34805c[_0x49b58d(0xdc)]))],_0x5e83a5);var _0x3b2b18=class extends _0x2c3d4f[_0x49b58d(0x9d)]{['_initialize'](_0x5ac019){const _0x1b733d=_0x49b58d;let _0x8f7e9e=_0x5ac019['get'](_0x34805c[_0x1b733d(0xdc)]);this[_0x1b733d(0xc8)](this[_0x1b733d(0xad)](this[_0x1b733d(0xbe)][_0x1b733d(0xe6)],()=>{const _0x4d1583=_0x1b733d;let _0x4d3e1c=new _0x1358af[(_0x4d1583(0xcf))](),_0x568d06=_0x8f7e9e[_0x4d1583(0xc7)][_0x4d1583(0xc1)](_0x1934d0=>{const _0x44e0eb=_0x4d1583;let _0x4ec2f1=_0x1934d0[_0x44e0eb(0xc3)][_0x44e0eb(0xc1)](_0x18aefd=>{const _0x3a34cd=_0x44e0eb;let _0x401838={'unitId':_0x1934d0['unitID'],'status':_0x18aefd};this[_0x3a34cd(0xb8)](this['Event'][_0x3a34cd(0xe6)],_0x401838);});_0x4d3e1c[_0x44e0eb(0xcb)]((0x0,_0x1358af[_0x44e0eb(0xb3)])(_0x4ec2f1));});return _0x4d3e1c[_0x4d1583(0xcb)]((0x0,_0x1358af[_0x4d1583(0xb3)])(_0x568d06)),_0x4d3e1c;}));}[_0x49b58d(0xd4)](){const _0x4a54cc=_0x49b58d;return this[_0x4a54cc(0x9e)][_0x4a54cc(0xe2)](_0x5e83a5,{'getUniverSheet':_0x26337d=>this[_0x4a54cc(0xab)](_0x26337d)});}[_0x49b58d(0xac)](_0x3875e7,_0x1e1ad0,_0x50650b){const _0xa866c8=_0x49b58d;return this[_0xa866c8(0x9e)][_0xa866c8(0xe4)](_0x34805c[_0xa866c8(0xb0)])[_0xa866c8(0xde)](_0x3875e7,_0x1e1ad0,_0x50650b);}['loadServerUnitOfRevision'](_0x569cf7,_0x329058,_0x1ced38){const _0x102d0d=_0x49b58d;return this['_injector']['get'](_0x34805c[_0x102d0d(0xb0)])[_0x102d0d(0xce)](_0x569cf7,_0x329058,_0x1ced38);}};_0x2c3d4f[_0x49b58d(0x9d)][_0x49b58d(0xda)](_0x3b2b18),Object[_0x49b58d(0xa9)](_0x202d24,_0x49b58d(0xd2),{'enumerable':!0x0,'get':function(){return _0x5e83a5;}});}));function _0x443b(){const _0x292008=['@univerjs-pro/collaboration','defineProperty','Inject','getUniverSheet','loadServerUnit','registerEventHandler','5870082PTZusV','from','DataLoaderService','426776rwWHRd','loadActiveSheetAsync','toDisposable','members$','loadActiveSheet','6CAJNMK','1478870ixqBgY','fireEvent','SnapshotService','decorate','CollaborationStatus','function','382823scwCSy','Event','MemberService','NOT_COLLAB','subscribe','subscribeCollaborators','status$','FEventName','getCollabEntity','toStringTag','entityInit$','disposeWithMe','UniverProCollaborationClient','_handler','add','state','status','loadUnitOfRevision','DisposableCollection','IUniverInstanceService','rxjs','FCollaboration','UniverCore','getCollaboration','Injector','waitForRoom$','length','_snapshotService','FEnum','extend','amd','CollaborationController','@univerjs-pro/collaboration-client','loadUnit','6175491WOQbhM','913929AGfrEf','968600UQRioK','createInstance','object','get','getCollaborationStatus','CollaborationStatusChanged','FUniver','_injector','Module','@univerjs/core/facade','_univerInstanceService','getOwnPropertyDescriptor','pipe','switchMap','loadSheetAsync','UniverProCollaboration','_collaborationController'];_0x443b=function(){return _0x292008;};return _0x443b();}
1
+ function _0x2d4f(_0x528269,_0x378b6d){_0x528269=_0x528269-0xc6;const _0x362839=_0x3628();let _0x2d4fe5=_0x362839[_0x528269];return _0x2d4fe5;}function _0x3628(){const _0x243deb=['loadUnit','_univerInstanceService','CollaborationStatus','getFocusedUnit','DisposableCollection','getOwnPropertyDescriptor','amd','FEventName','loadSheetAsync','1730481UHOpcK','loadServerUnitOfRevision','UniverProCollaborationClient','_snapshotService','350216RlkkFG','get','subscribeCollaborators','loadActiveSheetAsync','decorate','add','subscribe','loadServerUnit','getCollabEntity','UniverProCollaboration','extend','length','loadSheet','members$','registerEventHandler','defineProperty','UniverCoreFacade','_handler','fireEvent','function','from','values','getUnitId','1136550lsOgBn','getCollaborationStatus','_collaborationController','toDisposable','status$','122745jgGwGN','60824ETxLmu','CollaborationStatusChanged','7145361ySLAsd','waitForRoom$','exports','4GIrlri','loadUnitOfRevision','entityInit$','_injector','@univerjs/core/facade','Injector','loadActiveSheet','UniverProCollaborationClientFacade','DataLoaderService','Inject','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','IUniverInstanceService','toStringTag','getUniverSheet','pipe','FBase','Module','568724GfoOaA','status','FUniver','object','343WKDliF','CollaborationController','readyForCollab','rxjs','FEnum','FCollaboration','NOT_COLLAB'];_0x3628=function(){return _0x243deb;};return _0x3628();}(function(_0x26e3d1,_0x49e85d){const _0xb11299=_0x2d4f,_0x520bbb=_0x26e3d1();while(!![]){try{const _0x4c4b4b=-parseInt(_0xb11299(0xf4))/0x1+parseInt(_0xb11299(0x10c))/0x2+parseInt(_0xb11299(0x108))/0x3*(parseInt(_0xb11299(0xe3))/0x4)+parseInt(_0xb11299(0xdd))/0x5+-parseInt(_0xb11299(0xd8))/0x6+-parseInt(_0xb11299(0xf8))/0x7*(parseInt(_0xb11299(0xde))/0x8)+parseInt(_0xb11299(0xe0))/0x9;if(_0x4c4b4b===_0x49e85d)break;else _0x520bbb['push'](_0x520bbb['shift']());}catch(_0x40afd3){_0x520bbb['push'](_0x520bbb['shift']());}}}(_0x3628,0x6b5a5),function(_0x37a4c5,_0x1cc216){const _0x4acdd9=_0x2d4f;typeof exports=='object'&&typeof module<'u'?_0x1cc216(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x4acdd9(0xd4)&&define[_0x4acdd9(0x105)]?define([_0x4acdd9(0xe2),'@univerjs-pro/collaboration-client',_0x4acdd9(0xe7),'@univerjs/core','@univerjs-pro/collaboration',_0x4acdd9(0xfb)],_0x1cc216):(_0x37a4c5=typeof globalThis<'u'?globalThis:_0x37a4c5||self,_0x1cc216(_0x37a4c5[_0x4acdd9(0xea)]={},_0x37a4c5[_0x4acdd9(0x10a)],_0x37a4c5[_0x4acdd9(0xd1)],_0x37a4c5['UniverCore'],_0x37a4c5[_0x4acdd9(0xca)],_0x37a4c5['rxjs']));}(this,function(_0x25174d,_0x1f64dc,_0xa3cd7f,_0x256954,_0x1841ea,_0x4e278b){const _0x1ff25e=_0x2d4f;Object[_0x1ff25e(0xd0)](_0x25174d,Symbol[_0x1ff25e(0xef)],{'value':_0x1ff25e(0xf3)});var _0x1f767c=class extends _0xa3cd7f[_0x1ff25e(0xfc)]{get['CollaborationStatus'](){const _0x3a6487=_0x1ff25e;return _0x1f64dc[_0x3a6487(0x101)];}};_0xa3cd7f['FEnum'][_0x1ff25e(0xcb)](_0x1f767c);var _0x32ea12=class extends _0xa3cd7f['FEventName']{get[_0x1ff25e(0xdf)](){const _0x461cfd=_0x1ff25e;return _0x461cfd(0xdf);}};_0xa3cd7f[_0x1ff25e(0x106)][_0x1ff25e(0xcb)](_0x32ea12);function _0x2c4909(_0x441395,_0x2411ab){return function(_0x16fab5,_0x32ce86){_0x2411ab(_0x16fab5,_0x32ce86,_0x441395);};}function _0x3c5c33(_0x4add89,_0x27e476,_0x172f5a,_0x573b86){const _0xb083b7=_0x1ff25e;var _0x3a63f4=arguments[_0xb083b7(0xcc)],_0x49aa03=_0x3a63f4<0x3?_0x27e476:_0x573b86===null?_0x573b86=Object[_0xb083b7(0x104)](_0x27e476,_0x172f5a):_0x573b86,_0x21ac19;if(typeof Reflect==_0xb083b7(0xf7)&&typeof Reflect[_0xb083b7(0x110)]==_0xb083b7(0xd4))_0x49aa03=Reflect[_0xb083b7(0x110)](_0x4add89,_0x27e476,_0x172f5a,_0x573b86);else{for(var _0x1b5196=_0x4add89[_0xb083b7(0xcc)]-0x1;_0x1b5196>=0x0;_0x1b5196--)(_0x21ac19=_0x4add89[_0x1b5196])&&(_0x49aa03=(_0x3a63f4<0x3?_0x21ac19(_0x49aa03):_0x3a63f4>0x3?_0x21ac19(_0x27e476,_0x172f5a,_0x49aa03):_0x21ac19(_0x27e476,_0x172f5a))||_0x49aa03);}return _0x3a63f4>0x3&&_0x49aa03&&Object['defineProperty'](_0x27e476,_0x172f5a,_0x49aa03),_0x49aa03;}let _0x561921=class extends _0xa3cd7f[_0x1ff25e(0xf2)]{constructor(_0x2d8c05,_0x2b727b,_0x64a1fb,_0x80355f,_0x46f22d){const _0x8a248b=_0x1ff25e;super(),this[_0x8a248b(0xd2)]=_0x2d8c05,this[_0x8a248b(0xe6)]=_0x2b727b,this[_0x8a248b(0x100)]=_0x64a1fb,this[_0x8a248b(0x10b)]=_0x80355f,this[_0x8a248b(0xda)]=_0x46f22d;}async[_0x1ff25e(0xe9)](){return this['loadActiveSheetAsync']();}async[_0x1ff25e(0x10f)](){const _0x2ab0d9=_0x1ff25e;throw Error(_0x2ab0d9(0xed));}async[_0x1ff25e(0xcd)](_0x382e1b){const _0x460d93=_0x1ff25e;return this[_0x460d93(0x107)](_0x382e1b);}async[_0x1ff25e(0x107)](_0x1a1ae5,_0x448b32){const _0x3efc8e=_0x1ff25e;return await this[_0x3efc8e(0x10b)][_0x3efc8e(0xcd)](_0x1a1ae5,0x0,_0x448b32)?(await this[_0x3efc8e(0xda)][_0x3efc8e(0xfa)](_0x1a1ae5),this[_0x3efc8e(0xd2)][_0x3efc8e(0xf0)](_0x1a1ae5)):null;}[_0x1ff25e(0x10e)](_0x2e3e50,_0x24db97){const _0xab667b=_0x1ff25e;return(0x0,_0x256954[_0xab667b(0xdb)])(this[_0xab667b(0xe6)][_0xab667b(0x10d)](_0x1f64dc['MemberService'])[_0xab667b(0xe1)](_0x2e3e50)[_0xab667b(0xf1)]((0x0,_0x4e278b['switchMap'])(_0x7d84d2=>_0x7d84d2[_0xab667b(0xce)]))[_0xab667b(0xc7)](_0x129789=>_0x24db97(Array[_0xab667b(0xd5)](_0x129789[_0xab667b(0xd6)]()))));}[_0x1ff25e(0xd9)](_0x565c19){const _0x86afac=_0x1ff25e;var _0x1da68b;let _0x250b9a;if(_0x565c19)_0x250b9a=_0x565c19;else{let _0x19a391=this['_univerInstanceService'][_0x86afac(0x102)]();_0x250b9a=_0x19a391==null?void 0x0:_0x19a391[_0x86afac(0xd7)]();}if(!_0x250b9a)return _0x1f64dc[_0x86afac(0x101)][_0x86afac(0xfe)];let _0x43acd7=this['_collaborationController'][_0x86afac(0xc9)](_0x250b9a);return(_0x1da68b=_0x43acd7==null?void 0x0:_0x43acd7['state'][_0x86afac(0xf5)])==null?_0x1f64dc[_0x86afac(0x101)][_0x86afac(0xfe)]:_0x1da68b;}};_0x561921=_0x3c5c33([_0x2c4909(0x1,(0x0,_0x256954[_0x1ff25e(0xec)])(_0x256954[_0x1ff25e(0xe8)])),_0x2c4909(0x2,_0x256954[_0x1ff25e(0xee)]),_0x2c4909(0x3,(0x0,_0x256954[_0x1ff25e(0xec)])(_0x1841ea['SnapshotService'])),_0x2c4909(0x4,(0x0,_0x256954[_0x1ff25e(0xec)])(_0x1f64dc[_0x1ff25e(0xf9)]))],_0x561921);var _0x583c50=class extends _0xa3cd7f[_0x1ff25e(0xf6)]{['_initialize'](_0x3f6fdb){const _0x3dd615=_0x1ff25e;let _0x154e89=_0x3f6fdb[_0x3dd615(0x10d)](_0x1f64dc[_0x3dd615(0xf9)]);this['disposeWithMe'](this[_0x3dd615(0xcf)](this['Event']['CollaborationStatusChanged'],()=>{const _0x46ec3f=_0x3dd615;let _0x2ff073=new _0x256954[(_0x46ec3f(0x103))](),_0xa72a0f=_0x154e89[_0x46ec3f(0xe5)][_0x46ec3f(0xc7)](_0x42a5ae=>{const _0x3db9ac=_0x46ec3f;let _0x599739=_0x42a5ae[_0x3db9ac(0xdc)]['subscribe'](_0x44b5d3=>{const _0xceaa84=_0x3db9ac;let _0x5dbef0={'unitId':_0x42a5ae['unitID'],'status':_0x44b5d3};this[_0xceaa84(0xd3)](this['Event']['CollaborationStatusChanged'],_0x5dbef0);});_0x2ff073['add']((0x0,_0x256954['toDisposable'])(_0x599739));});return _0x2ff073[_0x46ec3f(0xc6)]((0x0,_0x256954[_0x46ec3f(0xdb)])(_0xa72a0f)),_0x2ff073;}));}['getCollaboration'](){const _0x1974f2=_0x1ff25e;return this['_injector']['createInstance'](_0x561921,{'getUniverSheet':_0x4c053b=>this[_0x1974f2(0xf0)](_0x4c053b)});}[_0x1ff25e(0xc8)](_0x35b6a3,_0x46d9ca,_0x2d8551){const _0x59e446=_0x1ff25e;return this[_0x59e446(0xe6)]['get'](_0x1f64dc['DataLoaderService'])[_0x59e446(0xff)](_0x35b6a3,_0x46d9ca,_0x2d8551);}[_0x1ff25e(0x109)](_0x4a3f25,_0x300fe2,_0x9e24c1){const _0x1cfa8d=_0x1ff25e;return this[_0x1cfa8d(0xe6)][_0x1cfa8d(0x10d)](_0x1f64dc[_0x1cfa8d(0xeb)])[_0x1cfa8d(0xe4)](_0x4a3f25,_0x300fe2,_0x9e24c1);}};_0xa3cd7f[_0x1ff25e(0xf6)][_0x1ff25e(0xcb)](_0x583c50),Object[_0x1ff25e(0xd0)](_0x25174d,_0x1ff25e(0xfd),{'enumerable':!0x0,'get':function(){return _0x561921;}});}));