@univerjs-pro/collaboration-client 0.5.1-nightly.202412121230 → 0.5.1-nightly.202412131606

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 _0x43dcb1=_0x4ecc;function _0x52c6(){const _0x1934f7=['8SLzuky','685938GYEGTI','118279vJkWcT','71755PKlcha','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','288520FnJnHO','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Edit\x20conflicts','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','400331TjhaOa','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','32NCmZQX','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2sbSqHg','3722868FdsODu','11991859OfeKBw','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','No\x20collaboration\x20permission.\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.','Authentication\x20Error','Syncing...','162SoFMjm'];_0x52c6=function(){return _0x1934f7;};return _0x52c6();}function _0x4ecc(_0x5b965e,_0x5e3789){const _0x52c6eb=_0x52c6();return _0x4ecc=function(_0x4eccb9,_0x22890a){_0x4eccb9=_0x4eccb9-0xfd;let _0x11bb19=_0x52c6eb[_0x4eccb9];return _0x11bb19;},_0x4ecc(_0x5b965e,_0x5e3789);}(function(_0x272ad9,_0x185f1a){const _0x17797c=_0x4ecc,_0x25c914=_0x272ad9();while(!![]){try{const _0x89bc0c=-parseInt(_0x17797c(0x10d))/0x1*(-parseInt(_0x17797c(0x113))/0x2)+parseInt(_0x17797c(0x104))/0x3+-parseInt(_0x17797c(0x10f))/0x4*(parseInt(_0x17797c(0x106))/0x5)+parseInt(_0x17797c(0x102))/0x6*(parseInt(_0x17797c(0x105))/0x7)+-parseInt(_0x17797c(0x103))/0x8*(-parseInt(_0x17797c(0x114))/0x9)+-parseInt(_0x17797c(0x109))/0xa+-parseInt(_0x17797c(0x115))/0xb;if(_0x89bc0c===_0x185f1a)break;else _0x25c914['push'](_0x25c914['shift']());}catch(_0x310a16){_0x25c914['push'](_0x25c914['shift']());}}}(_0x52c6,0x40b3b));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x43dcb1(0x10b),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x43dcb1(0x101),'offline':_0x43dcb1(0x112)},'session':{'connection-failed':_0x43dcb1(0x108),'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':_0x43dcb1(0x10e),'room-not-exists':_0x43dcb1(0x107),'room-permission-denied':_0x43dcb1(0xfe),'room-cnt-exceeds':_0x43dcb1(0x10c),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x43dcb1(0x111),'content':_0x43dcb1(0xff)},'permission':{'title':_0x43dcb1(0x100),'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':_0x43dcb1(0x110)},'closeRoom':_0x43dcb1(0xfd)},'auth':{'needGotoLoginAlert':_0x43dcb1(0x10a)}};export{e as default};
1
+ const _0x4674fa=_0xa1fe;function _0x402e(){const _0x2a84cf=['Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing\x20server\x20data...','2038792ffTUOC','1416384qAFeAJ','Local\x20file','2gPkCPw','820356rOsYnw','1080855DtvtOB','8461688LZyyhl','Collaboration\x20Conflict','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.','Edit\x20conflicts','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','236728SkJdmm','Click\x20to\x20Reconnect','824205VOgYfU','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.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x402e=function(){return _0x2a84cf;};return _0x402e();}function _0xa1fe(_0x2b90e4,_0x2fb16f){const _0x402e89=_0x402e();return _0xa1fe=function(_0xa1fe26,_0x181c71){_0xa1fe26=_0xa1fe26-0x1b6;let _0x5db7f8=_0x402e89[_0xa1fe26];return _0x5db7f8;},_0xa1fe(_0x2b90e4,_0x2fb16f);}(function(_0x27dab5,_0x54b443){const _0x3a5f75=_0xa1fe,_0x40ab76=_0x27dab5();while(!![]){try{const _0x597e96=-parseInt(_0x3a5f75(0x1c7))/0x1+parseInt(_0x3a5f75(0x1be))/0x2*(parseInt(_0x3a5f75(0x1c9))/0x3)+-parseInt(_0x3a5f75(0x1bf))/0x4+-parseInt(_0x3a5f75(0x1c0))/0x5+-parseInt(_0x3a5f75(0x1bc))/0x6+-parseInt(_0x3a5f75(0x1bb))/0x7+parseInt(_0x3a5f75(0x1c1))/0x8;if(_0x597e96===_0x54b443)break;else _0x40ab76['push'](_0x40ab76['shift']());}catch(_0x20aa9e){_0x40ab76['push'](_0x40ab76['shift']());}}}(_0x402e,0x23ec2));const e={'collab-client':{'tooltip':{'reconnect':_0x4674fa(0x1c8)}},'collabStatus':{'fetchMiss':_0x4674fa(0x1ba),'conflict':_0x4674fa(0x1c4),'notCollab':_0x4674fa(0x1bd),'synced':'Synced','syncing':'Syncing...','offline':_0x4674fa(0x1b8)},'session':{'connection-failed':_0x4674fa(0x1cb),'will-retry':_0x4674fa(0x1b6),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x4674fa(0x1c5),'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':_0x4674fa(0x1cc),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x4674fa(0x1c2),'content':_0x4674fa(0x1c3)},'permission':{'title':_0x4674fa(0x1c6),'content':_0x4674fa(0x1cd)},'collaboration':{'single-unit':{'warning':_0x4674fa(0x1ca)},'closeRoom':_0x4674fa(0x1b9)},'auth':{'needGotoLoginAlert':_0x4674fa(0x1b7)}};export{e as default};
@@ -1 +1 @@
1
- const _0x5bb5a4=_0x4c7f;function _0x4c7f(_0x337d5b,_0x4dc800){const _0x4c2243=_0x4c22();return _0x4c7f=function(_0x4c7f2a,_0x5d15a5){_0x4c7f2a=_0x4c7f2a-0x13e;let _0x15aac4=_0x4c2243[_0x4c7f2a];return _0x15aac4;},_0x4c7f(_0x337d5b,_0x4dc800);}(function(_0x1e2b55,_0x3ad705){const _0x3b15cc=_0x4c7f,_0x244aa1=_0x1e2b55();while(!![]){try{const _0x15ab14=parseInt(_0x3b15cc(0x149))/0x1+parseInt(_0x3b15cc(0x152))/0x2*(parseInt(_0x3b15cc(0x157))/0x3)+-parseInt(_0x3b15cc(0x14a))/0x4*(parseInt(_0x3b15cc(0x13e))/0x5)+parseInt(_0x3b15cc(0x13f))/0x6*(parseInt(_0x3b15cc(0x153))/0x7)+-parseInt(_0x3b15cc(0x140))/0x8*(parseInt(_0x3b15cc(0x156))/0x9)+-parseInt(_0x3b15cc(0x14c))/0xa*(parseInt(_0x3b15cc(0x14f))/0xb)+-parseInt(_0x3b15cc(0x145))/0xc*(-parseInt(_0x3b15cc(0x154))/0xd);if(_0x15ab14===_0x3ad705)break;else _0x244aa1['push'](_0x244aa1['shift']());}catch(_0x5df8dd){_0x244aa1['push'](_0x244aa1['shift']());}}}(_0x4c22,0xa7692));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x5bb5a4(0x15b),'conflict':_0x5bb5a4(0x14e),'notCollab':_0x5bb5a4(0x141),'synced':_0x5bb5a4(0x143),'syncing':_0x5bb5a4(0x14d),'offline':_0x5bb5a4(0x150)},'session':{'connection-failed':_0x5bb5a4(0x14b),'will-retry':_0x5bb5a4(0x155),'room-full':_0x5bb5a4(0x142),'join-failed':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-not-exists':'پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-permission-denied':_0x5bb5a4(0x151),'room-cnt-exceeds':'تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','collaboration-timeout':_0x5bb5a4(0x148)},'conflict':{'title':_0x5bb5a4(0x144),'content':_0x5bb5a4(0x159)},'permission':{'title':_0x5bb5a4(0x146),'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':_0x5bb5a4(0x147)},'closeRoom':_0x5bb5a4(0x15a)},'auth':{'needGotoLoginAlert':_0x5bb5a4(0x158)}};function _0x4c22(){const _0x2d906b=['سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','181447OCbgYy','1432hBJJyo','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','12552310CvaKpt','در\x20حال\x20همگام\x20سازی...','تداخل\x20ویرایش','11xlBImZ','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','72272shSHdq','7nqmYFK','2015hoCmiX','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','1209699IlGtXE','42uyYGQC','ورود\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سرور...','1265FUFczj','2110068bMbuBW','40HehCQg','پرونده\x20محلی','ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','همگام\x20سازی','تداخل\x20همکاری','128868SWDHYU','خطای\x20اعتبارسنجی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'];_0x4c22=function(){return _0x2d906b;};return _0x4c22();}export{o as default};
1
+ const _0x34a510=_0x2e11;(function(_0x2888a7,_0x11b6d3){const _0x4cbf6c=_0x2e11,_0x248b16=_0x2888a7();while(!![]){try{const _0x782dbd=parseInt(_0x4cbf6c(0x130))/0x1*(-parseInt(_0x4cbf6c(0x123))/0x2)+parseInt(_0x4cbf6c(0x133))/0x3+-parseInt(_0x4cbf6c(0x132))/0x4+-parseInt(_0x4cbf6c(0x131))/0x5*(-parseInt(_0x4cbf6c(0x128))/0x6)+parseInt(_0x4cbf6c(0x12a))/0x7*(parseInt(_0x4cbf6c(0x136))/0x8)+parseInt(_0x4cbf6c(0x12e))/0x9*(-parseInt(_0x4cbf6c(0x13b))/0xa)+parseInt(_0x4cbf6c(0x124))/0xb*(parseInt(_0x4cbf6c(0x12c))/0xc);if(_0x782dbd===_0x11b6d3)break;else _0x248b16['push'](_0x248b16['shift']());}catch(_0x1a38d8){_0x248b16['push'](_0x248b16['shift']());}}}(_0x3ee5,0xaac1c));function _0x3ee5(){const _0x55c1f1=['شما\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سرور...','314daXGQZ','530849SZCxmo','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','خطای\x20اعتبارسنجی','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','12HxfhHe','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','53445xzfKUI','اعمال\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رفت.','564RPcwVI','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','10763667mBShla','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','4919LwdDfr','232285BOzyAd','4061192MWLhFy','3644961ElPHwP','تداخل\x20ویرایش','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','112NJsrgK','پیوستن\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محلی','10emeIsI','یک\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شوند'];_0x3ee5=function(){return _0x55c1f1;};return _0x3ee5();}const o={'collab-client':{'tooltip':{'reconnect':_0x34a510(0x125)}},'collabStatus':{'fetchMiss':_0x34a510(0x122),'conflict':_0x34a510(0x134),'notCollab':_0x34a510(0x13a),'synced':'همگام\x20سازی','syncing':_0x34a510(0x13d),'offline':_0x34a510(0x120)},'session':{'connection-failed':_0x34a510(0x12f),'will-retry':_0x34a510(0x135),'room-full':'ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','join-failed':_0x34a510(0x137),'room-not-exists':_0x34a510(0x127),'room-permission-denied':'دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-cnt-exceeds':_0x34a510(0x12d),'collaboration-timeout':_0x34a510(0x138)},'conflict':{'title':'تداخل\x20همکاری','content':_0x34a510(0x13c)},'permission':{'title':_0x34a510(0x126),'content':_0x34a510(0x12b)},'collaboration':{'single-unit':{'warning':_0x34a510(0x121)},'closeRoom':_0x34a510(0x129)},'auth':{'needGotoLoginAlert':_0x34a510(0x139)}};function _0x2e11(_0xb04d97,_0x1a942f){const _0x3ee5c1=_0x3ee5();return _0x2e11=function(_0x2e117e,_0x2676d5){_0x2e117e=_0x2e117e-0x120;let _0x1c3446=_0x3ee5c1[_0x2e117e];return _0x1c3446;},_0x2e11(_0xb04d97,_0x1a942f);}export{o as default};
@@ -1 +1 @@
1
- function _0x4592(){const _0x5d9be2=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','83299jFxQTP','3724620sVHsdy','15UbnvRN','Syncing...','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','1473232YsiaMv','Edit\x20conflicts','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','1057242KjZNZm','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','9687978DpxLxd','Collaboration\x20Conflict','429088Sjsjxe','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','6qDyHPq','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','14auGcqe','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','Local\x20file','9010859KmpjZh','21jSZIhI','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x4592=function(){return _0x5d9be2;};return _0x4592();}const _0x344047=_0x4752;(function(_0x52bee4,_0x435cf2){const _0x4a8bf5=_0x4752,_0x5de270=_0x52bee4();while(!![]){try{const _0x294a0e=-parseInt(_0x4a8bf5(0x100))/0x1*(parseInt(_0x4a8bf5(0x114))/0x2)+-parseInt(_0x4a8bf5(0x111))/0x3*(parseInt(_0x4a8bf5(0x10e))/0x4)+-parseInt(_0x4a8bf5(0x102))/0x5*(-parseInt(_0x4a8bf5(0x10a))/0x6)+-parseInt(_0x4a8bf5(0xfb))/0x7*(parseInt(_0x4a8bf5(0x106))/0x8)+parseInt(_0x4a8bf5(0x10c))/0x9+-parseInt(_0x4a8bf5(0x101))/0xa+parseInt(_0x4a8bf5(0xfa))/0xb;if(_0x294a0e===_0x435cf2)break;else _0x5de270['push'](_0x5de270['shift']());}catch(_0x390a68){_0x5de270['push'](_0x5de270['shift']());}}}(_0x4592,0xab4e7));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x344047(0x109),'conflict':_0x344047(0x107),'notCollab':_0x344047(0xf9),'synced':_0x344047(0xf8),'syncing':_0x344047(0x103),'offline':_0x344047(0x110)},'session':{'connection-failed':_0x344047(0x105),'will-retry':_0x344047(0x108),'room-full':_0x344047(0xf7),'join-failed':_0x344047(0x10b),'room-not-exists':_0x344047(0x113),'room-permission-denied':_0x344047(0x112),'room-cnt-exceeds':_0x344047(0x104),'collaboration-timeout':_0x344047(0xfd)},'conflict':{'title':_0x344047(0x10d),'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':'Authentication\x20Error','content':_0x344047(0xff)},'collaboration':{'single-unit':{'warning':_0x344047(0xfc)},'closeRoom':_0x344047(0xfe)},'auth':{'needGotoLoginAlert':_0x344047(0x10f)}},o=e;function _0x4752(_0x5c96b8,_0x56faf6){const _0x459225=_0x4592();return _0x4752=function(_0x475256,_0x32b7da){_0x475256=_0x475256-0xf7;let _0x231249=_0x459225[_0x475256];return _0x231249;},_0x4752(_0x5c96b8,_0x56faf6);}export{o as default};
1
+ const _0x1231e2=_0x14d9;function _0x14d9(_0x5ce567,_0x12b90a){const _0x317fd9=_0x317f();return _0x14d9=function(_0x14d97e,_0x509301){_0x14d97e=_0x14d97e-0x1a2;let _0x58a428=_0x317fd9[_0x14d97e];return _0x58a428;},_0x14d9(_0x5ce567,_0x12b90a);}function _0x317f(){const _0x41ad34=['Collaboration\x20Conflict','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','64CRoUPO','Click\x20to\x20Reconnect','21ikhvZz','304780RlcvGc','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','1zHCVLF','Local\x20file','Syncing...','418923DLrOYP','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','Authentication\x20Error','2873986pSZtFu','853660uyEFPM','59581392xexIuy','9jBfMwY','7510LzYGwc','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.','1970538vpHTaQ','27533piqAos'];_0x317f=function(){return _0x41ad34;};return _0x317f();}(function(_0x87211a,_0x543fa8){const _0x1b487d=_0x14d9,_0x4d367c=_0x87211a();while(!![]){try{const _0x1e5915=-parseInt(_0x1b487d(0x1b3))/0x1*(parseInt(_0x1b487d(0x1be))/0x2)+parseInt(_0x1b487d(0x1c1))/0x3*(parseInt(_0x1b487d(0x1bf))/0x4)+parseInt(_0x1b487d(0x1ad))/0x5+-parseInt(_0x1b487d(0x1a5))/0x6*(parseInt(_0x1b487d(0x1ac))/0x7)+-parseInt(_0x1b487d(0x1aa))/0x8*(parseInt(_0x1b487d(0x1b6))/0x9)+parseInt(_0x1b487d(0x1a2))/0xa*(-parseInt(_0x1b487d(0x1a6))/0xb)+parseInt(_0x1b487d(0x1c0))/0xc;if(_0x1e5915===_0x543fa8)break;else _0x4d367c['push'](_0x4d367c['shift']());}catch(_0xa0c49){_0x4d367c['push'](_0x4d367c['shift']());}}}(_0x317f,0xf22b6));const e={'collab-client':{'tooltip':{'reconnect':_0x1231e2(0x1ab)}},'collabStatus':{'fetchMiss':_0x1231e2(0x1bc),'conflict':_0x1231e2(0x1af),'notCollab':_0x1231e2(0x1b4),'synced':_0x1231e2(0x1b8),'syncing':_0x1231e2(0x1b5),'offline':_0x1231e2(0x1b7)},'session':{'connection-failed':_0x1231e2(0x1b2),'will-retry':_0x1231e2(0x1ba),'room-full':_0x1231e2(0x1b1),'join-failed':_0x1231e2(0x1a8),'room-not-exists':_0x1231e2(0x1bb),'room-permission-denied':_0x1231e2(0x1ae),'room-cnt-exceeds':_0x1231e2(0x1b9),'collaboration-timeout':_0x1231e2(0x1a3)},'conflict':{'title':_0x1231e2(0x1a7),'content':_0x1231e2(0x1a4)},'permission':{'title':_0x1231e2(0x1bd),'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':_0x1231e2(0x1a9)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1231e2(0x1b0)}},o=e;export{o as default};
@@ -1 +1 @@
1
- const _0x1fb222=_0x11f1;function _0x275c(){const _0x41071d=['Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','12258mJzgSO','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','89277AysOUs','970YMFShN','799904slmiZL','Synced','56TyoJKI','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','10gWhLpR','160VFQDue','9366929MKHUKx','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\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','468KQwsWa','Authentication\x20Error','452XJpkBe','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing...','6292017fLfpLy','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','5282SViywv','364353ABESUl','Syncing\x20server\x20data...','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x275c=function(){return _0x41071d;};return _0x275c();}(function(_0x441266,_0x424fbe){const _0x46d2dd=_0x11f1,_0x424edb=_0x441266();while(!![]){try{const _0x5aa05b=parseInt(_0x46d2dd(0x198))/0x1*(parseInt(_0x46d2dd(0x1b0))/0x2)+-parseInt(_0x46d2dd(0x1a2))/0x3*(-parseInt(_0x46d2dd(0x1aa))/0x4)+parseInt(_0x46d2dd(0x1a3))/0x5*(parseInt(_0x46d2dd(0x19e))/0x6)+-parseInt(_0x46d2dd(0x1a6))/0x7*(parseInt(_0x46d2dd(0x1a4))/0x8)+-parseInt(_0x46d2dd(0x1b3))/0x9*(-parseInt(_0x46d2dd(0x1a9))/0xa)+-parseInt(_0x46d2dd(0x199))/0xb*(parseInt(_0x46d2dd(0x1ae))/0xc)+-parseInt(_0x46d2dd(0x1ab))/0xd;if(_0x5aa05b===_0x424fbe)break;else _0x424edb['push'](_0x424edb['shift']());}catch(_0x314999){_0x424edb['push'](_0x424edb['shift']());}}}(_0x275c,0xa2eb1));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x1fb222(0x19a),'conflict':'Edit\x20conflicts','notCollab':_0x1fb222(0x1a8),'synced':_0x1fb222(0x1a5),'syncing':_0x1fb222(0x1b2),'offline':_0x1fb222(0x1a0)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x1fb222(0x19c),'room-full':_0x1fb222(0x1a7),'join-failed':_0x1fb222(0x1a1),'room-not-exists':_0x1fb222(0x197),'room-permission-denied':_0x1fb222(0x19b),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x1fb222(0x196)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x1fb222(0x1ac)},'permission':{'title':_0x1fb222(0x1af),'content':_0x1fb222(0x19d)},'collaboration':{'single-unit':{'warning':_0x1fb222(0x19f)},'closeRoom':_0x1fb222(0x1b1)},'auth':{'needGotoLoginAlert':_0x1fb222(0x1ad)}},o=e;function _0x11f1(_0x648661,_0x1a69b2){const _0x275c37=_0x275c();return _0x11f1=function(_0x11f171,_0x4e1133){_0x11f171=_0x11f171-0x196;let _0x3d77d6=_0x275c37[_0x11f171];return _0x3d77d6;},_0x11f1(_0x648661,_0x1a69b2);}export{o as default};
1
+ function _0x22b9(_0x57e4f1,_0xd5cd63){const _0x3e5f45=_0x3e5f();return _0x22b9=function(_0x22b9ab,_0xaef29a){_0x22b9ab=_0x22b9ab-0x19f;let _0x536847=_0x3e5f45[_0x22b9ab];return _0x536847;},_0x22b9(_0x57e4f1,_0xd5cd63);}const _0x21fa09=_0x22b9;(function(_0x5aeb8f,_0x332770){const _0x1d9f92=_0x22b9,_0xbdb396=_0x5aeb8f();while(!![]){try{const _0x5e2a32=parseInt(_0x1d9f92(0x1a1))/0x1*(parseInt(_0x1d9f92(0x1a3))/0x2)+-parseInt(_0x1d9f92(0x1b7))/0x3*(parseInt(_0x1d9f92(0x1a9))/0x4)+-parseInt(_0x1d9f92(0x1ae))/0x5+parseInt(_0x1d9f92(0x1b5))/0x6+parseInt(_0x1d9f92(0x1ab))/0x7*(-parseInt(_0x1d9f92(0x1a5))/0x8)+-parseInt(_0x1d9f92(0x1b2))/0x9*(parseInt(_0x1d9f92(0x1b9))/0xa)+-parseInt(_0x1d9f92(0x1ba))/0xb*(-parseInt(_0x1d9f92(0x1ac))/0xc);if(_0x5e2a32===_0x332770)break;else _0xbdb396['push'](_0xbdb396['shift']());}catch(_0x11a979){_0xbdb396['push'](_0xbdb396['shift']());}}}(_0x3e5f,0x5f745));const e={'collab-client':{'tooltip':{'reconnect':_0x21fa09(0x1b1)}},'collabStatus':{'fetchMiss':_0x21fa09(0x1a8),'conflict':_0x21fa09(0x1b4),'notCollab':'Local\x20file','synced':_0x21fa09(0x1bb),'syncing':'Syncing...','offline':_0x21fa09(0x1aa)},'session':{'connection-failed':_0x21fa09(0x1a6),'will-retry':_0x21fa09(0x1b8),'room-full':_0x21fa09(0x1ad),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x21fa09(0x19f),'room-permission-denied':_0x21fa09(0x1a0),'room-cnt-exceeds':_0x21fa09(0x1a7),'collaboration-timeout':_0x21fa09(0x1b0)},'conflict':{'title':_0x21fa09(0x1bc),'content':_0x21fa09(0x1b6)},'permission':{'title':_0x21fa09(0x1af),'content':_0x21fa09(0x1b3)},'collaboration':{'single-unit':{'warning':_0x21fa09(0x1a4)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x21fa09(0x1a2)}},o=e;function _0x3e5f(){const _0x3d7fc1=['4082940flDVWf','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.','463287tmLGVy','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','7317250enoVWL','13634258MfYVKM','Synced','Collaboration\x20Conflict','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','260581TnsbpH','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','6xWLOAL','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','5350744ColTeC','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','8vETVCn','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','7LgPmIw','12gNcqyG','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3006520NTvTVW','Authentication\x20Error','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','9IuLswo','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Edit\x20conflicts'];_0x3e5f=function(){return _0x3d7fc1;};return _0x3e5f();}export{o as default};
@@ -1 +1 @@
1
- const _0x50e2a7=_0x31de;(function(_0x2bb14e,_0x29137f){const _0x54f4d5=_0x31de,_0x4df3cf=_0x2bb14e();while(!![]){try{const _0x46f150=parseInt(_0x54f4d5(0x1c0))/0x1+parseInt(_0x54f4d5(0x1c3))/0x2*(parseInt(_0x54f4d5(0x1c7))/0x3)+-parseInt(_0x54f4d5(0x1c2))/0x4+parseInt(_0x54f4d5(0x1ca))/0x5+parseInt(_0x54f4d5(0x1d2))/0x6*(parseInt(_0x54f4d5(0x1c6))/0x7)+parseInt(_0x54f4d5(0x1c8))/0x8+-parseInt(_0x54f4d5(0x1be))/0x9;if(_0x46f150===_0x29137f)break;else _0x4df3cf['push'](_0x4df3cf['shift']());}catch(_0xce84b3){_0x4df3cf['push'](_0x4df3cf['shift']());}}}(_0x3809,0xeb98c));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x50e2a7(0x1cf),'conflict':_0x50e2a7(0x1d3),'notCollab':_0x50e2a7(0x1d4),'synced':'Synced','syncing':_0x50e2a7(0x1cb),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x50e2a7(0x1c1),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':_0x50e2a7(0x1d6),'join-failed':_0x50e2a7(0x1ce),'room-not-exists':_0x50e2a7(0x1cd),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x50e2a7(0x1d5),'collaboration-timeout':_0x50e2a7(0x1d0)},'conflict':{'title':_0x50e2a7(0x1d1),'content':_0x50e2a7(0x1c4)},'permission':{'title':_0x50e2a7(0x1bd),'content':_0x50e2a7(0x1c9)},'collaboration':{'single-unit':{'warning':_0x50e2a7(0x1c5)},'closeRoom':_0x50e2a7(0x1cc)},'auth':{'needGotoLoginAlert':_0x50e2a7(0x1bf)}},o=e;function _0x31de(_0x503a51,_0x1ca0d5){const _0x38095d=_0x3809();return _0x31de=function(_0x31def0,_0x360108){_0x31def0=_0x31def0-0x1bd;let _0x837ac6=_0x38095d[_0x31def0];return _0x837ac6;},_0x31de(_0x503a51,_0x1ca0d5);}function _0x3809(){const _0x5628d6=['The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','11778516kmzKRn','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','912768dRSViL','Connection\x20failed.\x20Please\x20check\x20your\x20network.','5465008vTdFFv','1232DmJutI','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.','28dWcbKS','2628DymJJE','3711848eGbDYQ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','2539335ilafoc','Syncing...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','1823622hKEYPk','Edit\x20conflicts','Local\x20file','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x3809=function(){return _0x5628d6;};return _0x3809();}export{o as default};
1
+ const _0x9935b=_0x49d9;function _0x49d9(_0x2b87fa,_0x32a274){const _0x418b59=_0x418b();return _0x49d9=function(_0x49d932,_0x3813d4){_0x49d932=_0x49d932-0x6d;let _0x6d119=_0x418b59[_0x49d932];return _0x6d119;},_0x49d9(_0x2b87fa,_0x32a274);}(function(_0x43d33c,_0x307d29){const _0x5d1b00=_0x49d9,_0x32fa2f=_0x43d33c();while(!![]){try{const _0x15f14a=-parseInt(_0x5d1b00(0x7d))/0x1*(-parseInt(_0x5d1b00(0x72))/0x2)+-parseInt(_0x5d1b00(0x71))/0x3*(parseInt(_0x5d1b00(0x77))/0x4)+parseInt(_0x5d1b00(0x70))/0x5*(-parseInt(_0x5d1b00(0x88))/0x6)+parseInt(_0x5d1b00(0x8a))/0x7+-parseInt(_0x5d1b00(0x87))/0x8+parseInt(_0x5d1b00(0x84))/0x9+parseInt(_0x5d1b00(0x83))/0xa*(parseInt(_0x5d1b00(0x7f))/0xb);if(_0x15f14a===_0x307d29)break;else _0x32fa2f['push'](_0x32fa2f['shift']());}catch(_0x2c3453){_0x32fa2f['push'](_0x32fa2f['shift']());}}}(_0x418b,0x2f10b));const e={'collab-client':{'tooltip':{'reconnect':_0x9935b(0x74)}},'collabStatus':{'fetchMiss':_0x9935b(0x73),'conflict':'Edit\x20conflicts','notCollab':_0x9935b(0x6e),'synced':_0x9935b(0x89),'syncing':_0x9935b(0x82),'offline':_0x9935b(0x7a)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x9935b(0x79),'room-full':_0x9935b(0x6d),'join-failed':_0x9935b(0x7c),'room-not-exists':_0x9935b(0x86),'room-permission-denied':_0x9935b(0x75),'room-cnt-exceeds':_0x9935b(0x76),'collaboration-timeout':_0x9935b(0x85)},'conflict':{'title':_0x9935b(0x78),'content':_0x9935b(0x6f)},'permission':{'title':'Authentication\x20Error','content':_0x9935b(0x7b)},'collaboration':{'single-unit':{'warning':_0x9935b(0x81)},'closeRoom':_0x9935b(0x7e)},'auth':{'needGotoLoginAlert':_0x9935b(0x80)}},o=e;export{o as default};function _0x418b(){const _0x176670=['Syncing\x20server\x20data...','Click\x20to\x20Reconnect','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','124452cFWIDe','Collaboration\x20Conflict','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','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.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','25QWDTjc','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','5577099ZjPjGW','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing...','10iOfKOb','253629ojBqOs','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1619952yYyiBN','100806wlDRnd','Synced','2340051Jqakfr','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Local\x20file','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.','100Nnqlqh','15yWZsJh','1390OAEPsJ'];_0x418b=function(){return _0x176670;};return _0x418b();}
@@ -1 +1 @@
1
- function _0xc424(){const _0x12b238=['由于协同房间被关闭,编辑权限被收回。','5QIZFOp','29919373GDADRH','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','10qGMlDp','6351275XvWqGz','保存中...','6807456wvOWTI','权限错误','已离线,编辑将在本地缓存','连接失败,请检查你的网络','已同步','2415832JexxgE','加入协同失败,请稍后重试,你的编辑将在本地缓存','正在拉取服务端数据...','编辑冲突','没有协同权限,你的编辑将在本地缓存','6alMPsP','571665CkliKv','服务器未响应,你的编辑将在本地缓存','点击重新连接','4pgtAfi','1732704UueHGi','协同冲突','4008642bRxDkz','加入协同失败,你的编辑将在本地缓存','此文档协同人数已满,你的编辑将在本地缓存','本地文件'];_0xc424=function(){return _0x12b238;};return _0xc424();}function _0x3028(_0x3f858e,_0x18b495){const _0xc42468=_0xc424();return _0x3028=function(_0x302878,_0x186c36){_0x302878=_0x302878-0xbe;let _0x242fec=_0xc42468[_0x302878];return _0x242fec;},_0x3028(_0x3f858e,_0x18b495);}const _0xac371a=_0x3028;(function(_0xdb38e9,_0x37d9d7){const _0x4f6c4e=_0x3028,_0x56057d=_0xdb38e9();while(!![]){try{const _0x6035e6=-parseInt(_0x4f6c4e(0xc0))/0x1*(parseInt(_0x4f6c4e(0xc3))/0x2)+parseInt(_0x4f6c4e(0xbf))/0x3*(-parseInt(_0x4f6c4e(0xd6))/0x4)+-parseInt(_0x4f6c4e(0xcb))/0x5*(-parseInt(_0x4f6c4e(0xc6))/0x6)+-parseInt(_0x4f6c4e(0xcf))/0x7+-parseInt(_0x4f6c4e(0xc4))/0x8+parseInt(_0x4f6c4e(0xd1))/0x9+parseInt(_0x4f6c4e(0xce))/0xa*(parseInt(_0x4f6c4e(0xcc))/0xb);if(_0x6035e6===_0x37d9d7)break;else _0x56057d['push'](_0x56057d['shift']());}catch(_0x684852){_0x56057d['push'](_0x56057d['shift']());}}}(_0xc424,0xa365b));const o={'collab-client':{'tooltip':{'reconnect':_0xac371a(0xc2)}},'collabStatus':{'fetchMiss':_0xac371a(0xd8),'conflict':_0xac371a(0xd9),'notCollab':_0xac371a(0xc9),'synced':_0xac371a(0xd5),'syncing':_0xac371a(0xd0),'offline':_0xac371a(0xd3)},'session':{'connection-failed':_0xac371a(0xd4),'will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0xac371a(0xc8),'join-failed':_0xac371a(0xd7),'room-not-exists':_0xac371a(0xc7),'room-permission-denied':_0xac371a(0xbe),'room-cnt-exceeds':'协同文档数量超过限制,你的编辑将在本地缓存','collaboration-timeout':_0xac371a(0xc1)},'conflict':{'title':_0xac371a(0xc5),'content':_0xac371a(0xcd)},'permission':{'title':_0xac371a(0xd2),'content':'你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'collaboration':{'single-unit':{'warning':'你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。'},'closeRoom':_0xac371a(0xca)},'auth':{'needGotoLoginAlert':'你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。'}};export{o as default};
1
+ function _0x507a(){const _0xfa2f23=['点击重新连接','协同文档数量超过限制,你的编辑将在本地缓存','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','连接失败,将在一会儿之后重试连接','258251PFDdLf','编辑冲突','此文档协同人数已满,你的编辑将在本地缓存','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','4056714grGxDr','保存中...','正在拉取服务端数据...','15CGgnQd','本地文件','连接失败,请检查你的网络','服务器未响应,你的编辑将在本地缓存','已离线,编辑将在本地缓存','1334136GvsvSd','协同冲突','权限错误','由于协同房间被关闭,编辑权限被收回。','3469761IhjhRD','41472408wzXbnp','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','加入协同失败,你的编辑将在本地缓存','4917066KVHBcT','2377760nyMDlL'];_0x507a=function(){return _0xfa2f23;};return _0x507a();}const _0x446efa=_0x1ded;function _0x1ded(_0x13a880,_0x808e17){const _0x507a6a=_0x507a();return _0x1ded=function(_0x1ded0d,_0x57476f){_0x1ded0d=_0x1ded0d-0xd9;let _0x138965=_0x507a6a[_0x1ded0d];return _0x138965;},_0x1ded(_0x13a880,_0x808e17);}(function(_0x29f0d3,_0x574056){const _0x3fe92e=_0x1ded,_0x283559=_0x29f0d3();while(!![]){try{const _0x1e242d=parseInt(_0x3fe92e(0xef))/0x1+-parseInt(_0x3fe92e(0xea))/0x2+-parseInt(_0x3fe92e(0xe5))/0x3+parseInt(_0x3fe92e(0xe1))/0x4*(-parseInt(_0x3fe92e(0xdc))/0x5)+-parseInt(_0x3fe92e(0xd9))/0x6+-parseInt(_0x3fe92e(0xe9))/0x7+parseInt(_0x3fe92e(0xe6))/0x8;if(_0x1e242d===_0x574056)break;else _0x283559['push'](_0x283559['shift']());}catch(_0x130d9a){_0x283559['push'](_0x283559['shift']());}}}(_0x507a,0xaf36c));const o={'collab-client':{'tooltip':{'reconnect':_0x446efa(0xeb)}},'collabStatus':{'fetchMiss':_0x446efa(0xdb),'conflict':_0x446efa(0xf0),'notCollab':_0x446efa(0xdd),'synced':'已同步','syncing':_0x446efa(0xda),'offline':_0x446efa(0xe0)},'session':{'connection-failed':_0x446efa(0xde),'will-retry':_0x446efa(0xee),'room-full':_0x446efa(0xf1),'join-failed':'加入协同失败,请稍后重试,你的编辑将在本地缓存','room-not-exists':_0x446efa(0xe8),'room-permission-denied':'没有协同权限,你的编辑将在本地缓存','room-cnt-exceeds':_0x446efa(0xec),'collaboration-timeout':_0x446efa(0xdf)},'conflict':{'title':_0x446efa(0xe2),'content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':_0x446efa(0xe3),'content':_0x446efa(0xed)},'collaboration':{'single-unit':{'warning':_0x446efa(0xe7)},'closeRoom':_0x446efa(0xe4)},'auth':{'needGotoLoginAlert':_0x446efa(0xf2)}};export{o as default};
@@ -1 +1 @@
1
- function _0x3dc9(){const _0x2e4d26=['Click\x20to\x20Reconnect','1509xyWRDS','3025631FVtrxK','18HUuYYt','1217922vXOdiB','Edit\x20conflicts','Synced','1596564NWeUsy','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.','1316310LdDMwv','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','3266000iYDHQx','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','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.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','86biOZFy','Local\x20file','Authentication\x20Error','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','174273gHaQFv','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x3dc9=function(){return _0x2e4d26;};return _0x3dc9();}const _0xd339c9=_0x550e;(function(_0x54e0a8,_0x7dbfba){const _0x52ef68=_0x550e,_0x53a684=_0x54e0a8();while(!![]){try{const _0x3442bd=-parseInt(_0x52ef68(0x119))/0x1+parseInt(_0x52ef68(0x115))/0x2*(parseInt(_0x52ef68(0x11c))/0x3)+-parseInt(_0x52ef68(0x122))/0x4+-parseInt(_0x52ef68(0x10c))/0x5+-parseInt(_0x52ef68(0x11f))/0x6+parseInt(_0x52ef68(0x11d))/0x7+-parseInt(_0x52ef68(0x10f))/0x8*(-parseInt(_0x52ef68(0x11e))/0x9);if(_0x3442bd===_0x7dbfba)break;else _0x53a684['push'](_0x53a684['shift']());}catch(_0x3dfdcf){_0x53a684['push'](_0x53a684['shift']());}}}(_0x3dc9,0x3852b));const e={'collab-client':{'tooltip':{'reconnect':_0xd339c9(0x11b)}},'collabStatus':{'fetchMiss':_0xd339c9(0x10e),'conflict':_0xd339c9(0x120),'notCollab':_0xd339c9(0x116),'synced':_0xd339c9(0x121),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0xd339c9(0x113),'will-retry':_0xd339c9(0x114),'room-full':_0xd339c9(0x11a),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0xd339c9(0x10d),'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':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0xd339c9(0x10b)},'permission':{'title':_0xd339c9(0x117),'content':_0xd339c9(0x111)},'collaboration':{'single-unit':{'warning':_0xd339c9(0x112)},'closeRoom':_0xd339c9(0x118)},'auth':{'needGotoLoginAlert':_0xd339c9(0x110)}},o=e;function _0x550e(_0x3cd6cc,_0x45cbc5){const _0x3dc9c5=_0x3dc9();return _0x550e=function(_0x550ec9,_0x4700cf){_0x550ec9=_0x550ec9-0x10b;let _0x1b5542=_0x3dc9c5[_0x550ec9];return _0x1b5542;},_0x550e(_0x3cd6cc,_0x45cbc5);}export{o as default};
1
+ function _0x4f48(_0x4eddbd,_0x5696df){const _0x24c378=_0x24c3();return _0x4f48=function(_0x4f4860,_0x15f4b8){_0x4f4860=_0x4f4860-0x11c;let _0xbb031e=_0x24c378[_0x4f4860];return _0xbb031e;},_0x4f48(_0x4eddbd,_0x5696df);}const _0x6276a0=_0x4f48;(function(_0x419cc2,_0x34c545){const _0x3b6d88=_0x4f48,_0x1b41b7=_0x419cc2();while(!![]){try{const _0x5ca8e5=-parseInt(_0x3b6d88(0x130))/0x1+-parseInt(_0x3b6d88(0x12e))/0x2*(-parseInt(_0x3b6d88(0x122))/0x3)+-parseInt(_0x3b6d88(0x131))/0x4*(-parseInt(_0x3b6d88(0x128))/0x5)+parseInt(_0x3b6d88(0x12d))/0x6*(-parseInt(_0x3b6d88(0x126))/0x7)+-parseInt(_0x3b6d88(0x125))/0x8+parseInt(_0x3b6d88(0x121))/0x9+parseInt(_0x3b6d88(0x11d))/0xa;if(_0x5ca8e5===_0x34c545)break;else _0x1b41b7['push'](_0x1b41b7['shift']());}catch(_0x16a3f6){_0x1b41b7['push'](_0x1b41b7['shift']());}}}(_0x24c3,0x5a73a));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x6276a0(0x11e),'conflict':_0x6276a0(0x120),'notCollab':_0x6276a0(0x123),'synced':_0x6276a0(0x12a),'syncing':'Syncing...','offline':_0x6276a0(0x11f)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x6276a0(0x12c),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x6276a0(0x12f),'room-not-exists':_0x6276a0(0x129),'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':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x6276a0(0x124),'content':_0x6276a0(0x132)},'permission':{'title':_0x6276a0(0x12b),'content':_0x6276a0(0x11c)},'collaboration':{'single-unit':{'warning':_0x6276a0(0x127)},'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 _0x24c3(){const _0x220025=['Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','3445659YZouSv','3xhAeKj','Local\x20file','Collaboration\x20Conflict','2802832uYLFhc','723149sTQJva','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','10840jLczIF','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','Authentication\x20Error','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','6bLBEud','811198FINFqH','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','574481FQPNag','288buVXKm','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.','4540860qjIgSf'];_0x24c3=function(){return _0x220025;};return _0x24c3();}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 _0x3abe(){var _0x1de823=['object','getCollaboration','@univerjs-pro/collaboration-client','FCollaboration','UniverInstanceType','_snapshotService','UNIVER_SHEET','SnapshotService','FUniver','8246088lRNqSM','exports','60aFxFSO','3360014pmRxoC','createInstance','extend','FBase','24NkNlFC','UniverProCollaboration','35824770mvGVhi','CollaborationController','defineProperty','_handler','10162BIshUr','181245JHoQZs','function','Injector','loadSheet','UniverCore','length','_univerInstanceService','7692420LFOadN','_collaborationController','@univerjs/core','getOwnPropertyDescriptor','toStringTag','Inject','1081283phKCEG','getUniverSheet','IUniverInstanceService','@univerjs-pro/collaboration'];_0x3abe=function(){return _0x1de823;};return _0x3abe();}function _0x557a(_0x40af43,_0x148a0d){var _0x3abeda=_0x3abe();return _0x557a=function(_0x557a51,_0x548a2c){_0x557a51=_0x557a51-0x18f;var _0x46785c=_0x3abeda[_0x557a51];return _0x46785c;},_0x557a(_0x40af43,_0x148a0d);}(function(_0x45311d,_0x268464){var _0x555bfd=_0x557a,_0x246a32=_0x45311d();while(!![]){try{var _0x3467d5=parseInt(_0x555bfd(0x190))/0x1+-parseInt(_0x555bfd(0x1ae))/0x2+-parseInt(_0x555bfd(0x191))/0x3*(parseInt(_0x555bfd(0x1b2))/0x4)+-parseInt(_0x555bfd(0x198))/0x5+-parseInt(_0x555bfd(0x1ad))/0x6*(-parseInt(_0x555bfd(0x19e))/0x7)+-parseInt(_0x555bfd(0x1ab))/0x8+parseInt(_0x555bfd(0x1b4))/0x9;if(_0x3467d5===_0x268464)break;else _0x246a32['push'](_0x246a32['shift']());}catch(_0x14f42c){_0x246a32['push'](_0x246a32['shift']());}}}(_0x3abe,0xe17f8),function(_0x4a7a3d,_0x1e9002){var _0x174d5c=_0x557a;typeof exports==_0x174d5c(0x1a2)&&typeof module<'u'?_0x1e9002(exports,require(_0x174d5c(0x19a)),require(_0x174d5c(0x1a1)),require(_0x174d5c(0x1a4))):typeof define==_0x174d5c(0x192)&&define['amd']?define([_0x174d5c(0x1ac),'@univerjs/core',_0x174d5c(0x1a1),_0x174d5c(0x1a4)],_0x1e9002):(_0x4a7a3d=typeof globalThis<'u'?globalThis:_0x4a7a3d||self,_0x1e9002(_0x4a7a3d['UniverProCollaborationClientFacade']={},_0x4a7a3d[_0x174d5c(0x195)],_0x4a7a3d[_0x174d5c(0x1b3)],_0x4a7a3d['UniverProCollaborationClient']));}(this,function(_0x33ad0d,_0x43c668,_0x9a863a,_0x41ab23){'use strict';var _0x4e8626=_0x557a;var _0x2fd058=Object['defineProperty'],_0x47d92c=Object[_0x4e8626(0x19b)],_0x2a79b5=(_0x59380b,_0x5f0129,_0x40dbb2,_0x3c8bb9)=>{var _0x3451c3=_0x4e8626;for(var _0x42250e=_0x3c8bb9>0x1?void 0x0:_0x3c8bb9?_0x47d92c(_0x5f0129,_0x40dbb2):_0x5f0129,_0x323e6c=_0x59380b[_0x3451c3(0x196)]-0x1,_0x3e7e7c;_0x323e6c>=0x0;_0x323e6c--)(_0x3e7e7c=_0x59380b[_0x323e6c])&&(_0x42250e=(_0x3c8bb9?_0x3e7e7c(_0x5f0129,_0x40dbb2,_0x42250e):_0x3e7e7c(_0x42250e))||_0x42250e);return _0x3c8bb9&&_0x42250e&&_0x2fd058(_0x5f0129,_0x40dbb2,_0x42250e),_0x42250e;},_0x3dd351=(_0x72374c,_0x4cf690)=>(_0x5821df,_0xa73cc3)=>_0x4cf690(_0x5821df,_0xa73cc3,_0x72374c);_0x33ad0d[_0x4e8626(0x1a5)]=class extends _0x43c668[_0x4e8626(0x1b1)]{constructor(_0x47b2ba,_0x317b3d,_0x7ac94f,_0x3630ca,_0x1d8fea){var _0x3f0988=_0x4e8626;super(),this['_handler']=_0x47b2ba,this['_injector']=_0x317b3d,this[_0x3f0988(0x197)]=_0x7ac94f,this['_snapshotService']=_0x3630ca,this[_0x3f0988(0x199)]=_0x1d8fea;}async['loadSheet'](_0x5db8f2){var _0x5f254a=_0x4e8626;return this[_0x5f254a(0x197)]['getUnit'](_0x5db8f2,_0x43c668[_0x5f254a(0x1a6)][_0x5f254a(0x1a8)])||await this[_0x5f254a(0x1a7)][_0x5f254a(0x194)](_0x5db8f2,0x0)?(await this['_collaborationController']['readyForCollab'](_0x5db8f2),this[_0x5f254a(0x18f)][_0x5f254a(0x19f)](_0x5db8f2)):null;}},_0x33ad0d[_0x4e8626(0x1a5)]=_0x2a79b5([_0x3dd351(0x1,_0x43c668[_0x4e8626(0x19d)](_0x43c668[_0x4e8626(0x193)])),_0x3dd351(0x2,_0x43c668[_0x4e8626(0x1a0)]),_0x3dd351(0x3,_0x43c668[_0x4e8626(0x19d)](_0x9a863a[_0x4e8626(0x1a9)])),_0x3dd351(0x4,_0x43c668['Inject'](_0x41ab23[_0x4e8626(0x1b5)]))],_0x33ad0d[_0x4e8626(0x1a5)]);class _0x357b47 extends _0x43c668['FUniver']{[_0x4e8626(0x1a3)](){var _0x42afc0=_0x4e8626;return this['_injector'][_0x42afc0(0x1af)](_0x33ad0d[_0x42afc0(0x1a5)],{'getUniverSheet':_0x47f6ce=>this[_0x42afc0(0x19f)](_0x47f6ce)});}}_0x43c668[_0x4e8626(0x1aa)][_0x4e8626(0x1b0)](_0x357b47),Object[_0x4e8626(0x1b6)](_0x33ad0d,Symbol[_0x4e8626(0x19c)],{'value':'Module'});}));
1
+ function _0x4661(_0x5840c3,_0x141744){var _0x4e947c=_0x4e94();return _0x4661=function(_0x4661ed,_0x4655d2){_0x4661ed=_0x4661ed-0xbf;var _0x365173=_0x4e947c[_0x4661ed];return _0x365173;},_0x4661(_0x5840c3,_0x141744);}function _0x4e94(){var _0x513620=['275355SUvGoS','Inject','waitForRoom$','extend','UniverProCollaboration','object','183795KYDjSG','getUniverSheet','Module','5835540uEBDmA','IUniverInstanceService','FUniver','toDisposable','3463389gXEqoa','UniverCore','_collaborationController','length','_handler','subscribeCollaborators','UniverInstanceType','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration','get','Injector','subscribe','function','from','50897DZziCY','FBase','readyForCollab','getUnit','20fqIUSG','10994220GFeFSr','pipe','SnapshotService','UNIVER_SHEET','defineProperty','toStringTag','switchMap','getOwnPropertyDescriptor','@univerjs/core','50xwBRmN','_snapshotService','FCollaboration','_univerInstanceService','loadSheet','createInstance','_injector','104sXpjJb','rxjs','208568yyBJga'];_0x4e94=function(){return _0x513620;};return _0x4e94();}(function(_0xec8e7c,_0x2633c7){var _0x1f0bec=_0x4661,_0x157081=_0xec8e7c();while(!![]){try{var _0x43f7c4=parseInt(_0x1f0bec(0xcd))/0x1+parseInt(_0x1f0bec(0xec))/0x2*(-parseInt(_0x1f0bec(0xd3))/0x3)+-parseInt(_0x1f0bec(0xcc))/0x4*(-parseInt(_0x1f0bec(0xc3))/0x5)+parseInt(_0x1f0bec(0xd6))/0x6+-parseInt(_0x1f0bec(0xe8))/0x7*(-parseInt(_0x1f0bec(0xca))/0x8)+parseInt(_0x1f0bec(0xda))/0x9+-parseInt(_0x1f0bec(0xed))/0xa;if(_0x43f7c4===_0x2633c7)break;else _0x157081['push'](_0x157081['shift']());}catch(_0x36ff78){_0x157081['push'](_0x157081['shift']());}}}(_0x4e94,0x8303d),function(_0x332626,_0x1d8e60){var _0x18c301=_0x4661;typeof exports==_0x18c301(0xd2)&&typeof module<'u'?_0x1d8e60(exports,require(_0x18c301(0xc2)),require(_0x18c301(0xe2)),require('@univerjs-pro/collaboration-client'),require('rxjs')):typeof define==_0x18c301(0xe6)&&define['amd']?define(['exports',_0x18c301(0xc2),_0x18c301(0xe2),_0x18c301(0xe1),'rxjs'],_0x1d8e60):(_0x332626=typeof globalThis<'u'?globalThis:_0x332626||self,_0x1d8e60(_0x332626['UniverProCollaborationClientFacade']={},_0x332626[_0x18c301(0xdb)],_0x332626[_0x18c301(0xd1)],_0x332626['UniverProCollaborationClient'],_0x332626[_0x18c301(0xcb)]));}(this,function(_0x3415b4,_0x4985d7,_0x36f513,_0x40dfac,_0x598fc0){'use strict';var _0x4f9293=_0x4661;var _0x3dfb3f=Object['defineProperty'],_0x14eac1=Object[_0x4f9293(0xc1)],_0x4f2841=(_0x27ee72,_0x5af1b1,_0x3d2433,_0x54826b)=>{var _0x42c706=_0x4f9293;for(var _0x4b5503=_0x54826b>0x1?void 0x0:_0x54826b?_0x14eac1(_0x5af1b1,_0x3d2433):_0x5af1b1,_0x4e7151=_0x27ee72[_0x42c706(0xdd)]-0x1,_0x291ad9;_0x4e7151>=0x0;_0x4e7151--)(_0x291ad9=_0x27ee72[_0x4e7151])&&(_0x4b5503=(_0x54826b?_0x291ad9(_0x5af1b1,_0x3d2433,_0x4b5503):_0x291ad9(_0x4b5503))||_0x4b5503);return _0x54826b&&_0x4b5503&&_0x3dfb3f(_0x5af1b1,_0x3d2433,_0x4b5503),_0x4b5503;},_0x22a433=(_0x5963d5,_0x1f31c2)=>(_0x4e047f,_0x40f48b)=>_0x1f31c2(_0x4e047f,_0x40f48b,_0x5963d5);_0x3415b4[_0x4f9293(0xc5)]=class extends _0x4985d7[_0x4f9293(0xe9)]{constructor(_0x5c8eed,_0x51d011,_0x4e0e44,_0x73d7cf,_0x391191){var _0xbafaab=_0x4f9293;super(),this[_0xbafaab(0xde)]=_0x5c8eed,this[_0xbafaab(0xc9)]=_0x51d011,this['_univerInstanceService']=_0x4e0e44,this[_0xbafaab(0xc4)]=_0x73d7cf,this[_0xbafaab(0xdc)]=_0x391191;}async['loadSheet'](_0xf868b6){var _0x1b4cc5=_0x4f9293;return this[_0x1b4cc5(0xc6)][_0x1b4cc5(0xeb)](_0xf868b6,_0x4985d7[_0x1b4cc5(0xe0)][_0x1b4cc5(0xf0)])||await this[_0x1b4cc5(0xc4)][_0x1b4cc5(0xc7)](_0xf868b6,0x0)?(await this[_0x1b4cc5(0xdc)][_0x1b4cc5(0xea)](_0xf868b6),this[_0x1b4cc5(0xde)][_0x1b4cc5(0xd4)](_0xf868b6)):null;}[_0x4f9293(0xdf)](_0x429c45,_0x22ae0a){var _0x2b155f=_0x4f9293;const _0x519278=this['_injector'][_0x2b155f(0xe3)](_0x40dfac['MemberService'])[_0x2b155f(0xcf)](_0x429c45)[_0x2b155f(0xee)](_0x598fc0[_0x2b155f(0xc0)](_0x395d26=>_0x395d26['members$']))[_0x2b155f(0xe5)](_0x1e96df=>_0x22ae0a(Array[_0x2b155f(0xe7)](_0x1e96df['values']())));return _0x4985d7[_0x2b155f(0xd9)](_0x519278);}},_0x3415b4['FCollaboration']=_0x4f2841([_0x22a433(0x1,_0x4985d7[_0x4f9293(0xce)](_0x4985d7[_0x4f9293(0xe4)])),_0x22a433(0x2,_0x4985d7[_0x4f9293(0xd7)]),_0x22a433(0x3,_0x4985d7[_0x4f9293(0xce)](_0x36f513[_0x4f9293(0xef)])),_0x22a433(0x4,_0x4985d7[_0x4f9293(0xce)](_0x40dfac['CollaborationController']))],_0x3415b4[_0x4f9293(0xc5)]);class _0x5c38c9 extends _0x4985d7[_0x4f9293(0xd8)]{['getCollaboration'](){var _0x2267f1=_0x4f9293;return this[_0x2267f1(0xc9)][_0x2267f1(0xc8)](_0x3415b4[_0x2267f1(0xc5)],{'getUniverSheet':_0x58864b=>this[_0x2267f1(0xd4)](_0x58864b)});}}_0x4985d7[_0x4f9293(0xd8)][_0x4f9293(0xd0)](_0x5c38c9),Object[_0x4f9293(0xf1)](_0x3415b4,Symbol[_0x4f9293(0xbf)],{'value':_0x4f9293(0xd5)});}));