@univerjs-pro/collaboration-client 1.0.0-alpha.4 → 1.0.0-alpha.5
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +14 -14
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x570b89=_0x57f6;(function(_0x2781e6,_0xc7eaba){const _0x2b356c=_0x57f6,_0xe3fc90=_0x2781e6();while(!![]){try{const _0x10a1f5=parseInt(_0x2b356c(0xc2))/0x1+-parseInt(_0x2b356c(0xb3))/0x2+parseInt(_0x2b356c(0xb6))/0x3+parseInt(_0x2b356c(0xab))/0x4+-parseInt(_0x2b356c(0xaa))/0x5*(-parseInt(_0x2b356c(0xbb))/0x6)+parseInt(_0x2b356c(0xb4))/0x7*(-parseInt(_0x2b356c(0xbc))/0x8)+parseInt(_0x2b356c(0xac))/0x9*(-parseInt(_0x2b356c(0xb0))/0xa);if(_0x10a1f5===_0xc7eaba)break;else _0xe3fc90['push'](_0xe3fc90['shift']());}catch(_0x4288a2){_0xe3fc90['push'](_0xe3fc90['shift']());}}}(_0x232e,0x765fd));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x570b89(0xbd)}},'collabStatus':{'fetchMiss':_0x570b89(0xaf),'conflict':'編輯衝突','notCollab':'本機檔案','synced':'已同步','syncing':_0x570b89(0xb9),'offline':_0x570b89(0xc0)},'session':{'connection-failed':'連線失敗,請檢查您的網路。','will-retry':_0x570b89(0xae),'room-full':'此文件協作人數已達上限,您的編輯將暫存於本機。','join-failed':_0x570b89(0xbe),'room-not-exists':_0x570b89(0xb8),'room-permission-denied':_0x570b89(0xa9),'room-cnt-exceeds':_0x570b89(0xb7),'collaboration-timeout':_0x570b89(0xb1)},'conflict':{'title':'協作衝突','content':_0x570b89(0xc1)},'permission':{'title':_0x570b89(0xad),'content':_0x570b89(0xba)},'collaboration':{'single-unit':{'warning':_0x570b89(0xb2)},'closeRoom':_0x570b89(0xb5)},'auth':{'needGotoLoginAlert':_0x570b89(0xbf)}}};export{e as default};function _0x57f6(_0x22be99,_0x23de71){_0x22be99=_0x22be99-0xa9;const _0x232e4e=_0x232e();let _0x57f63b=_0x232e4e[_0x22be99];return _0x57f63b;}function _0x232e(){const _0x26c140=['您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','1636452ycCzVw','408cfsNzZ','點擊重新連線','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','已離線,編輯將儲存在本機','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','478208XlTeqm','沒有協作權限,您的編輯將暫存於本機。','10zQzMQq','3409384DhPGac','14679801YHZJKV','認證錯誤','連線失敗,將在稍後重試連線。','正在擷取伺服器資料...','10fMuORq','伺服器未回應協作請求,您的編輯將儲存在本機。','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','335084IdOXZu','9310JOiFMi','由於協作房間已關閉,編輯權限已被收回。','1425852bRfiPu','協作文件數量超過限制,您的編輯將暫存於本機。','加入協作失敗,您的編輯將暫存於本機。','同步中...'];_0x232e=function(){return _0x26c140;};return _0x232e();}
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4eff(){const _0xebc6ef=['loadSheetAsync','_collaborationController','FBase','status$','ms.','_initialize','getPresentation','rxjs','1079299iGGoRT','_resolveUnitId','loadBase','state','extend','SYNCED','FCollaboration','FEnum','[FCollaboration]:\x20Unit\x20\x22','toStringTag','NOT_COLLAB','CollaborationController','Module','loadUnit','values','43945ASdzbh','object','registerEventHandler','loadDoc','@univerjs-pro/collaboration-client','loadBoard','unitID','length','defineProperty','exports','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','toDisposable','15mfSXen','unsubscribe','function','resolve','_injector','loadSheet','getCollabEntity','loadDocAsync','loadServerUnit','_handler','582gRdBoo','191943faFbow','@univerjs/core','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','getDocument','getOwnPropertyDescriptor','SnapshotService','amd','status','get','add','[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.','\x22\x20after\x20','719512gGESDx','loadBoardAsync','readyForCollab','getFocusedUnit','from','getBoard','subscribe','Event','entityInit$','createInstance','IUniverInstanceService','CollaborationStatusChanged','@univerjs/core/facade','getWorkbook','DisposableCollection','_snapshotService','12538830myrTXf','DataLoaderService','loadUnitOfRevision','_univerInstanceService','reject','UniverProCollaborationClientFacade','CollaborationStatus','MemberService','CONFLICT','@univerjs-pro/collaboration','FEventName','fireEvent','UniverCore','decorate','flush','loadBaseAsync','2410289wDTmeD','getCollaboration','8FdeXVk','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','getBase','FUniver','Inject','loadServerUnitOfRevision','2398804YjGFeO','UniverProCollaborationClient'];_0x4eff=function(){return _0xebc6ef;};return _0x4eff();}function _0x299f(_0x19dac4,_0x41173c){_0x19dac4=_0x19dac4-0x75;const _0x4effc9=_0x4eff();let _0x299f49=_0x4effc9[_0x19dac4];return _0x299f49;}(function(_0x4ce818,_0x4b9724){const _0x270c0f=_0x299f,_0xab29d7=_0x4ce818();while(!![]){try{const _0xaed5b1=parseInt(_0x270c0f(0x9a))/0x1+parseInt(_0x270c0f(0x90))/0x2+parseInt(_0x270c0f(0xb5))/0x3*(-parseInt(_0x270c0f(0xcc))/0x4)+-parseInt(_0x270c0f(0xa9))/0x5*(-parseInt(_0x270c0f(0xbf))/0x6)+-parseInt(_0x270c0f(0x88))/0x7*(parseInt(_0x270c0f(0x8a))/0x8)+parseInt(_0x270c0f(0xc0))/0x9+-parseInt(_0x270c0f(0x78))/0xa;if(_0xaed5b1===_0x4b9724)break;else _0xab29d7['push'](_0xab29d7['shift']());}catch(_0x1cc992){_0xab29d7['push'](_0xab29d7['shift']());}}}(_0x4eff,0x9fe71),function(_0x1e08f6,_0x3548bc){const _0x4e24c0=_0x299f;typeof exports==_0x4e24c0(0xaa)&&typeof module<'u'?_0x3548bc(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x4e24c0(0xb7)&&define[_0x4e24c0(0xc6)]?define([_0x4e24c0(0xb2),_0x4e24c0(0xad),_0x4e24c0(0xd8),_0x4e24c0(0xc1),_0x4e24c0(0x81),_0x4e24c0(0x99)],_0x3548bc):(_0x1e08f6=typeof globalThis<'u'?globalThis:_0x1e08f6||self,_0x3548bc(_0x1e08f6[_0x4e24c0(0x7d)]={},_0x1e08f6[_0x4e24c0(0x91)],_0x1e08f6['UniverCoreFacade'],_0x1e08f6[_0x4e24c0(0x84)],_0x1e08f6['UniverProCollaboration'],_0x1e08f6['rxjs']));}(this,function(_0x4ca478,_0x15892a,_0x26c841,_0x16f7fc,_0x4bf555,_0x3a4b4f){const _0xb49d29=_0x299f;Object[_0xb49d29(0xb1)](_0x4ca478,Symbol[_0xb49d29(0xa3)],{'value':_0xb49d29(0xa6)});var _0x2e42bf=class extends _0x26c841['FEnum']{get[_0xb49d29(0x7e)](){const _0x4040f4=_0xb49d29;return _0x15892a[_0x4040f4(0x7e)];}};_0x26c841[_0xb49d29(0xa1)]['extend'](_0x2e42bf);var _0x9bc4cd=class extends _0x26c841[_0xb49d29(0x82)]{get[_0xb49d29(0xd7)](){const _0x5ac31f=_0xb49d29;return _0x5ac31f(0xd7);}};_0x26c841[_0xb49d29(0x82)][_0xb49d29(0x9e)](_0x9bc4cd);function _0x50d807(_0x2cf027,_0x303320){return function(_0x44768f,_0x41b71f){_0x303320(_0x44768f,_0x41b71f,_0x2cf027);};}function _0x431474(_0x2d8b95,_0x298c87,_0x3491da,_0x5afd55){const _0xb968ea=_0xb49d29;var _0x3fd37c=arguments[_0xb968ea(0xb0)],_0x563069=_0x3fd37c<0x3?_0x298c87:_0x5afd55===null?_0x5afd55=Object[_0xb968ea(0xc4)](_0x298c87,_0x3491da):_0x5afd55,_0x5dfa78;if(typeof Reflect=='object'&&typeof Reflect[_0xb968ea(0x85)]==_0xb968ea(0xb7))_0x563069=Reflect['decorate'](_0x2d8b95,_0x298c87,_0x3491da,_0x5afd55);else{for(var _0x26045d=_0x2d8b95[_0xb968ea(0xb0)]-0x1;_0x26045d>=0x0;_0x26045d--)(_0x5dfa78=_0x2d8b95[_0x26045d])&&(_0x563069=(_0x3fd37c<0x3?_0x5dfa78(_0x563069):_0x3fd37c>0x3?_0x5dfa78(_0x298c87,_0x3491da,_0x563069):_0x5dfa78(_0x298c87,_0x3491da))||_0x563069);}return _0x3fd37c>0x3&&_0x563069&&Object[_0xb968ea(0xb1)](_0x298c87,_0x3491da,_0x563069),_0x563069;}let _0x15f830=class extends _0x26c841[_0xb49d29(0x94)]{constructor(_0x2e6823,_0x1033d4,_0x261f06,_0x5bfe3c,_0x4c3393){const _0x41f6b9=_0xb49d29;super(),this['_handler']=_0x2e6823,this[_0x41f6b9(0xb9)]=_0x1033d4,this[_0x41f6b9(0x7b)]=_0x261f06,this[_0x41f6b9(0x77)]=_0x5bfe3c,this[_0x41f6b9(0x93)]=_0x4c3393;}async[_0xb49d29(0x92)](_0x5c5c70,_0x25dae7){const _0x486e63=_0xb49d29;return await this['_snapshotService'][_0x486e63(0xba)](_0x5c5c70,0x0,_0x25dae7)?(await this[_0x486e63(0x93)][_0x486e63(0xce)](_0x5c5c70),this[_0x486e63(0xbe)]['getWorkbook'](_0x5c5c70)):null;}async[_0xb49d29(0xbc)](_0x3bf73e,_0x21946d){const _0x118bf3=_0xb49d29;return await this[_0x118bf3(0x77)][_0x118bf3(0xac)](_0x3bf73e,0x0,_0x21946d)?(await this[_0x118bf3(0x93)][_0x118bf3(0xce)](_0x3bf73e),this[_0x118bf3(0xbe)][_0x118bf3(0xc3)](_0x3bf73e)):null;}async[_0xb49d29(0x87)](_0x5331f8,_0x40242a){const _0xdfc7b3=_0xb49d29;return await this[_0xdfc7b3(0x77)][_0xdfc7b3(0x9c)](_0x5331f8,0x0,_0x40242a)?(await this[_0xdfc7b3(0x93)][_0xdfc7b3(0xce)](_0x5331f8),this[_0xdfc7b3(0xbe)][_0xdfc7b3(0x8c)](_0x5331f8)):null;}async['loadSlideAsync'](_0x11644d,_0x46bdf4){const _0xe374a2=_0xb49d29;return await this[_0xe374a2(0x77)]['loadSlide'](_0x11644d,0x0,_0x46bdf4)?(await this[_0xe374a2(0x93)][_0xe374a2(0xce)](_0x11644d),this['_handler'][_0xe374a2(0x98)](_0x11644d)):null;}async[_0xb49d29(0xcd)](_0x33d66b,_0x2f1834){const _0x1d6ad2=_0xb49d29;return await this[_0x1d6ad2(0x77)][_0x1d6ad2(0xae)](_0x33d66b,0x0,_0x2f1834)?(await this[_0x1d6ad2(0x93)][_0x1d6ad2(0xce)](_0x33d66b),this[_0x1d6ad2(0xbe)][_0x1d6ad2(0xd1)](_0x33d66b)):null;}['subscribeCollaborators'](_0x3eadd4,_0x4783d9){const _0x3485e9=_0xb49d29;return(0x0,_0x16f7fc['toDisposable'])(this[_0x3485e9(0xb9)][_0x3485e9(0xc8)](_0x15892a[_0x3485e9(0x7f)])['waitForRoom$'](_0x3eadd4)['pipe']((0x0,_0x3a4b4f['switchMap'])(_0xc9fa6=>_0xc9fa6['members$']))['subscribe'](_0x5d76f1=>_0x4783d9(Array[_0x3485e9(0xd0)](_0x5d76f1[_0x3485e9(0xa8)]()))));}['getCollaborationStatus'](_0x1014a0){const _0x2c059f=_0xb49d29;var _0x1c1e18;let _0x1ae4aa=this['_resolveUnitId'](_0x1014a0);if(!_0x1ae4aa)return _0x15892a['CollaborationStatus']['NOT_COLLAB'];let _0x476e5c=this['_collaborationController'][_0x2c059f(0xbb)](_0x1ae4aa);return(_0x1c1e18=_0x476e5c==null?void 0x0:_0x476e5c['state'][_0x2c059f(0xc7)])==null?_0x15892a[_0x2c059f(0x7e)]['NOT_COLLAB']:_0x1c1e18;}[_0xb49d29(0x86)](_0x33506b,_0x51259a={}){const _0x1e6668=_0xb49d29;var _0x503ec2;let _0x3c3acf=this[_0x1e6668(0x9b)](_0x33506b);if(!_0x3c3acf)return Promise[_0x1e6668(0x7c)](Error(_0x1e6668(0xca)));let _0x13e7a7=this[_0x1e6668(0x93)]['getCollabEntity'](_0x3c3acf);if(!_0x13e7a7)return Promise[_0x1e6668(0x7c)](Error(_0x1e6668(0xa2)+_0x3c3acf+_0x1e6668(0xb3)));let _0x38c5d9=_0x13e7a7[_0x1e6668(0x9d)]['status'];if(_0x38c5d9===_0x15892a[_0x1e6668(0x7e)][_0x1e6668(0x9f)])return Promise[_0x1e6668(0xb8)]();let _0x182800=_0x5e889e(_0x3c3acf,_0x38c5d9);if(_0x182800)return Promise[_0x1e6668(0x7c)](_0x182800);let _0xc1d9d4=(_0x503ec2=_0x51259a['timeout'])==null?0x7530:_0x503ec2;return new Promise((_0x15866b,_0x2ed0e0)=>{const _0x1e4a20=_0x1e6668;let _0x83b2af=!0x1,_0xb91cb9=null,_0x578267=setTimeout(()=>{const _0x4a47bb=_0x299f;_0x83b2af=!0x0,_0xb91cb9==null||_0xb91cb9[_0x4a47bb(0xb6)](),_0x2ed0e0(Error(_0x4a47bb(0x8b)+_0x3c3acf+_0x4a47bb(0xcb)+_0xc1d9d4+_0x4a47bb(0x96)));},_0xc1d9d4),_0x7653ff=()=>{const _0x115e45=_0x299f;_0x83b2af=!0x0,clearTimeout(_0x578267),_0xb91cb9==null||_0xb91cb9[_0x115e45(0xb6)]();};_0xb91cb9=_0x13e7a7['status$'][_0x1e4a20(0xd2)](_0x1a9ce7=>{const _0x35363b=_0x1e4a20;if(_0x83b2af)return;if(_0x1a9ce7===_0x15892a[_0x35363b(0x7e)][_0x35363b(0x9f)]){_0x7653ff(),_0x15866b();return;}let _0x5bf0e3=_0x5e889e(_0x3c3acf,_0x1a9ce7);_0x5bf0e3&&(_0x7653ff(),_0x2ed0e0(_0x5bf0e3));});});}[_0xb49d29(0x9b)](_0x364d63){const _0xaf0fb6=_0xb49d29;var _0x44a688;return _0x364d63||((_0x44a688=this[_0xaf0fb6(0x7b)][_0xaf0fb6(0xcf)]())==null?void 0x0:_0x44a688['getUnitId']());}};_0x15f830=_0x431474([_0x50d807(0x1,(0x0,_0x16f7fc[_0xb49d29(0x8e)])(_0x16f7fc['Injector'])),_0x50d807(0x2,_0x16f7fc[_0xb49d29(0xd6)]),_0x50d807(0x3,(0x0,_0x16f7fc[_0xb49d29(0x8e)])(_0x4bf555[_0xb49d29(0xc5)])),_0x50d807(0x4,(0x0,_0x16f7fc[_0xb49d29(0x8e)])(_0x15892a[_0xb49d29(0xa5)]))],_0x15f830);function _0x5e889e(_0x274e69,_0xaed991){const _0x262823=_0xb49d29;return _0xaed991===_0x15892a['CollaborationStatus'][_0x262823(0x80)]||_0xaed991===_0x15892a[_0x262823(0x7e)][_0x262823(0xa4)]?Error(_0x262823(0xc2)+_0x274e69+'\x22\x20while\x20collaboration\x20status\x20is\x20'+_0xaed991+'.'):null;}var _0x514769=class extends _0x26c841[_0xb49d29(0x8d)]{[_0xb49d29(0x97)](_0x53adda){const _0x12ed27=_0xb49d29;let _0x1d512a=_0x53adda['get'](_0x15892a[_0x12ed27(0xa5)]);this['disposeWithMe'](this[_0x12ed27(0xab)](this['Event']['CollaborationStatusChanged'],()=>{const _0x445de5=_0x12ed27;let _0x92e2ce=new _0x16f7fc[(_0x445de5(0x76))](),_0x37da96=_0x1d512a[_0x445de5(0xd4)]['subscribe'](_0x3a935a=>{const _0x4bb353=_0x445de5;let _0x5a1456=_0x3a935a[_0x4bb353(0x95)][_0x4bb353(0xd2)](_0xa89233=>{const _0x1c8ea8=_0x4bb353;let _0x5d80ac={'unitId':_0x3a935a[_0x1c8ea8(0xaf)],'status':_0xa89233};this[_0x1c8ea8(0x83)](this[_0x1c8ea8(0xd3)]['CollaborationStatusChanged'],_0x5d80ac);});_0x92e2ce[_0x4bb353(0xc9)]((0x0,_0x16f7fc[_0x4bb353(0xb4)])(_0x5a1456));});return _0x92e2ce['add']((0x0,_0x16f7fc[_0x445de5(0xb4)])(_0x37da96)),_0x92e2ce;}));}[_0xb49d29(0x89)](){const _0x1027a5=_0xb49d29;return this['_injector'][_0x1027a5(0xd5)](_0x15f830,{'getWorkbook':_0x4cd6ab=>this[_0x1027a5(0x75)](_0x4cd6ab),'getDocument':_0x5ddeb8=>this[_0x1027a5(0xc3)](_0x5ddeb8),'getPresentation':_0xe47905=>this[_0x1027a5(0x98)](_0xe47905),'getBase':_0x5e1b04=>this[_0x1027a5(0x8c)](_0x5e1b04),'getBoard':_0x497cd5=>this[_0x1027a5(0xd1)](_0x497cd5)});}[_0xb49d29(0xbd)](_0x4ac871,_0x477dc0,_0x4b329f){const _0x577ed6=_0xb49d29;return this[_0x577ed6(0xb9)]['get'](_0x15892a['DataLoaderService'])[_0x577ed6(0xa7)](_0x4ac871,_0x477dc0,_0x4b329f);}[_0xb49d29(0x8f)](_0x18e378,_0xe0178c,_0x2bff0e){const _0x28c641=_0xb49d29;return this['_injector'][_0x28c641(0xc8)](_0x15892a[_0x28c641(0x79)])[_0x28c641(0x7a)](_0x18e378,_0xe0178c,_0x2bff0e);}};_0x26c841[_0xb49d29(0x8d)]['extend'](_0x514769),Object[_0xb49d29(0xb1)](_0x4ca478,_0xb49d29(0xa0),{'enumerable':!0x0,'get':function(){return _0x15f830;}});}));
|
|
1
|
+
function _0x15ba(){const _0x2162eb=['UniverProCollaborationClient','reject','decorate','SYNCED','add','_initialize','CollaborationStatusChanged','fireEvent','get','_resolveUnitId','\x22\x20after\x20','pipe','loadDoc','DataLoaderService','69AqaGNZ','getOwnPropertyDescriptor','values','status','getPresentation','subscribe','CollaborationStatus','registerEventHandler','status$','timeout','DisposableCollection','flush','loadServerUnitOfRevision','disposeWithMe','loadUnitOfRevision','_univerInstanceService','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','UniverCore','switchMap','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','function','UniverCoreFacade','_handler','[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.','SnapshotService','unsubscribe','resolve','Event','_snapshotService','FUniver','getFocusedUnit','Injector','getUnitId','loadSheetAsync','getBoard','2009133JBOatl','@univerjs/core/facade','2081976JcPBlr','252864CTthBF','getBase','CONFLICT','length','@univerjs-pro/collaboration-client','FEventName','UniverProCollaborationClientFacade','getDocument','loadBoardAsync','NOT_COLLAB','extend','getCollaborationStatus','defineProperty','getWorkbook','loadBaseAsync','loadDocAsync','loadUnit','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','getCollabEntity','toStringTag','9704QHDghY','MemberService','members$','waitForRoom$','getCollaboration','loadSlide','\x22\x20while\x20collaboration\x20status\x20is\x20','@univerjs-pro/collaboration','_injector','subscribeCollaborators','CollaborationController','UniverProCollaboration','652075qXnbXW','exports','129614ytJTlE','state','readyForCollab','FBase','createInstance','toDisposable','unitID','FEnum','Inject','amd','8sAncIu','1393569uFPyAu','_collaborationController'];_0x15ba=function(){return _0x2162eb;};return _0x15ba();}function _0x5c6d(_0x45d053,_0x365c99){_0x45d053=_0x45d053-0xcd;const _0x15bad6=_0x15ba();let _0x5c6d81=_0x15bad6[_0x45d053];return _0x5c6d81;}(function(_0x94d84c,_0x4e1760){const _0x437a3a=_0x5c6d,_0x460513=_0x94d84c();while(!![]){try{const _0x17839a=-parseInt(_0x437a3a(0x122))/0x1*(-parseInt(_0x437a3a(0x118))/0x2)+-parseInt(_0x437a3a(0xd0))/0x3*(parseInt(_0x437a3a(0x10a))/0x4)+-parseInt(_0x437a3a(0x116))/0x5+parseInt(_0x437a3a(0xf6))/0x6+-parseInt(_0x437a3a(0xf3))/0x7+parseInt(_0x437a3a(0xf5))/0x8+parseInt(_0x437a3a(0x123))/0x9;if(_0x17839a===_0x4e1760)break;else _0x460513['push'](_0x460513['shift']());}catch(_0x27f4f5){_0x460513['push'](_0x460513['shift']());}}}(_0x15ba,0x7aab8),function(_0x260b67,_0x326006){const _0x1a080d=_0x5c6d;typeof exports=='object'&&typeof module<'u'?_0x326006(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x1a080d(0xe4)&&define[_0x1a080d(0x121)]?define([_0x1a080d(0x117),_0x1a080d(0xfa),_0x1a080d(0xf4),'@univerjs/core',_0x1a080d(0x111),'rxjs'],_0x326006):(_0x260b67=typeof globalThis<'u'?globalThis:_0x260b67||self,_0x326006(_0x260b67[_0x1a080d(0xfc)]={},_0x260b67[_0x1a080d(0x125)],_0x260b67[_0x1a080d(0xe5)],_0x260b67[_0x1a080d(0xe1)],_0x260b67[_0x1a080d(0x115)],_0x260b67['rxjs']));}(this,function(_0x2fce93,_0x5550c2,_0x4f9f00,_0x4c5411,_0x41c24e,_0x87c877){const _0x22fc26=_0x5c6d;Object[_0x22fc26(0x102)](_0x2fce93,Symbol[_0x22fc26(0x109)],{'value':'Module'});var _0x4f5c57=class extends _0x4f9f00[_0x22fc26(0x11f)]{get[_0x22fc26(0xd6)](){return _0x5550c2['CollaborationStatus'];}};_0x4f9f00[_0x22fc26(0x11f)][_0x22fc26(0x100)](_0x4f5c57);var _0x3bde83=class extends _0x4f9f00[_0x22fc26(0xfb)]{get[_0x22fc26(0x12b)](){const _0x19de06=_0x22fc26;return _0x19de06(0x12b);}};_0x4f9f00[_0x22fc26(0xfb)]['extend'](_0x3bde83);function _0x29224b(_0x1e5e9f,_0x55e7e4){return function(_0x450e54,_0x319f5b){_0x55e7e4(_0x450e54,_0x319f5b,_0x1e5e9f);};}function _0x492c94(_0x314013,_0x549b6d,_0x340846,_0x18f1b2){const _0x16cf0e=_0x22fc26;var _0x39d498=arguments[_0x16cf0e(0xf9)],_0x3437b6=_0x39d498<0x3?_0x549b6d:_0x18f1b2===null?_0x18f1b2=Object[_0x16cf0e(0xd1)](_0x549b6d,_0x340846):_0x18f1b2,_0x10b29e;if(typeof Reflect=='object'&&typeof Reflect[_0x16cf0e(0x127)]=='function')_0x3437b6=Reflect[_0x16cf0e(0x127)](_0x314013,_0x549b6d,_0x340846,_0x18f1b2);else{for(var _0x5c766a=_0x314013['length']-0x1;_0x5c766a>=0x0;_0x5c766a--)(_0x10b29e=_0x314013[_0x5c766a])&&(_0x3437b6=(_0x39d498<0x3?_0x10b29e(_0x3437b6):_0x39d498>0x3?_0x10b29e(_0x549b6d,_0x340846,_0x3437b6):_0x10b29e(_0x549b6d,_0x340846))||_0x3437b6);}return _0x39d498>0x3&&_0x3437b6&&Object['defineProperty'](_0x549b6d,_0x340846,_0x3437b6),_0x3437b6;}let _0x12bb42=class extends _0x4f9f00[_0x22fc26(0x11b)]{constructor(_0x16cc24,_0x49a911,_0x205813,_0x5069a7,_0x1131f9){const _0x1ffba2=_0x22fc26;super(),this['_handler']=_0x16cc24,this[_0x1ffba2(0x112)]=_0x49a911,this[_0x1ffba2(0xdf)]=_0x205813,this[_0x1ffba2(0xec)]=_0x5069a7,this[_0x1ffba2(0x124)]=_0x1131f9;}async[_0x22fc26(0xf1)](_0x219a8b,_0x2b813d){const _0x5cbada=_0x22fc26;return await this[_0x5cbada(0xec)]['loadSheet'](_0x219a8b,0x0,_0x2b813d)?(await this[_0x5cbada(0x124)]['readyForCollab'](_0x219a8b),this[_0x5cbada(0xe6)][_0x5cbada(0x103)](_0x219a8b)):null;}async[_0x22fc26(0x105)](_0x523714,_0x4a761b){const _0x4f3800=_0x22fc26;return await this['_snapshotService'][_0x4f3800(0xce)](_0x523714,0x0,_0x4a761b)?(await this[_0x4f3800(0x124)]['readyForCollab'](_0x523714),this[_0x4f3800(0xe6)][_0x4f3800(0xfd)](_0x523714)):null;}async[_0x22fc26(0x104)](_0x34638f,_0x102160){const _0x1f862c=_0x22fc26;return await this[_0x1f862c(0xec)]['loadBase'](_0x34638f,0x0,_0x102160)?(await this['_collaborationController'][_0x1f862c(0x11a)](_0x34638f),this[_0x1f862c(0xe6)][_0x1f862c(0xf7)](_0x34638f)):null;}async['loadSlideAsync'](_0x1ce53c,_0x2574f4){const _0x1a6e54=_0x22fc26;return await this[_0x1a6e54(0xec)][_0x1a6e54(0x10f)](_0x1ce53c,0x0,_0x2574f4)?(await this['_collaborationController'][_0x1a6e54(0x11a)](_0x1ce53c),this[_0x1a6e54(0xe6)][_0x1a6e54(0xd4)](_0x1ce53c)):null;}async[_0x22fc26(0xfe)](_0x1e5f06,_0x59ed08){const _0x5df634=_0x22fc26;return await this['_snapshotService']['loadBoard'](_0x1e5f06,0x0,_0x59ed08)?(await this['_collaborationController'][_0x5df634(0x11a)](_0x1e5f06),this[_0x5df634(0xe6)][_0x5df634(0xf2)](_0x1e5f06)):null;}[_0x22fc26(0x113)](_0x45af89,_0x4672ba){const _0x39498d=_0x22fc26;return(0x0,_0x4c5411['toDisposable'])(this[_0x39498d(0x112)][_0x39498d(0x12d)](_0x5550c2[_0x39498d(0x10b)])[_0x39498d(0x10d)](_0x45af89)[_0x39498d(0xcd)]((0x0,_0x87c877[_0x39498d(0xe2)])(_0x5411fa=>_0x5411fa[_0x39498d(0x10c)]))[_0x39498d(0xd5)](_0x56fe5f=>_0x4672ba(Array['from'](_0x56fe5f[_0x39498d(0xd2)]()))));}[_0x22fc26(0x101)](_0x4d40b0){const _0x527403=_0x22fc26;var _0x5c9103;let _0x22eef3=this[_0x527403(0x12e)](_0x4d40b0);if(!_0x22eef3)return _0x5550c2[_0x527403(0xd6)][_0x527403(0xff)];let _0x30efbb=this[_0x527403(0x124)][_0x527403(0x108)](_0x22eef3);return(_0x5c9103=_0x30efbb==null?void 0x0:_0x30efbb[_0x527403(0x119)][_0x527403(0xd3)])==null?_0x5550c2['CollaborationStatus']['NOT_COLLAB']:_0x5c9103;}[_0x22fc26(0xdb)](_0x3ed4bd,_0x2c1d7d={}){const _0x38e666=_0x22fc26;var _0x383590;let _0x37881f=this[_0x38e666(0x12e)](_0x3ed4bd);if(!_0x37881f)return Promise['reject'](Error(_0x38e666(0xe7)));let _0x3dd502=this['_collaborationController'][_0x38e666(0x108)](_0x37881f);if(!_0x3dd502)return Promise[_0x38e666(0x126)](Error('[FCollaboration]:\x20Unit\x20\x22'+_0x37881f+_0x38e666(0xe0)));let _0x210630=_0x3dd502[_0x38e666(0x119)][_0x38e666(0xd3)];if(_0x210630===_0x5550c2[_0x38e666(0xd6)][_0x38e666(0x128)])return Promise[_0x38e666(0xea)]();let _0x40c443=_0x26b6ea(_0x37881f,_0x210630);if(_0x40c443)return Promise[_0x38e666(0x126)](_0x40c443);let _0x168731=(_0x383590=_0x2c1d7d[_0x38e666(0xd9)])==null?0x7530:_0x383590;return new Promise((_0x590ed1,_0xb8a9a8)=>{let _0x3c8d1f=!0x1,_0x28c384=null,_0xd62ddb=setTimeout(()=>{const _0x2154a4=_0x5c6d;_0x3c8d1f=!0x0,_0x28c384==null||_0x28c384[_0x2154a4(0xe9)](),_0xb8a9a8(Error(_0x2154a4(0xe3)+_0x37881f+_0x2154a4(0x12f)+_0x168731+'ms.'));},_0x168731),_0x47fde0=()=>{_0x3c8d1f=!0x0,clearTimeout(_0xd62ddb),_0x28c384==null||_0x28c384['unsubscribe']();};_0x28c384=_0x3dd502['status$']['subscribe'](_0x444bc8=>{const _0x236b69=_0x5c6d;if(_0x3c8d1f)return;if(_0x444bc8===_0x5550c2[_0x236b69(0xd6)][_0x236b69(0x128)]){_0x47fde0(),_0x590ed1();return;}let _0x540e13=_0x26b6ea(_0x37881f,_0x444bc8);_0x540e13&&(_0x47fde0(),_0xb8a9a8(_0x540e13));});});}[_0x22fc26(0x12e)](_0x354043){const _0x1af189=_0x22fc26;var _0x3865d7;return _0x354043||((_0x3865d7=this[_0x1af189(0xdf)][_0x1af189(0xee)]())==null?void 0x0:_0x3865d7[_0x1af189(0xf0)]());}};_0x12bb42=_0x492c94([_0x29224b(0x1,(0x0,_0x4c5411[_0x22fc26(0x120)])(_0x4c5411[_0x22fc26(0xef)])),_0x29224b(0x2,_0x4c5411['IUniverInstanceService']),_0x29224b(0x3,(0x0,_0x4c5411[_0x22fc26(0x120)])(_0x41c24e[_0x22fc26(0xe8)])),_0x29224b(0x4,(0x0,_0x4c5411[_0x22fc26(0x120)])(_0x5550c2[_0x22fc26(0x114)]))],_0x12bb42);function _0x26b6ea(_0x4bcfdd,_0x5ed91c){const _0x1ccb2c=_0x22fc26;return _0x5ed91c===_0x5550c2[_0x1ccb2c(0xd6)][_0x1ccb2c(0xf8)]||_0x5ed91c===_0x5550c2['CollaborationStatus'][_0x1ccb2c(0xff)]?Error(_0x1ccb2c(0x107)+_0x4bcfdd+_0x1ccb2c(0x110)+_0x5ed91c+'.'):null;}var _0x5b44c7=class extends _0x4f9f00[_0x22fc26(0xed)]{[_0x22fc26(0x12a)](_0x17d86b){const _0x43b81c=_0x22fc26;let _0x5fb49d=_0x17d86b[_0x43b81c(0x12d)](_0x5550c2['CollaborationController']);this[_0x43b81c(0xdd)](this[_0x43b81c(0xd7)](this[_0x43b81c(0xeb)][_0x43b81c(0x12b)],()=>{const _0x85cc19=_0x43b81c;let _0x483c81=new _0x4c5411[(_0x85cc19(0xda))](),_0x103c19=_0x5fb49d['entityInit$']['subscribe'](_0x502dda=>{const _0x50f160=_0x85cc19;let _0x45650f=_0x502dda[_0x50f160(0xd8)][_0x50f160(0xd5)](_0x5701fc=>{const _0x2d1cda=_0x50f160;let _0x14b412={'unitId':_0x502dda[_0x2d1cda(0x11e)],'status':_0x5701fc};this[_0x2d1cda(0x12c)](this[_0x2d1cda(0xeb)][_0x2d1cda(0x12b)],_0x14b412);});_0x483c81[_0x50f160(0x129)]((0x0,_0x4c5411[_0x50f160(0x11d)])(_0x45650f));});return _0x483c81['add']((0x0,_0x4c5411[_0x85cc19(0x11d)])(_0x103c19)),_0x483c81;}));}[_0x22fc26(0x10e)](){const _0x3ec773=_0x22fc26;return this[_0x3ec773(0x112)][_0x3ec773(0x11c)](_0x12bb42,{'getWorkbook':_0x2c8a3a=>this[_0x3ec773(0x103)](_0x2c8a3a),'getDocument':_0xe5f5d7=>this[_0x3ec773(0xfd)](_0xe5f5d7),'getPresentation':_0x12ca85=>this[_0x3ec773(0xd4)](_0x12ca85),'getBase':_0x78671f=>this['getBase'](_0x78671f),'getBoard':_0xe023e9=>this[_0x3ec773(0xf2)](_0xe023e9)});}['loadServerUnit'](_0x541d9f,_0x1bddcd,_0x4b4f3c){const _0x103905=_0x22fc26;return this['_injector'][_0x103905(0x12d)](_0x5550c2[_0x103905(0xcf)])[_0x103905(0x106)](_0x541d9f,_0x1bddcd,_0x4b4f3c);}[_0x22fc26(0xdc)](_0x34cdad,_0x1b33c1,_0x2a841e){const _0x4a97e8=_0x22fc26;return this['_injector'][_0x4a97e8(0x12d)](_0x5550c2[_0x4a97e8(0xcf)])[_0x4a97e8(0xde)](_0x34cdad,_0x1b33c1,_0x2a841e);}};_0x4f9f00[_0x22fc26(0xed)][_0x22fc26(0x100)](_0x5b44c7),Object['defineProperty'](_0x2fce93,'FCollaboration',{'enumerable':!0x0,'get':function(){return _0x12bb42;}});}));
|