@univerjs-pro/collaboration-client 0.5.1-nightly.202412121606 → 0.5.1-nightly.202412140448

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.
@@ -1 +1 @@
1
- const _0x3dc7ea=_0x4905;(function(_0x57ad09,_0xbc1d35){const _0x34ef4b=_0x4905,_0x3259e0=_0x57ad09();while(!![]){try{const _0x10f55c=-parseInt(_0x34ef4b(0xae))/0x1*(parseInt(_0x34ef4b(0x9e))/0x2)+parseInt(_0x34ef4b(0xa5))/0x3+parseInt(_0x34ef4b(0xa8))/0x4*(parseInt(_0x34ef4b(0x9c))/0x5)+parseInt(_0x34ef4b(0xa4))/0x6+-parseInt(_0x34ef4b(0xac))/0x7*(parseInt(_0x34ef4b(0xa6))/0x8)+-parseInt(_0x34ef4b(0x9a))/0x9*(-parseInt(_0x34ef4b(0xa0))/0xa)+parseInt(_0x34ef4b(0xab))/0xb*(parseInt(_0x34ef4b(0xa7))/0xc);if(_0x10f55c===_0xbc1d35)break;else _0x3259e0['push'](_0x3259e0['shift']());}catch(_0x46a33b){_0x3259e0['push'](_0x3259e0['shift']());}}}(_0x1e55,0xae879));const e={'collab-client':{'tooltip':{'reconnect':_0x3dc7ea(0xb0)}},'collabStatus':{'fetchMiss':_0x3dc7ea(0xaa),'conflict':'Edit\x20conflicts','notCollab':_0x3dc7ea(0xa3),'synced':_0x3dc7ea(0x9f),'syncing':_0x3dc7ea(0xa2),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x3dc7ea(0xa9),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x3dc7ea(0x99),'room-not-exists':_0x3dc7ea(0x98),'room-permission-denied':_0x3dc7ea(0xaf),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x3dc7ea(0x9b)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3dc7ea(0x9d)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x3dc7ea(0xad)},'closeRoom':_0x3dc7ea(0xa1)},'auth':{'needGotoLoginAlert':_0x3dc7ea(0x97)}};function _0x4905(_0x537c5d,_0x82b6e2){const _0x1e55d0=_0x1e55();return _0x4905=function(_0x4905c3,_0x533a92){_0x4905c3=_0x4905c3-0x97;let _0x2ee72d=_0x1e55d0[_0x4905c3];return _0x2ee72d;},_0x4905(_0x537c5d,_0x82b6e2);}export{e as default};function _0x1e55(){const _0x1fed6d=['Synced','12010WJUOnr','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing...','Local\x20file','426396BRSqYw','2364171bCReOa','79688RyLHVE','320388cgcnuC','2270380eWRoNE','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','143EGWbwu','518XEpACm','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','993EOLFGF','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1629DjaGSl','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','5TdLJMo','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','1086GtskSf'];_0x1e55=function(){return _0x1fed6d;};return _0x1e55();}
1
+ function _0x14a4(_0x48c271,_0x1c8562){const _0x536cd0=_0x536c();return _0x14a4=function(_0x14a401,_0x392a77){_0x14a401=_0x14a401-0x1c6;let _0x165abf=_0x536cd0[_0x14a401];return _0x165abf;},_0x14a4(_0x48c271,_0x1c8562);}const _0x5219e1=_0x14a4;(function(_0x25725a,_0x486e93){const _0x183b7a=_0x14a4,_0x482a7f=_0x25725a();while(!![]){try{const _0x4ccdcc=-parseInt(_0x183b7a(0x1ce))/0x1*(-parseInt(_0x183b7a(0x1d6))/0x2)+-parseInt(_0x183b7a(0x1d4))/0x3*(-parseInt(_0x183b7a(0x1dd))/0x4)+-parseInt(_0x183b7a(0x1cc))/0x5*(parseInt(_0x183b7a(0x1de))/0x6)+parseInt(_0x183b7a(0x1d7))/0x7*(-parseInt(_0x183b7a(0x1c6))/0x8)+-parseInt(_0x183b7a(0x1c7))/0x9+-parseInt(_0x183b7a(0x1ca))/0xa*(-parseInt(_0x183b7a(0x1da))/0xb)+parseInt(_0x183b7a(0x1d1))/0xc;if(_0x4ccdcc===_0x486e93)break;else _0x482a7f['push'](_0x482a7f['shift']());}catch(_0x3ebdf7){_0x482a7f['push'](_0x482a7f['shift']());}}}(_0x536c,0xbada3));const e={'collab-client':{'tooltip':{'reconnect':_0x5219e1(0x1db)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x5219e1(0x1df),'notCollab':_0x5219e1(0x1cb),'synced':_0x5219e1(0x1d0),'syncing':_0x5219e1(0x1d9),'offline':_0x5219e1(0x1d5)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x5219e1(0x1e1),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x5219e1(0x1c9),'room-not-exists':_0x5219e1(0x1c8),'room-permission-denied':_0x5219e1(0x1d8),'room-cnt-exceeds':_0x5219e1(0x1d2),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x5219e1(0x1cd),'content':_0x5219e1(0x1dc)},'permission':{'title':'Authentication\x20Error','content':_0x5219e1(0x1cf)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x5219e1(0x1e0)},'auth':{'needGotoLoginAlert':_0x5219e1(0x1d3)}};function _0x536c(){const _0x197584=['Synced','3505992WwJIok','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','2929896utLjMM','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','110yJMekh','7qxMqLh','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','10393493PQMYmr','Click\x20to\x20Reconnect','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','4cSUdpf','140502NrkOtK','Edit\x20conflicts','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','8383976qeqrFw','5436846MeXYHX','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','10IZyLiR','Local\x20file','170HIurUi','Collaboration\x20Conflict','18181wNYZbN','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x536c=function(){return _0x197584;};return _0x536c();}export{e as default};
@@ -1 +1 @@
1
- const _0xd17327=_0x4c75;function _0x4c75(_0x44595d,_0x5bd067){const _0x4fa2a3=_0x4fa2();return _0x4c75=function(_0x4c754e,_0x2c3aa8){_0x4c754e=_0x4c754e-0xd6;let _0x4c977c=_0x4fa2a3[_0x4c754e];return _0x4c977c;},_0x4c75(_0x44595d,_0x5bd067);}(function(_0x31a389,_0x5a91fd){const _0x171f80=_0x4c75,_0x116db8=_0x31a389();while(!![]){try{const _0xe1797a=parseInt(_0x171f80(0xd9))/0x1*(-parseInt(_0x171f80(0xde))/0x2)+parseInt(_0x171f80(0xd7))/0x3+parseInt(_0x171f80(0xdb))/0x4*(-parseInt(_0x171f80(0xe9))/0x5)+parseInt(_0x171f80(0xda))/0x6*(-parseInt(_0x171f80(0xee))/0x7)+-parseInt(_0x171f80(0xe4))/0x8+-parseInt(_0x171f80(0xeb))/0x9+-parseInt(_0x171f80(0xe7))/0xa*(-parseInt(_0x171f80(0xe6))/0xb);if(_0xe1797a===_0x5a91fd)break;else _0x116db8['push'](_0x116db8['shift']());}catch(_0x27a10e){_0x116db8['push'](_0x116db8['shift']());}}}(_0x4fa2,0xa0af1));const o={'collab-client':{'tooltip':{'reconnect':_0xd17327(0xe5)}},'collabStatus':{'fetchMiss':_0xd17327(0xe2),'conflict':'تداخل\x20ویرایش','notCollab':_0xd17327(0xdd),'synced':_0xd17327(0xe3),'syncing':_0xd17327(0xe0),'offline':_0xd17327(0xe1)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':'ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','join-failed':_0xd17327(0xd8),'room-not-exists':_0xd17327(0xef),'room-permission-denied':_0xd17327(0xea),'room-cnt-exceeds':_0xd17327(0xe8),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'},'conflict':{'title':'تداخل\x20همکاری','content':_0xd17327(0xec)},'permission':{'title':_0xd17327(0xed),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0xd17327(0xd6)},'closeRoom':_0xd17327(0xdc)},'auth':{'needGotoLoginAlert':_0xd17327(0xdf)}};function _0x4fa2(){const _0x2ea5df=['پرونده\x20محلی','38XxpDDM','ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی...','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','همگام\x20سازی','3580968XJbKLs','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','11FMwVxk','17803940bBpvxi','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','4325ZdDvwo','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','3088134bihcsq','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','خطای\x20اعتبارسنجی','282401NRrwdl','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','2904240zfGNiD','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','16193btjBzY','138EnUnTI','296PIWWsj','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'];_0x4fa2=function(){return _0x2ea5df;};return _0x4fa2();}export{o as default};
1
+ const _0x6b4565=_0x114a;function _0x404d(){const _0x21a339=['در\x20حال\x20همگام\x20سازی...','15038738RzjyJf','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','20MkoLMi','2095359cCZTUl','24hfGqLa','418927QmErlO','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','8003860XSrIFx','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','498RpRVLY','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','پرونده\x20محلی','41763hQURUC','تداخل\x20ویرایش','19265FfWAQW','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','تداخل\x20همکاری','همگام\x20سازی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','9UEdAIt','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','خطای\x20اعتبارسنجی','644684jGxDcC'];_0x404d=function(){return _0x21a339;};return _0x404d();}function _0x114a(_0x28b95a,_0x23297b){const _0x404d43=_0x404d();return _0x114a=function(_0x114ac5,_0x4fe6c6){_0x114ac5=_0x114ac5-0x82;let _0x3ee11b=_0x404d43[_0x114ac5];return _0x3ee11b;},_0x114a(_0x28b95a,_0x23297b);}(function(_0x40582b,_0x4ca0b1){const _0xd4a8c=_0x114a,_0xa9c946=_0x40582b();while(!![]){try{const _0x182f7f=parseInt(_0xd4a8c(0x87))/0x1+parseInt(_0xd4a8c(0x84))/0x2*(-parseInt(_0xd4a8c(0x8f))/0x3)+parseInt(_0xd4a8c(0x9d))/0x4+parseInt(_0xd4a8c(0x91))/0x5*(-parseInt(_0xd4a8c(0x8c))/0x6)+parseInt(_0xd4a8c(0x85))/0x7*(parseInt(_0xd4a8c(0x86))/0x8)+-parseInt(_0xd4a8c(0x96))/0x9*(-parseInt(_0xd4a8c(0x8a))/0xa)+-parseInt(_0xd4a8c(0x82))/0xb;if(_0x182f7f===_0x4ca0b1)break;else _0xa9c946['push'](_0xa9c946['shift']());}catch(_0x3db7c3){_0xa9c946['push'](_0xa9c946['shift']());}}}(_0x404d,0x6e6e8));const o={'collab-client':{'tooltip':{'reconnect':_0x6b4565(0x92)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x6b4565(0x90),'notCollab':_0x6b4565(0x8e),'synced':_0x6b4565(0x94),'syncing':_0x6b4565(0x9e),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x6b4565(0x88),'room-full':_0x6b4565(0x8b),'join-failed':_0x6b4565(0x89),'room-not-exists':_0x6b4565(0x9b),'room-permission-denied':_0x6b4565(0x83),'room-cnt-exceeds':_0x6b4565(0x8d),'collaboration-timeout':_0x6b4565(0x98)},'conflict':{'title':_0x6b4565(0x93),'content':_0x6b4565(0x99)},'permission':{'title':_0x6b4565(0x9c),'content':_0x6b4565(0x9a)},'collaboration':{'single-unit':{'warning':_0x6b4565(0x95)},'closeRoom':_0x6b4565(0x97)},'auth':{'needGotoLoginAlert':'ورود\x20شم\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
@@ -1 +1 @@
1
- const _0x2565b3=_0x1def;function _0x1def(_0x282c73,_0x43df19){const _0x461594=_0x4615();return _0x1def=function(_0x1def94,_0x3cfe0e){_0x1def94=_0x1def94-0x194;let _0x3fc4fd=_0x461594[_0x1def94];return _0x3fc4fd;},_0x1def(_0x282c73,_0x43df19);}(function(_0x46a760,_0x465f85){const _0x13467b=_0x1def,_0x46a28d=_0x46a760();while(!![]){try{const _0x87729c=parseInt(_0x13467b(0x1a5))/0x1+parseInt(_0x13467b(0x1a6))/0x2*(parseInt(_0x13467b(0x1a9))/0x3)+parseInt(_0x13467b(0x196))/0x4+parseInt(_0x13467b(0x19f))/0x5+parseInt(_0x13467b(0x195))/0x6+parseInt(_0x13467b(0x1a3))/0x7+-parseInt(_0x13467b(0x1a0))/0x8;if(_0x87729c===_0x465f85)break;else _0x46a28d['push'](_0x46a28d['shift']());}catch(_0xda2db9){_0x46a28d['push'](_0x46a28d['shift']());}}}(_0x4615,0x31587));const e={'collab-client':{'tooltip':{'reconnect':_0x2565b3(0x1ab)}},'collabStatus':{'fetchMiss':_0x2565b3(0x199),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x2565b3(0x1aa),'syncing':_0x2565b3(0x1ac),'offline':_0x2565b3(0x19c)},'session':{'connection-failed':_0x2565b3(0x194),'will-retry':_0x2565b3(0x19a),'room-full':_0x2565b3(0x1a2),'join-failed':_0x2565b3(0x1a7),'room-not-exists':_0x2565b3(0x19d),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x2565b3(0x19b)},'conflict':{'title':_0x2565b3(0x1a8),'content':_0x2565b3(0x197)},'permission':{'title':'Authentication\x20Error','content':_0x2565b3(0x1a1)},'collaboration':{'single-unit':{'warning':_0x2565b3(0x198)},'closeRoom':_0x2565b3(0x19e)},'auth':{'needGotoLoginAlert':_0x2565b3(0x1a4)}},o=e;function _0x4615(){const _0x11a1ad=['Connection\x20failed.\x20Please\x20check\x20your\x20network.','2135472fjQLag','1357772yEqIbE','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1070695gHLPnm','13446936gyKoAG','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2067247VNuSWp','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','357194JYNwiS','158mIMenV','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict','12189FDoPZZ','Synced','Click\x20to\x20Reconnect','Syncing...'];_0x4615=function(){return _0x11a1ad;};return _0x4615();}export{o as default};
1
+ const _0x1fcac8=_0x373a;function _0x5c4e(){const _0x1f9842=['792254ouRdnw','10058520xrzJzo','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','45FLuweD','2607010TGtQDR','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing...','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts','2709848ngpPyx','7777119ijloUq','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','3xeISZl','18bVsrvj','Syncing\x20server\x20data...','Authentication\x20Error','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','217970vFkWMz','2304248trrQgE','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Click\x20to\x20Reconnect','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x5c4e=function(){return _0x1f9842;};return _0x5c4e();}(function(_0x1c04d6,_0x8b89f1){const _0x56627f=_0x373a,_0x438f2b=_0x1c04d6();while(!![]){try{const _0x10e3e1=parseInt(_0x56627f(0x1f5))/0x1+parseInt(_0x56627f(0x1fb))/0x2*(parseInt(_0x56627f(0x1ef))/0x3)+-parseInt(_0x56627f(0x1eb))/0x4+parseInt(_0x56627f(0x1ff))/0x5*(parseInt(_0x56627f(0x1f0))/0x6)+-parseInt(_0x56627f(0x1ec))/0x7+parseInt(_0x56627f(0x1f6))/0x8*(parseInt(_0x56627f(0x1fe))/0x9)+-parseInt(_0x56627f(0x1fc))/0xa;if(_0x10e3e1===_0x8b89f1)break;else _0x438f2b['push'](_0x438f2b['shift']());}catch(_0x24b50d){_0x438f2b['push'](_0x438f2b['shift']());}}}(_0x5c4e,0xc933f));function _0x373a(_0x274bfd,_0x1273a4){const _0x5c4e38=_0x5c4e();return _0x373a=function(_0x373a4b,_0x72153a){_0x373a4b=_0x373a4b-0x1eb;let _0x1bfceb=_0x5c4e38[_0x373a4b];return _0x1bfceb;},_0x373a(_0x274bfd,_0x1273a4);}const e={'collab-client':{'tooltip':{'reconnect':_0x1fcac8(0x1f9)}},'collabStatus':{'fetchMiss':_0x1fcac8(0x1f1),'conflict':_0x1fcac8(0x205),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x1fcac8(0x201),'offline':_0x1fcac8(0x1ee)},'session':{'connection-failed':_0x1fcac8(0x1f3),'will-retry':_0x1fcac8(0x202),'room-full':_0x1fcac8(0x203),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x1fcac8(0x204),'room-permission-denied':_0x1fcac8(0x1fa),'room-cnt-exceeds':_0x1fcac8(0x200),'collaboration-timeout':_0x1fcac8(0x1f7)},'conflict':{'title':_0x1fcac8(0x1ed),'content':_0x1fcac8(0x1f8)},'permission':{'title':_0x1fcac8(0x1f2),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x1fcac8(0x1fd)},'closeRoom':_0x1fcac8(0x1f4)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
@@ -1 +1 @@
1
- const _0x4f89c7=_0x5dcb;(function(_0x11f4a0,_0x5aaa70){const _0x1902a2=_0x5dcb,_0x4d3567=_0x11f4a0();while(!![]){try{const _0x560706=parseInt(_0x1902a2(0x144))/0x1*(parseInt(_0x1902a2(0x150))/0x2)+-parseInt(_0x1902a2(0x13b))/0x3+-parseInt(_0x1902a2(0x151))/0x4+-parseInt(_0x1902a2(0x156))/0x5*(parseInt(_0x1902a2(0x13e))/0x6)+-parseInt(_0x1902a2(0x154))/0x7*(parseInt(_0x1902a2(0x14d))/0x8)+parseInt(_0x1902a2(0x152))/0x9+parseInt(_0x1902a2(0x149))/0xa*(parseInt(_0x1902a2(0x13a))/0xb);if(_0x560706===_0x5aaa70)break;else _0x4d3567['push'](_0x4d3567['shift']());}catch(_0x57f980){_0x4d3567['push'](_0x4d3567['shift']());}}}(_0x2106,0x7b9bb));const e={'collab-client':{'tooltip':{'reconnect':_0x4f89c7(0x148)}},'collabStatus':{'fetchMiss':_0x4f89c7(0x14c),'conflict':_0x4f89c7(0x141),'notCollab':_0x4f89c7(0x142),'synced':_0x4f89c7(0x14f),'syncing':_0x4f89c7(0x155),'offline':_0x4f89c7(0x146)},'session':{'connection-failed':_0x4f89c7(0x14a),'will-retry':_0x4f89c7(0x13d),'room-full':_0x4f89c7(0x143),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x4f89c7(0x13f),'room-permission-denied':_0x4f89c7(0x140),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4f89c7(0x145)},'permission':{'title':_0x4f89c7(0x147),'content':_0x4f89c7(0x153)},'collaboration':{'single-unit':{'warning':_0x4f89c7(0x14e)},'closeRoom':_0x4f89c7(0x13c)},'auth':{'needGotoLoginAlert':_0x4f89c7(0x14b)}},o=e;function _0x5dcb(_0x458fed,_0x3651f9){const _0x21060b=_0x2106();return _0x5dcb=function(_0x5dcb0e,_0x2c3df9){_0x5dcb0e=_0x5dcb0e-0x13a;let _0x4a4198=_0x21060b[_0x5dcb0e];return _0x4a4198;},_0x5dcb(_0x458fed,_0x3651f9);}function _0x2106(){const _0x54059e=['You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Synced','158602JqtiWM','3865492ACPMaa','361098PgpARZ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','42eHnwhK','Syncing...','4159035MFuToI','2117489ddtiXq','6468tgNgWJ','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','6DxYjNa','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts','Local\x20file','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','6tWmMMD','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Authentication\x20Error','Click\x20to\x20Reconnect','130zocAIH','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','949040auEtwR'];_0x2106=function(){return _0x54059e;};return _0x2106();}export{o as default};
1
+ function _0x5857(_0x310496,_0x1f1810){const _0x293f1e=_0x293f();return _0x5857=function(_0x585798,_0x4111f9){_0x585798=_0x585798-0x12d;let _0x53c795=_0x293f1e[_0x585798];return _0x53c795;},_0x5857(_0x310496,_0x1f1810);}const _0xa4b9b7=_0x5857;(function(_0x1dbc3d,_0x301773){const _0x420265=_0x5857,_0x254b15=_0x1dbc3d();while(!![]){try{const _0x415bd7=parseInt(_0x420265(0x13b))/0x1*(-parseInt(_0x420265(0x131))/0x2)+-parseInt(_0x420265(0x139))/0x3+parseInt(_0x420265(0x144))/0x4*(parseInt(_0x420265(0x13a))/0x5)+parseInt(_0x420265(0x136))/0x6*(-parseInt(_0x420265(0x138))/0x7)+parseInt(_0x420265(0x134))/0x8+-parseInt(_0x420265(0x13d))/0x9*(parseInt(_0x420265(0x12e))/0xa)+-parseInt(_0x420265(0x130))/0xb*(-parseInt(_0x420265(0x148))/0xc);if(_0x415bd7===_0x301773)break;else _0x254b15['push'](_0x254b15['shift']());}catch(_0x23557e){_0x254b15['push'](_0x254b15['shift']());}}}(_0x293f,0xcd37b));const e={'collab-client':{'tooltip':{'reconnect':_0xa4b9b7(0x141)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0xa4b9b7(0x147),'notCollab':_0xa4b9b7(0x140),'synced':_0xa4b9b7(0x132),'syncing':_0xa4b9b7(0x13c),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0xa4b9b7(0x12f),'will-retry':_0xa4b9b7(0x133),'room-full':_0xa4b9b7(0x137),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0xa4b9b7(0x12d),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0xa4b9b7(0x135),'content':_0xa4b9b7(0x142)},'permission':{'title':_0xa4b9b7(0x13e),'content':_0xa4b9b7(0x143)},'collaboration':{'single-unit':{'warning':_0xa4b9b7(0x13f)},'closeRoom':_0xa4b9b7(0x146)},'auth':{'needGotoLoginAlert':_0xa4b9b7(0x145)}},o=e;function _0x293f(){const _0x49b10c=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','18480uUjpVa','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1310xaYCRK','Connection\x20failed.\x20Please\x20check\x20your\x20network.','8943fkYknh','62dwGJZG','Synced','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','9419464ogqOBA','Collaboration\x20Conflict','42RsggkZ','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','828926neuSca','1248198qrLejv','110510IETqGL','1733KWgdLN','Syncing...','79155cyvVXJ','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Local\x20file','Click\x20to\x20Reconnect','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','156CXtKqJ','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x293f=function(){return _0x49b10c;};return _0x293f();}export{o as default};
@@ -1 +1 @@
1
- function _0x6e6b(_0x5359aa,_0x577fe7){const _0x148bda=_0x148b();return _0x6e6b=function(_0x6e6bd0,_0x253b8d){_0x6e6bd0=_0x6e6bd0-0x17f;let _0x1a5214=_0x148bda[_0x6e6bd0];return _0x1a5214;},_0x6e6b(_0x5359aa,_0x577fe7);}const _0x3f3df2=_0x6e6b;function _0x148b(){const _0x2852aa=['Click\x20to\x20Reconnect','3583710nqjMuo','534810VWCMpj','13mBiZWX','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2885394SfauBO','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Collaboration\x20Conflict','Syncing\x20server\x20data...','Syncing...','Edit\x20conflicts','5010520dgkRBT','38746hTIeFr','4xRJDiN','5464750kfAHGi','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1058253mubzQx','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Authentication\x20Error','7qPdgrN','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x148b=function(){return _0x2852aa;};return _0x148b();}(function(_0x4ef4a8,_0x4d6494){const _0x517306=_0x6e6b,_0x3438fa=_0x4ef4a8();while(!![]){try{const _0x12335f=parseInt(_0x517306(0x17f))/0x1*(parseInt(_0x517306(0x18b))/0x2)+parseInt(_0x517306(0x18f))/0x3*(parseInt(_0x517306(0x18c))/0x4)+-parseInt(_0x517306(0x198))/0x5+parseInt(_0x517306(0x182))/0x6*(-parseInt(_0x517306(0x192))/0x7)+-parseInt(_0x517306(0x18a))/0x8+parseInt(_0x517306(0x197))/0x9+parseInt(_0x517306(0x18d))/0xa;if(_0x12335f===_0x4d6494)break;else _0x3438fa['push'](_0x3438fa['shift']());}catch(_0x3c6b3f){_0x3438fa['push'](_0x3438fa['shift']());}}}(_0x148b,0x51cf1));const e={'collab-client':{'tooltip':{'reconnect':_0x3f3df2(0x196)}},'collabStatus':{'fetchMiss':_0x3f3df2(0x187),'conflict':_0x3f3df2(0x189),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x3f3df2(0x188),'offline':_0x3f3df2(0x194)},'session':{'connection-failed':_0x3f3df2(0x185),'will-retry':_0x3f3df2(0x190),'room-full':_0x3f3df2(0x195),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x3f3df2(0x193),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x3f3df2(0x181)},'conflict':{'title':_0x3f3df2(0x186),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x3f3df2(0x191),'content':_0x3f3df2(0x18e)},'collaboration':{'single-unit':{'warning':_0x3f3df2(0x184)},'closeRoom':_0x3f3df2(0x183)},'auth':{'needGotoLoginAlert':_0x3f3df2(0x180)}},o=e;export{o as default};
1
+ function _0x4ae6(){const _0x3c02f2=['Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','491240tkFSmi','599473GRrrTt','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','3463925RGNygT','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','66HaXudc','Syncing...','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Edit\x20conflicts','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','809158qlaarg','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2536704dTgowl','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','402822qKwPiC','1549376hUzYwh','243aErRyo'];_0x4ae6=function(){return _0x3c02f2;};return _0x4ae6();}function _0x1f1b(_0x15cd64,_0x555ceb){const _0x4ae656=_0x4ae6();return _0x1f1b=function(_0x1f1ba5,_0x195c9c){_0x1f1ba5=_0x1f1ba5-0xe0;let _0x4aa581=_0x4ae656[_0x1f1ba5];return _0x4aa581;},_0x1f1b(_0x15cd64,_0x555ceb);}const _0x597d62=_0x1f1b;(function(_0x12083c,_0x3afbb0){const _0x50d19e=_0x1f1b,_0x3cec25=_0x12083c();while(!![]){try{const _0x464525=-parseInt(_0x50d19e(0xe1))/0x1+-parseInt(_0x50d19e(0xe6))/0x2+-parseInt(_0x50d19e(0xe8))/0x3+-parseInt(_0x50d19e(0xe9))/0x4+parseInt(_0x50d19e(0xf0))/0x5+parseInt(_0x50d19e(0xf3))/0x6*(parseInt(_0x50d19e(0xee))/0x7)+parseInt(_0x50d19e(0xed))/0x8*(parseInt(_0x50d19e(0xea))/0x9);if(_0x464525===_0x3afbb0)break;else _0x3cec25['push'](_0x3cec25['shift']());}catch(_0x450ef5){_0x3cec25['push'](_0x3cec25['shift']());}}}(_0x4ae6,0xa9575));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x597d62(0xf6),'notCollab':_0x597d62(0xec),'synced':_0x597d62(0xe4),'syncing':_0x597d62(0xf4),'offline':_0x597d62(0xe3)},'session':{'connection-failed':_0x597d62(0xe0),'will-retry':_0x597d62(0xf5),'room-full':_0x597d62(0xf1),'join-failed':_0x597d62(0xeb),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':_0x597d62(0xf2),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x597d62(0xe2)},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x597d62(0xf7),'content':_0x597d62(0xe7)},'collaboration':{'single-unit':{'warning':_0x597d62(0xef)},'closeRoom':_0x597d62(0xe5)},'auth':{'needGotoLoginAlert':_0x597d62(0xf8)}},o=e;export{o as default};
@@ -1 +1 @@
1
- const _0x2c1a50=_0x3c07;(function(_0x20ecec,_0x188843){const _0x65faec=_0x3c07,_0x389bee=_0x20ecec();while(!![]){try{const _0x2b2e4a=-parseInt(_0x65faec(0x8e))/0x1+parseInt(_0x65faec(0x92))/0x2+parseInt(_0x65faec(0x91))/0x3+-parseInt(_0x65faec(0x90))/0x4+-parseInt(_0x65faec(0x89))/0x5+-parseInt(_0x65faec(0x9b))/0x6*(parseInt(_0x65faec(0x9f))/0x7)+parseInt(_0x65faec(0x8a))/0x8;if(_0x2b2e4a===_0x188843)break;else _0x389bee['push'](_0x389bee['shift']());}catch(_0x44727f){_0x389bee['push'](_0x389bee['shift']());}}}(_0x351b,0x1b387));function _0x3c07(_0x45aac4,_0x6baed1){const _0x351b42=_0x351b();return _0x3c07=function(_0x3c073c,_0x3eb594){_0x3c073c=_0x3c073c-0x88;let _0x412c64=_0x351b42[_0x3c073c];return _0x412c64;},_0x3c07(_0x45aac4,_0x6baed1);}function _0x351b(){const _0x63a9ec=['协同冲突','点击重新连接','625350obCiww','2766208kwrOuF','正在拉取服务端数据...','此文档协同人数已满,你的编辑将在本地缓存','服务器未响应,你的编辑将在本地缓存','207682fFGuqz','加入协同失败,你的编辑将在本地缓存','343820JDIbCf','244308WbpWSg','410966dxCaRs','已同步','由于协同房间被关闭,编辑权限被收回。','权限错误','已离线,编辑将在本地缓存','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','连接失败,请检查你的网络','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','102ynNPQx','编辑冲突','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','本地文件','42203UmjTMW','协同文档数量超过限制,你的编辑将在本地缓存'];_0x351b=function(){return _0x63a9ec;};return _0x351b();}const o={'collab-client':{'tooltip':{'reconnect':_0x2c1a50(0x88)}},'collabStatus':{'fetchMiss':_0x2c1a50(0x8b),'conflict':_0x2c1a50(0x9c),'notCollab':_0x2c1a50(0x9e),'synced':_0x2c1a50(0x93),'syncing':'保存中...','offline':_0x2c1a50(0x96)},'session':{'connection-failed':_0x2c1a50(0x98),'will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0x2c1a50(0x8c),'join-failed':'加入协同失败,请稍后重试,你的编辑将在本地缓存','room-not-exists':_0x2c1a50(0x8f),'room-permission-denied':'没有协同权限,你的编辑将在本地缓存','room-cnt-exceeds':_0x2c1a50(0xa0),'collaboration-timeout':_0x2c1a50(0x8d)},'conflict':{'title':_0x2c1a50(0xa1),'content':_0x2c1a50(0x9a)},'permission':{'title':_0x2c1a50(0x95),'content':_0x2c1a50(0x97)},'collaboration':{'single-unit':{'warning':_0x2c1a50(0x9d)},'closeRoom':_0x2c1a50(0x94)},'auth':{'needGotoLoginAlert':_0x2c1a50(0x99)}};export{o as default};
1
+ const _0x305bf6=_0x4620;(function(_0x2f417d,_0x2d5cb1){const _0x435b31=_0x4620,_0x343d0a=_0x2f417d();while(!![]){try{const _0x48b100=parseInt(_0x435b31(0xbd))/0x1+parseInt(_0x435b31(0xbe))/0x2+parseInt(_0x435b31(0xc5))/0x3*(-parseInt(_0x435b31(0xbf))/0x4)+-parseInt(_0x435b31(0xc9))/0x5*(parseInt(_0x435b31(0xc4))/0x6)+parseInt(_0x435b31(0xcb))/0x7*(-parseInt(_0x435b31(0xb8))/0x8)+parseInt(_0x435b31(0xc0))/0x9+parseInt(_0x435b31(0xc6))/0xa;if(_0x48b100===_0x2d5cb1)break;else _0x343d0a['push'](_0x343d0a['shift']());}catch(_0xea1989){_0x343d0a['push'](_0x343d0a['shift']());}}}(_0x1182,0xd7082));const o={'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':_0x305bf6(0xc8),'conflict':_0x305bf6(0xb4),'notCollab':_0x305bf6(0xb5),'synced':_0x305bf6(0xb3),'syncing':_0x305bf6(0xc7),'offline':_0x305bf6(0xb9)},'session':{'connection-failed':'连接失败,请检查你的网络','will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0x305bf6(0xbb),'join-failed':_0x305bf6(0xbc),'room-not-exists':_0x305bf6(0xca),'room-permission-denied':'没有协同权限,你的编辑将在本地缓存','room-cnt-exceeds':_0x305bf6(0xb6),'collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':'协同冲突','content':_0x305bf6(0xb7)},'permission':{'title':_0x305bf6(0xc1),'content':_0x305bf6(0xc3)},'collaboration':{'single-unit':{'warning':_0x305bf6(0xc2)},'closeRoom':_0x305bf6(0xba)},'auth':{'needGotoLoginAlert':'你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。'}};function _0x1182(){const _0x158412=['保存中...','正在拉取服务端数据...','40Azsqeh','加入协同失败,你的编辑将在本地缓存','9457266oDvdiq','已同步','编辑冲突','本地文件','协同文档数量超过限制,你的编辑将在本地缓存','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','8wFDDSj','已离线,编辑将在本地缓存','由于协同房间被关闭,编辑权限被收回。','此文档协同人数已满,你的编辑将在本地缓存','加入协同失败,请稍后重试,你的编辑将在本地缓存','1018277PrNSGQ','2419722rpCSpU','8104PshjVe','84645rQJCKj','权限错误','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','449160ZydpOD','939HUMclQ','12272830Rahqkr'];_0x1182=function(){return _0x158412;};return _0x1182();}function _0x4620(_0x17488c,_0x40bc51){const _0x1182d5=_0x1182();return _0x4620=function(_0x46204b,_0x4a479b){_0x46204b=_0x46204b-0xb3;let _0x2c3e37=_0x1182d5[_0x46204b];return _0x2c3e37;},_0x4620(_0x17488c,_0x40bc51);}export{o as default};
@@ -1 +1 @@
1
- function _0x2a4b(_0x1ae1b8,_0x59ab82){const _0x25c010=_0x25c0();return _0x2a4b=function(_0x2a4b26,_0xc94a4){_0x2a4b26=_0x2a4b26-0xb0;let _0x4d38fc=_0x25c010[_0x2a4b26];return _0x4d38fc;},_0x2a4b(_0x1ae1b8,_0x59ab82);}const _0x2f1b4f=_0x2a4b;(function(_0x33ff1d,_0x3a5128){const _0x4a8439=_0x2a4b,_0xd88b3b=_0x33ff1d();while(!![]){try{const _0x20d44f=parseInt(_0x4a8439(0xc2))/0x1*(-parseInt(_0x4a8439(0xb0))/0x2)+parseInt(_0x4a8439(0xb5))/0x3+-parseInt(_0x4a8439(0xbc))/0x4*(parseInt(_0x4a8439(0xc5))/0x5)+parseInt(_0x4a8439(0xb1))/0x6*(-parseInt(_0x4a8439(0xc6))/0x7)+parseInt(_0x4a8439(0xc9))/0x8*(-parseInt(_0x4a8439(0xcc))/0x9)+parseInt(_0x4a8439(0xc8))/0xa+parseInt(_0x4a8439(0xb2))/0xb*(parseInt(_0x4a8439(0xbd))/0xc);if(_0x20d44f===_0x3a5128)break;else _0xd88b3b['push'](_0xd88b3b['shift']());}catch(_0x58c943){_0xd88b3b['push'](_0xd88b3b['shift']());}}}(_0x25c0,0xc6eaa));function _0x25c0(){const _0x484aad=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','Syncing\x20server\x20data...','Collaboration\x20Conflict','Local\x20file','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2156948wkNUBg','3780996TiFbsa','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','6457BkVssF','Authentication\x20Error','Connection\x20failed.\x20Please\x20check\x20your\x20network.','5LSHuNK','21lWddfV','Edit\x20conflicts','2111170RzaDRZ','232mHAyZA','Click\x20to\x20Reconnect','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','297324AHIYYL','12CBhtQn','413106nRCZxi','77VvHUbd','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','421920neuJMx'];_0x25c0=function(){return _0x484aad;};return _0x25c0();}const e={'collab-client':{'tooltip':{'reconnect':_0x2f1b4f(0xca)}},'collabStatus':{'fetchMiss':_0x2f1b4f(0xb8),'conflict':_0x2f1b4f(0xc7),'notCollab':_0x2f1b4f(0xba),'synced':'Synced','syncing':_0x2f1b4f(0xb7),'offline':_0x2f1b4f(0xb3)},'session':{'connection-failed':_0x2f1b4f(0xc4),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x2f1b4f(0xc0),'room-not-exists':_0x2f1b4f(0xbe),'room-permission-denied':_0x2f1b4f(0xcb),'room-cnt-exceeds':_0x2f1b4f(0xbb),'collaboration-timeout':_0x2f1b4f(0xb6)},'conflict':{'title':_0x2f1b4f(0xb9),'content':_0x2f1b4f(0xbf)},'permission':{'title':_0x2f1b4f(0xc3),'content':_0x2f1b4f(0xb4)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2f1b4f(0xc1)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
1
+ const _0x71e5e1=_0x5277;function _0x3591(){const _0x4f29c8=['6595944BZHHbL','1688gLauOF','30650rCYIIC','9pUrOrK','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','880530CBadnd','4noDOep','340872NftDMl','11vfSrwd','Syncing\x20server\x20data...','415344AGIWcz','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','63suPdGR','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3231380YqEZey','2177ccwbjW','Syncing...'];_0x3591=function(){return _0x4f29c8;};return _0x3591();}(function(_0x498507,_0x48a3eb){const _0x4a94de=_0x5277,_0x5235d6=_0x498507();while(!![]){try{const _0x13ba7e=parseInt(_0x4a94de(0x134))/0x1*(parseInt(_0x4a94de(0x121))/0x2)+parseInt(_0x4a94de(0x135))/0x3*(-parseInt(_0x4a94de(0x125))/0x4)+parseInt(_0x4a94de(0x12f))/0x5+parseInt(_0x4a94de(0x122))/0x6+parseInt(_0x4a94de(0x130))/0x7*(parseInt(_0x4a94de(0x133))/0x8)+parseInt(_0x4a94de(0x12c))/0x9*(-parseInt(_0x4a94de(0x120))/0xa)+parseInt(_0x4a94de(0x123))/0xb*(parseInt(_0x4a94de(0x132))/0xc);if(_0x13ba7e===_0x48a3eb)break;else _0x5235d6['push'](_0x5235d6['shift']());}catch(_0x3f4b2e){_0x5235d6['push'](_0x5235d6['shift']());}}}(_0x3591,0x6e4d0));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x71e5e1(0x124),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x71e5e1(0x12b),'syncing':_0x71e5e1(0x131),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x71e5e1(0x137),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x71e5e1(0x128),'room-permission-denied':_0x71e5e1(0x12a),'room-cnt-exceeds':_0x71e5e1(0x12e),'collaboration-timeout':_0x71e5e1(0x136)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x71e5e1(0x129)},'permission':{'title':_0x71e5e1(0x126),'content':_0x71e5e1(0x127)},'collaboration':{'single-unit':{'warning':_0x71e5e1(0x12d)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;function _0x5277(_0x5c52b8,_0xf885ef){const _0x3591b8=_0x3591();return _0x5277=function(_0x527704,_0x23abe2){_0x527704=_0x527704-0x120;let _0x41e934=_0x3591b8[_0x527704];return _0x41e934;},_0x5277(_0x5c52b8,_0xf885ef);}export{o as default};
@@ -1,7 +1,8 @@
1
+ import { IDisposable, FBase, Injector, IUniverInstanceService } from '@univerjs/core';
2
+ import { IMember } from '@univerjs/protocol';
1
3
  import { FWorkbook } from '@univerjs/sheets/facade';
2
4
  import { SnapshotService } from '@univerjs-pro/collaboration';
3
5
  import { CollaborationController } from '@univerjs-pro/collaboration-client';
4
- import { FBase, Injector, IUniverInstanceService } from '@univerjs/core';
5
6
  export declare class FCollaboration extends FBase {
6
7
  private readonly _handler;
7
8
  protected readonly _injector: Injector;
@@ -11,5 +12,18 @@ export declare class FCollaboration extends FBase {
11
12
  constructor(_handler: {
12
13
  getUniverSheet: (id: string) => FWorkbook | null;
13
14
  }, _injector: Injector, _univerInstanceService: IUniverInstanceService, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
15
+ /**
16
+ * Load a Univer Sheet from the server with a unit ID.
17
+ * @param unitId ID of the Univer Sheet that you would like to load.
18
+ * @returns {Promise<FWorkbook | null>} The {@link FWorkbook} or null if ID cannot be associated with a Univer Sheet.
19
+ */
14
20
  loadSheet(unitId: string): Promise<FWorkbook | null>;
21
+ /**
22
+ * Subscribe collaborators of a Univer file.
23
+ *
24
+ * @param unitId ID of the Univer file.
25
+ * @param callback The function that will be called when the collaborators of this Univer file changes.
26
+ * @returns A handler to dispose the subscription.
27
+ */
28
+ subscribeCollaborators(unitId: string, callback: (members: IMember[]) => void): IDisposable;
15
29
  }
@@ -1,5 +1,6 @@
1
1
  import { Nullable, Disposable, IUniverInstanceService, UserManagerService } from '@univerjs/core';
2
2
  import { IMember } from '@univerjs/protocol';
3
+ import { Observable } from 'rxjs';
3
4
  export interface IUser extends IMember {
4
5
  userID: string;
5
6
  }
@@ -10,7 +11,9 @@ export declare class MemberService extends Disposable {
10
11
  private readonly _univerInstanceService;
11
12
  private _userManagerService;
12
13
  private _roomMembers;
14
+ private readonly _roomCreated$;
13
15
  constructor(_univerInstanceService: IUniverInstanceService, _userManagerService: UserManagerService);
16
+ waitForRoom$(unitId: string): Observable<RoomMember>;
14
17
  /**
15
18
  * @deprecated please use userManagerService
16
19
  */
@@ -52,6 +55,8 @@ export declare class MemberService extends Disposable {
52
55
  */
53
56
  export declare class RoomMember extends Disposable {
54
57
  private readonly _members;
58
+ private readonly _members$;
59
+ readonly members$: Observable<Map<string, IMember>>;
55
60
  dispose(): void;
56
61
  /**
57
62
  * Update a member in the room(unit).
@@ -74,4 +79,5 @@ export declare class RoomMember extends Disposable {
74
79
  * @returns member object array.
75
80
  */
76
81
  getAllMembers(): IMember[];
82
+ private _emitMembers;
77
83
  }
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x261f(_0x2f712d,_0x4e31df){var _0x499774=_0x4997();return _0x261f=function(_0x261feb,_0x5f5368){_0x261feb=_0x261feb-0x177;var _0x4c961d=_0x499774[_0x261feb];return _0x4c961d;},_0x261f(_0x2f712d,_0x4e31df);}(function(_0x5e8fc8,_0x482369){var _0xd2daaa=_0x261f,_0x2a37f0=_0x5e8fc8();while(!![]){try{var _0x147f16=-parseInt(_0xd2daaa(0x177))/0x1+parseInt(_0xd2daaa(0x19d))/0x2*(parseInt(_0xd2daaa(0x188))/0x3)+parseInt(_0xd2daaa(0x17f))/0x4+-parseInt(_0xd2daaa(0x17a))/0x5+parseInt(_0xd2daaa(0x182))/0x6+-parseInt(_0xd2daaa(0x18a))/0x7*(parseInt(_0xd2daaa(0x18c))/0x8)+-parseInt(_0xd2daaa(0x191))/0x9*(-parseInt(_0xd2daaa(0x183))/0xa);if(_0x147f16===_0x482369)break;else _0x2a37f0['push'](_0x2a37f0['shift']());}catch(_0x199828){_0x2a37f0['push'](_0x2a37f0['shift']());}}}(_0x4997,0xd3096),function(_0x16a978,_0x7ecfb4){var _0x286312=_0x261f;typeof exports=='object'&&typeof module<'u'?_0x7ecfb4(exports,require(_0x286312(0x179)),require(_0x286312(0x187)),require(_0x286312(0x195))):typeof define==_0x286312(0x192)&&define[_0x286312(0x19a)]?define([_0x286312(0x19e),'@univerjs/core','@univerjs-pro/collaboration',_0x286312(0x195)],_0x7ecfb4):(_0x16a978=typeof globalThis<'u'?globalThis:_0x16a978||self,_0x7ecfb4(_0x16a978[_0x286312(0x19c)]={},_0x16a978[_0x286312(0x19b)],_0x16a978[_0x286312(0x181)],_0x16a978[_0x286312(0x1a0)]));}(this,function(_0x129beb,_0x2ac044,_0x160303,_0x2f28ea){'use strict';var _0x1ed055=_0x261f;var _0xdce0dd=Object[_0x1ed055(0x186)],_0x1ada33=Object[_0x1ed055(0x190)],_0x38e305=(_0x4ddc91,_0x3698fe,_0x340088,_0x260a0c)=>{for(var _0xd766f2=_0x260a0c>0x1?void 0x0:_0x260a0c?_0x1ada33(_0x3698fe,_0x340088):_0x3698fe,_0x592a2d=_0x4ddc91['length']-0x1,_0x13d210;_0x592a2d>=0x0;_0x592a2d--)(_0x13d210=_0x4ddc91[_0x592a2d])&&(_0xd766f2=(_0x260a0c?_0x13d210(_0x3698fe,_0x340088,_0xd766f2):_0x13d210(_0xd766f2))||_0xd766f2);return _0x260a0c&&_0xd766f2&&_0xdce0dd(_0x3698fe,_0x340088,_0xd766f2),_0xd766f2;},_0x2d2d1f=(_0x42619c,_0xc8b90b)=>(_0x586956,_0x4e1f00)=>_0xc8b90b(_0x586956,_0x4e1f00,_0x42619c);_0x129beb[_0x1ed055(0x19f)]=class extends _0x2ac044[_0x1ed055(0x199)]{constructor(_0x249e6d,_0x303604,_0xee49ae,_0x1497fb,_0x12e1f2){var _0x50cdba=_0x1ed055;super(),this[_0x50cdba(0x184)]=_0x249e6d,this['_injector']=_0x303604,this[_0x50cdba(0x18e)]=_0xee49ae,this[_0x50cdba(0x17b)]=_0x1497fb,this[_0x50cdba(0x17d)]=_0x12e1f2;}async[_0x1ed055(0x17e)](_0x56eb3b){var _0xb95e36=_0x1ed055;return this[_0xb95e36(0x18e)][_0xb95e36(0x193)](_0x56eb3b,_0x2ac044[_0xb95e36(0x18b)][_0xb95e36(0x197)])||await this['_snapshotService']['loadSheet'](_0x56eb3b,0x0)?(await this[_0xb95e36(0x17d)][_0xb95e36(0x189)](_0x56eb3b),this[_0xb95e36(0x184)][_0xb95e36(0x178)](_0x56eb3b)):null;}},_0x129beb['FCollaboration']=_0x38e305([_0x2d2d1f(0x1,_0x2ac044[_0x1ed055(0x180)](_0x2ac044['Injector'])),_0x2d2d1f(0x2,_0x2ac044[_0x1ed055(0x198)]),_0x2d2d1f(0x3,_0x2ac044[_0x1ed055(0x180)](_0x160303[_0x1ed055(0x196)])),_0x2d2d1f(0x4,_0x2ac044[_0x1ed055(0x180)](_0x2f28ea[_0x1ed055(0x18f)]))],_0x129beb[_0x1ed055(0x19f)]);class _0x44b405 extends _0x2ac044[_0x1ed055(0x185)]{['getCollaboration'](){var _0x324f84=_0x1ed055;return this['_injector']['createInstance'](_0x129beb[_0x324f84(0x19f)],{'getUniverSheet':_0x261f3e=>this[_0x324f84(0x178)](_0x261f3e)});}}_0x2ac044[_0x1ed055(0x185)][_0x1ed055(0x18d)](_0x44b405),Object[_0x1ed055(0x186)](_0x129beb,Symbol[_0x1ed055(0x194)],{'value':_0x1ed055(0x17c)});}));function _0x4997(){var _0x2b8fff=['_collaborationController','loadSheet','2879132rwUpOf','Inject','UniverProCollaboration','9892938KowGmw','1730mkiWwO','_handler','FUniver','defineProperty','@univerjs-pro/collaboration','223569CneOTI','readyForCollab','6811eAnlEI','UniverInstanceType','10880ARJUzh','extend','_univerInstanceService','CollaborationController','getOwnPropertyDescriptor','24471VrPTCs','function','getUnit','toStringTag','@univerjs-pro/collaboration-client','SnapshotService','UNIVER_SHEET','IUniverInstanceService','FBase','amd','UniverCore','UniverProCollaborationClientFacade','30DFHaQO','exports','FCollaboration','UniverProCollaborationClient','1008238jZWaYx','getUniverSheet','@univerjs/core','3804570mPwqTS','_snapshotService','Module'];_0x4997=function(){return _0x2b8fff;};return _0x4997();}
1
+ function _0x1106(_0x1ff1a9,_0x36798a){var _0xd88eaa=_0xd88e();return _0x1106=function(_0x110697,_0x10bc09){_0x110697=_0x110697-0x18a;var _0x25880d=_0xd88eaa[_0x110697];return _0x25880d;},_0x1106(_0x1ff1a9,_0x36798a);}(function(_0xb42dde,_0x35620a){var _0x2c3d1e=_0x1106,_0x27cd19=_0xb42dde();while(!![]){try{var _0xf368ab=parseInt(_0x2c3d1e(0x1b1))/0x1*(parseInt(_0x2c3d1e(0x1a7))/0x2)+parseInt(_0x2c3d1e(0x18d))/0x3*(-parseInt(_0x2c3d1e(0x198))/0x4)+parseInt(_0x2c3d1e(0x1b4))/0x5*(-parseInt(_0x2c3d1e(0x1a3))/0x6)+-parseInt(_0x2c3d1e(0x1ad))/0x7*(parseInt(_0x2c3d1e(0x196))/0x8)+-parseInt(_0x2c3d1e(0x1af))/0x9*(parseInt(_0x2c3d1e(0x19a))/0xa)+-parseInt(_0x2c3d1e(0x1b3))/0xb*(parseInt(_0x2c3d1e(0x1ac))/0xc)+parseInt(_0x2c3d1e(0x199))/0xd;if(_0xf368ab===_0x35620a)break;else _0x27cd19['push'](_0x27cd19['shift']());}catch(_0x97b20e){_0x27cd19['push'](_0x27cd19['shift']());}}}(_0xd88e,0x9cd74),function(_0x52bf7a,_0x17c295){var _0x2e9eab=_0x1106;typeof exports==_0x2e9eab(0x1a5)&&typeof module<'u'?_0x17c295(exports,require(_0x2e9eab(0x1a0)),require(_0x2e9eab(0x1b2)),require(_0x2e9eab(0x1b6)),require(_0x2e9eab(0x19b))):typeof define==_0x2e9eab(0x1b8)&&define[_0x2e9eab(0x1b9)]?define([_0x2e9eab(0x18e),_0x2e9eab(0x1a0),_0x2e9eab(0x1b2),_0x2e9eab(0x1b6),_0x2e9eab(0x19b)],_0x17c295):(_0x52bf7a=typeof globalThis<'u'?globalThis:_0x52bf7a||self,_0x17c295(_0x52bf7a[_0x2e9eab(0x190)]={},_0x52bf7a[_0x2e9eab(0x18c)],_0x52bf7a['UniverProCollaboration'],_0x52bf7a[_0x2e9eab(0x19f)],_0x52bf7a[_0x2e9eab(0x19b)]));}(this,function(_0x5f4d9d,_0x20f707,_0x50f631,_0x4b6707,_0x363583){'use strict';var _0x1f7e31=_0x1106;var _0x338478=Object[_0x1f7e31(0x18f)],_0x3f3ff=Object[_0x1f7e31(0x1a6)],_0x56d2b2=(_0x342bf4,_0x1ac30f,_0x55257b,_0x1c8666)=>{var _0x25a538=_0x1f7e31;for(var _0x474082=_0x1c8666>0x1?void 0x0:_0x1c8666?_0x3f3ff(_0x1ac30f,_0x55257b):_0x1ac30f,_0x3db102=_0x342bf4[_0x25a538(0x193)]-0x1,_0x232189;_0x3db102>=0x0;_0x3db102--)(_0x232189=_0x342bf4[_0x3db102])&&(_0x474082=(_0x1c8666?_0x232189(_0x1ac30f,_0x55257b,_0x474082):_0x232189(_0x474082))||_0x474082);return _0x1c8666&&_0x474082&&_0x338478(_0x1ac30f,_0x55257b,_0x474082),_0x474082;},_0x3ca30a=(_0x55adb7,_0x151343)=>(_0x500064,_0x1fd3b6)=>_0x151343(_0x500064,_0x1fd3b6,_0x55adb7);_0x5f4d9d[_0x1f7e31(0x1aa)]=class extends _0x20f707[_0x1f7e31(0x18a)]{constructor(_0x5a4954,_0x4d5eff,_0x6b014f,_0x1be27f,_0x3638fc){var _0x20f544=_0x1f7e31;super(),this[_0x20f544(0x1b7)]=_0x5a4954,this[_0x20f544(0x1a4)]=_0x4d5eff,this['_univerInstanceService']=_0x6b014f,this['_snapshotService']=_0x1be27f,this[_0x20f544(0x19c)]=_0x3638fc;}async[_0x1f7e31(0x1b5)](_0x27aab4){var _0x20e95c=_0x1f7e31;return this[_0x20e95c(0x19e)][_0x20e95c(0x194)](_0x27aab4,_0x20f707['UniverInstanceType']['UNIVER_SHEET'])||await this[_0x20e95c(0x1a2)]['loadSheet'](_0x27aab4,0x0)?(await this[_0x20e95c(0x19c)]['readyForCollab'](_0x27aab4),this[_0x20e95c(0x1b7)]['getUniverSheet'](_0x27aab4)):null;}[_0x1f7e31(0x1b0)](_0x5d0ed6,_0x1ae192){var _0x14b79d=_0x1f7e31;const _0x260633=this[_0x14b79d(0x1a4)][_0x14b79d(0x1a1)](_0x4b6707[_0x14b79d(0x19d)])['waitForRoom$'](_0x5d0ed6)[_0x14b79d(0x18b)](_0x363583['switchMap'](_0x3213df=>_0x3213df[_0x14b79d(0x1a8)]))[_0x14b79d(0x1ba)](_0x51eba9=>_0x1ae192(Array['from'](_0x51eba9[_0x14b79d(0x1ae)]())));return _0x20f707['toDisposable'](_0x260633);}},_0x5f4d9d[_0x1f7e31(0x1aa)]=_0x56d2b2([_0x3ca30a(0x1,_0x20f707['Inject'](_0x20f707['Injector'])),_0x3ca30a(0x2,_0x20f707['IUniverInstanceService']),_0x3ca30a(0x3,_0x20f707[_0x1f7e31(0x195)](_0x50f631['SnapshotService'])),_0x3ca30a(0x4,_0x20f707[_0x1f7e31(0x195)](_0x4b6707[_0x1f7e31(0x1a9)]))],_0x5f4d9d[_0x1f7e31(0x1aa)]);class _0x42c7d7 extends _0x20f707[_0x1f7e31(0x191)]{['getCollaboration'](){var _0x368227=_0x1f7e31;return this[_0x368227(0x1a4)]['createInstance'](_0x5f4d9d[_0x368227(0x1aa)],{'getUniverSheet':_0x1cff7f=>this['getUniverSheet'](_0x1cff7f)});}}_0x20f707[_0x1f7e31(0x191)][_0x1f7e31(0x197)](_0x42c7d7),Object[_0x1f7e31(0x18f)](_0x5f4d9d,Symbol[_0x1f7e31(0x192)],{'value':_0x1f7e31(0x1ab)});}));function _0xd88e(){var _0x51df25=['Module','19056KdHZNI','50771SJoqaJ','values','2381679TEDwoI','subscribeCollaborators','229315XHkYTU','@univerjs-pro/collaboration','8503iTpqLc','8915ngKHzi','loadSheet','@univerjs-pro/collaboration-client','_handler','function','amd','subscribe','FBase','pipe','UniverCore','2853fWraGF','exports','defineProperty','UniverProCollaborationClientFacade','FUniver','toStringTag','length','getUnit','Inject','760UuKIBQ','extend','3084PSHpuI','47754486XPzzKj','30KvaVim','rxjs','_collaborationController','MemberService','_univerInstanceService','UniverProCollaborationClient','@univerjs/core','get','_snapshotService','1698jHXTlV','_injector','object','getOwnPropertyDescriptor','8pMLrtP','members$','CollaborationController','FCollaboration'];_0xd88e=function(){return _0x51df25;};return _0xd88e();}