@univerjs-pro/collaboration-client 1.0.0-alpha.8 → 1.0.0-beta.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.
- 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 +15 -15
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3177(_0x18b2fa,_0x235508){_0x18b2fa=_0x18b2fa-0xde;const _0x129d03=_0x129d();let _0x31779c=_0x129d03[_0x18b2fa];return _0x31779c;}function _0x129d(){const _0x273da8=['加入協作失敗,請稍後重試,您的編輯將暫存於本機。','1730448fXXCUU','3519108aZewsz','由於協作房間已關閉,編輯權限已被收回。','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','連線失敗,將在稍後重試連線。','編輯衝突','4fVKBMH','協作衝突','伺服器未回應協作請求,您的編輯將儲存在本機。','本機檔案','沒有協作權限,您的編輯將暫存於本機。','點擊重新連線','35522990YufqBi','協作文件數量超過限制,您的編輯將暫存於本機。','18JvGBEO','446019hGOIxV','702861EUrDXR','連線失敗,請檢查您的網路。','認證錯誤','已離線,編輯將儲存在本機','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','5384296LSAtcM','正在擷取伺服器資料...','9HlNvNO','此文件協作人數已達上限,您的編輯將暫存於本機。','已同步','6491440hkXrzJ'];_0x129d=function(){return _0x273da8;};return _0x129d();}const _0x5d04d2=_0x3177;(function(_0x3eeeb2,_0x38a16b){const _0x3ee92d=_0x3177,_0x2545d8=_0x3eeeb2();while(!![]){try{const _0x19b52d=-parseInt(_0x3ee92d(0xe6))/0x1+parseInt(_0x3ee92d(0xec))/0x2*(parseInt(_0x3ee92d(0xf6))/0x3)+-parseInt(_0x3ee92d(0xe7))/0x4+-parseInt(_0x3ee92d(0xe4))/0x5+-parseInt(_0x3ee92d(0xf4))/0x6*(-parseInt(_0x3ee92d(0xf5))/0x7)+parseInt(_0x3ee92d(0xdf))/0x8+parseInt(_0x3ee92d(0xe1))/0x9*(parseInt(_0x3ee92d(0xf2))/0xa);if(_0x19b52d===_0x38a16b)break;else _0x2545d8['push'](_0x2545d8['shift']());}catch(_0x174d72){_0x2545d8['push'](_0x2545d8['shift']());}}}(_0x129d,0xee6a4));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x5d04d2(0xf1)}},'collabStatus':{'fetchMiss':_0x5d04d2(0xe0),'conflict':_0x5d04d2(0xeb),'notCollab':_0x5d04d2(0xef),'synced':_0x5d04d2(0xe3),'syncing':'同步中...','offline':_0x5d04d2(0xf9)},'session':{'connection-failed':_0x5d04d2(0xf7),'will-retry':_0x5d04d2(0xea),'room-full':_0x5d04d2(0xe2),'join-failed':_0x5d04d2(0xe5),'room-not-exists':'加入協作失敗,您的編輯將暫存於本機。','room-permission-denied':_0x5d04d2(0xf0),'room-cnt-exceeds':_0x5d04d2(0xf3),'collaboration-timeout':_0x5d04d2(0xee)},'conflict':{'title':_0x5d04d2(0xed),'content':_0x5d04d2(0xe9)},'permission':{'title':_0x5d04d2(0xf8),'content':'您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。'},'collaboration':{'single-unit':{'warning':_0x5d04d2(0xfa)},'closeRoom':_0x5d04d2(0xe8)},'auth':{'needGotoLoginAlert':_0x5d04d2(0xde)}}};export{e as default};
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4a67c9,_0x4d66c1){const _0x3c8a37=_0x2d74,_0x35dadd=_0x4a67c9();while(!![]){try{const _0x424ff4=-parseInt(_0x3c8a37(0x1fa))/0x1*(-parseInt(_0x3c8a37(0x1ff))/0x2)+parseInt(_0x3c8a37(0x1f5))/0x3*(parseInt(_0x3c8a37(0x1ee))/0x4)+-parseInt(_0x3c8a37(0x209))/0x5+-parseInt(_0x3c8a37(0x213))/0x6*(parseInt(_0x3c8a37(0x1e3))/0x7)+parseInt(_0x3c8a37(0x21e))/0x8+-parseInt(_0x3c8a37(0x223))/0x9+parseInt(_0x3c8a37(0x1fe))/0xa*(parseInt(_0x3c8a37(0x1fb))/0xb);if(_0x424ff4===_0x4d66c1)break;else _0x35dadd['push'](_0x35dadd['shift']());}catch(_0x4a4612){_0x35dadd['push'](_0x35dadd['shift']());}}}(_0x97b2,0x5deeb),function(_0x312aa0,_0x237aa9){const _0x11c5b5=_0x2d74;typeof exports==_0x11c5b5(0x207)&&typeof module<'u'?_0x237aa9(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x11c5b5(0x216)&&define[_0x11c5b5(0x22c)]?define([_0x11c5b5(0x1de),_0x11c5b5(0x222),_0x11c5b5(0x1e8),_0x11c5b5(0x1dc),_0x11c5b5(0x211),_0x11c5b5(0x1ef)],_0x237aa9):(_0x312aa0=typeof globalThis<'u'?globalThis:_0x312aa0||self,_0x237aa9(_0x312aa0[_0x11c5b5(0x1d9)]={},_0x312aa0['UniverProCollaborationClient'],_0x312aa0['UniverCoreFacade'],_0x312aa0[_0x11c5b5(0x232)],_0x312aa0[_0x11c5b5(0x235)],_0x312aa0[_0x11c5b5(0x1ef)]));}(this,function(_0x12d443,_0x5effa1,_0x50ecdd,_0x5de8f1,_0x23f772,_0x365d9b){const _0x4f8bb1=_0x2d74;Object[_0x4f8bb1(0x1f2)](_0x12d443,Symbol['toStringTag'],{'value':_0x4f8bb1(0x1f3)});var _0x458248=class extends _0x50ecdd['FEnum']{get[_0x4f8bb1(0x1f4)](){const _0x37147d=_0x4f8bb1;return _0x5effa1[_0x37147d(0x1f4)];}};_0x50ecdd[_0x4f8bb1(0x205)]['extend'](_0x458248);var _0x58ff42=class extends _0x50ecdd[_0x4f8bb1(0x219)]{get['CollaborationStatusChanged'](){return'CollaborationStatusChanged';}};_0x50ecdd['FEventName'][_0x4f8bb1(0x20f)](_0x58ff42);function _0x5caef7(_0x2df2b2,_0x48ab52){return function(_0x4a7393,_0x5cbdd0){_0x48ab52(_0x4a7393,_0x5cbdd0,_0x2df2b2);};}function _0x96ee27(_0x17b579,_0x391e31,_0x2a2554,_0x4b6405){const _0x4c3f86=_0x4f8bb1;var _0x43d9ff=arguments['length'],_0x5bd51c=_0x43d9ff<0x3?_0x391e31:_0x4b6405===null?_0x4b6405=Object[_0x4c3f86(0x227)](_0x391e31,_0x2a2554):_0x4b6405,_0x278af7;if(typeof Reflect=='object'&&typeof Reflect[_0x4c3f86(0x225)]==_0x4c3f86(0x216))_0x5bd51c=Reflect['decorate'](_0x17b579,_0x391e31,_0x2a2554,_0x4b6405);else{for(var _0x34f70d=_0x17b579[_0x4c3f86(0x21a)]-0x1;_0x34f70d>=0x0;_0x34f70d--)(_0x278af7=_0x17b579[_0x34f70d])&&(_0x5bd51c=(_0x43d9ff<0x3?_0x278af7(_0x5bd51c):_0x43d9ff>0x3?_0x278af7(_0x391e31,_0x2a2554,_0x5bd51c):_0x278af7(_0x391e31,_0x2a2554))||_0x5bd51c);}return _0x43d9ff>0x3&&_0x5bd51c&&Object['defineProperty'](_0x391e31,_0x2a2554,_0x5bd51c),_0x5bd51c;}let _0x4bee78=class extends _0x50ecdd['FBase']{constructor(_0x551840,_0xe094f5,_0x212818,_0x5ac3b5,_0x5cb128){const _0x3c6810=_0x4f8bb1;super(),this[_0x3c6810(0x20d)]=_0x551840,this[_0x3c6810(0x214)]=_0xe094f5,this[_0x3c6810(0x203)]=_0x212818,this[_0x3c6810(0x236)]=_0x5ac3b5,this['_collaborationController']=_0x5cb128;}async['loadSheetAsync'](_0x16c3ed,_0x92dae9){const _0x5dc703=_0x4f8bb1;return await this[_0x5dc703(0x236)]['loadSheet'](_0x16c3ed,0x0,_0x92dae9)?(await this['_collaborationController'][_0x5dc703(0x23b)](_0x16c3ed),this[_0x5dc703(0x20d)][_0x5dc703(0x221)](_0x16c3ed)):null;}async[_0x4f8bb1(0x1e1)](_0x27bf08,_0x584498){const _0x5caea5=_0x4f8bb1;return await this['_snapshotService'][_0x5caea5(0x200)](_0x27bf08,0x0,_0x584498)?(await this[_0x5caea5(0x1ea)][_0x5caea5(0x23b)](_0x27bf08),this[_0x5caea5(0x20d)][_0x5caea5(0x22f)](_0x27bf08)):null;}async['loadBaseAsync'](_0x1a86b2,_0x23f672){const _0x466d36=_0x4f8bb1;return await this[_0x466d36(0x236)]['loadBase'](_0x1a86b2,0x0,_0x23f672)?(await this['_collaborationController']['readyForCollab'](_0x1a86b2),this['_handler'][_0x466d36(0x20a)](_0x1a86b2)):null;}async[_0x4f8bb1(0x229)](_0x37cc65,_0x202a8c){const _0x2090bb=_0x4f8bb1;return await this[_0x2090bb(0x236)][_0x2090bb(0x22e)](_0x37cc65,0x0,_0x202a8c)?(await this[_0x2090bb(0x1ea)]['readyForCollab'](_0x37cc65),this[_0x2090bb(0x20d)][_0x2090bb(0x1f8)](_0x37cc65)):null;}async[_0x4f8bb1(0x212)](_0x1313a8,_0x292a7c){const _0x610906=_0x4f8bb1;return await this['_snapshotService'][_0x610906(0x239)](_0x1313a8,0x0,_0x292a7c)?(await this[_0x610906(0x1ea)]['readyForCollab'](_0x1313a8),this[_0x610906(0x20d)][_0x610906(0x20b)](_0x1313a8)):null;}[_0x4f8bb1(0x238)](_0xc0e020,_0x211cc5){const _0x12707b=_0x4f8bb1;return(0x0,_0x5de8f1[_0x12707b(0x21d)])(this[_0x12707b(0x214)][_0x12707b(0x1df)](_0x5effa1[_0x12707b(0x23a)])[_0x12707b(0x20c)](_0xc0e020)['pipe']((0x0,_0x365d9b['switchMap'])(_0x543e07=>_0x543e07['members$']))[_0x12707b(0x1f9)](_0x20ad2c=>_0x211cc5(Array[_0x12707b(0x237)](_0x20ad2c[_0x12707b(0x220)]()))));}[_0x4f8bb1(0x1e6)](_0x289722){const _0x368d61=_0x4f8bb1;var _0x1f0c24;let _0x488bd2=this['_resolveUnitId'](_0x289722);if(!_0x488bd2)return _0x5effa1[_0x368d61(0x1f4)][_0x368d61(0x224)];let _0x168cba=this['_collaborationController'][_0x368d61(0x1f0)](_0x488bd2);return(_0x1f0c24=_0x168cba==null?void 0x0:_0x168cba['state'][_0x368d61(0x1ec)])==null?_0x5effa1[_0x368d61(0x1f4)]['NOT_COLLAB']:_0x1f0c24;}[_0x4f8bb1(0x1e2)](_0x5919ef,_0x33d897={}){const _0x37d8ab=_0x4f8bb1;var _0x26bb09;let _0x439fb0=this['_resolveUnitId'](_0x5919ef);if(!_0x439fb0)return Promise['reject'](Error(_0x37d8ab(0x21c)));let _0x33c340=this[_0x37d8ab(0x1ea)][_0x37d8ab(0x1f0)](_0x439fb0);if(!_0x33c340)return Promise[_0x37d8ab(0x226)](Error(_0x37d8ab(0x233)+_0x439fb0+'\x22\x20is\x20not\x20in\x20collaboration\x20mode.'));let _0xd9fbca=_0x33c340[_0x37d8ab(0x217)]['status'];if(_0xd9fbca===_0x5effa1['CollaborationStatus'][_0x37d8ab(0x1dd)])return Promise[_0x37d8ab(0x206)]();let _0x49b692=_0x389084(_0x439fb0,_0xd9fbca);if(_0x49b692)return Promise[_0x37d8ab(0x226)](_0x49b692);let _0x5cd077=(_0x26bb09=_0x33d897[_0x37d8ab(0x218)])==null?0x7530:_0x26bb09;return new Promise((_0x1d9cea,_0x507430)=>{const _0xfd92a2=_0x37d8ab;let _0xcebfe8=!0x1,_0x234692=null,_0x118923=setTimeout(()=>{const _0x31dde9=_0x2d74;_0xcebfe8=!0x0,_0x234692==null||_0x234692['unsubscribe'](),_0x507430(Error(_0x31dde9(0x21f)+_0x439fb0+_0x31dde9(0x22d)+_0x5cd077+'ms.'));},_0x5cd077),_0x2c6a87=()=>{const _0x1075fc=_0x2d74;_0xcebfe8=!0x0,clearTimeout(_0x118923),_0x234692==null||_0x234692[_0x1075fc(0x210)]();};_0x234692=_0x33c340[_0xfd92a2(0x230)][_0xfd92a2(0x1f9)](_0x591a50=>{const _0x46de0d=_0xfd92a2;if(_0xcebfe8)return;if(_0x591a50===_0x5effa1[_0x46de0d(0x1f4)]['SYNCED']){_0x2c6a87(),_0x1d9cea();return;}let _0x25be00=_0x389084(_0x439fb0,_0x591a50);_0x25be00&&(_0x2c6a87(),_0x507430(_0x25be00));});});}[_0x4f8bb1(0x1f1)](_0x34ec2a){const _0x49c4c5=_0x4f8bb1;var _0x301e42;return _0x34ec2a||((_0x301e42=this['_univerInstanceService'][_0x49c4c5(0x1db)]())==null?void 0x0:_0x301e42[_0x49c4c5(0x1eb)]());}};_0x4bee78=_0x96ee27([_0x5caef7(0x1,(0x0,_0x5de8f1[_0x4f8bb1(0x21b)])(_0x5de8f1[_0x4f8bb1(0x1ed)])),_0x5caef7(0x2,_0x5de8f1[_0x4f8bb1(0x215)]),_0x5caef7(0x3,(0x0,_0x5de8f1[_0x4f8bb1(0x21b)])(_0x23f772[_0x4f8bb1(0x234)])),_0x5caef7(0x4,(0x0,_0x5de8f1[_0x4f8bb1(0x21b)])(_0x5effa1[_0x4f8bb1(0x22a)]))],_0x4bee78);function _0x389084(_0x564289,_0x100cac){const _0x5e4af3=_0x4f8bb1;return _0x100cac===_0x5effa1['CollaborationStatus'][_0x5e4af3(0x202)]||_0x100cac===_0x5effa1[_0x5e4af3(0x1f4)]['NOT_COLLAB']?Error(_0x5e4af3(0x1e7)+_0x564289+'\x22\x20while\x20collaboration\x20status\x20is\x20'+_0x100cac+'.'):null;}var _0x5965d2=class extends _0x50ecdd['FUniver']{[_0x4f8bb1(0x1da)](_0x51a006){const _0x10e7cd=_0x4f8bb1;let _0x445bbd=_0x51a006[_0x10e7cd(0x1df)](_0x5effa1[_0x10e7cd(0x22a)]);this[_0x10e7cd(0x1fd)](this[_0x10e7cd(0x22b)](this['Event'][_0x10e7cd(0x208)],()=>{const _0x2f063e=_0x10e7cd;let _0x255ce8=new _0x5de8f1[(_0x2f063e(0x204))](),_0x1dd548=_0x445bbd[_0x2f063e(0x228)][_0x2f063e(0x1f9)](_0x4ddd1d=>{const _0x3db627=_0x2f063e;let _0x415469=_0x4ddd1d['status$'][_0x3db627(0x1f9)](_0x2c24da=>{const _0x2c2671=_0x3db627;let _0x594b98={'unitId':_0x4ddd1d[_0x2c2671(0x1e4)],'status':_0x2c24da};this[_0x2c2671(0x20e)](this[_0x2c2671(0x201)][_0x2c2671(0x208)],_0x594b98);});_0x255ce8['add']((0x0,_0x5de8f1[_0x3db627(0x21d)])(_0x415469));});return _0x255ce8[_0x2f063e(0x1e9)]((0x0,_0x5de8f1[_0x2f063e(0x21d)])(_0x1dd548)),_0x255ce8;}));}[_0x4f8bb1(0x231)](){const _0x188e52=_0x4f8bb1;return this['_injector'][_0x188e52(0x1f7)](_0x4bee78,{'getWorkbook':_0x2cd604=>this[_0x188e52(0x221)](_0x2cd604),'getDocument':_0x21b94a=>this[_0x188e52(0x22f)](_0x21b94a),'getPresentation':_0x928776=>this[_0x188e52(0x1f8)](_0x928776),'getBase':_0x1d33bb=>this[_0x188e52(0x20a)](_0x1d33bb),'getBoard':_0x1dff06=>this[_0x188e52(0x20b)](_0x1dff06)});}[_0x4f8bb1(0x1e0)](_0x5e9617,_0x358978,_0x4f2c36){return this['_injector']['get'](_0x5effa1['DataLoaderService'])['loadUnit'](_0x5e9617,_0x358978,_0x4f2c36);}['loadServerUnitOfRevision'](_0x2c0d95,_0x7be50d,_0x406601){const _0x9a2478=_0x4f8bb1;return this[_0x9a2478(0x214)]['get'](_0x5effa1['DataLoaderService'])[_0x9a2478(0x1fc)](_0x2c0d95,_0x7be50d,_0x406601);}};_0x50ecdd[_0x4f8bb1(0x1e5)][_0x4f8bb1(0x20f)](_0x5965d2),Object[_0x4f8bb1(0x1f2)](_0x12d443,_0x4f8bb1(0x1f6),{'enumerable':!0x0,'get':function(){return _0x4bee78;}});}));function _0x2d74(_0x206c90,_0x36c97d){_0x206c90=_0x206c90-0x1d9;const _0x97b201=_0x97b2();let _0x2d7413=_0x97b201[_0x206c90];return _0x2d7413;}function _0x97b2(){const _0x1ee84e=['flush','22414sXDhko','unitID','FUniver','getCollaborationStatus','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','@univerjs/core/facade','add','_collaborationController','getUnitId','status','Injector','1618048jfjSHP','rxjs','getCollabEntity','_resolveUnitId','defineProperty','Module','CollaborationStatus','3EYmFaz','FCollaboration','createInstance','getPresentation','subscribe','1YoByua','9330277oClFMH','loadUnitOfRevision','disposeWithMe','10NfsEsb','116214bggdsV','loadDoc','Event','CONFLICT','_univerInstanceService','DisposableCollection','FEnum','resolve','object','CollaborationStatusChanged','2049405RxLJHH','getBase','getBoard','waitForRoom$','_handler','fireEvent','extend','unsubscribe','@univerjs-pro/collaboration','loadBoardAsync','906AcxEJN','_injector','IUniverInstanceService','function','state','timeout','FEventName','length','Inject','[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.','toDisposable','3640744CkcHin','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','values','getWorkbook','@univerjs-pro/collaboration-client','4390101NzlPXG','NOT_COLLAB','decorate','reject','getOwnPropertyDescriptor','entityInit$','loadSlideAsync','CollaborationController','registerEventHandler','amd','\x22\x20after\x20','loadSlide','getDocument','status$','getCollaboration','UniverCore','[FCollaboration]:\x20Unit\x20\x22','SnapshotService','UniverProCollaboration','_snapshotService','from','subscribeCollaborators','loadBoard','MemberService','readyForCollab','UniverProCollaborationClientFacade','_initialize','getFocusedUnit','@univerjs/core','SYNCED','exports','get','loadServerUnit','loadDocAsync'];_0x97b2=function(){return _0x1ee84e;};return _0x97b2();}
|
|
1
|
+
function _0x51f1(_0x428df8,_0x4a71c3){_0x428df8=_0x428df8-0x110;const _0xb3f346=_0xb3f3();let _0x51f1d4=_0xb3f346[_0x428df8];return _0x51f1d4;}(function(_0x261889,_0x5271bb){const _0x1ef0ea=_0x51f1,_0x10f931=_0x261889();while(!![]){try{const _0x13a1a5=parseInt(_0x1ef0ea(0x154))/0x1*(-parseInt(_0x1ef0ea(0x122))/0x2)+parseInt(_0x1ef0ea(0x168))/0x3+parseInt(_0x1ef0ea(0x15c))/0x4*(-parseInt(_0x1ef0ea(0x138))/0x5)+parseInt(_0x1ef0ea(0x115))/0x6+parseInt(_0x1ef0ea(0x130))/0x7+-parseInt(_0x1ef0ea(0x159))/0x8+parseInt(_0x1ef0ea(0x136))/0x9;if(_0x13a1a5===_0x5271bb)break;else _0x10f931['push'](_0x10f931['shift']());}catch(_0x38cc1e){_0x10f931['push'](_0x10f931['shift']());}}}(_0xb3f3,0x2e26a),function(_0x5d8111,_0x24b5ae){const _0x5d1113=_0x51f1;typeof exports=='object'&&typeof module<'u'?_0x24b5ae(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x5d1113(0x169)&&define[_0x5d1113(0x132)]?define([_0x5d1113(0x140),_0x5d1113(0x13c),_0x5d1113(0x139),_0x5d1113(0x14b),_0x5d1113(0x16e),'rxjs'],_0x24b5ae):(_0x5d8111=typeof globalThis<'u'?globalThis:_0x5d8111||self,_0x24b5ae(_0x5d8111[_0x5d1113(0x14c)]={},_0x5d8111['UniverProCollaborationClient'],_0x5d8111['UniverCoreFacade'],_0x5d8111[_0x5d1113(0x150)],_0x5d8111['UniverProCollaboration'],_0x5d8111[_0x5d1113(0x13b)]));}(this,function(_0x522e94,_0xdda150,_0x4f7f51,_0x423b42,_0x5934e5,_0x29f433){const _0x3bf646=_0x51f1;Object[_0x3bf646(0x160)](_0x522e94,Symbol['toStringTag'],{'value':_0x3bf646(0x163)});var _0x487f2f=class extends _0x4f7f51[_0x3bf646(0x110)]{get[_0x3bf646(0x16f)](){const _0xb979c8=_0x3bf646;return _0xdda150[_0xb979c8(0x16f)];}};_0x4f7f51[_0x3bf646(0x110)][_0x3bf646(0x117)](_0x487f2f);var _0x51b9fb=class extends _0x4f7f51[_0x3bf646(0x162)]{get['CollaborationStatusChanged'](){const _0xf4d7e0=_0x3bf646;return _0xf4d7e0(0x112);}};_0x4f7f51[_0x3bf646(0x162)][_0x3bf646(0x117)](_0x51b9fb);function _0x47a05f(_0x5a13d9,_0x55d0bc){return function(_0x2efdbd,_0x1ab8af){_0x55d0bc(_0x2efdbd,_0x1ab8af,_0x5a13d9);};}function _0x3a9dd8(_0x3c8730,_0x1d7ffb,_0x40a554,_0x5c6e85){const _0x691bfa=_0x3bf646;var _0x1bc063=arguments[_0x691bfa(0x113)],_0x56a92f=_0x1bc063<0x3?_0x1d7ffb:_0x5c6e85===null?_0x5c6e85=Object['getOwnPropertyDescriptor'](_0x1d7ffb,_0x40a554):_0x5c6e85,_0x173f34;if(typeof Reflect==_0x691bfa(0x16d)&&typeof Reflect['decorate']=='function')_0x56a92f=Reflect['decorate'](_0x3c8730,_0x1d7ffb,_0x40a554,_0x5c6e85);else{for(var _0x13de7e=_0x3c8730[_0x691bfa(0x113)]-0x1;_0x13de7e>=0x0;_0x13de7e--)(_0x173f34=_0x3c8730[_0x13de7e])&&(_0x56a92f=(_0x1bc063<0x3?_0x173f34(_0x56a92f):_0x1bc063>0x3?_0x173f34(_0x1d7ffb,_0x40a554,_0x56a92f):_0x173f34(_0x1d7ffb,_0x40a554))||_0x56a92f);}return _0x1bc063>0x3&&_0x56a92f&&Object[_0x691bfa(0x160)](_0x1d7ffb,_0x40a554,_0x56a92f),_0x56a92f;}let _0x5ca87b=class extends _0x4f7f51[_0x3bf646(0x15a)]{constructor(_0x1e018c,_0x55d7b9,_0x23ebf1,_0x29d35a,_0x29d176){const _0x44e959=_0x3bf646;super(),this[_0x44e959(0x12d)]=_0x1e018c,this[_0x44e959(0x111)]=_0x55d7b9,this[_0x44e959(0x118)]=_0x23ebf1,this[_0x44e959(0x158)]=_0x29d35a,this['_collaborationController']=_0x29d176;}async[_0x3bf646(0x14d)](_0x53c2a3,_0x4b7f75){const _0x3266c4=_0x3bf646;return await this[_0x3266c4(0x158)][_0x3266c4(0x13d)](_0x53c2a3,0x0,_0x4b7f75)?(await this[_0x3266c4(0x129)][_0x3266c4(0x147)](_0x53c2a3),this[_0x3266c4(0x12d)][_0x3266c4(0x116)](_0x53c2a3)):null;}async[_0x3bf646(0x15f)](_0x2f275e,_0x2ff08a){const _0x2cc2b2=_0x3bf646;return await this[_0x2cc2b2(0x158)]['loadDoc'](_0x2f275e,0x0,_0x2ff08a)?(await this[_0x2cc2b2(0x129)][_0x2cc2b2(0x147)](_0x2f275e),this['_handler'][_0x2cc2b2(0x151)](_0x2f275e)):null;}async[_0x3bf646(0x121)](_0x112861,_0x39aec5){const _0x533769=_0x3bf646;return await this[_0x533769(0x158)][_0x533769(0x114)](_0x112861,0x0,_0x39aec5)?(await this[_0x533769(0x129)][_0x533769(0x147)](_0x112861),this['_handler'][_0x533769(0x12f)](_0x112861)):null;}async[_0x3bf646(0x13a)](_0x1ef4d3,_0xfc36b0){const _0x442b91=_0x3bf646;return await this[_0x442b91(0x158)][_0x442b91(0x16c)](_0x1ef4d3,0x0,_0xfc36b0)?(await this[_0x442b91(0x129)]['readyForCollab'](_0x1ef4d3),this['_handler'][_0x442b91(0x11e)](_0x1ef4d3)):null;}async[_0x3bf646(0x167)](_0x246c1e,_0x16a889){const _0xe1230a=_0x3bf646;return await this[_0xe1230a(0x158)][_0xe1230a(0x164)](_0x246c1e,0x0,_0x16a889)?(await this[_0xe1230a(0x129)][_0xe1230a(0x147)](_0x246c1e),this[_0xe1230a(0x12d)][_0xe1230a(0x170)](_0x246c1e)):null;}[_0x3bf646(0x146)](_0x38af7f,_0x20a319){const _0x2194c9=_0x3bf646;return(0x0,_0x423b42['toDisposable'])(this[_0x2194c9(0x111)][_0x2194c9(0x142)](_0xdda150[_0x2194c9(0x161)])[_0x2194c9(0x11c)](_0x38af7f)[_0x2194c9(0x14f)]((0x0,_0x29f433[_0x2194c9(0x137)])(_0x272dbf=>_0x272dbf['members$']))['subscribe'](_0x674f26=>_0x20a319(Array[_0x2194c9(0x128)](_0x674f26['values']()))));}[_0x3bf646(0x12a)](_0x2733a5){const _0x21435f=_0x3bf646;let _0xdbf358=this['_resolveUnitId'](_0x2733a5);if(!_0xdbf358)return _0xdda150[_0x21435f(0x16f)][_0x21435f(0x133)];let _0x2a10e5=this['_collaborationController'][_0x21435f(0x12e)](_0xdbf358);return(_0x2a10e5==null?void 0x0:_0x2a10e5['state'][_0x21435f(0x156)])??_0xdda150[_0x21435f(0x16f)][_0x21435f(0x133)];}['flush'](_0xe8f36b,_0x21b4c6={}){const _0x5c9914=_0x3bf646;let _0x12ebd6=this[_0x5c9914(0x15b)](_0xe8f36b);if(!_0x12ebd6)return Promise['reject'](Error('[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.'));let _0x37ebc2=this['_collaborationController'][_0x5c9914(0x12e)](_0x12ebd6);if(!_0x37ebc2)return Promise[_0x5c9914(0x16a)](Error('[FCollaboration]:\x20Unit\x20\x22'+_0x12ebd6+_0x5c9914(0x127)));let _0x825376=_0x37ebc2['state']['status'];if(_0x825376===_0xdda150[_0x5c9914(0x16f)][_0x5c9914(0x171)])return Promise[_0x5c9914(0x11a)]();let _0x45ddbd=_0x3695d0(_0x12ebd6,_0x825376);if(_0x45ddbd)return Promise[_0x5c9914(0x16a)](_0x45ddbd);let _0x42473e=_0x21b4c6[_0x5c9914(0x14a)]??0x7530;return new Promise((_0x56128a,_0x21eb95)=>{const _0x2d2450=_0x5c9914;let _0x22fbc1=!0x1,_0x24827c=null,_0x5d291f=setTimeout(()=>{const _0x3994cf=_0x51f1;_0x22fbc1=!0x0,_0x24827c==null||_0x24827c[_0x3994cf(0x152)](),_0x21eb95(Error(_0x3994cf(0x125)+_0x12ebd6+_0x3994cf(0x123)+_0x42473e+_0x3994cf(0x15e)));},_0x42473e),_0x57603f=()=>{const _0x4f4a94=_0x51f1;_0x22fbc1=!0x0,clearTimeout(_0x5d291f),_0x24827c==null||_0x24827c[_0x4f4a94(0x152)]();};_0x24827c=_0x37ebc2[_0x2d2450(0x131)][_0x2d2450(0x149)](_0x35fc08=>{const _0x3b6e0e=_0x2d2450;if(_0x22fbc1)return;if(_0x35fc08===_0xdda150[_0x3b6e0e(0x16f)]['SYNCED']){_0x57603f(),_0x56128a();return;}let _0x12b13b=_0x3695d0(_0x12ebd6,_0x35fc08);_0x12b13b&&(_0x57603f(),_0x21eb95(_0x12b13b));});});}['_resolveUnitId'](_0x2066a){const _0x58ba82=_0x3bf646;var _0x1e34f6;return _0x2066a||((_0x1e34f6=this[_0x58ba82(0x118)][_0x58ba82(0x120)]())==null?void 0x0:_0x1e34f6[_0x58ba82(0x157)]());}};_0x5ca87b=_0x3a9dd8([_0x47a05f(0x1,(0x0,_0x423b42['Inject'])(_0x423b42[_0x3bf646(0x13e)])),_0x47a05f(0x2,_0x423b42[_0x3bf646(0x16b)]),_0x47a05f(0x3,(0x0,_0x423b42[_0x3bf646(0x153)])(_0x5934e5['SnapshotService'])),_0x47a05f(0x4,(0x0,_0x423b42[_0x3bf646(0x153)])(_0xdda150[_0x3bf646(0x11f)]))],_0x5ca87b);function _0x3695d0(_0x4e5311,_0x14b208){const _0x56d2a5=_0x3bf646;return _0x14b208===_0xdda150[_0x56d2a5(0x16f)]['CONFLICT']||_0x14b208===_0xdda150[_0x56d2a5(0x16f)][_0x56d2a5(0x133)]?Error(_0x56d2a5(0x166)+_0x4e5311+_0x56d2a5(0x144)+_0x14b208+'.'):null;}var _0x338055=class extends _0x4f7f51[_0x3bf646(0x141)]{[_0x3bf646(0x135)](_0x4c00da){const _0x2ea161=_0x3bf646;let _0x530ad6=_0x4c00da[_0x2ea161(0x142)](_0xdda150[_0x2ea161(0x11f)]);this[_0x2ea161(0x155)](this[_0x2ea161(0x124)](this[_0x2ea161(0x13f)]['CollaborationStatusChanged'],()=>{const _0x483831=_0x2ea161;let _0x15d3bb=new _0x423b42[(_0x483831(0x126))](),_0x48e4e6=_0x530ad6[_0x483831(0x119)]['subscribe'](_0x49084e=>{const _0x3436a8=_0x483831;let _0x46c182=_0x49084e[_0x3436a8(0x131)][_0x3436a8(0x149)](_0x2212d2=>{const _0x51c901=_0x3436a8;let _0x1db387={'unitId':_0x49084e[_0x51c901(0x12b)],'status':_0x2212d2};this['fireEvent'](this['Event'][_0x51c901(0x112)],_0x1db387);});_0x15d3bb[_0x3436a8(0x165)]((0x0,_0x423b42[_0x3436a8(0x148)])(_0x46c182));});return _0x15d3bb[_0x483831(0x165)]((0x0,_0x423b42[_0x483831(0x148)])(_0x48e4e6)),_0x15d3bb;}));}[_0x3bf646(0x134)](){const _0x514543=_0x3bf646;return this['_injector'][_0x514543(0x11b)](_0x5ca87b,{'getWorkbook':_0x18b5f1=>this['getWorkbook'](_0x18b5f1),'getDocument':_0x4f4d57=>this[_0x514543(0x151)](_0x4f4d57),'getPresentation':_0x479c73=>this[_0x514543(0x11e)](_0x479c73),'getBase':_0x17920d=>this['getBase'](_0x17920d),'getBoard':_0x39db1f=>this[_0x514543(0x170)](_0x39db1f)});}[_0x3bf646(0x145)](_0x85367f,_0x46cd68,_0x5dc1ac){const _0x10ffd5=_0x3bf646;return this[_0x10ffd5(0x111)][_0x10ffd5(0x142)](_0xdda150[_0x10ffd5(0x11d)])[_0x10ffd5(0x14e)](_0x85367f,_0x46cd68,_0x5dc1ac);}[_0x3bf646(0x15d)](_0x19ed24,_0x1add6e,_0x2fc247){const _0x2c352d=_0x3bf646;return this['_injector'][_0x2c352d(0x142)](_0xdda150[_0x2c352d(0x11d)])[_0x2c352d(0x143)](_0x19ed24,_0x1add6e,_0x2fc247);}};_0x4f7f51[_0x3bf646(0x141)][_0x3bf646(0x117)](_0x338055),Object[_0x3bf646(0x160)](_0x522e94,_0x3bf646(0x12c),{'enumerable':!0x0,'get':function(){return _0x5ca87b;}});}));function _0xb3f3(){const _0x1e61cf=['UniverProCollaborationClientFacade','loadSheetAsync','loadUnit','pipe','UniverCore','getDocument','unsubscribe','Inject','1kRIvCe','disposeWithMe','status','getUnitId','_snapshotService','1902016gKRVun','FBase','_resolveUnitId','16THPyCl','loadServerUnitOfRevision','ms.','loadDocAsync','defineProperty','MemberService','FEventName','Module','loadBoard','add','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','loadBoardAsync','569901pVfZBD','function','reject','IUniverInstanceService','loadSlide','object','@univerjs-pro/collaboration','CollaborationStatus','getBoard','SYNCED','FEnum','_injector','CollaborationStatusChanged','length','loadBase','2208408PKXKTF','getWorkbook','extend','_univerInstanceService','entityInit$','resolve','createInstance','waitForRoom$','DataLoaderService','getPresentation','CollaborationController','getFocusedUnit','loadBaseAsync','709942mSrJod','\x22\x20after\x20','registerEventHandler','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','DisposableCollection','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','from','_collaborationController','getCollaborationStatus','unitID','FCollaboration','_handler','getCollabEntity','getBase','1329923oMkKGv','status$','amd','NOT_COLLAB','getCollaboration','_initialize','3034341HmOGNx','switchMap','379270ZShTBr','@univerjs/core/facade','loadSlideAsync','rxjs','@univerjs-pro/collaboration-client','loadSheet','Injector','Event','exports','FUniver','get','loadUnitOfRevision','\x22\x20while\x20collaboration\x20status\x20is\x20','loadServerUnit','subscribeCollaborators','readyForCollab','toDisposable','subscribe','timeout','@univerjs/core'];_0xb3f3=function(){return _0x1e61cf;};return _0xb3f3();}
|