@univerjs-pro/collaboration-client 1.2.0 → 1.3.0

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 (92) 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/types/controllers/collaboration/changeset-submitter.d.ts +2 -2
  65. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +4 -4
  66. package/lib/types/controllers/collaboration/collaboration-state.d.ts +24 -22
  67. package/lib/types/facade/f-event.d.ts +3 -1
  68. package/lib/types/index.d.ts +1 -1
  69. package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +1 -0
  70. package/lib/types/services/collaboration-ui-event/collaboration-ui-event.d.ts +2 -0
  71. package/lib/umd/facade.js +1 -1
  72. package/lib/umd/index.js +1 -1
  73. package/lib/umd/locale/ar-SA.js +1 -1
  74. package/lib/umd/locale/ca-ES.js +1 -1
  75. package/lib/umd/locale/de-DE.js +1 -1
  76. package/lib/umd/locale/en-US.js +1 -1
  77. package/lib/umd/locale/es-ES.js +1 -1
  78. package/lib/umd/locale/fa-IR.js +1 -1
  79. package/lib/umd/locale/fr-FR.js +1 -1
  80. package/lib/umd/locale/id-ID.js +1 -1
  81. package/lib/umd/locale/it-IT.js +1 -1
  82. package/lib/umd/locale/ja-JP.js +1 -1
  83. package/lib/umd/locale/ko-KR.js +1 -1
  84. package/lib/umd/locale/pl-PL.js +1 -1
  85. package/lib/umd/locale/pt-BR.js +1 -1
  86. package/lib/umd/locale/ru-RU.js +1 -1
  87. package/lib/umd/locale/sk-SK.js +1 -1
  88. package/lib/umd/locale/vi-VN.js +1 -1
  89. package/lib/umd/locale/zh-CN.js +1 -1
  90. package/lib/umd/locale/zh-HK.js +1 -1
  91. package/lib/umd/locale/zh-TW.js +1 -1
  92. package/package.json +15 -15
@@ -1 +1 @@
1
- function _0x4f67(_0x37b400,_0xa878c9){_0x37b400=_0x37b400-0x113;const _0x368765=_0x3687();let _0x4f67b5=_0x368765[_0x37b400];return _0x4f67b5;}const _0x2914f5=_0x4f67;(function(_0x11c453,_0x3134de){const _0xa3b454=_0x4f67,_0x34354d=_0x11c453();while(!![]){try{const _0x18c234=-parseInt(_0xa3b454(0x116))/0x1+parseInt(_0xa3b454(0x113))/0x2*(-parseInt(_0xa3b454(0x11e))/0x3)+-parseInt(_0xa3b454(0x128))/0x4*(parseInt(_0xa3b454(0x12e))/0x5)+-parseInt(_0xa3b454(0x118))/0x6*(-parseInt(_0xa3b454(0x127))/0x7)+-parseInt(_0xa3b454(0x12d))/0x8*(parseInt(_0xa3b454(0x129))/0x9)+-parseInt(_0xa3b454(0x122))/0xa+parseInt(_0xa3b454(0x114))/0xb*(parseInt(_0xa3b454(0x126))/0xc);if(_0x18c234===_0x3134de)break;else _0x34354d['push'](_0x34354d['shift']());}catch(_0x28af09){_0x34354d['push'](_0x34354d['shift']());}}}(_0x3687,0x839c9));function _0x3687(){const _0x26e3b6=['您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','已同步','6348VlHQSA','736127VGSwPM','4iZRvyT','1368243XWoAUP','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','認證錯誤','連線失敗,請檢查您的網路。','40rvCMSL','5317320XKYKLl','11854MJBSmg','64823YnscKq','伺服器未回應協作請求,您的編輯將儲存在本機。','501223miiTlD','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','30MFGwsb','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','此文件協作人數已達上限,您的編輯將暫存於本機。','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','本機檔案','協作文件數量超過限制,您的編輯將暫存於本機。','393PuwtWd','編輯衝突','協作衝突','加入協作失敗,您的編輯將暫存於本機。','28620IDcTPh','同步中...'];_0x3687=function(){return _0x26e3b6;};return _0x3687();}const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':'正在擷取伺服器資料...','conflict':_0x2914f5(0x11f),'notCollab':_0x2914f5(0x11c),'synced':_0x2914f5(0x125),'syncing':_0x2914f5(0x123),'offline':'已離線,編輯將儲存在本機'},'session':{'connection-failed':_0x2914f5(0x12c),'will-retry':'連線失敗,將在稍後重試連線。','room-full':_0x2914f5(0x11a),'join-failed':_0x2914f5(0x117),'room-not-exists':_0x2914f5(0x121),'room-permission-denied':'沒有協作權限,您的編輯將暫存於本機。','room-cnt-exceeds':_0x2914f5(0x11d),'collaboration-timeout':_0x2914f5(0x115)},'conflict':{'title':_0x2914f5(0x120),'content':_0x2914f5(0x119)},'permission':{'title':_0x2914f5(0x12b),'content':_0x2914f5(0x124)},'collaboration':{'single-unit':{'warning':_0x2914f5(0x12a)},'closeRoom':'由於協作房間已關閉,編輯權限已被收回。'},'auth':{'needGotoLoginAlert':_0x2914f5(0x11b)}}};export{e as default};
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};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x85e3d9=_0x49d1;(function(_0x122933,_0xb57bb){const _0x484f63=_0x49d1,_0x477f33=_0x122933();while(!![]){try{const _0x44acf9=parseInt(_0x484f63(0x188))/0x1*(parseInt(_0x484f63(0x1a7))/0x2)+parseInt(_0x484f63(0x17a))/0x3+parseInt(_0x484f63(0x18b))/0x4+parseInt(_0x484f63(0x1a3))/0x5+-parseInt(_0x484f63(0x17f))/0x6*(-parseInt(_0x484f63(0x1a1))/0x7)+-parseInt(_0x484f63(0x172))/0x8*(-parseInt(_0x484f63(0x19f))/0x9)+parseInt(_0x484f63(0x161))/0xa*(-parseInt(_0x484f63(0x187))/0xb);if(_0x44acf9===_0xb57bb)break;else _0x477f33['push'](_0x477f33['shift']());}catch(_0x1a53bd){_0x477f33['push'](_0x477f33['shift']());}}}(_0x17a7,0xd3464));import{CollaborationController as _0x3dfb96,CollaborationStatus as _0x50103e,DataLoaderService as _0x5efb66,MemberService as _0x411279}from'@univerjs-pro/collaboration-client';import{FBase as _0x383393,FEnum as _0x381755,FEventName as _0x1d5373,FUniver as _0x28a778}from'@univerjs/core/facade';import{DisposableCollection as _0x4e06f2,IUniverInstanceService as _0x206d69,Inject as _0x46c16f,Injector as _0x15c5fb,UniverInstanceType as _0x1c5868,toDisposable as _0xdfb3ce}from'@univerjs/core';import{distinctUntilChanged as _0x4dab85,switchMap as _0x4a2321}from'rxjs';var g=class extends _0x381755{get[_0x85e3d9(0x16c)](){return _0x50103e;}};_0x381755['extend'](g);var _=class extends _0x1d5373{get[_0x85e3d9(0x15f)](){const _0x20610e=_0x85e3d9;return _0x20610e(0x15f);}get[_0x85e3d9(0x178)](){const _0x2b5bbd=_0x85e3d9;return _0x2b5bbd(0x178);}get['CollaborationChangesetResend'](){const _0x33747e=_0x85e3d9;return _0x33747e(0x157);}};_0x1d5373['extend'](_);function v(_0x5b7f52,_0x169287){return function(_0x569d77,_0x3ae3f0){_0x169287(_0x569d77,_0x3ae3f0,_0x5b7f52);};}function y(_0x226d34,_0x4325e5,_0x329666,_0x5e116c){const _0x5587c2=_0x85e3d9;var _0x516a0d=arguments[_0x5587c2(0x176)],_0x57fcb6=_0x516a0d<0x3?_0x4325e5:_0x5e116c===null?_0x5e116c=Object[_0x5587c2(0x180)](_0x4325e5,_0x329666):_0x5e116c,_0x1c2bab;if(typeof Reflect==_0x5587c2(0x1a6)&&typeof Reflect[_0x5587c2(0x19e)]==_0x5587c2(0x1a8))_0x57fcb6=Reflect[_0x5587c2(0x19e)](_0x226d34,_0x4325e5,_0x329666,_0x5e116c);else{for(var _0x5163ce=_0x226d34[_0x5587c2(0x176)]-0x1;_0x5163ce>=0x0;_0x5163ce--)(_0x1c2bab=_0x226d34[_0x5163ce])&&(_0x57fcb6=(_0x516a0d<0x3?_0x1c2bab(_0x57fcb6):_0x516a0d>0x3?_0x1c2bab(_0x4325e5,_0x329666,_0x57fcb6):_0x1c2bab(_0x4325e5,_0x329666))||_0x57fcb6);}return _0x516a0d>0x3&&_0x57fcb6&&Object[_0x5587c2(0x199)](_0x4325e5,_0x329666,_0x57fcb6),_0x57fcb6;}function _0x17a7(){const _0x400f6d=['add','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','extend','ms.','timeout','loadDocAsync','_dataLoaderService','revert','UNIVER_DOC','fireEvent','elapsedMs','\x22\x20while\x20collaboration\x20status\x20is\x20','defineProperty','from','[FCollaboration]:\x20Unit\x20\x22','getBase','loadBaseAsync','decorate','94140zkUZFv','loadPdfAsync','11642148Dtrgeo','subscribe','3401930hqDnwE','conflict$','_resolveUnitId','object','112660pBRPeV','function','get','entityInit$','readyForCollab','unsyncedMutationCount','reject','UNIVER_SLIDE','loadUnit','getWorkbook','CollaborationChangesetResend','reason','getUnitId','UNIVER_BOARD','members$','status','getCollabEntities','getPdf','CollaborationStatusChanged','UNIVER_BASE','31777090fVLQBD','cacheCleared','loadUnitOfRevision','NOT_COLLAB','waitForRoom$','pipe','getBoard','hasWritePending','registerEventHandler','Event','attempt','CollaborationStatus','disposeWithMe','getCollaboration','_initialize','getDocument','getCollaborationStatus','680WbUWwG','message','changesetResend$','unitID','length','unsubscribe','CollaborationConflict','status$','4813512viTSFU','forEach','state','\x22\x20after\x20','_univerInstanceService','6jYILEG','getOwnPropertyDescriptor','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','CONFLICT','getPresentation','nextDelayMs','loadSlideAsync','_injector','22SXEHbx','17TAmBQz','getCollabEntity','_handler','5704136WeXGLu','_collaborationController'];_0x17a7=function(){return _0x400f6d;};return _0x17a7();}let b=class extends _0x383393{constructor(_0x574221,_0x9d19e4,_0x43aff5,_0x1a5ff5,_0x27a411){const _0x5975c1=_0x85e3d9;super(),this[_0x5975c1(0x18a)]=_0x574221,this[_0x5975c1(0x186)]=_0x9d19e4,this[_0x5975c1(0x17e)]=_0x43aff5,this[_0x5975c1(0x193)]=_0x1a5ff5,this[_0x5975c1(0x18c)]=_0x27a411;}async['loadSheetAsync'](_0x417d8d,_0x4c65ce){const _0x120516=_0x85e3d9;return await this[_0x120516(0x193)]['loadUnit'](_0x417d8d,_0x1c5868['UNIVER_SHEET'],void 0x0,_0x4c65ce)?(await this[_0x120516(0x18c)][_0x120516(0x151)](_0x417d8d),this[_0x120516(0x18a)][_0x120516(0x156)](_0x417d8d)):null;}async[_0x85e3d9(0x192)](_0x2f210b,_0x2f2c81){const _0x336083=_0x85e3d9;return await this[_0x336083(0x193)][_0x336083(0x155)](_0x2f210b,_0x1c5868[_0x336083(0x195)],void 0x0,_0x2f2c81)?(await this[_0x336083(0x18c)][_0x336083(0x151)](_0x2f210b),this[_0x336083(0x18a)][_0x336083(0x170)](_0x2f210b)):null;}async[_0x85e3d9(0x19d)](_0x1fed92,_0x29eb4e){const _0x11fece=_0x85e3d9;return await this[_0x11fece(0x193)]['loadUnit'](_0x1fed92,_0x1c5868[_0x11fece(0x160)],void 0x0,_0x29eb4e)?(await this[_0x11fece(0x18c)][_0x11fece(0x151)](_0x1fed92),this['_handler'][_0x11fece(0x19c)](_0x1fed92)):null;}async[_0x85e3d9(0x185)](_0x5c824b,_0x6e8ec7){const _0x25e468=_0x85e3d9;return await this['_dataLoaderService'][_0x25e468(0x155)](_0x5c824b,_0x1c5868[_0x25e468(0x154)],void 0x0,_0x6e8ec7)?(await this[_0x25e468(0x18c)][_0x25e468(0x151)](_0x5c824b),this[_0x25e468(0x18a)][_0x25e468(0x183)](_0x5c824b)):null;}async['loadBoardAsync'](_0x59cb3e,_0x3c4cec){const _0x5c6b17=_0x85e3d9;return await this[_0x5c6b17(0x193)][_0x5c6b17(0x155)](_0x59cb3e,_0x1c5868[_0x5c6b17(0x15a)],void 0x0,_0x3c4cec)?(await this['_collaborationController'][_0x5c6b17(0x151)](_0x59cb3e),this[_0x5c6b17(0x18a)]['getBoard'](_0x59cb3e)):null;}async[_0x85e3d9(0x1a0)](_0x5b32cd,_0xf0d8ee){const _0x3e381f=_0x85e3d9;return await this[_0x3e381f(0x193)][_0x3e381f(0x155)](_0x5b32cd,_0x1c5868['UNIVER_PDF'],void 0x0,_0xf0d8ee)?(await this[_0x3e381f(0x18c)][_0x3e381f(0x151)](_0x5b32cd),this[_0x3e381f(0x18a)][_0x3e381f(0x15e)](_0x5b32cd)):null;}['subscribeCollaborators'](_0x1f539e,_0x283d18){const _0x649cc3=_0x85e3d9;let _0x46fb7f=this[_0x649cc3(0x186)][_0x649cc3(0x14f)](_0x411279)[_0x649cc3(0x165)](_0x1f539e)['pipe'](_0x4a2321(_0x46a419=>_0x46a419[_0x649cc3(0x15b)]))[_0x649cc3(0x1a2)](_0x5ab7c7=>_0x283d18(Array[_0x649cc3(0x19a)](_0x5ab7c7['values']())));return _0xdfb3ce(_0x46fb7f);}[_0x85e3d9(0x171)](_0x168add){const _0x56249b=_0x85e3d9;let _0x2a1d1b=this[_0x56249b(0x1a5)](_0x168add);if(!_0x2a1d1b)return _0x50103e['NOT_COLLAB'];let _0x4a7592=this[_0x56249b(0x18c)][_0x56249b(0x189)](_0x2a1d1b);return(_0x4a7592==null?void 0x0:_0x4a7592[_0x56249b(0x17c)]['status'])??_0x50103e[_0x56249b(0x164)];}[_0x85e3d9(0x168)](_0x91e821){const _0x4c7ec8=_0x85e3d9;let _0x44a1ab=this['_resolveUnitId'](_0x91e821);return _0x44a1ab?this[_0x4c7ec8(0x18c)][_0x4c7ec8(0x168)](_0x44a1ab):!0x1;}['flush'](_0x44e29b,_0x5238a4={}){const _0x331d23=_0x85e3d9;let _0x47e689=this[_0x331d23(0x1a5)](_0x44e29b);if(!_0x47e689)return Promise[_0x331d23(0x153)](Error('[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.'));let _0x1e05dd=this[_0x331d23(0x18c)][_0x331d23(0x189)](_0x47e689);if(!_0x1e05dd)return Promise[_0x331d23(0x153)](Error(_0x331d23(0x19b)+_0x47e689+_0x331d23(0x18e)));let _0x27f2e5=_0x1e05dd['state'][_0x331d23(0x15c)];if(_0x27f2e5===_0x50103e['SYNCED'])return Promise['resolve']();let _0x58e54f=x(_0x47e689,_0x27f2e5);if(_0x58e54f)return Promise[_0x331d23(0x153)](_0x58e54f);let _0x181099=_0x5238a4[_0x331d23(0x191)]??0x7530;return new Promise((_0xf11120,_0x8fb1c0)=>{const _0x10f99c=_0x331d23;let _0x35218d=!0x1,_0xaf234a=null,_0x47ca26=setTimeout(()=>{const _0x57b772=_0x49d1;_0x35218d=!0x0,_0xaf234a==null||_0xaf234a[_0x57b772(0x177)](),_0x8fb1c0(Error('[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22'+_0x47e689+_0x57b772(0x17d)+_0x181099+_0x57b772(0x190)));},_0x181099),_0x561da3=()=>{_0x35218d=!0x0,clearTimeout(_0x47ca26),_0xaf234a==null||_0xaf234a['unsubscribe']();};_0xaf234a=_0x1e05dd[_0x10f99c(0x179)][_0x10f99c(0x1a2)](_0x2d4e78=>{if(_0x35218d)return;if(_0x2d4e78===_0x50103e['SYNCED']){_0x561da3(),_0xf11120();return;}let _0x28a6c6=x(_0x47e689,_0x2d4e78);_0x28a6c6&&(_0x561da3(),_0x8fb1c0(_0x28a6c6));});});}[_0x85e3d9(0x1a5)](_0x349d5f){const _0x3251a4=_0x85e3d9;var _0x428fab;return _0x349d5f||((_0x428fab=this[_0x3251a4(0x17e)]['getFocusedUnit']())==null?void 0x0:_0x428fab[_0x3251a4(0x159)]());}};b=y([v(0x1,_0x46c16f(_0x15c5fb)),v(0x2,_0x206d69),v(0x3,_0x46c16f(_0x5efb66)),v(0x4,_0x46c16f(_0x3dfb96))],b);function x(_0x3da502,_0x40c731){const _0x161bfa=_0x85e3d9;return _0x40c731===_0x50103e[_0x161bfa(0x182)]||_0x40c731===_0x50103e[_0x161bfa(0x164)]?Error(_0x161bfa(0x181)+_0x3da502+_0x161bfa(0x198)+_0x40c731+'.'):null;}function _0x49d1(_0x52ccf6,_0x19911f){_0x52ccf6=_0x52ccf6-0x14f;const _0x17a772=_0x17a7();let _0x49d1f4=_0x17a772[_0x52ccf6];return _0x49d1f4;}var S=class extends _0x28a778{[_0x85e3d9(0x16f)](_0x4046a8){const _0x4e5bfd=_0x85e3d9;let _0x19a4f6=_0x4046a8[_0x4e5bfd(0x14f)](_0x3dfb96);this['disposeWithMe'](this[_0x4e5bfd(0x169)](this['Event'][_0x4e5bfd(0x15f)],()=>{const _0x25abb6=_0x4e5bfd;let _0x33529e=new _0x4e06f2(),_0x281465=_0x6e0e7c=>{const _0x4ea755=_0x49d1;let _0x2070fd=_0x6e0e7c['status$'][_0x4ea755(0x166)](_0x4dab85())[_0x4ea755(0x1a2)](_0x2cfe08=>{const _0x383121=_0x4ea755;let _0x1523e2={'unitId':_0x6e0e7c[_0x383121(0x175)],'status':_0x2cfe08};this[_0x383121(0x196)](this[_0x383121(0x16a)][_0x383121(0x15f)],_0x1523e2);});_0x33529e[_0x4ea755(0x18d)](_0xdfb3ce(_0x2070fd));};return _0x19a4f6[_0x25abb6(0x15d)]()[_0x25abb6(0x17b)](_0x281465),_0x33529e['add'](_0xdfb3ce(_0x19a4f6['entityInit$'][_0x25abb6(0x1a2)](_0x281465))),_0x33529e;})),this[_0x4e5bfd(0x16d)](this[_0x4e5bfd(0x169)](this[_0x4e5bfd(0x16a)][_0x4e5bfd(0x178)],()=>{const _0x3f3a08=_0x4e5bfd;let _0xda08fd=new _0x4e06f2(),_0x3fad69=_0xb55514=>{const _0x260bca=_0x49d1;let _0x472f60=_0xb55514[_0x260bca(0x1a4)]['subscribe'](_0x1cdcf6=>{const _0x555e1c=_0x260bca;let _0x5b1599={'unitId':_0x1cdcf6[_0x555e1c(0x175)],'reason':_0x1cdcf6[_0x555e1c(0x158)],'message':_0x1cdcf6[_0x555e1c(0x173)],'revert':_0x1cdcf6[_0x555e1c(0x194)],'localChanges':_0x1cdcf6['localChanges'],'cacheCleared':_0x1cdcf6[_0x555e1c(0x162)]};this[_0x555e1c(0x196)](this['Event'][_0x555e1c(0x178)],_0x5b1599);});_0xda08fd[_0x260bca(0x18d)](_0xdfb3ce(_0x472f60));};return _0x19a4f6[_0x3f3a08(0x15d)]()[_0x3f3a08(0x17b)](_0x3fad69),_0xda08fd[_0x3f3a08(0x18d)](_0xdfb3ce(_0x19a4f6[_0x3f3a08(0x150)]['subscribe'](_0x3fad69))),_0xda08fd;})),this[_0x4e5bfd(0x16d)](this['registerEventHandler'](this[_0x4e5bfd(0x16a)][_0x4e5bfd(0x157)],()=>{const _0x5a44d6=_0x4e5bfd;let _0x55e789=new _0x4e06f2(),_0x27fd33=_0x40f1cc=>{const _0x313a98=_0x49d1;let _0x97ba2e=_0x40f1cc[_0x313a98(0x174)]['subscribe'](_0xeffdac=>{const _0x3d40a4=_0x313a98;let _0x40f6f1={'unitId':_0xeffdac[_0x3d40a4(0x175)],'reqId':_0xeffdac['reqId'],'reason':_0xeffdac[_0x3d40a4(0x158)],'attempt':_0xeffdac[_0x3d40a4(0x16b)],'elapsedMs':_0xeffdac[_0x3d40a4(0x197)],'unsyncedMutationCount':_0xeffdac[_0x3d40a4(0x152)],'nextDelayMs':_0xeffdac[_0x3d40a4(0x184)]};this[_0x3d40a4(0x196)](this[_0x3d40a4(0x16a)][_0x3d40a4(0x157)],_0x40f6f1);});_0x55e789[_0x313a98(0x18d)](_0xdfb3ce(_0x97ba2e));};return _0x19a4f6[_0x5a44d6(0x15d)]()[_0x5a44d6(0x17b)](_0x27fd33),_0x55e789[_0x5a44d6(0x18d)](_0xdfb3ce(_0x19a4f6['entityInit$'][_0x5a44d6(0x1a2)](_0x27fd33))),_0x55e789;}));}[_0x85e3d9(0x16e)](){const _0x15b635=_0x85e3d9;return this[_0x15b635(0x186)]['createInstance'](b,{'getWorkbook':_0x3cee06=>this[_0x15b635(0x156)](_0x3cee06),'getDocument':_0x32097a=>this[_0x15b635(0x170)](_0x32097a),'getPresentation':_0x32b67b=>this['getPresentation'](_0x32b67b),'getBase':_0x4622a0=>this[_0x15b635(0x19c)](_0x4622a0),'getBoard':_0x45e19c=>this[_0x15b635(0x167)](_0x45e19c),'getPdf':_0x58e413=>this['getPdf'](_0x58e413)});}['loadServerUnit'](_0x51fc42,_0x4f92b6,_0x13d41e){const _0xcd179a=_0x85e3d9;return this[_0xcd179a(0x186)][_0xcd179a(0x14f)](_0x5efb66)[_0xcd179a(0x155)](_0x51fc42,_0x4f92b6,_0x13d41e);}['loadServerUnitOfRevision'](_0x1c81a5,_0x5745d8,_0xcde9ba){const _0x134b46=_0x85e3d9;return this[_0x134b46(0x186)][_0x134b46(0x14f)](_0x5efb66)[_0x134b46(0x163)](_0x1c81a5,_0x5745d8,_0xcde9ba);}};_0x28a778[_0x85e3d9(0x18f)](S);export{b as FCollaboration};
1
+ const _0x410d5b=_0x2299;(function(_0x32fe73,_0x5b15dd){const _0xfdb8cd=_0x2299,_0x4bbc3b=_0x32fe73();while(!![]){try{const _0x5607b5=-parseInt(_0xfdb8cd(0x115))/0x1+parseInt(_0xfdb8cd(0x114))/0x2*(parseInt(_0xfdb8cd(0xf4))/0x3)+parseInt(_0xfdb8cd(0xf9))/0x4*(-parseInt(_0xfdb8cd(0xe5))/0x5)+-parseInt(_0xfdb8cd(0xdb))/0x6*(parseInt(_0xfdb8cd(0xc2))/0x7)+parseInt(_0xfdb8cd(0xc3))/0x8*(parseInt(_0xfdb8cd(0xf1))/0x9)+-parseInt(_0xfdb8cd(0xf6))/0xa*(parseInt(_0xfdb8cd(0xd5))/0xb)+parseInt(_0xfdb8cd(0x104))/0xc;if(_0x5607b5===_0x5b15dd)break;else _0x4bbc3b['push'](_0x4bbc3b['shift']());}catch(_0x26b34c){_0x4bbc3b['push'](_0x4bbc3b['shift']());}}}(_0x17c8,0x7a5cc));import{CollaborationController as _0x2a8fff,CollaborationStatus as _0x159c14,DataLoaderService as _0x17a7ef,MemberService as _0x1b6009}from'@univerjs-pro/collaboration-client';import{FBase as _0x533ba9,FEnum as _0xad9e32,FEventName as _0x266d9b,FUniver as _0x358fa9}from'@univerjs/core/facade';import{DisposableCollection as _0x14cdca,IUniverInstanceService as _0x41f9a5,Inject as _0x4eefcc,Injector as _0x4764a1,UniverInstanceType as _0x125bc4,toDisposable as _0x3a4c61}from'@univerjs/core';import{distinctUntilChanged as _0x407595,switchMap as _0x267a4f}from'rxjs';var g=class extends _0xad9e32{get[_0x410d5b(0x111)](){return _0x159c14;}};function _0x17c8(){const _0x5942e3=['_handler','object','get','NOT_COLLAB','loadUnit','extend','decorate','disposeWithMe','CollaborationStatus','forEach','members$','254fzmgqC','930960uicRrB','_initialize','ms.','getCollabEntities','UNIVER_SLIDE','changesetResend$','unitID','7hQHiQi','8aYVQwr','_univerInstanceService','CollaborationChangesetResend','nextDelayMs','loadPdfAsync','getCollaboration','_dataLoaderService','hasWritePending','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','CollaborationStatusChanged','entityInit$','UNIVER_BASE','from','\x22\x20while\x20collaboration\x20status\x20is\x20','getPresentation','getFocusedUnit','getCollabEntity','unsubscribe','88vmNqLL','UNIVER_SHEET','readyForCollab','loadBoardAsync','elapsedMs','reject','5431134CFuFCX','resolve','getBase','_collaborationController','UNIVER_PDF','_injector','registerEventHandler','values','getBoard','subscribeCollaborators','950TUXhTY','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','createInstance','getPdf','localChanges','UNIVER_DOC','state','_resolveUnitId','defineProperty','flush','reason','length','5697504hBfoSf','pipe','subscribe','4575cdCtqo','loadServerUnit','1176590voFuql','CollaborationConflict','message','16084PTEbhy','getDocument','unsyncedMutationCount','timeout','status$','loadUnitOfRevision','Event','loadSheetAsync','fireEvent','revert','status','38590512sSroQy','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','UNIVER_BOARD','SYNCED','add'];_0x17c8=function(){return _0x5942e3;};return _0x17c8();}function _0x2299(_0x591584,_0xbed972){_0x591584=_0x591584-0xc2;const _0x17c8c3=_0x17c8();let _0x229966=_0x17c8c3[_0x591584];return _0x229966;}_0xad9e32[_0x410d5b(0x10e)](g);var _=class extends _0x266d9b{get['CollaborationStatusChanged'](){const _0x2058d5=_0x410d5b;return _0x2058d5(0xcc);}get[_0x410d5b(0xf7)](){return'CollaborationConflict';}get[_0x410d5b(0xc5)](){const _0x11fcbc=_0x410d5b;return _0x11fcbc(0xc5);}};_0x266d9b[_0x410d5b(0x10e)](_);function v(_0x2f7ad3,_0x1a73ee){return function(_0x5dd72a,_0x35a5ae){_0x1a73ee(_0x5dd72a,_0x35a5ae,_0x2f7ad3);};}function y(_0x4488a8,_0x54948a,_0x22081c,_0x49f6b6){const _0x3b3fc1=_0x410d5b;var _0x4a2090=arguments[_0x3b3fc1(0xf0)],_0x4ef684=_0x4a2090<0x3?_0x54948a:_0x49f6b6===null?_0x49f6b6=Object['getOwnPropertyDescriptor'](_0x54948a,_0x22081c):_0x49f6b6,_0x736e4d;if(typeof Reflect==_0x3b3fc1(0x10a)&&typeof Reflect[_0x3b3fc1(0x10f)]=='function')_0x4ef684=Reflect[_0x3b3fc1(0x10f)](_0x4488a8,_0x54948a,_0x22081c,_0x49f6b6);else{for(var _0x575af3=_0x4488a8['length']-0x1;_0x575af3>=0x0;_0x575af3--)(_0x736e4d=_0x4488a8[_0x575af3])&&(_0x4ef684=(_0x4a2090<0x3?_0x736e4d(_0x4ef684):_0x4a2090>0x3?_0x736e4d(_0x54948a,_0x22081c,_0x4ef684):_0x736e4d(_0x54948a,_0x22081c))||_0x4ef684);}return _0x4a2090>0x3&&_0x4ef684&&Object[_0x3b3fc1(0xed)](_0x54948a,_0x22081c,_0x4ef684),_0x4ef684;}let b=class extends _0x533ba9{constructor(_0x2dd415,_0x51d40b,_0x26544f,_0x2a7510,_0x5323d3){const _0x1c2de1=_0x410d5b;super(),this[_0x1c2de1(0x109)]=_0x2dd415,this[_0x1c2de1(0xe0)]=_0x51d40b,this[_0x1c2de1(0xc4)]=_0x26544f,this[_0x1c2de1(0xc9)]=_0x2a7510,this[_0x1c2de1(0xde)]=_0x5323d3;}async[_0x410d5b(0x100)](_0x2bd3e6,_0x3cbf71){const _0x255403=_0x410d5b;return await this[_0x255403(0xc9)][_0x255403(0x10d)](_0x2bd3e6,_0x125bc4[_0x255403(0xd6)],void 0x0,_0x3cbf71)?(await this[_0x255403(0xde)][_0x255403(0xd7)](_0x2bd3e6),this[_0x255403(0x109)]['getWorkbook'](_0x2bd3e6)):null;}async['loadDocAsync'](_0x40d02e,_0xfd6e6d){const _0x1d37b8=_0x410d5b;return await this[_0x1d37b8(0xc9)][_0x1d37b8(0x10d)](_0x40d02e,_0x125bc4[_0x1d37b8(0xea)],void 0x0,_0xfd6e6d)?(await this[_0x1d37b8(0xde)]['readyForCollab'](_0x40d02e),this[_0x1d37b8(0x109)][_0x1d37b8(0xfa)](_0x40d02e)):null;}async['loadBaseAsync'](_0x1546fd,_0x30d226){const _0x863d3f=_0x410d5b;return await this[_0x863d3f(0xc9)][_0x863d3f(0x10d)](_0x1546fd,_0x125bc4[_0x863d3f(0xce)],void 0x0,_0x30d226)?(await this[_0x863d3f(0xde)][_0x863d3f(0xd7)](_0x1546fd),this[_0x863d3f(0x109)][_0x863d3f(0xdd)](_0x1546fd)):null;}async['loadSlideAsync'](_0x2f22fa,_0x2b9061){const _0x2e6c82=_0x410d5b;return await this[_0x2e6c82(0xc9)][_0x2e6c82(0x10d)](_0x2f22fa,_0x125bc4[_0x2e6c82(0x119)],void 0x0,_0x2b9061)?(await this[_0x2e6c82(0xde)][_0x2e6c82(0xd7)](_0x2f22fa),this[_0x2e6c82(0x109)][_0x2e6c82(0xd1)](_0x2f22fa)):null;}async[_0x410d5b(0xd8)](_0x456c1e,_0x14159d){const _0x5460bc=_0x410d5b;return await this[_0x5460bc(0xc9)][_0x5460bc(0x10d)](_0x456c1e,_0x125bc4[_0x5460bc(0x106)],void 0x0,_0x14159d)?(await this[_0x5460bc(0xde)][_0x5460bc(0xd7)](_0x456c1e),this[_0x5460bc(0x109)][_0x5460bc(0xe3)](_0x456c1e)):null;}async[_0x410d5b(0xc7)](_0x3118f2,_0x48c236){const _0xbd66ef=_0x410d5b;return await this[_0xbd66ef(0xc9)][_0xbd66ef(0x10d)](_0x3118f2,_0x125bc4[_0xbd66ef(0xdf)],void 0x0,_0x48c236)?(await this[_0xbd66ef(0xde)][_0xbd66ef(0xd7)](_0x3118f2),this[_0xbd66ef(0x109)][_0xbd66ef(0xe8)](_0x3118f2)):null;}[_0x410d5b(0xe4)](_0x27e996,_0x2caca8){const _0x1ab4ff=_0x410d5b;let _0x51190b=this[_0x1ab4ff(0xe0)][_0x1ab4ff(0x10b)](_0x1b6009)['waitForRoom$'](_0x27e996)[_0x1ab4ff(0xf2)](_0x267a4f(_0x133e74=>_0x133e74[_0x1ab4ff(0x113)]))[_0x1ab4ff(0xf3)](_0x192a7a=>_0x2caca8(Array[_0x1ab4ff(0xcf)](_0x192a7a[_0x1ab4ff(0xe2)]())));return _0x3a4c61(_0x51190b);}['getCollaborationStatus'](_0x497ad3){const _0x136368=_0x410d5b;let _0x138e09=this[_0x136368(0xec)](_0x497ad3);if(!_0x138e09)return _0x159c14[_0x136368(0x10c)];let _0x43ef76=this[_0x136368(0xde)]['getCollabEntity'](_0x138e09);return(_0x43ef76==null?void 0x0:_0x43ef76[_0x136368(0xeb)][_0x136368(0x103)])??_0x159c14[_0x136368(0x10c)];}['hasWritePending'](_0x88ec8a){const _0x1b6740=_0x410d5b;let _0x3dadd7=this[_0x1b6740(0xec)](_0x88ec8a);return _0x3dadd7?this[_0x1b6740(0xde)][_0x1b6740(0xca)](_0x3dadd7):!0x1;}[_0x410d5b(0xee)](_0x3148d4,_0x43b08e={}){const _0x475e66=_0x410d5b;let _0x572d53=this[_0x475e66(0xec)](_0x3148d4);if(!_0x572d53)return Promise[_0x475e66(0xda)](Error('[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.'));let _0x35faeb=this[_0x475e66(0xde)][_0x475e66(0xd3)](_0x572d53);if(!_0x35faeb)return Promise['reject'](Error('[FCollaboration]:\x20Unit\x20\x22'+_0x572d53+_0x475e66(0x105)));let _0x413af2=_0x35faeb[_0x475e66(0xeb)][_0x475e66(0x103)];if(_0x413af2===_0x159c14['SYNCED'])return Promise[_0x475e66(0xdc)]();let _0x11374a=x(_0x572d53,_0x413af2);if(_0x11374a)return Promise[_0x475e66(0xda)](_0x11374a);let _0xf15082=_0x43b08e[_0x475e66(0xfc)]??0x7530;return new Promise((_0x261ae9,_0x5c900e)=>{const _0x1b57f3=_0x475e66;let _0x563daa=!0x1,_0x47d226=null,_0x52409c=setTimeout(()=>{const _0x45043a=_0x2299;_0x563daa=!0x0,_0x47d226==null||_0x47d226[_0x45043a(0xd4)](),_0x5c900e(Error(_0x45043a(0xe6)+_0x572d53+'\x22\x20after\x20'+_0xf15082+_0x45043a(0x117)));},_0xf15082),_0x524445=()=>{const _0x15319f=_0x2299;_0x563daa=!0x0,clearTimeout(_0x52409c),_0x47d226==null||_0x47d226[_0x15319f(0xd4)]();};_0x47d226=_0x35faeb['status$'][_0x1b57f3(0xf3)](_0x1ffd54=>{const _0x30d936=_0x1b57f3;if(_0x563daa)return;if(_0x1ffd54===_0x159c14[_0x30d936(0x107)]){_0x524445(),_0x261ae9();return;}let _0x102adf=x(_0x572d53,_0x1ffd54);_0x102adf&&(_0x524445(),_0x5c900e(_0x102adf));});});}[_0x410d5b(0xec)](_0x43a93e){const _0x1fe3d8=_0x410d5b;var _0x33c22e;return _0x43a93e||((_0x33c22e=this[_0x1fe3d8(0xc4)][_0x1fe3d8(0xd2)]())==null?void 0x0:_0x33c22e['getUnitId']());}};b=y([v(0x1,_0x4eefcc(_0x4764a1)),v(0x2,_0x41f9a5),v(0x3,_0x4eefcc(_0x17a7ef)),v(0x4,_0x4eefcc(_0x2a8fff))],b);function x(_0x3bcdd7,_0x10c495){const _0x480e21=_0x410d5b;return _0x10c495===_0x159c14['CONFLICT']||_0x10c495===_0x159c14['NOT_COLLAB']?Error(_0x480e21(0xcb)+_0x3bcdd7+_0x480e21(0xd0)+_0x10c495+'.'):null;}var S=class extends _0x358fa9{[_0x410d5b(0x116)](_0x5aaf35){const _0x3d7b07=_0x410d5b;let _0x3d970a=_0x5aaf35[_0x3d7b07(0x10b)](_0x2a8fff);this[_0x3d7b07(0x110)](this[_0x3d7b07(0xe1)](this[_0x3d7b07(0xff)][_0x3d7b07(0xcc)],()=>{const _0x228c23=_0x3d7b07;let _0x5aa06a=new _0x14cdca(),_0x301f6d=_0xa1ee37=>{const _0x44e000=_0x2299;let _0x2d419d=_0xa1ee37[_0x44e000(0xfd)][_0x44e000(0xf2)](_0x407595())[_0x44e000(0xf3)](_0xca8c21=>{const _0x12dd23=_0x44e000;let _0x1c0e5c={'unitId':_0xa1ee37['unitID'],'status':_0xca8c21};this['fireEvent'](this['Event'][_0x12dd23(0xcc)],_0x1c0e5c);});_0x5aa06a['add'](_0x3a4c61(_0x2d419d));};return _0x3d970a[_0x228c23(0x118)]()['forEach'](_0x301f6d),_0x5aa06a[_0x228c23(0x108)](_0x3a4c61(_0x3d970a[_0x228c23(0xcd)][_0x228c23(0xf3)](_0x301f6d))),_0x5aa06a;})),this[_0x3d7b07(0x110)](this[_0x3d7b07(0xe1)](this[_0x3d7b07(0xff)][_0x3d7b07(0xf7)],()=>{const _0x5b2fc8=_0x3d7b07;let _0x31c8a8=new _0x14cdca(),_0x45595e=_0x519ac6=>{let _0x20afd7=_0x519ac6['conflict$']['subscribe'](_0x534b1e=>{const _0x4afd3d=_0x2299;let _0x43947b={'unitId':_0x534b1e[_0x4afd3d(0x11b)],'reason':_0x534b1e[_0x4afd3d(0xef)],'message':_0x534b1e[_0x4afd3d(0xf8)],'revert':_0x534b1e[_0x4afd3d(0x102)],'localChanges':_0x534b1e[_0x4afd3d(0xe9)],'cacheCleared':_0x534b1e['cacheCleared']};this['fireEvent'](this[_0x4afd3d(0xff)][_0x4afd3d(0xf7)],_0x43947b);});_0x31c8a8['add'](_0x3a4c61(_0x20afd7));};return _0x3d970a[_0x5b2fc8(0x118)]()[_0x5b2fc8(0x112)](_0x45595e),_0x31c8a8[_0x5b2fc8(0x108)](_0x3a4c61(_0x3d970a[_0x5b2fc8(0xcd)][_0x5b2fc8(0xf3)](_0x45595e))),_0x31c8a8;})),this[_0x3d7b07(0x110)](this['registerEventHandler'](this[_0x3d7b07(0xff)][_0x3d7b07(0xc5)],()=>{const _0x4f7982=_0x3d7b07;let _0x5d41ea=new _0x14cdca(),_0x4f9757=_0x3d066a=>{const _0x2a0882=_0x2299;let _0x2d7083=_0x3d066a[_0x2a0882(0x11a)][_0x2a0882(0xf3)](_0x334495=>{const _0x43d166=_0x2a0882;let _0xa8ccbe={'unitId':_0x334495['unitID'],'reqId':_0x334495['reqId'],'reason':_0x334495[_0x43d166(0xef)],'attempt':_0x334495['attempt'],'elapsedMs':_0x334495[_0x43d166(0xd9)],'unsyncedMutationCount':_0x334495[_0x43d166(0xfb)],'nextDelayMs':_0x334495[_0x43d166(0xc6)]};this[_0x43d166(0x101)](this[_0x43d166(0xff)][_0x43d166(0xc5)],_0xa8ccbe);});_0x5d41ea['add'](_0x3a4c61(_0x2d7083));};return _0x3d970a[_0x4f7982(0x118)]()[_0x4f7982(0x112)](_0x4f9757),_0x5d41ea[_0x4f7982(0x108)](_0x3a4c61(_0x3d970a[_0x4f7982(0xcd)][_0x4f7982(0xf3)](_0x4f9757))),_0x5d41ea;}));}[_0x410d5b(0xc8)](){const _0x36907f=_0x410d5b;return this[_0x36907f(0xe0)][_0x36907f(0xe7)](b,{'getWorkbook':_0x53a33a=>this['getWorkbook'](_0x53a33a),'getDocument':_0x48c44d=>this['getDocument'](_0x48c44d),'getPresentation':_0x38ee43=>this[_0x36907f(0xd1)](_0x38ee43),'getBase':_0x4bd2c8=>this[_0x36907f(0xdd)](_0x4bd2c8),'getBoard':_0x578a70=>this[_0x36907f(0xe3)](_0x578a70),'getPdf':_0x2584cf=>this[_0x36907f(0xe8)](_0x2584cf)});}[_0x410d5b(0xf5)](_0x1912d7,_0x56b5ff,_0x213d41){const _0x2e1fb7=_0x410d5b;return this[_0x2e1fb7(0xe0)]['get'](_0x17a7ef)[_0x2e1fb7(0x10d)](_0x1912d7,_0x56b5ff,_0x213d41);}['loadServerUnitOfRevision'](_0x31f456,_0x329965,_0x4bf597){const _0xa6ba48=_0x410d5b;return this[_0xa6ba48(0xe0)]['get'](_0x17a7ef)[_0xa6ba48(0xfe)](_0x31f456,_0x329965,_0x4bf597);}};_0x358fa9['extend'](S);export{b as FCollaboration};