@univerjs-pro/collaboration-client-ui 0.6.7 → 0.6.9

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 _0x35b9a8=_0x3956;function _0x1639(){const _0x2e433d=['67hsSylP','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','5cExQUB','1430892uylvcJ','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','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.','6YBBdLh','81708CAaKNP','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','26018gEmGyo','4795566BnTxxF','424lnzsGA','1291684FZFtPp','1753590gjZYEh','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','22OdRCIB','2977MHFaoi','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','36463UHAnnk','Local\x20file','Syncing...'];_0x1639=function(){return _0x2e433d;};return _0x1639();}(function(_0x4fa330,_0x2ca9f6){const _0x4abd76=_0x3956,_0x4ff4da=_0x4fa330();while(!![]){try{const _0x390587=-parseInt(_0x4abd76(0xd7))/0x1*(parseInt(_0x4abd76(0xcb))/0x2)+-parseInt(_0x4abd76(0xc7))/0x3*(-parseInt(_0x4abd76(0xce))/0x4)+-parseInt(_0x4abd76(0xda))/0x5*(parseInt(_0x4abd76(0xcc))/0x6)+parseInt(_0x4abd76(0xd4))/0x7*(-parseInt(_0x4abd76(0xcd))/0x8)+-parseInt(_0x4abd76(0xdb))/0x9+-parseInt(_0x4abd76(0xcf))/0xa*(-parseInt(_0x4abd76(0xd1))/0xb)+parseInt(_0x4abd76(0xc8))/0xc*(parseInt(_0x4abd76(0xd2))/0xd);if(_0x390587===_0x2ca9f6)break;else _0x4ff4da['push'](_0x4ff4da['shift']());}catch(_0x2c94b8){_0x4ff4da['push'](_0x4ff4da['shift']());}}}(_0x1639,0x6dd64));function _0x3956(_0x113a42,_0xbbee0){const _0x16395c=_0x1639();return _0x3956=function(_0x395684,_0x37edca){_0x395684=_0x395684-0xc6;let _0x89e184=_0x16395c[_0x395684];return _0x89e184;},_0x3956(_0x113a42,_0xbbee0);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x35b9a8(0xd8),'conflict':'Edit\x20conflicts','notCollab':_0x35b9a8(0xd5),'synced':'Synced','syncing':_0x35b9a8(0xd6),'offline':_0x35b9a8(0xd9)},'session':{'connection-failed':_0x35b9a8(0xc6),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x35b9a8(0xdc),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x35b9a8(0xc9)},'permission':{'title':'Authentication\x20Error','content':_0x35b9a8(0xd0)},'collaboration':{'single-unit':{'warning':_0x35b9a8(0xdd)},'closeRoom':_0x35b9a8(0xca)},'auth':{'needGotoLoginAlert':_0x35b9a8(0xd3)}},o=e;export{o as default};
1
+ const _0x45ea91=_0x2ce2;(function(_0x3c9808,_0x3b8f21){const _0x3ac177=_0x2ce2,_0x3d73d4=_0x3c9808();while(!![]){try{const _0x3771c9=-parseInt(_0x3ac177(0x1bd))/0x1*(-parseInt(_0x3ac177(0x1b6))/0x2)+-parseInt(_0x3ac177(0x1c8))/0x3*(-parseInt(_0x3ac177(0x1c1))/0x4)+parseInt(_0x3ac177(0x1c3))/0x5+-parseInt(_0x3ac177(0x1b5))/0x6*(-parseInt(_0x3ac177(0x1c7))/0x7)+parseInt(_0x3ac177(0x1c0))/0x8*(-parseInt(_0x3ac177(0x1c4))/0x9)+parseInt(_0x3ac177(0x1b7))/0xa+-parseInt(_0x3ac177(0x1c2))/0xb;if(_0x3771c9===_0x3b8f21)break;else _0x3d73d4['push'](_0x3d73d4['shift']());}catch(_0xa83428){_0x3d73d4['push'](_0x3d73d4['shift']());}}}(_0x55b4,0x646a3));function _0x2ce2(_0x4ab81d,_0x53245a){const _0x55b47f=_0x55b4();return _0x2ce2=function(_0x2ce221,_0xb06616){_0x2ce221=_0x2ce221-0x1b4;let _0x202c11=_0x55b47f[_0x2ce221];return _0x202c11;},_0x2ce2(_0x4ab81d,_0x53245a);}const e={'collab-client':{'tooltip':{'reconnect':_0x45ea91(0x1c6)}},'collabStatus':{'fetchMiss':_0x45ea91(0x1b4),'conflict':_0x45ea91(0x1ba),'notCollab':'Local\x20file','synced':_0x45ea91(0x1bb),'syncing':_0x45ea91(0x1bf),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x45ea91(0x1be),'will-retry':_0x45ea91(0x1b8),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x45ea91(0x1c9),'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':_0x45ea91(0x1c5),'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':_0x45ea91(0x1b9)},'closeRoom':_0x45ea91(0x1bc)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;function _0x55b4(){const _0x378d1e=['Syncing\x20server\x20data...','726jqVPvG','14mpelHC','3296900HZKDsi','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','Synced','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','92773nXqndn','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...','1432IImdAS','44awVnCk','5160672cNplSt','629000lJKxKc','35361PtaGiz','Authentication\x20Error','Click\x20to\x20Reconnect','18704XVJBhx','42417HxYBPV','Collaboration\x20Conflict'];_0x55b4=function(){return _0x378d1e;};return _0x55b4();}export{o as default};
@@ -1 +1 @@
1
- function _0x3bb6(_0x4a57f8,_0x2a5b61){const _0x26d09e=_0x26d0();return _0x3bb6=function(_0x3bb65b,_0x1a1982){_0x3bb65b=_0x3bb65b-0x1c9;let _0x539075=_0x26d09e[_0x3bb65b];return _0x539075;},_0x3bb6(_0x4a57f8,_0x2a5b61);}const _0xc015e5=_0x3bb6;(function(_0x3edd57,_0x4e3056){const _0x4aa58d=_0x3bb6,_0x1d6c84=_0x3edd57();while(!![]){try{const _0x403bdf=parseInt(_0x4aa58d(0x1de))/0x1+parseInt(_0x4aa58d(0x1d9))/0x2*(parseInt(_0x4aa58d(0x1dc))/0x3)+parseInt(_0x4aa58d(0x1d5))/0x4*(-parseInt(_0x4aa58d(0x1d0))/0x5)+parseInt(_0x4aa58d(0x1d7))/0x6+parseInt(_0x4aa58d(0x1cd))/0x7*(parseInt(_0x4aa58d(0x1d3))/0x8)+-parseInt(_0x4aa58d(0x1cb))/0x9+-parseInt(_0x4aa58d(0x1dd))/0xa*(parseInt(_0x4aa58d(0x1df))/0xb);if(_0x403bdf===_0x4e3056)break;else _0x1d6c84['push'](_0x1d6c84['shift']());}catch(_0x2f5422){_0x1d6c84['push'](_0x1d6c84['shift']());}}}(_0x26d0,0x1b9d5));const e={'collab-client':{'tooltip':{'reconnect':_0xc015e5(0x1da)}},'collabStatus':{'fetchMiss':_0xc015e5(0x1e0),'conflict':_0xc015e5(0x1d8),'notCollab':'Local\x20file','synced':_0xc015e5(0x1d2),'syncing':_0xc015e5(0x1cf),'offline':_0xc015e5(0x1ce)},'session':{'connection-failed':_0xc015e5(0x1cc),'will-retry':_0xc015e5(0x1db),'room-full':_0xc015e5(0x1d6),'collaboration-timeout':_0xc015e5(0x1ca)},'conflict':{'title':_0xc015e5(0x1c9),'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':_0xc015e5(0x1d4)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0xc015e5(0x1d1)}},o=e;function _0x26d0(){const _0x167bc6=['Click\x20to\x20Reconnect','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','120WiuCtv','1538510afHPTs','74196tEiKLi','11SQLhwb','Syncing\x20server\x20data...','Collaboration\x20Conflict','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1157193QOMeHm','Connection\x20failed,\x20please\x20check\x20your\x20network.','1477qPhnnx','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','147130DYFXBF','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Synced','5536ZxkmQC','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','12jUoWid','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','923562yTNQHs','Edit\x20conflicts','5484izqmlk'];_0x26d0=function(){return _0x167bc6;};return _0x26d0();}export{o as default};
1
+ const _0x1f5ec9=_0x5511;(function(_0x151a3f,_0x24a051){const _0x283fac=_0x5511,_0x360da8=_0x151a3f();while(!![]){try{const _0x3750f9=parseInt(_0x283fac(0xd6))/0x1*(parseInt(_0x283fac(0xe3))/0x2)+parseInt(_0x283fac(0xdc))/0x3*(parseInt(_0x283fac(0xd7))/0x4)+parseInt(_0x283fac(0xea))/0x5*(-parseInt(_0x283fac(0xe6))/0x6)+parseInt(_0x283fac(0xe2))/0x7*(-parseInt(_0x283fac(0xeb))/0x8)+-parseInt(_0x283fac(0xe5))/0x9+-parseInt(_0x283fac(0xe8))/0xa*(parseInt(_0x283fac(0xd9))/0xb)+parseInt(_0x283fac(0xe1))/0xc*(parseInt(_0x283fac(0xda))/0xd);if(_0x3750f9===_0x24a051)break;else _0x360da8['push'](_0x360da8['shift']());}catch(_0x445fcc){_0x360da8['push'](_0x360da8['shift']());}}}(_0xd837,0x2a409));function _0xd837(){const _0x26a8b4=['3284904HBmQWo','83461ceCRNG','125516QyRRPA','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1054413HpWRsd','6rbewwl','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','20azRRrR','Connection\x20failed,\x20please\x20check\x20your\x20network.','1258505EDqrEf','32nJoDkn','Synced','Syncing...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1FYQBLE','6116YAjTwB','Collaboration\x20Conflict','1661077thQHjT','39VyaWfb','Click\x20to\x20Reconnect','15xJLbtO','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error'];_0xd837=function(){return _0x26a8b4;};return _0xd837();}function _0x5511(_0x22920c,_0x47f6ce){const _0xd83733=_0xd837();return _0x5511=function(_0x5511f6,_0x16a917){_0x5511f6=_0x5511f6-0xd6;let _0x573a88=_0xd83733[_0x5511f6];return _0x573a88;},_0x5511(_0x22920c,_0x47f6ce);}const e={'collab-client':{'tooltip':{'reconnect':_0x1f5ec9(0xdb)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x1f5ec9(0xec),'syncing':_0x1f5ec9(0xed),'offline':_0x1f5ec9(0xee)},'session':{'connection-failed':_0x1f5ec9(0xe9),'will-retry':_0x1f5ec9(0xe7),'room-full':_0x1f5ec9(0xde),'collaboration-timeout':_0x1f5ec9(0xdd)},'conflict':{'title':_0x1f5ec9(0xd8),'content':_0x1f5ec9(0xef)},'permission':{'title':_0x1f5ec9(0xe0),'content':_0x1f5ec9(0xe4)},'collaboration':{'single-unit':{'warning':_0x1f5ec9(0xdf)},'closeRoom':_0x1f5ec9(0xf0)},'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 _0x3d2fa9=_0x3e6b;(function(_0x2eb678,_0x10c4fc){const _0x501597=_0x3e6b,_0x27db80=_0x2eb678();while(!![]){try{const _0x2697ed=parseInt(_0x501597(0x10a))/0x1+-parseInt(_0x501597(0x106))/0x2+parseInt(_0x501597(0x103))/0x3*(parseInt(_0x501597(0x107))/0x4)+parseInt(_0x501597(0x101))/0x5+-parseInt(_0x501597(0xf9))/0x6+parseInt(_0x501597(0xfc))/0x7+-parseInt(_0x501597(0x10d))/0x8*(parseInt(_0x501597(0xfb))/0x9);if(_0x2697ed===_0x10c4fc)break;else _0x27db80['push'](_0x27db80['shift']());}catch(_0x15d3e7){_0x27db80['push'](_0x27db80['shift']());}}}(_0x296a,0x79736));const e={'collab-client':{'tooltip':{'reconnect':_0x3d2fa9(0xfa)}},'collabStatus':{'fetchMiss':_0x3d2fa9(0x10c),'conflict':_0x3d2fa9(0xfd),'notCollab':_0x3d2fa9(0x105),'synced':'Synced','syncing':_0x3d2fa9(0x10e),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x3d2fa9(0x104),'room-full':_0x3d2fa9(0x102),'collaboration-timeout':_0x3d2fa9(0x100)},'conflict':{'title':_0x3d2fa9(0xff),'content':_0x3d2fa9(0x10b)},'permission':{'title':_0x3d2fa9(0x108),'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':_0x3d2fa9(0x10f)},'closeRoom':_0x3d2fa9(0x109)},'auth':{'needGotoLoginAlert':_0x3d2fa9(0xfe)}},o=e;export{o as default};function _0x3e6b(_0x50ec4a,_0x14cf14){const _0x296ad8=_0x296a();return _0x3e6b=function(_0x3e6b82,_0x30c423){_0x3e6b82=_0x3e6b82-0xf9;let _0x562521=_0x296ad8[_0x3e6b82];return _0x562521;},_0x3e6b(_0x50ec4a,_0x14cf14);}function _0x296a(){const _0x24ab73=['4839394WlUTZJ','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2881295OfbNqA','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','360177AFXNqI','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Local\x20file','540328nHgQxG','4vFfXLg','Authentication\x20Error','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','555202ZSvovX','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.','Syncing\x20server\x20data...','18704EPkRxi','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','3656640qSEkOl','Click\x20to\x20Reconnect','2178ZVIfxB'];_0x296a=function(){return _0x24ab73;};return _0x296a();}
1
+ const _0x428ac7=_0x17e6;(function(_0x3ed3b1,_0x2fb45f){const _0x2f68be=_0x17e6,_0x1e75f9=_0x3ed3b1();while(!![]){try{const _0x1fa831=-parseInt(_0x2f68be(0x1ac))/0x1*(-parseInt(_0x2f68be(0x1a6))/0x2)+-parseInt(_0x2f68be(0x1a9))/0x3+-parseInt(_0x2f68be(0x1a0))/0x4+-parseInt(_0x2f68be(0x1aa))/0x5*(parseInt(_0x2f68be(0x1ad))/0x6)+-parseInt(_0x2f68be(0x1a4))/0x7+-parseInt(_0x2f68be(0x19b))/0x8+-parseInt(_0x2f68be(0x1a2))/0x9*(-parseInt(_0x2f68be(0x19a))/0xa);if(_0x1fa831===_0x2fb45f)break;else _0x1e75f9['push'](_0x1e75f9['shift']());}catch(_0x1ec067){_0x1e75f9['push'](_0x1e75f9['shift']());}}}(_0x275e,0xa6ce8));function _0x275e(){const _0x50545c=['2741310NnNVEQ','3554900isMBju','Syncing\x20server\x20data...','254923qpZdOO','6SGZQyK','Authentication\x20Error','4280YjPueH','4996320yUolJR','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.','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.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','4548192gpXKkh','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','105813JusNpq','Local\x20file','8521387NyorJM','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2IkeFaX','Edit\x20conflicts','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x275e=function(){return _0x50545c;};return _0x275e();}function _0x17e6(_0x1a76a9,_0x15c5b0){const _0x275ef6=_0x275e();return _0x17e6=function(_0x17e622,_0x4668d3){_0x17e622=_0x17e622-0x199;let _0xdefd30=_0x275ef6[_0x17e622];return _0xdefd30;},_0x17e6(_0x1a76a9,_0x15c5b0);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x428ac7(0x1ab),'conflict':_0x428ac7(0x1a7),'notCollab':_0x428ac7(0x1a3),'synced':'Synced','syncing':'Syncing...','offline':_0x428ac7(0x1a8)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x428ac7(0x1a5),'room-full':_0x428ac7(0x1a1),'collaboration-timeout':_0x428ac7(0x19f)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x428ac7(0x19e)},'permission':{'title':_0x428ac7(0x199),'content':_0x428ac7(0x19c)},'collaboration':{'single-unit':{'warning':_0x428ac7(0x19d)},'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;export{o as default};
@@ -1 +1 @@
1
- const _0x4aeaac=_0x4db5;function _0x4db5(_0x54be85,_0x31071a){const _0x10fdb9=_0x10fd();return _0x4db5=function(_0x4db574,_0x5a5268){_0x4db574=_0x4db574-0x9b;let _0xd85d45=_0x10fdb9[_0x4db574];return _0xd85d45;},_0x4db5(_0x54be85,_0x31071a);}function _0x10fd(){const _0x341c97=['108522oBhYbq','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','4ZRkpZL','点击重新连接','已离线,编辑将在本地缓存','10126660kGHzie','由于协同房间被关闭,编辑权限被收回。','连接失败,将在一会儿之后重试连接','协同房间已满,你的编辑将在本地缓存','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','协同冲突','1700fUQGoO','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','634212pLcIVO','1724585ruNBZf','632iyDygd','正在拉取服务端数据...','已同步','保存中...','编辑冲突','连接失败,请检查你的网络','权限错误','本地文件','432MTwFkW','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','2759016jntWwc','5405603uOcsTs'];_0x10fd=function(){return _0x341c97;};return _0x10fd();}(function(_0x187e7c,_0x4f6e6e){const _0x3a9c81=_0x4db5,_0x121534=_0x187e7c();while(!![]){try{const _0x260106=parseInt(_0x3a9c81(0xb3))/0x1*(parseInt(_0x3a9c81(0xa7))/0x2)+-parseInt(_0x3a9c81(0xa9))/0x3+parseInt(_0x3a9c81(0x9e))/0x4*(parseInt(_0x3a9c81(0xaa))/0x5)+-parseInt(_0x3a9c81(0xb5))/0x6+parseInt(_0x3a9c81(0x9b))/0x7+-parseInt(_0x3a9c81(0xab))/0x8*(-parseInt(_0x3a9c81(0x9c))/0x9)+-parseInt(_0x3a9c81(0xa1))/0xa;if(_0x260106===_0x4f6e6e)break;else _0x121534['push'](_0x121534['shift']());}catch(_0x4b9b46){_0x121534['push'](_0x121534['shift']());}}}(_0x10fd,0xb7d7e));const o={'collab-client':{'tooltip':{'reconnect':_0x4aeaac(0x9f)}},'collabStatus':{'fetchMiss':_0x4aeaac(0xac),'conflict':_0x4aeaac(0xaf),'notCollab':_0x4aeaac(0xb2),'synced':_0x4aeaac(0xad),'syncing':_0x4aeaac(0xae),'offline':_0x4aeaac(0xa0)},'session':{'connection-failed':_0x4aeaac(0xb0),'will-retry':_0x4aeaac(0xa3),'room-full':_0x4aeaac(0xa4),'collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':_0x4aeaac(0xa6),'content':_0x4aeaac(0x9d)},'permission':{'title':_0x4aeaac(0xb1),'content':_0x4aeaac(0xb4)},'collaboration':{'single-unit':{'warning':_0x4aeaac(0xa8)},'closeRoom':_0x4aeaac(0xa2)},'auth':{'needGotoLoginAlert':_0x4aeaac(0xa5)}};export{o as default};
1
+ const _0x22f1f4=_0x317f;function _0x317f(_0xac558e,_0x3d9957){const _0x212f61=_0x212f();return _0x317f=function(_0x317f5a,_0x7f7cb){_0x317f5a=_0x317f5a-0xe0;let _0x54a0d4=_0x212f61[_0x317f5a];return _0x54a0d4;},_0x317f(_0xac558e,_0x3d9957);}(function(_0x4c4e4e,_0x32018d){const _0x41b9da=_0x317f,_0xff9a60=_0x4c4e4e();while(!![]){try{const _0x47b6bd=-parseInt(_0x41b9da(0xf3))/0x1*(parseInt(_0x41b9da(0xf0))/0x2)+parseInt(_0x41b9da(0xe6))/0x3+parseInt(_0x41b9da(0xee))/0x4*(-parseInt(_0x41b9da(0xe7))/0x5)+parseInt(_0x41b9da(0xf6))/0x6+-parseInt(_0x41b9da(0xe1))/0x7*(-parseInt(_0x41b9da(0xe8))/0x8)+parseInt(_0x41b9da(0xe5))/0x9*(parseInt(_0x41b9da(0xed))/0xa)+-parseInt(_0x41b9da(0xec))/0xb;if(_0x47b6bd===_0x32018d)break;else _0xff9a60['push'](_0xff9a60['shift']());}catch(_0x1c024d){_0xff9a60['push'](_0xff9a60['shift']());}}}(_0x212f,0x440be));const o={'collab-client':{'tooltip':{'reconnect':_0x22f1f4(0xe2)}},'collabStatus':{'fetchMiss':_0x22f1f4(0xf5),'conflict':_0x22f1f4(0xef),'notCollab':'本地文件','synced':_0x22f1f4(0xe0),'syncing':'保存中...','offline':_0x22f1f4(0xf7)},'session':{'connection-failed':_0x22f1f4(0xeb),'will-retry':_0x22f1f4(0xea),'room-full':'协同房间已满,你的编辑将在本地缓存','collaboration-timeout':_0x22f1f4(0xe4)},'conflict':{'title':_0x22f1f4(0xf2),'content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':'权限错误','content':_0x22f1f4(0xe9)},'collaboration':{'single-unit':{'warning':_0x22f1f4(0xe3)},'closeRoom':_0x22f1f4(0xf1)},'auth':{'needGotoLoginAlert':_0x22f1f4(0xf4)}};export{o as default};function _0x212f(){const _0x1613c0=['编辑冲突','36824zzidsh','由于协同房间被关闭,编辑权限被收回。','协同冲突','9GwIsdc','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','正在拉取服务端数据...','587178PJwOZG','已离线,编辑将在本地缓存','已同步','2125592Nbkamd','点击重新连接','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','服务器未响应,你的编辑将在本地缓存','14949huqizM','1108365KCCOvH','5NwmZgH','8fSyNQj','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','连接失败,将在一会儿之后重试连接','连接失败,请检查你的网络','3276064YxvKiE','2930qvBtek','2061588wjVbCx'];_0x212f=function(){return _0x1613c0;};return _0x212f();}
@@ -1 +1 @@
1
- function _0x3d41(){const _0x42ac0f=['6223336evSQqo','Connection\x20failed,\x20please\x20check\x20your\x20network.','Click\x20to\x20Reconnect','Edit\x20conflicts','Local\x20file','Authentication\x20Error','Synced','16090vJEnXR','143096MJqObl','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','206702CSJgxa','216vQQxKy','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.','854691wRMyRq','2190dWXemp','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.','4FxKxDN','3348808BiykSo','44MdiFWD','7143440WtDdne','Collaboration\x20Conflict'];_0x3d41=function(){return _0x42ac0f;};return _0x3d41();}function _0x2cac(_0x154a91,_0x33541a){const _0x3d4109=_0x3d41();return _0x2cac=function(_0x2caca5,_0x27c302){_0x2caca5=_0x2caca5-0x6b;let _0x2c075f=_0x3d4109[_0x2caca5];return _0x2c075f;},_0x2cac(_0x154a91,_0x33541a);}const _0x5c783a=_0x2cac;(function(_0x5cde0c,_0x6f24ae){const _0x58e7d4=_0x2cac,_0x4dc73a=_0x5cde0c();while(!![]){try{const _0x2850d2=parseInt(_0x58e7d4(0x71))/0x1+parseInt(_0x58e7d4(0x78))/0x2*(-parseInt(_0x58e7d4(0x75))/0x3)+parseInt(_0x58e7d4(0x79))/0x4+parseInt(_0x58e7d4(0x6d))/0x5*(-parseInt(_0x58e7d4(0x76))/0x6)+-parseInt(_0x58e7d4(0x7d))/0x7+parseInt(_0x58e7d4(0x6e))/0x8*(-parseInt(_0x58e7d4(0x72))/0x9)+-parseInt(_0x58e7d4(0x7b))/0xa*(-parseInt(_0x58e7d4(0x7a))/0xb);if(_0x2850d2===_0x6f24ae)break;else _0x4dc73a['push'](_0x4dc73a['shift']());}catch(_0x44fe91){_0x4dc73a['push'](_0x4dc73a['shift']());}}}(_0x3d41,0xccbb4));const e={'collab-client':{'tooltip':{'reconnect':_0x5c783a(0x7f)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x5c783a(0x80),'notCollab':_0x5c783a(0x81),'synced':_0x5c783a(0x6c),'syncing':'Syncing...','offline':_0x5c783a(0x70)},'session':{'connection-failed':_0x5c783a(0x7e),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x5c783a(0x7c),'content':_0x5c783a(0x77)},'permission':{'title':_0x5c783a(0x6b),'content':_0x5c783a(0x74)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x5c783a(0x6f)},'auth':{'needGotoLoginAlert':_0x5c783a(0x73)}},o=e;export{o as default};
1
+ function _0x3e6e(_0x3e5aa2,_0x4cfc39){const _0x13786e=_0x1378();return _0x3e6e=function(_0x3e6ec1,_0x2dd72d){_0x3e6ec1=_0x3e6ec1-0x102;let _0x5466f8=_0x13786e[_0x3e6ec1];return _0x5466f8;},_0x3e6e(_0x3e5aa2,_0x4cfc39);}const _0x382825=_0x3e6e;(function(_0x2b40e0,_0x4b908f){const _0x170683=_0x3e6e,_0x5a53db=_0x2b40e0();while(!![]){try{const _0x3d262e=-parseInt(_0x170683(0x111))/0x1+parseInt(_0x170683(0x110))/0x2+-parseInt(_0x170683(0x107))/0x3+parseInt(_0x170683(0x10c))/0x4*(parseInt(_0x170683(0x10f))/0x5)+-parseInt(_0x170683(0x114))/0x6+-parseInt(_0x170683(0x104))/0x7+-parseInt(_0x170683(0x106))/0x8*(-parseInt(_0x170683(0x109))/0x9);if(_0x3d262e===_0x4b908f)break;else _0x5a53db['push'](_0x5a53db['shift']());}catch(_0x18c08f){_0x5a53db['push'](_0x5a53db['shift']());}}}(_0x1378,0xa8ed7));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x382825(0x102),'notCollab':_0x382825(0x10d),'synced':'Synced','syncing':'Syncing...','offline':_0x382825(0x108)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x382825(0x105),'room-full':_0x382825(0x10e),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x382825(0x10b),'content':_0x382825(0x113)},'permission':{'title':'Authentication\x20Error','content':_0x382825(0x112)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x382825(0x10a)},'auth':{'needGotoLoginAlert':_0x382825(0x103)}},o=e;export{o as default};function _0x1378(){const _0x1acbac=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','25YVosOt','1848864DGzSrl','767468HbChjz','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','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.','7026390aJVYNb','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3729516qNIocZ','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','15951032GAvlqf','3187689kJpGqL','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','9TWrGDw','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20Conflict','1046000Cckhhs','Local\x20file'];_0x1378=function(){return _0x1acbac;};return _0x1378();}
package/lib/facade.js ADDED
@@ -0,0 +1 @@
1
+ var _0x10d1f8=_0x5f55;(function(_0x6e8b6,_0x4f9c46){var _0x5635c3=_0x5f55,_0xaeda56=_0x6e8b6();while(!![]){try{var _0x1528cc=parseInt(_0x5635c3(0x125))/0x1+parseInt(_0x5635c3(0x126))/0x2+-parseInt(_0x5635c3(0x11f))/0x3+-parseInt(_0x5635c3(0x122))/0x4+-parseInt(_0x5635c3(0x11d))/0x5*(parseInt(_0x5635c3(0x124))/0x6)+-parseInt(_0x5635c3(0x120))/0x7*(-parseInt(_0x5635c3(0x11c))/0x8)+parseInt(_0x5635c3(0x123))/0x9;if(_0x1528cc===_0x4f9c46)break;else _0xaeda56['push'](_0xaeda56['shift']());}catch(_0x4a70ac){_0xaeda56['push'](_0xaeda56['shift']());}}}(_0x1f13,0x6a203));import{RemoteUniscriptService as _0x3d1b49}from'@univerjs-pro/collaboration-client-ui';import{FUniver as _0x209a3a}from'@univerjs/core/facade';function _0x1f13(){var _0x15adf5=['24eRKvZd','10kgbewk','get','2605884yaghrD','361039QwnEJr','runOnServer','2387028aYxopl','10409301JxyPmH','230988Myajcv','231599dLvRtB','868306qSUNin'];_0x1f13=function(){return _0x15adf5;};return _0x1f13();}function _0x5f55(_0xab2ddf,_0x301720){var _0x1f137e=_0x1f13();return _0x5f55=function(_0x5f55a3,_0x243d0f){_0x5f55a3=_0x5f55a3-0x11c;var _0x7b90e5=_0x1f137e[_0x5f55a3];return _0x7b90e5;},_0x5f55(_0xab2ddf,_0x301720);}class o extends _0x209a3a{[_0x10d1f8(0x121)](_0x2b4f96,_0x141e6d,..._0x46bd09){var _0x450044=_0x10d1f8;return this['_injector'][_0x450044(0x11e)](_0x3d1b49)[_0x450044(0x121)](_0x2b4f96,_0x141e6d,{},..._0x46bd09);}}_0x209a3a['extend'](o);
package/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ const _0xcffedf=_0x12c7;(function(_0x3711a8,_0x233c98){const _0x362895=_0x12c7,_0x2237b9=_0x3711a8();while(!![]){try{const _0x3b960e=-parseInt(_0x362895(0x226))/0x1*(-parseInt(_0x362895(0x30e))/0x2)+-parseInt(_0x362895(0x1e9))/0x3+parseInt(_0x362895(0x395))/0x4+-parseInt(_0x362895(0x35e))/0x5*(-parseInt(_0x362895(0x328))/0x6)+parseInt(_0x362895(0x2cd))/0x7+-parseInt(_0x362895(0x33c))/0x8+-parseInt(_0x362895(0x2ce))/0x9;if(_0x3b960e===_0x233c98)break;else _0x2237b9['push'](_0x2237b9['shift']());}catch(_0x507563){_0x2237b9['push'](_0x2237b9['shift']());}}}(_0x2072,0x77765));var kt=Object[_0xcffedf(0x2b1)],Bt=(_0x157529,_0xe0a583,_0x166cd7)=>_0xe0a583 in _0x157529?kt(_0x157529,_0xe0a583,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x166cd7}):_0x157529[_0xe0a583]=_0x166cd7,h=(_0x361465,_0x554da3,_0x2c5dd3)=>Bt(_0x361465,typeof _0x554da3!=_0xcffedf(0x2f1)?_0x554da3+'':_0x554da3,_0x2c5dd3);import{MemberService as _0x2565e4,SessionStatus as _0x3af92a,CollaborationSessionService as _0x5f16f8,CollaborationStatus as _0x137632,CollaborationController as _0x832d1d,ILocalCacheService as _0x126658,CollaborationUIEventService as _0x7f3d0,CollaborationUIEventId as _0x9322c9,DataLoaderService as _0x1e714f,DocCollaborationEntity as _0x2d9bad,getLocalCacheKey as _0x34f8b4,LOCAL_CACHE_INTERVAL as _0x10b28c,LOCAL_CACHE_INTERVAL_KEY as _0x4715a3,UniverCollaborationClientPlugin as _0x57b005,CollaborationSocketService as _0x4dbbb9,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x470c49,DEFAULT_WS_SESSION_TICKET_URL as _0x2171c7,UnitStatus as _0x113adb,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5734b9,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x155a2d}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x338310,Disposable as _0xc24441,DOC_RANGE_TYPE as _0x4fe6e8,Inject as _0x695648,Injector as _0xf56663,IUniverInstanceService as _0x2eb697,ICommandService as _0x42a8e8,debounce as _0x1dac78,Rectangle as _0x221a3e,DisposableCollection as _0x20ab04,toDisposable as _0x331a4b,UniverInstanceType as _0x303793,Tools as _0x5a8d3d,COLORS as _0x37065d,ColorKit as _0x4aabd4,ThemeService as _0x354126,fromEventSubject as _0x164d9e,LocaleService as _0x3f07ff,createIdentifier as _0x3e6261,ILogService as _0x5ba7eb,Optional as _0x1e5a1d,Workbook as _0xdaef1e,CommandType as _0x373aa,IConfigService as _0x572b85,ILocalStorageService as _0x1a67f4,DependentOn as _0x5a4598,Plugin as _0x45285f,merge as _0x3607e9,registerDependencies as _0x494b98,mergeOverrideWithDependencies as _0xd21d36,touchDependencies as _0x1ef034,generateRandomId as _0x31de42}from'@univerjs/core';import{Shape as _0x3c2d29,Rect as _0x56d092,getColor as _0xb3434b,RegularPolygon as _0x23da66,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1bb768,Vector2 as _0x286b83,SHEET_VIEWPORT_KEY as _0x2f411e,IRenderManagerService as _0x30ea9d}from'@univerjs/engine-render';import{ISocketService as _0x10dbd8,WebSocketService as _0x18102c,HTTPService as _0x56ebd1}from'@univerjs/network';import{IDocClipboardService as _0x54e1a8,NodePositionConvertToCursor as _0x1399c2,NodePositionConvertToRectRange as _0x9071bc,TEXT_RANGE_LAYER_INDEX as _0x28b64b,SetDocZoomRatioOperation as _0x49f093,DocIMEInputManagerService as _0xac9c66,DocStateChangeManagerService as _0x53243c}from'@univerjs/docs-ui';import{IImageIoService as _0x12d19e}from'@univerjs/drawing';import{BehaviorSubject as _0x2d4022,debounceTime as _0x19e4fc,takeUntil as _0x57ae48,Subject as _0x4bb65e,filter as _0x113b47,switchMap as _0x41f1c9,merge as _0x18c199,combineLatest as _0x1f100e,of as _0x1ed1a0,fromEvent as _0x33a215,shareReplay as _0x5f0d6e,mapTo as _0x51b0df,distinctUntilChanged as _0x171feb}from'rxjs';import{SetTextSelectionsOperation as _0x55ae82,RichTextEditingMutation as _0x3c0bff,DocSelectionManagerService as _0x368efa,DocSkeletonManagerService as _0x1a9a71}from'@univerjs/docs';import{ITransformService as _0x220f1b,CollaborationEvent as _0x266eef,isTransformMutationFailure as _0x488cde,isTransformMutationsWithChangesetSuccess as _0x2f9375,RevisionService as _0x579428,ISnapshotServerService as _0x3ab12a}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x5cb000,serializeRangeWithSheet as _0x1dca4a}from'@univerjs/engine-formula';function _0x2072(){const _0x29f5c9=['skeleton','requireSession','_univerInstanceService','defineProperty','arc','getUnitId','_cursor','reconnect','div','search','_saveTaskMap','red300','saveTaskMap','substring','_entities','_cursorShapes','findNodePositionByCharIndex','_handleEvent','_docSkeleton','values','createInstance','_color','_initStatusListener','none','addObject','attrs','href','_startDocCollabCursor','_imageIoService','YUUMI_URL_COL_OUT_OF_RANGE','syncEditingCollabCursor','1224559vdvdqN','12688335HRGVse','restore','currentTheme$','type','sheetID','registerRenderModule','_onCursorUpdate','getOwnPropertyDescriptor','_syncEditingCollabCursorService','_configService','_doCreateSocket','getCollabEntity$','permission.title','_colorIndex','collab-client.tooltip.reconnect','_updateLocalCursor','hasOwnProperty','_beforeCloseService','session.collaboration-timeout','createSocket','TEXT','_assignedColors','getAncestorScale','invokeId','concat','current','ACTIVE_UNIT_EVENT_CHANNEL','_scene','xlink:href','textRanges','_transformHistoryAndStateStack','replaceState','asObservable','RemoveRowCommandId','collabCursorState$','symbol','jiqing500','error','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_REVISION_CONFILICT','getConfig','onMouseMove','_roomMembers$','univerjs-icon\x20univerjs-icon-','_colorAssignService','transformRemoteChangeset','deepClone','exhaustSavingTask','_docStateChangeManagerService','InsertColCommandId','LICENSE_MAX_UNITS_EXCEEDED','setActiveRange','getOwnPropertySymbols','currentSkeleton$','_transformPreviousActiveRange','set','InsertRangeMoveDownCommandId','doc.mutation.rich-text-editing','_getAnchorBounding','APPLY_NON_SEQUENTIAL_REVISION','range','on-line-single_clip0_910_349','...','getCollabCursors$','571562EdmWXQ','_logService','_collabCursorState$','runId','_session','RECT','_handleHover','show','_heartbeatTimer','_docSkeletonManagerService','sheetId','delete','collabStatus.fetchMiss','propertyIsEnumerable','engine','_drawRectRange','round','_entityInit$','data','PENDING','addObjects','INVITE_CODE_REQUIRED','_docTransformStateCacheService','labelPosition','_localeService','_hover','2760LaskPl','_transformUndoRedoStack','resize','collabStatus.offline','eventID','cursorInfo$','m2Prime','_initEvent','MUTATION','collabStatus.conflict','stringify','_initCommandExecutedListener','dispose','CONNECTOR_DATA_TOO_LARGE','_docSyncEditingCollabCursorService','body','removeParam','_drawAnchor','LICENSE_IMPORT_SIZE_EXCEEDED','_disabled','450488LgiSJo','onlineStatus','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collaboration.closeRoom','executeCommand','onPointerEnter$','YUUMI_SUBSCRIPTION_NOT_FOUND','forEach','beginPath','OffLineSingle','trim','className','editingUnit','getSkeleton','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_range','whenReady','_renderManagerService','urlChange$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_drawTextRange','getActiveSheet','_context','column','getActiveRange','docStateChange$','_hideTimer','disposeUnit','undoState','hide','hovered','imageSourceType','roomMembers','storage','10530RFHcZX','icon','some','SNAPSHOT_INVALID_SNAPSHOT','code','post','mutations','call','collabStatus.notCollab','font','_updateCollabCursors','idSuffix','_instanceService','setStateCache','UNRECOGNIZED','svg','getCellPositionByOffset','_httpService','transformIMECache','_shapes','_status$','USERS_LEAVE','_unitStatus','pushState','find','INVITE_CODE_ALREADY_BOUND','DeleteRangeMoveUpCommandId','string','_sheetSkeletonManagerService','prototype','fillStyle','_ensureSubject','ticket','assign','wsSessionTicketUrl','getRangePointData','ENSURE_SNAPSHOT_EXECUTION','_getSessionTicket','fillText','setItem','key','_cursors','searchParams','_docTransformIMECacheService','entries','_draw','save','_name','indexOf','addClipboardHook','registerComponent','unshift','_selfUnitIDs','_messageService','addEventListener','63372CusCxQ','mask','Error','_initEntityListener','send','application/json','_localStorageService','url(#$1','m1Prime','OTHER_CLIENT_EDITING','setInterval','top','_commandService','Warning','SNAPSHOT_HAS_BEEN_REMOVED','unitId','unsubscribe','_cursorInfo$','_getSheetObject','AWAITING_WITH_PENDING','onTransformChange$','_docClipboardService','_memberService','replace','_online','_handleHeartbeatEvent','subUnitId','clipPath','Unknown\x20user','_dataLoaderService','UNDEFINED','_removeClearOtherTimer','override','_setupBeforeClosingHandler','registerRefRange','transformByState','0\x200\x2017\x2016','LOGIN_FAILED','size','_anchorDot','disableLocalCache','getTypeOfUnitAdded$','length','_anchor','_toggleOnline','LICENSE_EXPORT_SIZE_EXCEEDED','displayName','_labelPosition','redoState','uni.network.url-service','getValue','selections','executionId','INVALID_ARGUMENT','max','_updateSubUnitFromURLParams','getCurrentSelections','CLOSE_ROOM','tag','_cachedData','_lastPointer','_eventUnsubscribe','name','_collaborationController','source','function','PERMISSION_DENIED','getViewport','measureText','clearTimeout','session.will-retry','univer-online-status','_init','subscribe','rgba(255,\x20255,\x20255,\x200.01)','/run/','_startSheetCollabCursor','makeDirty','session.connection-failed','_initStatusComponent','fill','_docTransformSelectionsService','UNAUTHENTICATED','drawWith','setShapeProps','NOT_COLLAB','_removeCollabCursors','univer-online','_toggleOffline','184320BqMUOa','_hovered','subunit','APPLY_PERMISSION_DENIED','_handleJoinEvent','saveOfflineData','backgroundColor','_getScale','verdancy600','FromArray','HEADER_MENU','extend','clearInterval','_injector','text','newValue','[CollaborationDataLoaderController]','_revisionService','YUUMI_RATE_OVER_LIMIT','startsWith','onCommandExecuted','next','_registerDependencies','Failed','univer-flex\x20univer-items-center','map','collab-text-anchor-','currentColor','_config','origin','runOnServer','contains','onStarting','_unitOnClients','_themeService','min','getOffsetConfig','transformSelections','INVITE_CODE_HAS_BEEN_UES','_scheduleHeartbeat','_onCursorDelete','toRgbString','unload','_uiPartsService','_onRefRangeChange','_localCacheService','parse','_transformService','disposeWithMe','isEditing','get','getStateCache','from','replaceDocRanges','getUndoRedoMutationParamsCache','_refreshCollabCursors','PY_RUNTIME_SCRIPT_ERROR','loadUnit','getMemberID','COMPLETION_FINISHED','LICENSE_DISTRO_REJECTED','3gzasEx','getMember','_refRangeService','transformMutation','_id','width','_updateURLWithCurrentState','dispose$','onRendered','_getSaveTimeout','push','_clearOtherTimers','fillRule','SUBMIT_CHANGESET_TIMEOUT','has','defIds','JOIN_ROOM_FAILED','subscribeEvent','defs','debug','getSheetId','black','_textBubble','startColumn','_scheduleClearOtherTimer','OFFLINE','actions','getCurrentRevOfUnit','transform','UPDATE_CURSOR','getRenderById','pipe','event$','add','UNIVER_SHEET','CONFLICT','unitID','translate(.97)','ALREADY_EXISTS','ranges','#FFF','_urlService','generateRandomId','InsertRangeMoveRightCommandId','getTypeOfUnitDisposed$','setAlpha','transformMutationsWithChangeset','_registerRenderDependencies','off-line-single','_initResize','off-line-single_clip0_910_343','onlineStatusIcon','_backgroundColor','triggerDblclick','NOT_FOUND','blue400','use','init','transformStateCache','getParam','setUndoRedoMutationParamsCache','url(#on-line-single_clip0_910_349)','row','then','with','getFocusedUnit','SOCKET_FAILED','_scheduleSaving','_saveCache','addHandlerCallback','sessionTicket','bottom','gold400','_handleLeaveEvent','random','CHANGESET_REVISION_CONFILICT','evenodd','endColumn','flatMap','collabStatus.syncing','getRelativeToViewportCoord','_initDependencies','setConfig','_notificationService','#fff','lineTo','collaboration.single-unit.warning','path','apply','OnLineSingle','color','1em','complete','_collaborationUIEventService','all','enableLocalCache','_render','getVpScrollXYInfoByPosToVp','location','selection','INVALID_INVITE_CODE','UNIVER_DOC','TOO_MANY_REQUESTS','univer-online-status-icon','colorChannel1','assignAColorForMemberID','USER_NOT_INVITED_CODE','OTHER_CLIENTS_EDITING','children','toString','purple300','isArray','history','APPLY_REJECT','onLocalMutation','ONLINE','APPLY_DUPLICATED','M0\x200H16V16H0z','params','onPointerLeave$','getCurrent','_setupSubUnitSync','activeSheet$','cursorInfo','getSheetBySheetId','_send','_collabSessionService','NO_OTHER_CLIENTS_EDITING','roomMembers$','split','_collabCursorController','getUnitStatus$','sessionStatus$','height','YUUMI_UNABLE_LOAD_URL','startRow'];_0x2072=function(){return _0x29f5c9;};return _0x2072();}import{RefRangeService as _0x2dd86c,SetSelectionsOperation as _0x388df6,SheetsSelectionsService as _0x336669,EffectRefRangId as _0x1c31c2,handleIRemoveRow as _0x27e686,handleIRemoveCol as _0x50cdbc,handleMoveRange as _0x440022,handleInsertRow as _0x234468,handleInsertRangeMoveRight as _0x5d275b,handleInsertRangeMoveDown as _0x54e3e6,handleInsertCol as _0x20383d,handleDeleteRangeMoveUp as _0x15f4e1,handleDeleteRangeMoveLeft as _0x3f28df,runRefRangeMutations as _0x7775e0,SetWorksheetActivateCommand as _0x196a98}from'@univerjs/sheets';import{map as _0x3fb663,filter as _0x2b5352,throttleTime as _0x5a984a,takeUntil as _0x476ec8,switchMap as _0x58ce36}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3d0cf7,getCoordByCell as _0x5bfc73,getSheetObject as _0x50a38e}from'@univerjs/sheets-ui';import{jsx as _0x48955e,jsxs as _0x319213}from'react/jsx-runtime';import{useObservable as _0x4043f5,useDependency as _0x591ef1,IUIPartsService as _0x3ab811,BuiltInUIPart as _0x32b901,connectInjector as _0xd3d186,IBeforeCloseService as _0x25b1ff,IMessageService as _0x2b6d87,INotificationService as _0x15b647}from'@univerjs/ui';import{clsx as _0x1bbc21,Tooltip as _0x6abde0,MessageType as _0x1c39d7}from'@univerjs/design';import{forwardRef as _0x2f8f96,useRef as _0x592de7,createElement as _0x35062d,useCallback as _0x3e46bb}from'react';import{IRemoteInstanceService as _0x22f530}from'@univerjs/rpc';var li=Object[_0xcffedf(0x2d5)],hi=(_0x55aad5,_0x52804b,_0x5e7ded,_0x1f880d)=>{const _0x4d24d1=_0xcffedf;for(var _0x17fc43=_0x1f880d>0x1?void 0x0:_0x1f880d?li(_0x52804b,_0x5e7ded):_0x52804b,_0x2da9ee=_0x55aad5[_0x4d24d1(0x3bf)]-0x1,_0x2ee064;_0x2da9ee>=0x0;_0x2da9ee--)(_0x2ee064=_0x55aad5[_0x2da9ee])&&(_0x17fc43=_0x2ee064(_0x17fc43)||_0x17fc43);return _0x17fc43;},Qe=(_0x5a56c8,_0x15640b)=>(_0x4520f5,_0x3c4eb7)=>_0x15640b(_0x4520f5,_0x3c4eb7,_0x5a56c8);let Pe=class extends _0x338310{constructor(_0x38e265,_0x515a2b){const _0x4b2209=_0xcffedf;super(),this[_0x4b2209(0x3aa)]=_0x38e265,this[_0x4b2209(0x2ca)]=_0x515a2b,this['_init']();}[_0xcffedf(0x1d8)](){const _0x474dee=_0xcffedf,_0x2c674e=this;this['disposeWithMe'](this['_docClipboardService'][_0x474dee(0x38f)]({'onBeforePasteImage':async _0x4cb88d=>{const _0x3c8dd5=_0x474dee,_0x407527=await _0x2c674e[_0x3c8dd5(0x2ca)]['saveImage'](_0x4cb88d);return _0x407527?{'source':_0x407527[_0x3c8dd5(0x1d0)],'imageSourceType':_0x407527[_0x3c8dd5(0x35b)]}:null;}}));}};Pe=hi([Qe(0x0,_0x54e1a8),Qe(0x1,_0x12d19e)],Pe);const qe=[_0xcffedf(0x294),_0xcffedf(0x2f2),_0xcffedf(0x1f1),_0xcffedf(0x2b9),_0xcffedf(0x25d),_0xcffedf(0x26e)];class He extends _0xc24441{constructor(){const _0x2a88c7=_0xcffedf;super(...arguments),h(this,_0x2a88c7(0x2e3),new Map()),h(this,'_colorIndex',0x0);}[_0xcffedf(0x28f)](_0x156e8f){const _0x324647=_0xcffedf;if(this[_0x324647(0x2e3)][_0x324647(0x234)](_0x156e8f))return this[_0x324647(0x2e3)]['get'](_0x156e8f);const _0x6703b6=qe[this[_0x324647(0x2db)]];return this[_0x324647(0x2db)]=(this[_0x324647(0x2db)]+0x1)%qe[_0x324647(0x3bf)],this[_0x324647(0x2e3)][_0x324647(0x305)](_0x156e8f,_0x6703b6),_0x6703b6;}}function Dt(_0x41503d){const _0x557ed1=_0xcffedf;let _0x1619bd='';for(const _0x551c68 of _0x41503d){const {startOffset:_0x52fd93,endOffset:_0x2ca21c,isActive:_0x22517b,rangeType:_0x323b80,segmentId:_0x454f19,segmentPage:_0x1e182f}=_0x551c68;_0x1619bd[_0x557ed1(0x3bf)]&&(_0x1619bd+=','),_0x1619bd+=_0x52fd93+':'+_0x2ca21c+':'+(_0x22517b?'1':'0')+':'+_0x323b80+':'+_0x454f19+':'+_0x1e182f;}return _0x1619bd;}function _i(_0x1d3c0f){const _0x255032=_0xcffedf,_0x35f7fb=_0x1d3c0f['split'](','),_0x358194=[];for(const _0x19ef97 of _0x35f7fb){const [_0x407670,_0xdf94e9,_0x3c6d5b,_0x450e2e,_0x30b19c,_0x525237]=_0x19ef97[_0x255032(0x2a7)](':');_0x358194[_0x255032(0x230)]({'startOffset':Number(_0x407670),'endOffset':Number(_0xdf94e9),'collapsed':_0x407670===_0xdf94e9,'isActive':_0x3c6d5b==='1','rangeType':_0x450e2e===_0x4fe6e8[_0x255032(0x2e2)]?_0x4fe6e8[_0x255032(0x2e2)]:_0x4fe6e8[_0x255032(0x313)],'segmentId':typeof _0x30b19c==_0x255032(0x379)?String(_0x30b19c):'','segmentPage':Number(_0x525237!=null?_0x525237:-0x1)});}return _0x358194[_0x255032(0x360)](_0x54ba32=>_0x54ba32['isActive'])||(_0x358194[0x0]['isActive']=!0x0),_0x358194;}class je extends _0x338310{constructor(){const _0x2c4b1b=_0xcffedf;super(...arguments),h(this,_0x2c4b1b(0x310),new _0x2d4022(null)),h(this,_0x2c4b1b(0x2f0),this[_0x2c4b1b(0x310)][_0x2c4b1b(0x2ee)]());}[_0xcffedf(0x2cc)](_0x3183ec){const _0x53e139=_0xcffedf,{unitID:_0x457237,memberID:_0xe420b4,textRanges:_0x3b874b}=_0x3183ec,_0x48b0d7=Dt(_0x3b874b);if(_0x48b0d7==='')return;const _0x53dd87={'unitID':_0x457237,'memberID':_0xe420b4,'selection':_0x48b0d7};this[_0x53e139(0x310)][_0x53e139(0x1fe)](_0x53dd87);}}var ui=Object[_0xcffedf(0x2d5)],di=(_0x590c6a,_0x3a821f,_0x20d899,_0x513d3a)=>{const _0x1e3244=_0xcffedf;for(var _0x4e7b13=_0x513d3a>0x1?void 0x0:_0x513d3a?ui(_0x3a821f,_0x20d899):_0x3a821f,_0x5aeb57=_0x590c6a[_0x1e3244(0x3bf)]-0x1,_0x2aaae7;_0x5aeb57>=0x0;_0x5aeb57--)(_0x2aaae7=_0x590c6a[_0x5aeb57])&&(_0x4e7b13=_0x2aaae7(_0x4e7b13)||_0x4e7b13);return _0x4e7b13;},U=(_0x40367d,_0x5850cf)=>(_0x32d6ae,_0x29d600)=>_0x5850cf(_0x32d6ae,_0x29d600,_0x40367d);const fi=0x12c,Si=0x64;let Me=class extends _0x338310{constructor(_0xc54a82,_0x32294e,_0x14467a,_0x4f520e,_0x3a016e,_0x2a0d9f,_0x80a123,_0x18286f,_0x27b5bd){const _0x40e0af=_0xcffedf;super(),h(this,_0x40e0af(0x3ad),!0x1),h(this,'_init',!0x1),h(this,_0x40e0af(0x3a6),new _0x2d4022(new Map())),h(this,_0x40e0af(0x32d),this[_0x40e0af(0x3a6)]['asObservable']()),h(this,_0x40e0af(0x2f8),new _0x2d4022([])),h(this,_0x40e0af(0x2a6),this[_0x40e0af(0x2f8)][_0x40e0af(0x245)](_0x19e4fc(fi))),h(this,_0x40e0af(0x2dd),_0x1dac78(_0x1d55b9=>{const _0x2c98c6=_0x40e0af,_0x28ed06={'eventID':_0x266eef[_0x2c98c6(0x243)],'data':{'unitID':this[_0x2c98c6(0x24a)],'memberID':this[_0x2c98c6(0x312)][_0x2c98c6(0x223)](),'selection':Dt(_0x1d55b9)}};this[_0x2c98c6(0x312)][_0x2c98c6(0x399)](_0x28ed06,this[_0x2c98c6(0x24a)]);},Si)),(this[_0x40e0af(0x24a)]=_0xc54a82,this[_0x40e0af(0x312)]=_0x32294e,this[_0x40e0af(0x1f6)]=_0x14467a,this[_0x40e0af(0x2fa)]=_0x4f520e,this[_0x40e0af(0x3ab)]=_0x3a016e,this[_0x40e0af(0x2d6)]=_0x2a0d9f,this[_0x40e0af(0x218)]=_0x80a123,this['_univerInstanceService']=_0x18286f,this[_0x40e0af(0x3a1)]=_0x27b5bd);}get[_0xcffedf(0x2a1)](){const _0x30a47a=_0xcffedf;return this[_0x30a47a(0x3a6)][_0x30a47a(0x1c2)]();}get['roomMembers'](){const _0x237b2e=_0xcffedf;return this[_0x237b2e(0x2f8)][_0x237b2e(0x1c2)]();}[_0xcffedf(0x334)](){const _0x3a3b45=_0xcffedf;super[_0x3a3b45(0x334)](),this[_0x3a3b45(0x3a6)][_0x3a3b45(0x1fe)](new Map()),this[_0x3a3b45(0x3a6)][_0x3a3b45(0x282)](),this[_0x3a3b45(0x2f8)][_0x3a3b45(0x1fe)]([]),this[_0x3a3b45(0x2f8)][_0x3a3b45(0x282)]();}[_0xcffedf(0x25f)](){const _0x35ca9c=_0xcffedf;this[_0x35ca9c(0x1d8)]||(this[_0x35ca9c(0x1d8)]=!0x0,this[_0x35ca9c(0x312)]['sessionStatus$']['pipe'](_0x57ae48(this[_0x35ca9c(0x22d)]))['subscribe'](_0x35beab=>{const _0x22dd81=_0x35ca9c;_0x35beab===_0x3af92a['ONLINE']?this[_0x22dd81(0x3c1)]():this[_0x22dd81(0x1e8)]();}),this['_session'][_0x35ca9c(0x246)][_0x35ca9c(0x245)](_0x57ae48(this['dispose$']))[_0x35ca9c(0x1d9)](_0x224b80=>{const _0x5cd26e=_0x35ca9c,_0x3475f1=_0x224b80[_0x5cd26e(0x32c)];_0x3475f1===_0x266eef[_0x5cd26e(0x243)]&&this['_onCursorUpdate'](_0x224b80),_0x3475f1===_0x266eef[_0x5cd26e(0x373)]&&this[_0x5cd26e(0x211)](_0x224b80);}),this[_0x35ca9c(0x219)](this[_0x35ca9c(0x3a1)][_0x35ca9c(0x1fd)](_0x34f9bf=>{const _0x5cff9d=_0x35ca9c,_0x220cc3=_0x34f9bf[_0x5cff9d(0x29c)];_0x220cc3!=null&&this[_0x5cff9d(0x3ad)]&&_0x34f9bf['id']===_0x55ae82['id']&&_0x220cc3[_0x5cff9d(0x3a4)]===this[_0x5cff9d(0x24a)]&&_0x220cc3[_0x5cff9d(0x21a)]===!0x1&&_0x220cc3['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x220cc3[_0x5cff9d(0x24d)]);})),this[_0x35ca9c(0x2d6)][_0x35ca9c(0x2f0)][_0x35ca9c(0x245)](_0x57ae48(this[_0x35ca9c(0x22d)]))[_0x35ca9c(0x1d9)](_0x377eb3=>{const _0xeb7ee2=_0x35ca9c;if((_0x377eb3==null?void 0x0:_0x377eb3[_0xeb7ee2(0x24a)])!==this['unitID'])return;const _0x171dcd={'eventID':_0x266eef[_0xeb7ee2(0x243)],'data':_0x377eb3};this[_0xeb7ee2(0x2d4)](_0x171dcd);}),this['disposeWithMe'](this[_0x35ca9c(0x3a1)]['onCommandExecuted'](_0x3c44bf=>{const _0x4d281f=_0x35ca9c;if(_0x3c44bf['params']==null)return;const _0x265925=_0x3c44bf[_0x4d281f(0x29c)];if(_0x3c44bf['id']!==_0x3c0bff['id']||_0x265925[_0x4d281f(0x3a4)]!==this[_0x4d281f(0x24a)])return;const _0x46954b={'id':_0x4d281f(0x307),'params':_0x265925},_0x457479=this[_0x4d281f(0x2a1)];for(const [_0xfe4978,_0x4c5a65]of _0x457479){const _0x2d9216={'id':_0x4d281f(0x307),'params':{'unitId':this[_0x4d281f(0x24a)],'actions':null,'textRanges':_0x4c5a65[_0x4d281f(0x24d)]}},_0x57d43e=this[_0x4d281f(0x218)][_0x4d281f(0x229)](_0x46954b,_0x2d9216,!0x1);if(_0x488cde(_0x57d43e))throw _0x57d43e[_0x4d281f(0x2f3)];_0x457479[_0x4d281f(0x305)](_0xfe4978,{..._0x4c5a65,'ranges':_0x57d43e[_0x4d281f(0x32e)][_0x4d281f(0x29c)][_0x4d281f(0x2eb)]});}queueMicrotask(()=>{const _0x11f55b=_0x4d281f;this[_0x11f55b(0x3a6)][_0x11f55b(0x1fe)](_0x457479);});})));}[_0xcffedf(0x2d4)](_0x2579d3){const _0x4fa4eb=_0xcffedf;var _0x1443b6,_0x4d6541;const {memberID:_0x1fba08,selection:_0x5377ee}=_0x2579d3[_0x4fa4eb(0x320)],_0x1d4478=_i(_0x5377ee),_0x96674f=(_0x4d6541=(_0x1443b6=this[_0x4fa4eb(0x3ab)][_0x4fa4eb(0x227)](this[_0x4fa4eb(0x24a)],_0x1fba08))==null?void 0x0:_0x1443b6[_0x4fa4eb(0x1ce)])!=null?_0x4d6541:_0x4fa4eb(0x3b1),_0x2556bd={'color':this[_0x4fa4eb(0x2fa)][_0x4fa4eb(0x28f)](_0x1fba08),'name':_0x96674f,'ranges':_0x1d4478},_0x11284d=this['cursorInfo'];_0x11284d[_0x4fa4eb(0x305)](_0x1fba08,_0x2556bd),this[_0x4fa4eb(0x3a6)][_0x4fa4eb(0x1fe)](_0x11284d);}[_0xcffedf(0x211)](_0x293316){const _0x1e3682=_0xcffedf,{memberID:_0x2a70e2}=_0x293316[_0x1e3682(0x320)],_0x3608ae=this[_0x1e3682(0x2a1)];_0x3608ae['delete'](_0x2a70e2),this[_0x1e3682(0x3a6)]['next'](_0x3608ae);}[_0xcffedf(0x3c1)](){const _0x12639e=_0xcffedf;var _0x17c5fb;if(this['_online']=!0x0,((_0x17c5fb=this[_0x12639e(0x2b0)][_0x12639e(0x267)]())==null?void 0x0:_0x17c5fb['getUnitId']())!==this['unitID'])return;const _0x19c896=this['_injector'][_0x12639e(0x21b)](_0x368efa)['getDocRanges']();Array[_0x12639e(0x295)](_0x19c896)&&_0x19c896['length']>0x0&&this['_updateLocalCursor'](_0x19c896);}[_0xcffedf(0x1e8)](){const _0x2df5d2=_0xcffedf;this[_0x2df5d2(0x3ad)]=!0x1;}};Me=di([U(0x2,_0x695648(_0xf56663)),U(0x3,_0x695648(He)),U(0x4,_0x695648(_0x2565e4)),U(0x5,_0x695648(je)),U(0x6,_0x220f1b),U(0x7,_0x2eb697),U(0x8,_0x42a8e8)],Me);var mi=Object['getOwnPropertyDescriptor'],gi=(_0xd320ad,_0x372b74,_0xc11d3a,_0x318e81)=>{const _0x151d99=_0xcffedf;for(var _0x318208=_0x318e81>0x1?void 0x0:_0x318e81?mi(_0x372b74,_0xc11d3a):_0x372b74,_0x5a57c6=_0xd320ad[_0x151d99(0x3bf)]-0x1,_0x211dd1;_0x5a57c6>=0x0;_0x5a57c6--)(_0x211dd1=_0xd320ad[_0x5a57c6])&&(_0x318208=_0x211dd1(_0x318208)||_0x318208);return _0x318208;},x=(_0x5a0958,_0xb6c37e)=>(_0x522a07,_0x154a27)=>_0xb6c37e(_0x522a07,_0x154a27,_0x5a0958);const vi=0x12c,Ii=0x64,pi=()=>{let _0x4510a7=[],_0x39ca71=!0x1;return _0x491878=>{const _0x2c2b62=_0x12c7;_0x4510a7[_0x2c2b62(0x230)](_0x491878),_0x39ca71||(_0x39ca71=!0x0,setTimeout(()=>{const _0x1d044c=_0x2c2b62;_0x4510a7[_0x1d044c(0x343)](_0xa05675=>_0xa05675()),_0x4510a7=[],_0x39ca71=!0x1;}));};};let we=class extends _0x338310{constructor(_0x1b1e6f,_0x5c86c6,_0x207386,_0x3a1ade,_0x440197,_0x4fb7ce,_0x157e68,_0x5cf0d2){const _0x5a3f21=_0xcffedf;super(),h(this,_0x5a3f21(0x3ad),!0x1),h(this,_0x5a3f21(0x1d8),!0x1),h(this,'_cursorInfo$',new _0x2d4022(new Map())),h(this,_0x5a3f21(0x32d),this[_0x5a3f21(0x3a6)][_0x5a3f21(0x2ee)]()),h(this,'_roomMembers$',new _0x2d4022([])),h(this,'roomMembers$',this[_0x5a3f21(0x2f8)][_0x5a3f21(0x245)](_0x19e4fc(vi))),h(this,_0x5a3f21(0x2dd),_0x1dac78((_0x46ebbc,_0x4c51df)=>{const _0xc01fd4=_0x5a3f21,_0x1d0b98={'eventID':_0x266eef[_0xc01fd4(0x243)],'data':{'unitID':this[_0xc01fd4(0x24a)],'memberID':this['_session'][_0xc01fd4(0x223)](),'selection':_0x1dca4a(_0x46ebbc,_0x4c51df['range'])}};this[_0xc01fd4(0x312)][_0xc01fd4(0x399)](_0x1d0b98,this[_0xc01fd4(0x24a)]);},Ii)),(this[_0x5a3f21(0x24a)]=_0x1b1e6f,this[_0x5a3f21(0x312)]=_0x5c86c6,this[_0x5a3f21(0x1f6)]=_0x207386,this[_0x5a3f21(0x2fa)]=_0x3a1ade,this[_0x5a3f21(0x3ab)]=_0x440197,this[_0x5a3f21(0x2b0)]=_0x4fb7ce,this[_0x5a3f21(0x3a1)]=_0x157e68,this['_refRangeService']=_0x5cf0d2);}get[_0xcffedf(0x2a1)](){const _0x272d49=_0xcffedf;return this[_0x272d49(0x3a6)]['getValue']();}get[_0xcffedf(0x35c)](){const _0x4ed8d8=_0xcffedf;return this[_0x4ed8d8(0x2f8)]['getValue']();}[_0xcffedf(0x334)](){const _0x1d85c7=_0xcffedf;super[_0x1d85c7(0x334)](),this[_0x1d85c7(0x3a6)][_0x1d85c7(0x1fe)](new Map()),this[_0x1d85c7(0x3a6)]['complete'](),this[_0x1d85c7(0x2f8)][_0x1d85c7(0x1fe)]([]),this[_0x1d85c7(0x2f8)]['complete']();}[_0xcffedf(0x25f)](){const _0x55767c=_0xcffedf;this[_0x55767c(0x1d8)]||(this[_0x55767c(0x1d8)]=!0x0,this[_0x55767c(0x312)][_0x55767c(0x2aa)][_0x55767c(0x245)](_0x57ae48(this[_0x55767c(0x22d)]))[_0x55767c(0x1d9)](_0x3f6415=>{const _0x2f1515=_0x55767c;_0x3f6415===_0x3af92a[_0x2f1515(0x299)]?this[_0x2f1515(0x3c1)]():this[_0x2f1515(0x1e8)]();}),this[_0x55767c(0x312)][_0x55767c(0x246)][_0x55767c(0x245)](_0x57ae48(this[_0x55767c(0x22d)]))[_0x55767c(0x1d9)](_0x30c3ef=>{const _0xa6826c=_0x55767c,_0xfabffc=_0x30c3ef[_0xa6826c(0x32c)];_0xfabffc===_0x266eef['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x30c3ef),_0xfabffc===_0x266eef[_0xa6826c(0x373)]&&this[_0xa6826c(0x211)](_0x30c3ef);}),this['_onRefRangeChange'](),this[_0x55767c(0x219)](this['_commandService'][_0x55767c(0x1fd)](_0x31e08e=>{const _0x494451=_0x55767c;if(this['_online']&&_0x31e08e['id']===_0x388df6['id']&&_0x31e08e[_0x494451(0x29c)][_0x494451(0x3a4)]===this[_0x494451(0x24a)]){const _0x2f0912=_0x31e08e[_0x494451(0x29c)];this[_0x494451(0x2dd)](_0x2f0912[_0x494451(0x3af)],_0x2f0912[_0x494451(0x1c3)][0x0]);}})));}[_0xcffedf(0x2d4)](_0x294b5f){const _0x1aeaf5=_0xcffedf;var _0x415cf2,_0x1743d0;const {memberID:_0x3ccc82,selection:_0x529033}=_0x294b5f[_0x1aeaf5(0x320)],{sheetName:_0x372cd0,range:_0xf491c6}=_0x5cb000(_0x529033),_0xc826b0={'name':(_0x1743d0=(_0x415cf2=this[_0x1aeaf5(0x3ab)][_0x1aeaf5(0x227)](this[_0x1aeaf5(0x24a)],_0x3ccc82))==null?void 0x0:_0x415cf2[_0x1aeaf5(0x1ce)])!=null?_0x1743d0:_0x1aeaf5(0x3b1),'range':this['_getMergeRange'](_0x372cd0,_0xf491c6),'sheetID':_0x372cd0,'color':this['_colorAssignService'][_0x1aeaf5(0x28f)](_0x3ccc82),'selection':_0x529033},_0x3d4695=this[_0x1aeaf5(0x2a1)];_0x3d4695[_0x1aeaf5(0x305)](_0x3ccc82,_0xc826b0),this[_0x1aeaf5(0x3a6)]['next'](_0x3d4695);}[_0xcffedf(0x211)](_0x1a7f79){const _0x243612=_0xcffedf,{memberID:_0x1b7eef}=_0x1a7f79['data'],_0x5e2a14=this[_0x243612(0x2a1)];_0x5e2a14['delete'](_0x1b7eef),this[_0x243612(0x3a6)][_0x243612(0x1fe)](_0x5e2a14);}['_getMergeRange'](_0x4e8545,_0xb2050){const _0x1d441b=_0xcffedf;var _0x3631d2,_0x5550af;const _0x362191=(_0x5550af=(_0x3631d2=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x1d441b(0x24a)]))==null?void 0x0:_0x3631d2[_0x1d441b(0x2a2)](_0x4e8545))==null?void 0x0:_0x5550af['getMergeData']();return(_0x362191==null?void 0x0:_0x362191[_0x1d441b(0x376)](_0x4c804e=>_0x221a3e[_0x1d441b(0x208)](_0x4c804e,_0xb2050)))||_0xb2050;}[_0xcffedf(0x215)](){const _0x3a315c=_0xcffedf,_0x9197d6=new _0x20ab04(),_0x330cd1=pi(),_0x379ed5=()=>{const _0x1bb8a1=_0x12c7;_0x9197d6[_0x1bb8a1(0x334)]();const _0x1123ae=(_0x413c7d,_0x54fc6e,_0x1325d3,_0x586e01)=>{const _0x5a367e=_0x1bb8a1;let _0x5210bf=[];switch(_0x413c7d['id']){case _0x1c31c2['DeleteRangeMoveLeftCommandId']:{_0x5210bf=_0x3f28df(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x378)]:{_0x5210bf=_0x15f4e1(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x2ff)]:{_0x5210bf=_0x20383d(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x306)]:{_0x5210bf=_0x54e3e6(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x251)]:{_0x5210bf=_0x5d275b(_0x413c7d,_0x586e01);break;}case _0x1c31c2['InsertRowCommandId']:{_0x5210bf=_0x234468(_0x413c7d,_0x586e01);break;}case _0x1c31c2['MoveRangeCommandId']:{_0x5210bf=_0x440022(_0x413c7d,_0x586e01);break;}case _0x1c31c2['RemoveColCommandId']:{_0x5210bf=_0x50cdbc(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x2ef)]:{_0x5210bf=_0x27e686(_0x413c7d,_0x586e01);break;}}const _0x2828eb=_0x7775e0(_0x5210bf,_0x586e01),_0x1f68f8=this[_0x5a367e(0x2a1)][_0x5a367e(0x21b)](_0x54fc6e);if(_0x1f68f8&&_0x2828eb){const _0x37ab7b={..._0x1f68f8,'range':_0x2828eb};this[_0x5a367e(0x2a1)][_0x5a367e(0x305)](_0x54fc6e,_0x37ab7b),_0x330cd1(()=>{const _0x51b9c2=_0x5a367e,_0x5c881a=this[_0x51b9c2(0x228)][_0x51b9c2(0x3b7)](_0x2828eb,_0x475878=>(_0x5c881a[_0x51b9c2(0x334)](),_0x1123ae(_0x475878,_0x54fc6e,_0x1325d3,_0x2828eb)));_0x9197d6[_0x51b9c2(0x247)](_0x5c881a);});}return{'redos':[],'undos':[]};};this[_0x1bb8a1(0x2a1)][_0x1bb8a1(0x343)]((_0x7762b1,_0x90a0ba)=>{const _0x48f64a=_0x1bb8a1,{range:_0x444ce3,sheetID:_0x1a2ddc}=_0x7762b1,_0x278d65=this[_0x48f64a(0x228)]['registerRefRange'](_0x444ce3,_0x340627=>(_0x278d65['dispose'](),_0x1123ae(_0x340627,_0x90a0ba,_0x1a2ddc,_0x444ce3)));_0x9197d6[_0x48f64a(0x247)](_0x278d65);});};this['disposeWithMe'](_0x331a4b(this[_0x3a315c(0x3a6)][_0x3a315c(0x1d9)](()=>{_0x379ed5();})));}[_0xcffedf(0x3c1)](){const _0xecedb=_0xcffedf;var _0x3408c1,_0x244827;if(this[_0xecedb(0x3ad)]=!0x0,((_0x3408c1=this[_0xecedb(0x2b0)]['getFocusedUnit']())==null?void 0x0:_0x3408c1[_0xecedb(0x2b3)]())!==this[_0xecedb(0x24a)])return;const _0x342050=(_0x244827=this['_injector'][_0xecedb(0x21b)](_0x336669)[_0xecedb(0x1c8)]())==null?void 0x0:_0x244827[0x0],_0x265722=this[_0xecedb(0x2b0)]['getCurrentUnitForType'](_0x303793['UNIVER_SHEET'])[_0xecedb(0x351)]();_0x342050&&_0x265722&&this[_0xecedb(0x2dd)](_0x265722['getSheetId'](),_0x342050);}[_0xcffedf(0x1e8)](){const _0x4c30bf=_0xcffedf;this[_0x4c30bf(0x3ad)]=!0x1;}};we=gi([x(0x2,_0x695648(_0xf56663)),x(0x3,_0x695648(He)),x(0x4,_0x695648(_0x2565e4)),x(0x5,_0x2eb697),x(0x6,_0x42a8e8),x(0x7,_0x695648(_0x2dd86c))],we);var Ci=Object[_0xcffedf(0x2d5)],bi=(_0x3c1b87,_0x4a159c,_0x1b243b,_0x571d15)=>{const _0x4a39f0=_0xcffedf;for(var _0x521784=_0x571d15>0x1?void 0x0:_0x571d15?Ci(_0x4a159c,_0x1b243b):_0x4a159c,_0x3d82c8=_0x3c1b87[_0x4a39f0(0x3bf)]-0x1,_0x19d1ec;_0x3d82c8>=0x0;_0x3d82c8--)(_0x19d1ec=_0x3c1b87[_0x3d82c8])&&(_0x521784=_0x19d1ec(_0x521784)||_0x521784);return _0x521784;},me=(_0x4f0051,_0x4f0687)=>(_0x3d927f,_0x40b19d)=>_0x4f0687(_0x3d927f,_0x40b19d,_0x4f0051);let H=class extends _0x338310{constructor(_0x4bb5a8,_0x3eabea,_0x51076e){const _0x63060=_0xcffedf;super(),h(this,_0x63060(0x2bc),new Map()),h(this,_0x63060(0x31f),new _0x4bb65e()),(this['_univerInstanceService']=_0x4bb5a8,this[_0x63060(0x1f6)]=_0x3eabea,this[_0x63060(0x2a4)]=_0x51076e,this[_0x63060(0x1d8)]());}['dispose'](){const _0x4a1970=_0xcffedf;super[_0x4a1970(0x334)](),this[_0x4a1970(0x31f)]['complete'](),this[_0x4a1970(0x2bc)][_0x4a1970(0x343)](_0x3194a5=>_0x3194a5[_0x4a1970(0x334)]());}[_0xcffedf(0x30d)](_0x3521aa){const _0x32ce02=_0xcffedf;return this[_0x32ce02(0x2bc)][_0x32ce02(0x234)](_0x3521aa)?this[_0x32ce02(0x2bc)][_0x32ce02(0x21b)](_0x3521aa)[_0x32ce02(0x32d)]:this[_0x32ce02(0x31f)][_0x32ce02(0x245)](_0x113b47(_0x1e15ed=>_0x1e15ed[_0x32ce02(0x24a)]===_0x3521aa),_0x41f1c9(_0x274db1=>_0x274db1[_0x32ce02(0x32d)]));}[_0xcffedf(0x1d8)](){const _0x330889=_0xcffedf;this[_0x330889(0x2b0)]['getTypeOfUnitAdded$'](_0x303793[_0x330889(0x248)])[_0x330889(0x245)](_0x57ae48(this[_0x330889(0x22d)]))['subscribe'](async _0x4c63bb=>{const _0x5d8983=_0x330889,_0x3ede1e=_0x4c63bb[_0x5d8983(0x2b3)](),_0xcfe41c=await this[_0x5d8983(0x1dc)](_0x3ede1e);this[_0x5d8983(0x31f)][_0x5d8983(0x1fe)](_0xcfe41c),this[_0x5d8983(0x2bc)][_0x5d8983(0x305)](_0x3ede1e,_0xcfe41c);}),this[_0x330889(0x2b0)][_0x330889(0x3be)](_0x303793[_0x330889(0x28b)])[_0x330889(0x245)](_0x57ae48(this['dispose$']))[_0x330889(0x245)](_0x113b47(_0x2be3b1=>!_0x2be3b1['getUnitId']()[_0x330889(0x1fc)]('__')))[_0x330889(0x1d9)](async _0x4de5de=>{const _0x23d122=_0x330889,_0x2bc31d=_0x4de5de[_0x23d122(0x2b3)](),_0x3f1a75=await this[_0x23d122(0x2c9)](_0x2bc31d);this['_entityInit$']['next'](_0x3f1a75),this['_entities'][_0x23d122(0x305)](_0x2bc31d,_0x3f1a75);}),_0x18c199(this[_0x330889(0x2b0)][_0x330889(0x252)](_0x303793[_0x330889(0x28b)]),this[_0x330889(0x2b0)][_0x330889(0x252)](_0x303793[_0x330889(0x248)]))['pipe'](_0x57ae48(this['dispose$']))[_0x330889(0x1d9)](_0x1af441=>{const _0x24f216=_0x330889,_0x427ded=_0x1af441['getUnitId'](),_0x33f77b=this[_0x24f216(0x2bc)]['get'](_0x427ded);_0x33f77b&&(_0x33f77b[_0x24f216(0x334)](),this[_0x24f216(0x2bc)][_0x24f216(0x319)](_0x427ded));});}async[_0xcffedf(0x1dc)](_0x655557){const _0x38d35b=_0xcffedf,_0x33044b=await this[_0x38d35b(0x2a4)][_0x38d35b(0x2af)](_0x655557),_0xd5930c=this[_0x38d35b(0x1f6)][_0x38d35b(0x2c2)](we,_0x655557,_0x33044b);return _0xd5930c[_0x38d35b(0x25f)](),_0xd5930c;}async[_0xcffedf(0x2c9)](_0x4c583f){const _0xd4b4db=_0xcffedf,_0x2dbbbd=await this['_collabSessionService'][_0xd4b4db(0x2af)](_0x4c583f),_0x4fee77=this[_0xd4b4db(0x1f6)][_0xd4b4db(0x2c2)](Me,_0x4c583f,_0x2dbbbd);return _0x4fee77['init'](),_0x4fee77;}};H=bi([me(0x0,_0x2eb697),me(0x1,_0x695648(_0xf56663)),me(0x2,_0x695648(_0x5f16f8))],H);const te=0x14,et=0xc8,ge=0x4,Ei=0x5;function Oi(_0x240684,_0x41a050){const _0x3121c5=_0xcffedf;let {radius:_0x509eba,width:_0x109cb9,height:_0x49f5ff}=_0x41a050;_0x509eba=_0x509eba!=null?_0x509eba:0x0,_0x109cb9=_0x109cb9!=null?_0x109cb9:0x1e,_0x49f5ff=_0x49f5ff!=null?_0x49f5ff:0x1e;let _0x5a1a57=0x0,_0x1af3f9=0x0,_0x149b5f=0x0;_0x5a1a57=_0x1af3f9=_0x149b5f=Math[_0x3121c5(0x20c)](_0x509eba,_0x109cb9/0x2,_0x49f5ff/0x2),_0x240684[_0x3121c5(0x344)](),_0x240684['moveTo'](_0x5a1a57,0x0),_0x240684['lineTo'](_0x109cb9-_0x1af3f9,0x0),_0x240684['arc'](_0x109cb9-_0x1af3f9,_0x1af3f9,_0x1af3f9,Math['PI']*0x3/0x2,0x0,!0x1),_0x240684[_0x3121c5(0x27b)](_0x109cb9,_0x49f5ff-_0x149b5f),_0x240684['arc'](_0x109cb9-_0x149b5f,_0x49f5ff-_0x149b5f,_0x149b5f,0x0,Math['PI']/0x2,!0x1),_0x240684['lineTo'](0x0,_0x49f5ff),_0x240684[_0x3121c5(0x27b)](0x0,_0x5a1a57),_0x240684[_0x3121c5(0x2b2)](_0x5a1a57,_0x5a1a57,_0x5a1a57,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x240684['closePath'](),_0x41a050[_0x3121c5(0x1e0)]&&(_0x240684[_0x3121c5(0x38c)](),_0x240684[_0x3121c5(0x37c)]=_0x41a050[_0x3121c5(0x1e0)],_0x41a050[_0x3121c5(0x232)]===_0x3121c5(0x272)?_0x240684[_0x3121c5(0x1e0)](_0x3121c5(0x272)):_0x240684[_0x3121c5(0x1e0)](),_0x240684[_0x3121c5(0x2cf)]());}class ue extends _0x3c2d29{constructor(_0x39db34,_0x5c89c2){const _0x5947c6=_0xcffedf;super(_0x39db34,_0x5c89c2),h(this,_0x5947c6(0x280)),h(this,_0x5947c6(0x1f7)),(this['color']=_0x5c89c2==null?void 0x0:_0x5c89c2[_0x5947c6(0x280)],this['text']=_0x5c89c2==null?void 0x0:_0x5c89c2[_0x5947c6(0x1f7)]);}static[_0xcffedf(0x1e3)](_0x47fbd7,_0x5bedcb){const _0x5676e9=_0xcffedf,{text:_0x23395d,color:_0x41a975}=_0x5bedcb;_0x47fbd7[_0x5676e9(0x38c)](),_0x47fbd7[_0x5676e9(0x367)]=_0x5676e9(0x34a);const _0x3745c3=_0x47fbd7[_0x5676e9(0x1d4)](_0x23395d)[_0x5676e9(0x22b)],_0x2b36ce=Math['min'](_0x3745c3+0x2*ge,et);Oi(_0x47fbd7,{'height':te,'radius':0x4,'width':_0x2b36ce,'fill':_0x41a975}),_0x47fbd7[_0x5676e9(0x37c)]=_0x5676e9(0x24e);const _0x25cf9e=ge,_0x148c4a=te-Ei,_0xc9c9c=et-0x2*ge;if(_0x3745c3>_0xc9c9c){let _0x5f0343='',_0xd88f2c=0x0;for(const _0x3d8abc of _0x23395d){const _0x14887c=_0x47fbd7[_0x5676e9(0x1d4)](_0x3d8abc)['width'];if(_0xd88f2c+_0x14887c<=_0xc9c9c-_0x47fbd7[_0x5676e9(0x1d4)](_0x5676e9(0x30c))[_0x5676e9(0x22b)])_0x5f0343+=_0x3d8abc,_0xd88f2c+=_0x14887c;else{_0x5f0343+=_0x5676e9(0x30c);break;}}_0x47fbd7[_0x5676e9(0x384)](_0x5f0343,_0x25cf9e,_0x148c4a);}else _0x47fbd7['fillText'](_0x23395d,_0x25cf9e,_0x148c4a);_0x47fbd7[_0x5676e9(0x2cf)]();}[_0xcffedf(0x38b)](_0x3b45a2){const _0x156972=_0xcffedf;ue[_0x156972(0x1e3)](_0x3b45a2,this);}}const ve=_0xcffedf(0x203),Ti='collab-text-range-',Ri='collab-rect-range-',X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Pi=_0xcffedf(0x1da);class tt{constructor(_0x299879,_0x204d11,_0x22864f,_0x2caf6e){const _0x1d1fdb=_0xcffedf;h(this,_0x1d1fdb(0x371),[]),h(this,_0x1d1fdb(0x3c0),null),h(this,_0x1d1fdb(0x23c),null),h(this,_0x1d1fdb(0x3bc),null),h(this,_0x1d1fdb(0x356),null),h(this,_0x1d1fdb(0x1cd),null),(this[_0x1d1fdb(0x2b4)]=_0x299879,this[_0x1d1fdb(0x2e9)]=_0x204d11,this[_0x1d1fdb(0x2c0)]=_0x22864f,this['_document']=_0x2caf6e,this[_0x1d1fdb(0x286)]());}set[_0xcffedf(0x327)](_0x431e2b){const _0x1ba479=_0xcffedf;_0x431e2b?(this[_0x1ba479(0x3bc)]&&this['_anchorDot'][_0x1ba479(0x359)](),this[_0x1ba479(0x23c)]&&this[_0x1ba479(0x23c)][_0x1ba479(0x315)]()):(this[_0x1ba479(0x3bc)]&&this[_0x1ba479(0x3bc)]['show'](),this[_0x1ba479(0x23c)]&&this[_0x1ba479(0x23c)][_0x1ba479(0x359)]());}[_0xcffedf(0x334)](){const _0xe20b72=_0xcffedf;for(const _0x7bd22a of this['_shapes'])_0x7bd22a[_0xe20b72(0x334)]();this[_0xe20b72(0x23c)]&&this['_textBubble'][_0xe20b72(0x334)](),this[_0xe20b72(0x3bc)]&&this[_0xe20b72(0x3bc)][_0xe20b72(0x334)](),this[_0xe20b72(0x3c0)]&&this[_0xe20b72(0x3c0)][_0xe20b72(0x334)](),this[_0xe20b72(0x1cd)]&&this['_eventUnsubscribe']();}[_0xcffedf(0x286)](){const _0x3eb262=_0xcffedf;var _0x1d72e3;const {_docSkeleton:_0x229a71,_document:_0x5d39a}=this,{color:_0x4e6328,name:_0x63a733,ranges:_0x1aa17c}=this['_cursor'],_0x4b340b=_0x5d39a[_0x3eb262(0x20d)](),{docsLeft:_0x46a51e,docsTop:_0x4a1337}=_0x4b340b,_0xf8bad8=new _0x1399c2(_0x4b340b,_0x229a71);for(const {startOffset:_0x3eb0a7,endOffset:_0x54a7df,rangeType:_0x21e33c,segmentId:_0x58f4f8,segmentPage:_0x56dcd6,collapsed:_0x525fb2,isActive:_0x1b5ae5}of _0x1aa17c){const _0x79e995=_0x229a71['findNodePositionByCharIndex'](_0x3eb0a7,!0x0,_0x58f4f8,_0x56dcd6);let _0x3e5d5e=_0x229a71[_0x3eb262(0x2be)](_0x54a7df,!0x0,_0x58f4f8,_0x56dcd6);if(_0x3e5d5e==null&&(_0x3e5d5e=_0x229a71[_0x3eb262(0x2be)](_0x54a7df-0x1,!0x1,_0x58f4f8,_0x56dcd6)),_0x1b5ae5){const {contentBoxPointGroup:_0x314988}=_0xf8bad8[_0x3eb262(0x381)](_0x3e5d5e,_0x3e5d5e);if(_0x314988[_0x3eb262(0x3bf)]===0x0)continue;this[_0x3eb262(0x339)](_0x4e6328,_0x314988,_0x46a51e,_0x4a1337,_0x63a733),this[_0x3eb262(0x1cd)]=this[_0x3eb262(0x314)]();}if(_0x79e995&&_0x3e5d5e){if(_0x21e33c===_0x4fe6e8[_0x3eb262(0x313)]){const _0x3899c4=new _0x9071bc(_0x4b340b,_0x229a71),{pointGroup:_0x4ccab7}=(_0x1d72e3=_0x3899c4['getRangePointData'](_0x79e995,_0x3e5d5e))!=null?_0x1d72e3:{};if(_0x4ccab7==null||_0x4ccab7[_0x3eb262(0x3bf)]===0x0)continue;this[_0x3eb262(0x31d)](_0x4e6328,_0x4ccab7,_0x46a51e,_0x4a1337);}else{if(!_0x525fb2){const {borderBoxPointGroup:_0x1fdcba}=_0xf8bad8[_0x3eb262(0x381)](_0x79e995,_0x3e5d5e);if(_0x1fdcba['length']===0x0)continue;this[_0x3eb262(0x350)](_0x4e6328,_0x1fdcba,_0x46a51e,_0x4a1337);}}}}}[_0xcffedf(0x339)](_0x72d819,_0x99083e,_0x376ea3,_0x10e650,_0x4bfd9f){const _0x1637d5=_0xcffedf,_0xdb8a41=this[_0x1637d5(0x308)](_0x99083e),{left:_0x3a9ab2,top:_0x14c8b6,height:_0x4ea9b7}=_0xdb8a41,_0x830688=this[_0x1637d5(0x1f0)](),_0x2e0611=Ni/_0x830688,_0x5c3dff=new _0x56d092(ve+_0x5a8d3d[_0x1637d5(0x250)](X),{'left':_0x3a9ab2+_0x376ea3-_0x2e0611,'top':_0x14c8b6+_0x10e650,'height':_0x4ea9b7,'width':Di,'fill':_0x72d819||_0xb3434b(_0x37065d[_0x1637d5(0x23b)],0x0),'strokeWidth':_0x2e0611,'stroke':Pi,'evented':!0x0});this[_0x1637d5(0x3c0)]=_0x5c3dff,this[_0x1637d5(0x2e9)][_0x1637d5(0x2c6)](_0x5c3dff,_0x28b64b);const _0x32a783=new _0x56d092(ve+_0x5a8d3d[_0x1637d5(0x250)](X),{'left':_0x3a9ab2+_0x376ea3-_0x2e0611,'top':_0x14c8b6+_0x10e650-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x72d819||_0xb3434b(_0x37065d[_0x1637d5(0x23b)],0x0),'strokeWidth':0x0,'stroke':_0x72d819||_0xb3434b(_0x37065d[_0x1637d5(0x23b)],0x0),'evented':!0x1});this[_0x1637d5(0x3bc)]=_0x32a783,this[_0x1637d5(0x2e9)]['addObject'](_0x32a783,_0x28b64b);const _0x61f4c0=new ue(ve+_0x5a8d3d['generateRandomId'](X),{'left':_0x3a9ab2+_0x376ea3-_0x2e0611,'top':_0x14c8b6+_0x10e650-te,'text':_0x4bfd9f,'color':_0x72d819});this[_0x1637d5(0x23c)]=_0x61f4c0,this[_0x1637d5(0x2e9)][_0x1637d5(0x2c6)](_0x61f4c0,_0x28b64b),this[_0x1637d5(0x327)]=!0x1;}[_0xcffedf(0x314)](){const _0x4779b4=_0xcffedf,_0x2e3756=this['_anchor'][_0x4779b4(0x341)][_0x4779b4(0x237)](()=>{const _0x3d118c=_0x4779b4;this[_0x3d118c(0x327)]=!0x0;}),_0x5af0b3=this['_anchor']['onPointerLeave$'][_0x4779b4(0x237)](()=>{const _0xf56e2f=_0x4779b4;this[_0xf56e2f(0x356)]&&clearTimeout(this[_0xf56e2f(0x356)]),this['_hideTimer']=setTimeout(()=>{const _0xf8afef=_0xf56e2f;this[_0xf8afef(0x327)]=!0x1;},0x7d0);});return()=>{const _0x9623b2=_0x4779b4;_0x2e3756[_0x9623b2(0x3a5)](),_0x5af0b3['unsubscribe']();};}[_0xcffedf(0x350)](_0x2e9fbe,_0x184a24,_0x3a49f5,_0x6f0d8){const _0x124318=_0xcffedf,_0x449a36=new _0x4aabd4(_0x2e9fbe)[_0x124318(0x253)](0.2)[_0x124318(0x212)](),_0x32ddc3=new _0x23da66(Ti+_0x5a8d3d[_0x124318(0x250)](X),{'pointsGroup':_0x184a24,'fill':_0x449a36||_0xb3434b(_0x37065d[_0x124318(0x23b)],0.2),'left':_0x3a49f5,'top':_0x6f0d8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x124318(0x371)]['push'](_0x32ddc3),this['_scene'][_0x124318(0x2c6)](_0x32ddc3,_0x28b64b);}[_0xcffedf(0x31d)](_0x24cbeb,_0x2fdee2,_0x2ee0c1,_0x3c5866){const _0x50a60d=_0xcffedf,_0x2524f3=new _0x4aabd4(_0x24cbeb)[_0x50a60d(0x253)](0.2)['toRgbString'](),_0x1f0c77=new _0x23da66(Ri+_0x5a8d3d[_0x50a60d(0x250)](X),{'pointsGroup':_0x2fdee2,'fill':_0x2524f3||_0xb3434b(_0x37065d[_0x50a60d(0x23b)],0.2),'left':_0x2ee0c1,'top':_0x3c5866,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x50a60d(0x230)](_0x1f0c77),this['_scene'][_0x50a60d(0x2c6)](_0x1f0c77,_0x28b64b);}[_0xcffedf(0x308)](_0x193a63){const _0x1e42e9=_0x193a63[0x0],_0x2661c1=_0x1e42e9[0x0],_0x3124e0=_0x1e42e9[0x2],{x:_0x168249,y:_0x49172f}=_0x2661c1,{x:_0x400cc5,y:_0x10922a}=_0x3124e0;return{'left':_0x168249,'top':_0x49172f,'width':_0x400cc5-_0x168249,'height':_0x10922a-_0x49172f};}[_0xcffedf(0x1f0)](){const _0x58a279=_0xcffedf,{scaleX:_0x322e8c,scaleY:_0x3d2583}=this['_scene'][_0x58a279(0x2e4)]();return Math[_0x58a279(0x1c6)](_0x322e8c,_0x3d2583);}}var Mi=Object[_0xcffedf(0x2d5)],wi=(_0x37766d,_0x34b08f,_0x1c5416,_0x25ea18)=>{const _0x4afba2=_0xcffedf;for(var _0x52a02c=_0x25ea18>0x1?void 0x0:_0x25ea18?Mi(_0x34b08f,_0x1c5416):_0x34b08f,_0x1f9858=_0x37766d[_0x4afba2(0x3bf)]-0x1,_0x2cc7e7;_0x1f9858>=0x0;_0x1f9858--)(_0x2cc7e7=_0x37766d[_0x1f9858])&&(_0x52a02c=_0x2cc7e7(_0x52a02c)||_0x52a02c);return _0x52a02c;},Q=(_0x4b2482,_0x11c129)=>(_0x2bbddb,_0x4074cf)=>_0x11c129(_0x2bbddb,_0x4074cf,_0x4b2482);let Ue=class extends _0x338310{constructor(_0x28e14b,_0xd2a115,_0x4b0923,_0x1903aa,_0x81a0d){const _0x46e2a8=_0xcffedf;super(),h(this,_0x46e2a8(0x2bd),[]),h(this,'_cursors',[]),(this[_0x46e2a8(0x352)]=_0x28e14b,this[_0x46e2a8(0x317)]=_0xd2a115,this[_0x46e2a8(0x2a8)]=_0x4b0923,this[_0x46e2a8(0x3a1)]=_0x1903aa,this[_0x46e2a8(0x20b)]=_0x81a0d,this[_0x46e2a8(0x1d8)]());}[_0xcffedf(0x1d8)](){const _0x1f1f71=_0xcffedf,_0x1808d6=this[_0x1f1f71(0x352)][_0x1f1f71(0x3a4)],_0x36b126=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x1f100e([this[_0x1f1f71(0x2a8)][_0x1f1f71(0x30d)](_0x1808d6),this[_0x1f1f71(0x20b)][_0x1f1f71(0x2d0)]])['pipe'](_0x3fb663(([_0x1f1bd8,_0xd11409])=>({'skeleton':_0x36b126[_0x1f1f71(0x349)](),'cursors':[..._0x1f1bd8['values']()][_0x1f1f71(0x274)](_0x213dfb=>({..._0x213dfb,'color':_0xd11409[_0x213dfb[_0x1f1f71(0x280)]]}))})))[_0x1f1f71(0x1d9)](_0x2c0048=>{const _0x54ec10=_0x1f1f71;if(this['_removeCollabCursors'](),_0x2c0048){const {skeleton:_0x400553,cursors:_0x2f28d5}=_0x2c0048;this[_0x54ec10(0x368)](_0x400553,_0x2f28d5);}})),this[_0x1f1f71(0x257)](),this[_0x1f1f71(0x333)]();}[_0xcffedf(0x368)](_0x56a6f2,_0x40a8a6){const _0x106f8f=_0xcffedf,{scene:_0x30a5bf,mainComponent:_0x152eb8}=this['_context'],_0x405568=_0x40a8a6[_0x106f8f(0x202)](_0x5790e4=>new tt(_0x5790e4,_0x30a5bf,_0x56a6f2,_0x152eb8));this[_0x106f8f(0x2bd)]=_0x405568,this[_0x106f8f(0x387)]=_0x40a8a6;}[_0xcffedf(0x220)](){const _0x1ebdd7=_0xcffedf;this[_0x1ebdd7(0x1e6)]();const {scene:_0x24e3d3,mainComponent:_0x11dd5d}=this[_0x1ebdd7(0x352)],_0x5c4bac=this[_0x1ebdd7(0x317)][_0x1ebdd7(0x349)](),_0x4ed045=this[_0x1ebdd7(0x387)][_0x1ebdd7(0x202)](_0x26da31=>new tt(_0x26da31,_0x24e3d3,_0x5c4bac,_0x11dd5d));this[_0x1ebdd7(0x2bd)]=_0x4ed045;}['_removeCollabCursors'](){const _0x51f27c=_0xcffedf;this[_0x51f27c(0x2bd)][_0x51f27c(0x343)](_0x2c0f9d=>_0x2c0f9d['dispose']()),this[_0x51f27c(0x2bd)]=[];}[_0xcffedf(0x333)](){const _0x5f0cf0=_0xcffedf,_0x155923=[_0x49f093['id']];this[_0x5f0cf0(0x219)](this[_0x5f0cf0(0x3a1)][_0x5f0cf0(0x1fd)](_0x140155=>{const _0x268cae=_0x5f0cf0;_0x155923['includes'](_0x140155['id'])&&_0x140155[_0x268cae(0x29c)][_0x268cae(0x3a4)]===this[_0x268cae(0x352)][_0x268cae(0x3a4)]&&this[_0x268cae(0x220)]();}));}[_0xcffedf(0x257)](){const _0x23225f=_0xcffedf;this[_0x23225f(0x219)](_0x164d9e(this[_0x23225f(0x352)][_0x23225f(0x31c)][_0x23225f(0x3a9)])[_0x23225f(0x245)](_0x2b5352(_0x40653a=>_0x40653a['type']===_0x1bb768[_0x23225f(0x32a)]),_0x5a984a(0x10))['subscribe'](()=>{const _0x21c6c0=_0x23225f;this[_0x21c6c0(0x220)]();}));}};Ue=wi([Q(0x1,_0x695648(_0x1a9a71)),Q(0x2,_0x695648(H)),Q(0x3,_0x42a8e8),Q(0x4,_0x695648(_0x354126))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x3c2d29{constructor(_0x4cd038,_0x2d2e50){const _0x6adf6d=_0xcffedf;super(_0x4cd038,_0x2d2e50),h(this,_0x6adf6d(0x2c3)),h(this,_0x6adf6d(0x1ea),!0x1),h(this,_0x6adf6d(0x34b)),h(this,_0x6adf6d(0x38d),''),h(this,_0x6adf6d(0x3c4),_0x6adf6d(0x3a0)),h(this,_0x6adf6d(0x25a)),(_0x2d2e50&&this['setShapeProps'](_0x2d2e50),this[_0x6adf6d(0x341)][_0x6adf6d(0x237)](()=>this[_0x6adf6d(0x1e4)]({'hovered':!0x0})),this[_0x6adf6d(0x29d)][_0x6adf6d(0x237)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xcffedf(0x1e4)](_0x4ba4aa){const _0xb236ce=_0xcffedf;var _0x598293,_0x3c8fca,_0xdc66a0,_0x186c2d,_0x10f467,_0x351634;this[_0xb236ce(0x2c3)]=(_0x598293=_0x4ba4aa['color'])!=null?_0x598293:this[_0xb236ce(0x2c3)],this[_0xb236ce(0x1ea)]=(_0x3c8fca=_0x4ba4aa[_0xb236ce(0x35a)])!=null?_0x3c8fca:this[_0xb236ce(0x1ea)],this[_0xb236ce(0x34b)]=(_0xdc66a0=_0x4ba4aa[_0xb236ce(0x30a)])!=null?_0xdc66a0:this[_0xb236ce(0x34b)],this[_0xb236ce(0x38d)]=(_0x186c2d=_0x4ba4aa['name'])!=null?_0x186c2d:this[_0xb236ce(0x38d)],this[_0xb236ce(0x3c4)]=(_0x10f467=_0x4ba4aa[_0xb236ce(0x325)])!=null?_0x10f467:this[_0xb236ce(0x3c4)],this['_backgroundColor']=(_0x351634=_0x4ba4aa[_0xb236ce(0x1ef)])!=null?_0x351634:this[_0xb236ce(0x25a)],this[_0xb236ce(0x3b8)]({'width':_0x4ba4aa[_0xb236ce(0x22b)],'height':_0x4ba4aa['height']});}[_0xcffedf(0x2f7)](_0x1c8a38){const _0x500a44=_0xcffedf,{row:_0x1b7a10,column:_0x30c583}=_0x1c8a38;if(_0x1b7a10>=this[_0x500a44(0x34b)][_0x500a44(0x2ad)]&&_0x1b7a10<=this[_0x500a44(0x34b)]['endRow']&&_0x30c583>=this[_0x500a44(0x34b)][_0x500a44(0x23d)]&&_0x30c583<=this[_0x500a44(0x34b)][_0x500a44(0x273)]){this[_0x500a44(0x1e4)]({'hovered':!0x0});return;}this[_0x500a44(0x1e4)]({'hovered':!0x1});}[_0xcffedf(0x25b)](_0x5a30fe){return!0x1;}[_0xcffedf(0x38b)](_0x5c459f){const _0x1aff33=_0xcffedf;_0x56d092[_0x1aff33(0x1e3)](_0x5c459f,{'width':this[_0x1aff33(0x22b)],'height':this[_0x1aff33(0x2ab)],'strokeWidth':Li,'stroke':this[_0x1aff33(0x2c3)],'evented':!0x1,'fill':this[_0x1aff33(0x25a)]}),this[_0x1aff33(0x1ea)]&&(_0x5c459f[_0x1aff33(0x38c)](),_0x5c459f[_0x1aff33(0x242)](0x1,0x0,0x0,0x1,this[_0x1aff33(0x22b)],this[_0x1aff33(0x3c4)]===_0x1aff33(0x26d)?0x0:-0x14),ue[_0x1aff33(0x1e3)](_0x5c459f,{'text':this[_0x1aff33(0x38d)],'color':this[_0x1aff33(0x2c3)]}),_0x5c459f[_0x1aff33(0x2cf)]());}}var yi=Object['getOwnPropertyDescriptor'],$i=(_0x37174b,_0x3e8456,_0x30d2d,_0x680a79)=>{const _0x59690a=_0xcffedf;for(var _0x511775=_0x680a79>0x1?void 0x0:_0x680a79?yi(_0x3e8456,_0x30d2d):_0x3e8456,_0x3f6a61=_0x37174b[_0x59690a(0x3bf)]-0x1,_0x6570fd;_0x3f6a61>=0x0;_0x3f6a61--)(_0x6570fd=_0x37174b[_0x3f6a61])&&(_0x511775=_0x6570fd(_0x511775)||_0x511775);return _0x511775;},pe=(_0x1a2772,_0x413feb)=>(_0x4de59e,_0x40d855)=>_0x413feb(_0x4de59e,_0x40d855,_0x1a2772);const xi=0x1389;let Le=class extends _0x338310{constructor(_0x56155c,_0x460d71,_0x46ffc1,_0x4fe0ca){const _0x2bdd56=_0xcffedf;super(),h(this,_0x2bdd56(0x387),new Set()),h(this,'_lastPointer',null),(this[_0x2bdd56(0x352)]=_0x56155c,this[_0x2bdd56(0x37a)]=_0x460d71,this[_0x2bdd56(0x2a8)]=_0x46ffc1,this['_themeService']=_0x4fe0ca,this[_0x2bdd56(0x1d8)]());}[_0xcffedf(0x1d8)](){const _0x3ba0fe=_0xcffedf;this[_0x3ba0fe(0x37a)][_0x3ba0fe(0x303)][_0x3ba0fe(0x245)](_0x476ec8(this[_0x3ba0fe(0x22d)]),_0x58ce36(_0x8f269b=>{const _0x4dbe2e=_0x3ba0fe;if(_0x8f269b){const _0x361682=_0x8f269b[_0x4dbe2e(0x318)];return _0x1f100e(this['_collabCursorController'][_0x4dbe2e(0x30d)](this[_0x4dbe2e(0x352)]['unitId']),this[_0x4dbe2e(0x20b)][_0x4dbe2e(0x2d0)])[_0x4dbe2e(0x245)](_0x3fb663(([_0x4e9ee0,_0x4fb27e])=>{const _0x3a8885=_0x4dbe2e,_0xca5a16=new Map();return _0x4e9ee0[_0x3a8885(0x343)]((_0x18ba2b,_0x4d0fc4)=>{const _0x29ef14=_0x3a8885;if(_0x18ba2b[_0x29ef14(0x2d2)]===_0x361682){const _0x253481={..._0x18ba2b};_0x253481['color']=_0x4fb27e[_0x18ba2b[_0x29ef14(0x280)]],_0xca5a16[_0x29ef14(0x305)](_0x4d0fc4,_0x253481);}}),{'skeleton':_0x8f269b,'cursors':_0xca5a16};}));}return _0x1ed1a0({'skeleton':null,'cursors':new Map()});}))[_0x3ba0fe(0x1d9)](({skeleton:_0x465701,cursors:_0x1ba52a})=>{const _0x20bdc4=_0x3ba0fe;this['_removeCollabCursors'](),_0x465701&&this[_0x20bdc4(0x368)](_0x465701,_0x1ba52a);}),this[_0x3ba0fe(0x37a)][_0x3ba0fe(0x303)][_0x3ba0fe(0x1d9)](_0x48bd4f=>{const _0x54f334=_0x3ba0fe;if(_0x48bd4f==null)return;const {skeleton:_0x116acc}=_0x48bd4f,{scene:_0x5db2a5}=this[_0x54f334(0x352)];_0x5db2a5['onPointerMove$'][_0x54f334(0x237)](_0x1dac78(_0x362215=>{const _0x31660e=_0x54f334;var _0x42731e,_0x5d401f;const {offsetX:_0x333ef1,offsetY:_0x2606cd}=_0x362215,{x:_0x5da763,y:_0x1f94f7}=_0x5db2a5[_0x31660e(0x276)](_0x286b83[_0x31660e(0x1f2)]([_0x333ef1,_0x2606cd])),{scaleX:_0x4ce6d3,scaleY:_0xadfee}=_0x5db2a5[_0x31660e(0x2e4)](),_0x7d1c17=_0x5db2a5[_0x31660e(0x1d3)](_0x2f411e['VIEW_MAIN']),_0x2e4134=_0x5db2a5[_0x31660e(0x287)](_0x286b83[_0x31660e(0x1f2)]([_0x5da763,_0x1f94f7]),_0x7d1c17),_0x5d8b0f=_0x116acc[_0x31660e(0x36e)](_0x333ef1,_0x2606cd,_0x4ce6d3,_0xadfee,_0x2e4134);((_0x42731e=this['_lastPointer'])==null?void 0x0:_0x42731e['column'])===_0x5d8b0f[_0x31660e(0x353)]&&((_0x5d401f=this[_0x31660e(0x1cc)])==null?void 0x0:_0x5d401f[_0x31660e(0x264)])===_0x5d8b0f[_0x31660e(0x264)]||this[_0x31660e(0x387)]['forEach'](_0x33dce0=>{const _0x51c03d=_0x31660e;_0x33dce0[_0x51c03d(0x2f7)](_0x5d8b0f);});},0x64));});}['_updateCollabCursors'](_0x383164,_0x11c08c){const _0x5de133=_0xcffedf;var _0x44c75e;const _0x13c577=(_0x44c75e=this['_sheetSkeletonManagerService'][_0x5de133(0x29e)]())==null?void 0x0:_0x44c75e[_0x5de133(0x2ae)];if(!_0x13c577)return;const _0x29488b=this[_0x5de133(0x3a7)]();if(!_0x29488b)return;this[_0x5de133(0x387)][_0x5de133(0x343)](_0x4f222a=>{const _0x325f47=_0x5de133;_0x4f222a[_0x325f47(0x1dd)]();});const {scene:_0x223ebf}=_0x29488b,_0x44968d=ki(Array[_0x5de133(0x21d)](_0x11c08c['values']()))[_0x5de133(0x202)](_0xe480cd=>{const _0x3fbac1=_0x5de133,{color:_0x3cb260,range:_0x16c573,name:_0x4672b,selection:_0x55995f,sheetID:_0xe85af6}=_0xe480cd,{startColumn:_0x2ed94e,startRow:_0x5093af,endColumn:_0x52bc09,endRow:_0x440cc9}=_0x16c573,_0x2260b0=_0x5bfc73(_0x5093af,_0x2ed94e,_0x223ebf,_0x13c577),_0x2b659a=_0x5bfc73(_0x440cc9,_0x52bc09,_0x223ebf,_0x13c577),{columnHeaderHeightAndMarginTop:_0x17e898}=_0x13c577,{startX:_0x4ff54c,startY:_0x1267bc}=_0x2260b0,{endX:_0x5910a3,endY:_0x56ac2b}=_0x2b659a,_0x3ccdae=_0x5910a3-_0x4ff54c,_0x16c933=_0x56ac2b-_0x1267bc,_0x39a969={'labelPosition':_0x1267bc-_0x17e898>=te?_0x3fbac1(0x3a0):'bottom','sheetID':_0xe85af6,'range':_0x16c573,'color':_0x3cb260,'name':_0x4672b,'selection':_0x55995f,'left':_0x4ff54c,'top':_0x1267bc,'width':_0x3ccdae,'height':_0x16c933,'evented':!0x1,'zIndex':xi};return new Ai(_0x4672b,_0x39a969);});_0x223ebf[_0x5de133(0x322)](_0x44968d,Ui),this['_cursors']=new Set(_0x44968d);}[_0xcffedf(0x1e6)](){const _0x4c9c8d=_0xcffedf;var _0x555799;(_0x555799=this['_cursors'])==null||_0x555799[_0x4c9c8d(0x343)](_0x4de8a1=>_0x4de8a1[_0x4c9c8d(0x334)]());}[_0xcffedf(0x3a7)](){return _0x50a38e(this['_context']['unit'],this['_context']);}};Le=$i([pe(0x1,_0x695648(_0x3d0cf7)),pe(0x2,_0x695648(H)),pe(0x3,_0x695648(_0x354126))],Le);function ki(_0x69bae1){const _0x2aae10=_0xcffedf,_0x97d539=new Map();return _0x69bae1[_0x2aae10(0x343)](_0xcb8980=>{const _0x3640a4=_0x2aae10;if(_0x97d539[_0x3640a4(0x234)](_0xcb8980[_0x3640a4(0x289)])){const _0x167026=_0x97d539['get'](_0xcb8980[_0x3640a4(0x289)]);_0x167026['name']+=',\x20'+_0xcb8980[_0x3640a4(0x1ce)];}else _0x97d539[_0x3640a4(0x305)](_0xcb8980['selection'],_0xcb8980);}),Array['from'](_0x97d539[_0x2aae10(0x2c1)]());}var I=function(){const _0x27af90=_0xcffedf;return I=Object[_0x27af90(0x37f)]||function(_0x20b78e){const _0x43a3e2=_0x27af90;for(var _0x3f6332,_0x4bf667=0x1,_0x534e77=arguments['length'];_0x4bf667<_0x534e77;_0x4bf667++){_0x3f6332=arguments[_0x4bf667];for(var _0x379f1f in _0x3f6332)Object['prototype'][_0x43a3e2(0x2de)]['call'](_0x3f6332,_0x379f1f)&&(_0x20b78e[_0x379f1f]=_0x3f6332[_0x379f1f]);}return _0x20b78e;},I[_0x27af90(0x27e)](this,arguments);},Bi=function(_0x21ad00,_0x2b0ca2){const _0x5df179=_0xcffedf;var _0x392cb5={};for(var _0x5c99a0 in _0x21ad00)Object[_0x5df179(0x37b)][_0x5df179(0x2de)][_0x5df179(0x365)](_0x21ad00,_0x5c99a0)&&_0x2b0ca2[_0x5df179(0x38e)](_0x5c99a0)<0x0&&(_0x392cb5[_0x5c99a0]=_0x21ad00[_0x5c99a0]);if(_0x21ad00!=null&&typeof Object[_0x5df179(0x302)]==_0x5df179(0x1d1)){for(var _0x15a356=0x0,_0x5c99a0=Object[_0x5df179(0x302)](_0x21ad00);_0x15a356<_0x5c99a0[_0x5df179(0x3bf)];_0x15a356++)_0x2b0ca2[_0x5df179(0x38e)](_0x5c99a0[_0x15a356])<0x0&&Object[_0x5df179(0x37b)][_0x5df179(0x31b)][_0x5df179(0x365)](_0x21ad00,_0x5c99a0[_0x15a356])&&(_0x392cb5[_0x5c99a0[_0x15a356]]=_0x21ad00[_0x5c99a0[_0x15a356]]);}return _0x392cb5;},We=_0x2f8f96(function(_0xffad3d,_0x1f979e){const _0x3ee97f=_0xcffedf;var _0x481921=_0xffad3d[_0x3ee97f(0x35f)],_0x19b778=_0xffad3d['id'],_0xa0bc3e=_0xffad3d[_0x3ee97f(0x347)],_0x20ca58=_0xffad3d[_0x3ee97f(0x1f4)],_0x3cca26=Bi(_0xffad3d,[_0x3ee97f(0x35f),'id',_0x3ee97f(0x347),_0x3ee97f(0x1f4)]),_0x4d1071=_0x3ee97f(0x2f9)[_0x3ee97f(0x2e6)](_0x19b778,'\x20')[_0x3ee97f(0x2e6)](_0xa0bc3e||'')[_0x3ee97f(0x346)](),_0x117458=_0x592de7('_'[_0x3ee97f(0x2e6)](Wi()));return Nt(_0x481921,''[_0x3ee97f(0x2e6)](_0x19b778),{'defIds':_0x481921[_0x3ee97f(0x235)],'idSuffix':_0x117458[_0x3ee97f(0x2e7)]},I({'ref':_0x1f979e,'className':_0x4d1071},_0x3cca26),_0x20ca58);});function Nt(_0x3e25c3,_0x59318c,_0x503ab5,_0x5483c7,_0x2d00c3){const _0xee48cb=_0xcffedf;return _0x35062d(_0x3e25c3[_0xee48cb(0x1ca)],I(I({'key':_0x59318c},Hi(_0x3e25c3,_0x503ab5,_0x2d00c3)),_0x5483c7),(ji(_0x3e25c3,_0x503ab5)[_0xee48cb(0x292)]||[])[_0xee48cb(0x202)](function(_0xbcf3f1,_0x507fb4){const _0x109c00=_0xee48cb;return Nt(_0xbcf3f1,''['concat'](_0x59318c,'-')['concat'](_0x3e25c3[_0x109c00(0x1ca)],'-')['concat'](_0x507fb4),_0x503ab5,void 0x0,_0x2d00c3);}));}function Hi(_0x6c3a06,_0x39d805,_0x425fb5){const _0x48e46c=_0xcffedf;var _0x57e62b=I({},_0x6c3a06[_0x48e46c(0x2c7)]);_0x425fb5!=null&&_0x425fb5[_0x48e46c(0x28e)]&&_0x57e62b[_0x48e46c(0x1e0)]==='colorChannel1'&&(_0x57e62b[_0x48e46c(0x1e0)]=_0x425fb5[_0x48e46c(0x28e)]),_0x6c3a06['tag']==='mask'&&_0x57e62b['id']&&(_0x57e62b['id']=_0x57e62b['id']+_0x39d805[_0x48e46c(0x369)]),Object[_0x48e46c(0x38a)](_0x57e62b)[_0x48e46c(0x343)](function(_0x11ec0a){const _0x533a4a=_0x48e46c;var _0x2280c0=_0x11ec0a[0x0],_0x5455da=_0x11ec0a[0x1];_0x2280c0===_0x533a4a(0x396)&&typeof _0x5455da==_0x533a4a(0x379)&&(_0x57e62b[_0x2280c0]=_0x5455da[_0x533a4a(0x3ac)](/url\(#(.*)\)/,_0x533a4a(0x39c)['concat'](_0x39d805[_0x533a4a(0x369)],')')));});var _0x38a459=_0x39d805['defIds'];return!_0x38a459||_0x38a459[_0x48e46c(0x3bf)]===0x0||(_0x6c3a06[_0x48e46c(0x1ca)]===_0x48e46c(0x25e)&&_0x57e62b[_0x48e46c(0x2ea)]&&(_0x57e62b[_0x48e46c(0x2ea)]=_0x57e62b['xlink:href']+_0x39d805[_0x48e46c(0x369)]),Object[_0x48e46c(0x38a)](_0x57e62b)[_0x48e46c(0x343)](function(_0x20a708){const _0x485bce=_0x48e46c;var _0x19123c=_0x20a708[0x0],_0x94c6b3=_0x20a708[0x1];typeof _0x94c6b3==_0x485bce(0x379)&&(_0x57e62b[_0x19123c]=_0x94c6b3[_0x485bce(0x3ac)](/url\(#(.*)\)/,_0x485bce(0x39c)[_0x485bce(0x2e6)](_0x39d805[_0x485bce(0x369)],')')));})),_0x57e62b;}function ji(_0x57f9b4,_0x1eb69e){const _0x1d8987=_0xcffedf;var _0x2e4b62,_0x49407f=_0x1eb69e[_0x1d8987(0x235)];return!_0x49407f||_0x49407f[_0x1d8987(0x3bf)]===0x0?_0x57f9b4:_0x57f9b4['tag']==='defs'&&(!((_0x2e4b62=_0x57f9b4[_0x1d8987(0x292)])===null||_0x2e4b62===void 0x0)&&_0x2e4b62[_0x1d8987(0x3bf)])?I(I({},_0x57f9b4),{'children':_0x57f9b4[_0x1d8987(0x292)]['map'](function(_0x272a37){const _0x1510e4=_0x1d8987;return typeof _0x272a37[_0x1510e4(0x2c7)]['id']==_0x1510e4(0x379)&&_0x49407f&&_0x49407f['indexOf'](_0x272a37[_0x1510e4(0x2c7)]['id'])>-0x1?I(I({},_0x272a37),{'attrs':I(I({},_0x272a37['attrs']),{'id':_0x272a37[_0x1510e4(0x2c7)]['id']+_0x1eb69e[_0x1510e4(0x369)]})}):_0x272a37;})}):_0x57f9b4;}function Wi(){const _0x4ffacc=_0xcffedf;return Math[_0x4ffacc(0x270)]()[_0x4ffacc(0x293)](0x24)[_0x4ffacc(0x2bb)](0x2,0x8);}We['displayName']='UniverIcon';var Fi={'tag':_0xcffedf(0x36d),'attrs':{'fill':_0xcffedf(0x2c5),'viewBox':'0\x200\x2016\x2016','width':_0xcffedf(0x281),'height':_0xcffedf(0x281)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0xcffedf(0x27d),'attrs':{'stroke':_0xcffedf(0x204),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0xcffedf(0x31e),'strokeLinejoin':_0xcffedf(0x31e),'strokeWidth':1.2}}]},{'tag':_0xcffedf(0x238),'attrs':{},'children':[{'tag':_0xcffedf(0x3b0),'attrs':{'id':_0xcffedf(0x258)},'children':[{'tag':'path','attrs':{'fill':_0xcffedf(0x27a),'d':_0xcffedf(0x29b)}}]}]}],'defIds':[_0xcffedf(0x258)]},Pt=_0x2f8f96(function(_0x4e9d0f,_0x21e15f){const _0x3b9a9a=_0xcffedf;return _0x35062d(We,Object[_0x3b9a9a(0x37f)]({},_0x4e9d0f,{'id':_0x3b9a9a(0x256),'ref':_0x21e15f,'icon':Fi}));});Pt[_0xcffedf(0x3c3)]=_0xcffedf(0x345);var Vi={'tag':_0xcffedf(0x36d),'attrs':{'fill':_0xcffedf(0x2c5),'viewBox':_0xcffedf(0x3b9),'width':_0xcffedf(0x281),'height':_0xcffedf(0x281)},'children':[{'tag':'g','attrs':{'clipPath':_0xcffedf(0x263)},'children':[{'tag':_0xcffedf(0x27d),'attrs':{'stroke':_0xcffedf(0x204),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xcffedf(0x31e),'strokeLinejoin':_0xcffedf(0x31e),'strokeWidth':1.2}}]},{'tag':_0xcffedf(0x238),'attrs':{},'children':[{'tag':_0xcffedf(0x3b0),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0xcffedf(0x27d),'attrs':{'fill':_0xcffedf(0x27a),'d':_0xcffedf(0x29b),'transform':_0xcffedf(0x24b)}}]}]}],'defIds':[_0xcffedf(0x30b)]},Mt=_0x2f8f96(function(_0x569473,_0x544023){const _0x618e9d=_0xcffedf;return _0x35062d(We,Object[_0x618e9d(0x37f)]({},_0x569473,{'id':'on-line-single','ref':_0x544023,'icon':Vi}));});Mt[_0xcffedf(0x3c3)]=_0xcffedf(0x27f);const Yi=_0xcffedf(0x28d),Xi='univer-online-status-title',Gi=_0xcffedf(0x1d7),Ki=_0xcffedf(0x1e7),zi='univer-offline',G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x1fa0ee){const _0x5ef146=_0xcffedf;switch(_0x1fa0ee){case _0x137632['OFFLINE']:return _0x5ef146(0x32b);case _0x137632[_0x5ef146(0x249)]:return _0x5ef146(0x331);case _0x137632['FETCH_MISS']:return _0x5ef146(0x31a);case _0x137632[_0x5ef146(0x1e5)]:return _0x5ef146(0x366);case _0x137632['AWAITING']:case _0x137632[_0x5ef146(0x3a8)]:return _0x5ef146(0x275);case _0x137632['SYNCED']:case _0x137632[_0x5ef146(0x321)]:return'collabStatus.synced';}}function Zi(_0x2b7e2c){const _0x594874=_0xcffedf,{status$:_0x313695}=_0x2b7e2c,_0x34849a=_0x4043f5(_0x313695,_0x137632[_0x594874(0x1e5)]),_0x52be14=_0x591ef1(_0x3f07ff),_0x4bdf8d=_0x591ef1(_0x5f16f8),_0x569594=_0x34849a!==_0x137632[_0x594874(0x23f)],_0x430bf5=_0x52be14['t'](Ji(_0x34849a)),_0x22cfac=_0x1bbc21(G[_0x594874(0x33d)],{[G['online']]:_0x569594,[G['offline']]:!_0x569594}),_0x23dfe9=_0x569594?_0x48955e(Mt,{}):_0x48955e(Pt,{}),_0x4cef71=_0x3e46bb(()=>{const _0x17590e=_0x594874;_0x569594||_0x4bdf8d[_0x17590e(0x2b5)]();},[_0x569594,_0x4bdf8d]);function _0x3047d1(){const _0x44a569=_0x594874;return _0x319213(_0x44a569(0x2b6),{'className':_0x1bbc21(_0x22cfac,_0x44a569(0x201)),'onClick':_0x4cef71,'children':[_0x48955e(_0x44a569(0x2b6),{'className':G[_0x44a569(0x259)],'children':_0x23dfe9}),_0x48955e(_0x44a569(0x2b6),{'className':G['onlineStatusTitle'],'children':_0x430bf5})]});}return _0x569594?_0x3047d1():_0x48955e(_0x6abde0,{'title':_0x52be14['t'](_0x594874(0x2dc)),'children':_0x3047d1()});}var Qi=Object[_0xcffedf(0x2d5)],qi=(_0x1d18aa,_0x3542f0,_0x43e252,_0x42068a)=>{for(var _0xe6edfd=_0x42068a>0x1?void 0x0:_0x42068a?Qi(_0x3542f0,_0x43e252):_0x3542f0,_0x32ad3e=_0x1d18aa['length']-0x1,_0x157981;_0x32ad3e>=0x0;_0x32ad3e--)(_0x157981=_0x1d18aa[_0x32ad3e])&&(_0xe6edfd=_0x157981(_0xe6edfd)||_0xe6edfd);return _0xe6edfd;},q=(_0x50aeb9,_0x295ae9)=>(_0x640dae,_0x44f9b7)=>_0x295ae9(_0x640dae,_0x44f9b7,_0x50aeb9);let se=class extends _0xc24441{constructor(_0x480e7d,_0x46c521,_0x421c7b,_0x2b6171){const _0x41308f=_0xcffedf;super(),h(this,_0x41308f(0x372),new _0x2d4022(_0x137632[_0x41308f(0x1e5)])),(this[_0x41308f(0x2b0)]=_0x480e7d,this[_0x41308f(0x1f6)]=_0x46c521,this[_0x41308f(0x1cf)]=_0x421c7b,this[_0x41308f(0x214)]=_0x2b6171,this[_0x41308f(0x1df)](),this[_0x41308f(0x2c4)]());}['_initStatusListener'](){const _0x5c7753=_0xcffedf;this['disposeWithMe'](this[_0x5c7753(0x2b0)]['focused$'][_0x5c7753(0x245)](_0x41f1c9(()=>{const _0x33a8c4=_0x5c7753,_0x16167b=this['_univerInstanceService']['getFocusedUnit']();return _0x16167b?this[_0x33a8c4(0x1cf)][_0x33a8c4(0x2d9)](_0x16167b[_0x33a8c4(0x2b3)]()):_0x1ed1a0(null);}),_0x41f1c9(_0x234e0e=>_0x234e0e?_0x234e0e['status$']:_0x1ed1a0(_0x137632[_0x5c7753(0x1e5)])))[_0x5c7753(0x1d9)](_0x1ad0cc=>{const _0xabe5dc=_0x5c7753;this[_0xabe5dc(0x372)][_0xabe5dc(0x1fe)](_0x1ad0cc);}));}[_0xcffedf(0x1df)](){const _0x475ccf=_0xcffedf;this[_0x475ccf(0x219)](this[_0x475ccf(0x214)][_0x475ccf(0x390)](_0x32b901[_0x475ccf(0x1f3)],()=>_0xd3d186(en({'status$':this[_0x475ccf(0x372)][_0x475ccf(0x2ee)]()}),this[_0x475ccf(0x1f6)])));}};se=qi([q(0x0,_0x2eb697),q(0x1,_0x695648(_0xf56663)),q(0x2,_0x695648(_0x832d1d)),q(0x3,_0x3ab811)],se);function en(_0x5884ca){const {status$:_0x58ef0f}=_0x5884ca;return function(){return _0x48955e(Zi,{'status$':_0x58ef0f});};}var tn=Object[_0xcffedf(0x2d5)],sn=(_0x1febda,_0x1d6f3f,_0x4278d5,_0x236097)=>{for(var _0x1e10ea=_0x236097>0x1?void 0x0:_0x236097?tn(_0x1d6f3f,_0x4278d5):_0x1d6f3f,_0x5bc233=_0x1febda['length']-0x1,_0x294c3d;_0x5bc233>=0x0;_0x5bc233--)(_0x294c3d=_0x1febda[_0x5bc233])&&(_0x1e10ea=_0x294c3d(_0x1e10ea)||_0x1e10ea);return _0x1e10ea;},k=(_0x62c381,_0x13af08)=>(_0x48a12a,_0x3ef874)=>_0x13af08(_0x48a12a,_0x3ef874,_0x62c381);let ie=class extends _0xc24441{constructor(_0x197ec6,_0xfd4344,_0x1b94bf,_0x2c83b2,_0x210215,_0x463a5a){const _0x2df4c6=_0xcffedf;super(),this['_beforeCloseService']=_0x197ec6,this[_0x2df4c6(0x216)]=_0xfd4344,this[_0x2df4c6(0x283)]=_0x1b94bf,this[_0x2df4c6(0x393)]=_0x2c83b2,this[_0x2df4c6(0x279)]=_0x210215,this[_0x2df4c6(0x326)]=_0x463a5a,this[_0x2df4c6(0x3b6)](),this[_0x2df4c6(0x32f)]();}[_0xcffedf(0x3b6)](){const _0x2f35ac=_0xcffedf;this['disposeWithMe'](this[_0x2f35ac(0x2df)]['registerBeforeClose'](()=>{const _0x5a8eaa=_0x2f35ac;if(this['_localCacheService']['saveTaskMap'][_0x5a8eaa(0x3bb)])return this[_0x5a8eaa(0x326)]['t']('collaboration-client.offline-data-not-saved');}));}[_0xcffedf(0x32f)](){const _0x2e3495=_0xcffedf;this['disposeWithMe'](this[_0x2e3495(0x283)]['event$'][_0x2e3495(0x1d9)](_0x4ffee5=>{const _0x531360=_0x2e3495;_0x4ffee5['id']===_0x9322c9[_0x531360(0x39e)]&&this['_messageService']['show']({'type':_0x1c39d7[_0x531360(0x3a2)],'content':this[_0x531360(0x326)]['t'](_0x531360(0x27c))}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x1c9)]&&this['_messageService'][_0x531360(0x315)]({'type':_0x1c39d7[_0x531360(0x3a2)],'content':this[_0x531360(0x326)]['t'](_0x531360(0x33f))}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x1d2)]&&this[_0x531360(0x279)][_0x531360(0x315)]({'title':this[_0x531360(0x326)]['t'](_0x531360(0x2da)),'content':this[_0x531360(0x326)]['t']('permission.content'),'type':'error','duration':0x0}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x249)]&&this[_0x531360(0x393)][_0x531360(0x315)]({'type':_0x1c39d7['Error'],'content':this[_0x531360(0x326)]['t'](_0x531360(0x33f))+'('+_0x4ffee5[_0x531360(0x320)]+')'}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x236)]&&this['_messageService'][_0x531360(0x315)]({'type':_0x1c39d7[_0x531360(0x3a2)],'content':this['_localeService']['t'](_0x4ffee5['data']||'')}),_0x4ffee5['id']===_0x9322c9['SOCKET_FAILED_RETRY']&&this[_0x531360(0x393)][_0x531360(0x315)]({'type':_0x1c39d7['Warning'],'content':this[_0x531360(0x326)]['t'](_0x531360(0x1d6))}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x268)]&&this['_messageService']['show']({'type':_0x1c39d7[_0x531360(0x397)],'content':this[_0x531360(0x326)]['t'](_0x531360(0x1de))}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x233)]&&this[_0x531360(0x393)][_0x531360(0x315)]({'type':_0x1c39d7[_0x531360(0x397)],'content':this[_0x531360(0x326)]['t'](_0x531360(0x2e0))});}));}};ie=sn([k(0x0,_0x25b1ff),k(0x1,_0x126658),k(0x2,_0x695648(_0x7f3d0)),k(0x3,_0x2b6d87),k(0x4,_0x15b647),k(0x5,_0x695648(_0x3f07ff))],ie);const nn='collaboration-client-ui.config',st={},wt=_0x3e6261(_0xcffedf(0x1c1));var rn=Object[_0xcffedf(0x2d5)],on=(_0x35a309,_0x5bc458,_0x31275d,_0x1023b0)=>{const _0x5988a8=_0xcffedf;for(var _0x5b68bf=_0x1023b0>0x1?void 0x0:_0x1023b0?rn(_0x5bc458,_0x31275d):_0x5bc458,_0x3a17dd=_0x35a309[_0x5988a8(0x3bf)]-0x1,_0x498348;_0x3a17dd>=0x0;_0x3a17dd--)(_0x498348=_0x35a309[_0x3a17dd])&&(_0x5b68bf=_0x498348(_0x5b68bf)||_0x5b68bf);return _0x5b68bf;},K=(_0x30134b,_0x1fde4a)=>(_0x2b919d,_0x284707)=>_0x1fde4a(_0x2b919d,_0x284707,_0x30134b);let ne=class extends _0x338310{constructor(_0x599d2b,_0x46db19,_0x350ca6,_0x2bd273,_0x4cfb51){const _0x29ef47=_0xcffedf;super(),this[_0x29ef47(0x24f)]=_0x599d2b,this[_0x29ef47(0x30f)]=_0x46db19,this[_0x29ef47(0x3a1)]=_0x350ca6,this[_0x29ef47(0x3b2)]=_0x2bd273,_0x4cfb51?_0x4cfb51==null||_0x4cfb51[_0x29ef47(0x34c)]()['then'](()=>this[_0x29ef47(0x1d8)]()):(this[_0x29ef47(0x30f)][_0x29ef47(0x239)](_0x29ef47(0x1f9),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x29ef47(0x1d8)]());}async[_0xcffedf(0x1d8)](){const _0x4a659d=_0xcffedf,_0x156f71=this['_urlService'][_0x4a659d(0x261)]('unit'),_0x59fcd8=this['_urlService'][_0x4a659d(0x261)](_0x4a659d(0x2d1)),_0x436ae7=this[_0x4a659d(0x24f)][_0x4a659d(0x261)](_0x4a659d(0x1eb));if(!_0x156f71||!_0x59fcd8){this['_logService'][_0x4a659d(0x239)](_0x4a659d(0x1f9),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x48926f=await this[_0x4a659d(0x3b2)][_0x4a659d(0x222)](_0x156f71,Number(_0x59fcd8),_0x436ae7);_0x48926f&&_0x48926f instanceof _0xdaef1e&&this[_0x4a659d(0x29f)](_0x48926f);}async[_0xcffedf(0x29f)](_0x1ef0b0){const _0x3157a6=_0xcffedf;await this[_0x3157a6(0x1c7)](_0x1ef0b0),_0x1ef0b0[_0x3157a6(0x2a0)][_0x3157a6(0x245)](_0x57ae48(this[_0x3157a6(0x22d)]))[_0x3157a6(0x1d9)](_0x57951d=>{const _0x3e47bc=_0x3157a6;_0x57951d&&this[_0x3e47bc(0x22c)](_0x57951d);}),this[_0x3157a6(0x24f)][_0x3157a6(0x34e)][_0x3157a6(0x245)](_0x57ae48(this[_0x3157a6(0x22d)]))[_0x3157a6(0x1d9)](()=>this[_0x3157a6(0x1c7)](_0x1ef0b0));}[_0xcffedf(0x22c)](_0x2a4b8d,_0x468c83=!0x1){const _0x2c5636=_0xcffedf,_0x4c5f8c=this[_0x2c5636(0x24f)]['getParam']('subunit');_0x2a4b8d[_0x2c5636(0x23a)]()!==_0x4c5f8c&&this[_0x2c5636(0x24f)]['setParam'](_0x2c5636(0x1eb),_0x2a4b8d[_0x2c5636(0x23a)](),_0x468c83);}async[_0xcffedf(0x1c7)](_0x4400c5){const _0x51b0a5=_0xcffedf;var _0x439a88;const _0x484420=this[_0x51b0a5(0x24f)][_0x51b0a5(0x261)](_0x51b0a5(0x1eb));if(!_0x484420||!_0x4400c5['getSheetBySheetId'](_0x484420)){const _0x378865=_0x4400c5['getUnhiddenWorksheets']()[0x0],_0x4b4239=_0x4400c5['getSheetBySheetId'](_0x378865);if(!_0x4b4239)return;this[_0x51b0a5(0x22c)](_0x4b4239,!0x0),await this[_0x51b0a5(0x3a1)][_0x51b0a5(0x340)](_0x196a98['id'],{'unitId':_0x4400c5[_0x51b0a5(0x2b3)](),'subUnitId':_0x378865});return;}((_0x439a88=_0x4400c5[_0x51b0a5(0x351)]())==null?void 0x0:_0x439a88[_0x51b0a5(0x23a)]())!==_0x484420&&await this['_commandService'][_0x51b0a5(0x340)](_0x196a98['id'],{'unitId':_0x4400c5[_0x51b0a5(0x2b3)](),'subUnitId':_0x484420});}};ne=on([K(0x0,wt),K(0x1,_0x5ba7eb),K(0x2,_0x42a8e8),K(0x3,_0x695648(_0x1e714f)),K(0x4,_0x1e5a1d(_0x22f530))],ne);function _0x12c7(_0x1022cb,_0x38cb4b){const _0x2072f3=_0x2072();return _0x12c7=function(_0x12c786,_0x5e7107){_0x12c786=_0x12c786-0x1c0;let _0x50bf41=_0x2072f3[_0x12c786];return _0x50bf41;},_0x12c7(_0x1022cb,_0x38cb4b);}var an=Object[_0xcffedf(0x2d5)],cn=(_0x34751c,_0xbed55d,_0xe22823,_0x2cc889)=>{for(var _0x57ba3c=_0x2cc889>0x1?void 0x0:_0x2cc889?an(_0xbed55d,_0xe22823):_0xbed55d,_0x29296a=_0x34751c['length']-0x1,_0x2f717e;_0x29296a>=0x0;_0x29296a--)(_0x2f717e=_0x34751c[_0x29296a])&&(_0x57ba3c=_0x2f717e(_0x57ba3c)||_0x57ba3c);return _0x57ba3c;},Ce=(_0x5e306f,_0x207c4e)=>(_0x2434d9,_0x64fb7f)=>_0x207c4e(_0x2434d9,_0x64fb7f,_0x5e306f);let re=class{constructor(_0x41ec67,_0x338a64,_0x381307){const _0x595225=_0xcffedf;this[_0x595225(0x1f6)]=_0x41ec67,this[_0x595225(0x218)]=_0x338a64,this[_0x595225(0x34d)]=_0x381307;}['transformIMECache'](_0x528d56){const _0x1e4560=_0xcffedf;this[_0x1e4560(0x329)](_0x528d56),this[_0x1e4560(0x304)](_0x528d56);}[_0xcffedf(0x2fb)](_0x525dbb){const _0xc10ef5=_0xcffedf,{unitID:_0x3d3204}=_0x525dbb,_0x62fbd0=this[_0xc10ef5(0x34d)][_0xc10ef5(0x244)](_0x3d3204)[_0xc10ef5(0x266)](_0xac9c66),{redoCache:_0x522159}=_0x62fbd0[_0xc10ef5(0x21f)]();if(_0x522159[_0xc10ef5(0x3bf)]===0x0)return _0x525dbb;let _0x56d698=_0x5a8d3d[_0xc10ef5(0x2fc)](_0x525dbb[_0xc10ef5(0x364)][0x0]);for(let _0x1e49d6=0x0;_0x1e49d6<_0x522159[_0xc10ef5(0x3bf)];_0x1e49d6++){const _0x4b2e45={'id':_0xc10ef5(0x307),'params':{..._0x522159[_0x1e49d6]}},_0x174afe=this['_transformService']['transformMutation'](_0x56d698,_0x4b2e45,!0x1);if(_0x488cde(_0x174afe))throw _0x174afe[_0xc10ef5(0x2f3)];_0x56d698=_0x174afe[_0xc10ef5(0x39d)];}return{..._0x5a8d3d['deepClone'](_0x525dbb),'mutations':[_0x56d698]};}[_0xcffedf(0x329)](_0x169220){const _0x5b4922=_0xcffedf,{unitID:_0x7590b4}=_0x169220,_0x45bf96=this['_renderManagerService'][_0x5b4922(0x244)](_0x7590b4)[_0x5b4922(0x266)](_0xac9c66),{undoCache:_0x56fbf5,redoCache:_0x4a4a28}=_0x45bf96[_0x5b4922(0x21f)]();if(_0x56fbf5[_0x5b4922(0x3bf)]===0x0||_0x4a4a28[_0x5b4922(0x3bf)]===0x0)return;const _0x408491=[],_0xc975c4=[];let _0x4b15e3=_0x5a8d3d[_0x5b4922(0x2fc)](_0x169220['mutations'][0x0]),_0x170f3e=_0x5a8d3d[_0x5b4922(0x2fc)](_0x169220[_0x5b4922(0x364)][0x0]);for(let _0x30c2a4=_0x56fbf5[_0x5b4922(0x3bf)]-0x1;_0x30c2a4>=0x0;_0x30c2a4--){const _0x2e27cd={'id':'doc.mutation.rich-text-editing','params':{..._0x56fbf5[_0x30c2a4]}},_0x1e77fe={'id':_0x5b4922(0x307),'params':{..._0x4a4a28[_0x30c2a4]}},_0x5ab208=this['_transformService'][_0x5b4922(0x229)](_0x4b15e3,_0x2e27cd,!0x1),_0x341ebb=this[_0x5b4922(0x218)]['transformMutation'](_0x170f3e,_0x1e77fe,!0x1);if(_0x488cde(_0x5ab208))throw _0x5ab208[_0x5b4922(0x2f3)];if(_0x488cde(_0x341ebb))throw _0x341ebb['error'];_0x408491[_0x5b4922(0x391)](_0x5ab208[_0x5b4922(0x32e)][_0x5b4922(0x29c)]),_0xc975c4[_0x5b4922(0x391)](_0x341ebb[_0x5b4922(0x32e)]['params']),_0x4b15e3=_0x5ab208[_0x5b4922(0x39d)],_0x170f3e=_0x341ebb['m1Prime'];}_0x45bf96[_0x5b4922(0x262)]({'undoCache':_0x408491,'redoCache':_0xc975c4});}[_0xcffedf(0x304)](_0x344038){const _0x42d215=_0xcffedf,{unitID:_0x3a65c9}=_0x344038,_0x5e1bfe=this[_0x42d215(0x34d)][_0x42d215(0x244)](_0x3a65c9)[_0x42d215(0x266)](_0xac9c66),_0x223ffd=_0x5e1bfe[_0x42d215(0x354)]();if(_0x223ffd==null)return;const _0x2f3612=[{'id':_0x42d215(0x307),'params':{'unitId':_0x344038[_0x42d215(0x24a)],'actions':null,'textRanges':[_0x223ffd]}}],_0x2759bf=this[_0x42d215(0x218)]['transformMutationsWithChangeset'](_0x344038,_0x2f3612);if(!_0x2f9375(_0x2759bf))throw _0x2759bf['error'];const _0x1538d5=_0x2759bf[_0x42d215(0x32e)][0x0][_0x42d215(0x29c)]['textRanges'];Array[_0x42d215(0x295)](_0x1538d5)&&_0x1538d5[_0x42d215(0x3bf)]&&_0x5e1bfe[_0x42d215(0x301)](_0x1538d5[0x0]);}};re=cn([Ce(0x0,_0x695648(_0xf56663)),Ce(0x1,_0x220f1b),Ce(0x2,_0x30ea9d)],re);var ln=Object[_0xcffedf(0x2d5)],hn=(_0x3e1e96,_0x2a7630,_0xa3c0ec,_0x548180)=>{const _0x240eed=_0xcffedf;for(var _0x5d63ca=_0x548180>0x1?void 0x0:_0x548180?ln(_0x2a7630,_0xa3c0ec):_0x2a7630,_0x2882b8=_0x3e1e96[_0x240eed(0x3bf)]-0x1,_0x4da978;_0x2882b8>=0x0;_0x2882b8--)(_0x4da978=_0x3e1e96[_0x2882b8])&&(_0x5d63ca=_0x4da978(_0x5d63ca)||_0x5d63ca);return _0x5d63ca;},be=(_0x1c459a,_0x33b289)=>(_0x2cc6ad,_0x4edc45)=>_0x33b289(_0x2cc6ad,_0x4edc45,_0x1c459a);let oe=class{constructor(_0x1dacdc,_0x1f9826,_0x44ba01){const _0x4abb5c=_0xcffedf;this[_0x4abb5c(0x1f6)]=_0x1dacdc,this[_0x4abb5c(0x218)]=_0x1f9826,this[_0x4abb5c(0x2fe)]=_0x44ba01;}[_0xcffedf(0x260)](_0x1a9bac){const _0xd73360=_0xcffedf;this[_0xd73360(0x2ec)](_0x1a9bac);}[_0xcffedf(0x2fb)](_0x221ccb){const _0x580ae0=_0xcffedf,{unitID:_0x56e593}=_0x221ccb,{collaboration:_0x5cb634}=this[_0x580ae0(0x2fe)][_0x580ae0(0x21c)](_0x56e593);if(_0x5cb634['length']===0x0)return _0x221ccb;let _0x219345=_0x5a8d3d[_0x580ae0(0x2fc)](_0x221ccb[_0x580ae0(0x364)][0x0]);for(let _0x1a147a=0x0;_0x1a147a<_0x5cb634[_0x580ae0(0x3bf)];_0x1a147a++){const _0x3f2770={'id':_0x580ae0(0x307),'params':{'unitId':_0x5cb634[_0x1a147a][_0x580ae0(0x3a4)],..._0x5cb634[_0x1a147a][_0x580ae0(0x1c0)]}},_0x312903=this[_0x580ae0(0x218)][_0x580ae0(0x229)](_0x219345,_0x3f2770,!0x1);if(_0x488cde(_0x312903))throw _0x312903[_0x580ae0(0x2f3)];_0x219345=_0x312903[_0x580ae0(0x39d)];}return{..._0x5a8d3d[_0x580ae0(0x2fc)](_0x221ccb),'mutations':[_0x219345]};}[_0xcffedf(0x2ec)](_0x29c8d8){const _0x58c6b3=_0xcffedf,{unitID:_0x5b72c5}=_0x29c8d8,{history:_0x285372,collaboration:_0x2e8c0e}=this[_0x58c6b3(0x2fe)][_0x58c6b3(0x21c)](_0x5b72c5);if(_0x285372[_0x58c6b3(0x3bf)]===0x0&&_0x2e8c0e[_0x58c6b3(0x3bf)]===0x0)return;const _0x4a719c=[],_0x1cbcca=[];let _0x4b3dc2=_0x5a8d3d[_0x58c6b3(0x2fc)](_0x29c8d8[_0x58c6b3(0x364)][0x0]),_0x4740d4=_0x5a8d3d[_0x58c6b3(0x2fc)](_0x29c8d8[_0x58c6b3(0x364)][0x0]);for(let _0x11d06e=_0x285372[_0x58c6b3(0x3bf)]-0x1;_0x11d06e>=0x0;_0x11d06e--){const _0x267b81={'id':_0x58c6b3(0x307),'params':{'unitId':_0x285372[_0x11d06e][_0x58c6b3(0x3a4)],..._0x285372[_0x11d06e][_0x58c6b3(0x358)]}},_0x42c801={'id':_0x58c6b3(0x307),'params':{'unitId':_0x285372[_0x11d06e]['unitId'],..._0x285372[_0x11d06e][_0x58c6b3(0x1c0)]}},_0x538963=this['_transformService'][_0x58c6b3(0x229)](_0x4b3dc2,_0x267b81,!0x1),_0x44db7b=this[_0x58c6b3(0x218)]['transformMutation'](_0x4740d4,_0x42c801,!0x1);if(_0x488cde(_0x538963))throw _0x538963[_0x58c6b3(0x2f3)];if(_0x488cde(_0x44db7b))throw _0x44db7b[_0x58c6b3(0x2f3)];_0x4a719c[_0x58c6b3(0x391)]({..._0x285372[_0x11d06e],'undoState':_0x538963[_0x58c6b3(0x32e)][_0x58c6b3(0x29c)],'redoState':_0x44db7b[_0x58c6b3(0x32e)]['params']}),_0x4b3dc2=_0x538963[_0x58c6b3(0x39d)],_0x4740d4=_0x44db7b[_0x58c6b3(0x39d)];}_0x4b3dc2=_0x5a8d3d[_0x58c6b3(0x2fc)](_0x29c8d8[_0x58c6b3(0x364)][0x0]),_0x4740d4=_0x5a8d3d[_0x58c6b3(0x2fc)](_0x29c8d8[_0x58c6b3(0x364)][0x0]);for(let _0x593315=_0x2e8c0e['length']-0x1;_0x593315>=0x0;_0x593315--){const _0x1e8c3f={'id':_0x58c6b3(0x307),'params':{'unitId':_0x2e8c0e[_0x593315][_0x58c6b3(0x3a4)],..._0x2e8c0e[_0x593315][_0x58c6b3(0x358)]}},_0x25c646={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e8c0e[_0x593315]['unitId'],..._0x2e8c0e[_0x593315]['redoState']}},_0x47bd1d=this[_0x58c6b3(0x218)]['transformMutation'](_0x4b3dc2,_0x1e8c3f,!0x1),_0x312641=this[_0x58c6b3(0x218)][_0x58c6b3(0x229)](_0x4740d4,_0x25c646,!0x1);if(_0x488cde(_0x47bd1d))throw _0x47bd1d['error'];if(_0x488cde(_0x312641))throw _0x312641[_0x58c6b3(0x2f3)];_0x1cbcca[_0x58c6b3(0x391)]({..._0x2e8c0e[_0x593315],'undoState':_0x47bd1d[_0x58c6b3(0x32e)][_0x58c6b3(0x29c)],'redoState':_0x312641[_0x58c6b3(0x32e)]['params']}),_0x4b3dc2=_0x47bd1d[_0x58c6b3(0x39d)],_0x4740d4=_0x312641['m1Prime'];}this['_docStateChangeManagerService'][_0x58c6b3(0x36b)](_0x5b72c5,{'history':_0x4a719c,'collaboration':_0x1cbcca});}};oe=hn([be(0x0,_0x695648(_0xf56663)),be(0x1,_0x220f1b),be(0x2,_0x695648(_0x53243c))],oe);var _n=Object[_0xcffedf(0x2d5)],un=(_0x420aa3,_0x7254a8,_0x1884e4,_0x4f9430)=>{const _0x4c32cb=_0xcffedf;for(var _0xe280e7=_0x4f9430>0x1?void 0x0:_0x4f9430?_n(_0x7254a8,_0x1884e4):_0x7254a8,_0x504e74=_0x420aa3[_0x4c32cb(0x3bf)]-0x1,_0x4b6df0;_0x504e74>=0x0;_0x504e74--)(_0x4b6df0=_0x420aa3[_0x504e74])&&(_0xe280e7=_0x4b6df0(_0xe280e7)||_0xe280e7);return _0xe280e7;},it=(_0x2f3e80,_0x5d6d6c)=>(_0x46bf7b,_0x404fef)=>_0x5d6d6c(_0x46bf7b,_0x404fef,_0x2f3e80);let ae=class{constructor(_0x51cf0b,_0x805f9d){const _0x1019eb=_0xcffedf;this[_0x1019eb(0x1f6)]=_0x51cf0b,this['_transformService']=_0x805f9d;}[_0xcffedf(0x20e)](_0x372530){const _0x3a6347=_0xcffedf;var _0x4031ca;const _0x568817=this['_injector']['get'](_0x368efa),_0x5696ee=(_0x4031ca=_0x568817['getDocRanges']())!=null?_0x4031ca:[];if(_0x5696ee[_0x3a6347(0x3bf)]===0x0)return;const _0x5c1b92=_0x372530['unitID'],_0x289adb=[{'id':_0x3a6347(0x307),'params':{'unitId':_0x5c1b92,'actions':null,'textRanges':_0x5696ee}}],_0x1137c6=this[_0x3a6347(0x218)][_0x3a6347(0x254)](_0x372530,_0x289adb);if(!_0x2f9375(_0x1137c6))throw _0x1137c6[_0x3a6347(0x2f3)];const _0x58860e=_0x1137c6['m2Prime'][0x0][_0x3a6347(0x29c)][_0x3a6347(0x2eb)];Array['isArray'](_0x58860e)&&_0x58860e[_0x3a6347(0x3bf)]&&_0x568817[_0x3a6347(0x21e)](_0x58860e,{'unitId':_0x5c1b92,'subUnitId':_0x5c1b92},!0x1);}};ae=un([it(0x0,_0x695648(_0xf56663)),it(0x1,_0x220f1b)],ae);var dn=Object[_0xcffedf(0x2d5)],fn=(_0x2d70a4,_0x4b3cd2,_0x3bc303,_0x28dfc1)=>{for(var _0xd04752=_0x28dfc1>0x1?void 0x0:_0x28dfc1?dn(_0x4b3cd2,_0x3bc303):_0x4b3cd2,_0x126f89=_0x2d70a4['length']-0x1,_0x5b75ec;_0x126f89>=0x0;_0x126f89--)(_0x5b75ec=_0x2d70a4[_0x126f89])&&(_0xd04752=_0x5b75ec(_0xd04752)||_0xd04752);return _0xd04752;},P=(_0x47ed7f,_0x1a6129)=>(_0x1eb594,_0x314141)=>_0x1a6129(_0x1eb594,_0x314141,_0x47ed7f);let ce=class extends _0xc24441{constructor(_0x4b79fe,_0x317475,_0x145991,_0x146e97,_0x10f16e,_0x58b082,_0x206254,_0x2fe25b){const _0x3b2494=_0xcffedf;super(),h(this,_0x3b2494(0x372),new _0x2d4022(_0x137632[_0x3b2494(0x1e5)])),(this['_docStateChangeManagerService']=_0x4b79fe,this[_0x3b2494(0x1cf)]=_0x317475,this[_0x3b2494(0x389)]=_0x145991,this[_0x3b2494(0x324)]=_0x146e97,this[_0x3b2494(0x1e1)]=_0x10f16e,this[_0x3b2494(0x336)]=_0x58b082,this[_0x3b2494(0x393)]=_0x206254,this[_0x3b2494(0x326)]=_0x2fe25b,this[_0x3b2494(0x398)]());}[_0xcffedf(0x398)](){const _0x5d7cfd=_0xcffedf;this[_0x5d7cfd(0x219)](this[_0x5d7cfd(0x1cf)]['entityInit$'][_0x5d7cfd(0x1d9)](_0x3bfa4=>{const _0x282c34=_0x5d7cfd,_0x5ac5e2=this[_0x282c34(0x2fe)][_0x282c34(0x355)]['subscribe'](_0x5a26d9=>{const _0x4beb17=_0x282c34;if(_0x5a26d9==null)return;const {unitId:_0xb06893,redoState:_0x469f4b,commandId:_0x707d38}=_0x5a26d9;if(_0xb06893!==_0x3bfa4[_0x4beb17(0x24a)])return;const _0x4b0766={'id':_0x707d38,'type':_0x373aa[_0x4beb17(0x330)],'params':{'unitId':_0xb06893,'actions':_0x469f4b[_0x4beb17(0x240)],'textRanges':null}};_0x3bfa4[_0x4beb17(0x298)](_0x4b0766);});if(_0x3bfa4[_0x282c34(0x219)](_0x5ac5e2),_0x3bfa4 instanceof _0x2d9bad){const _0x5d33c6={'onTransformIME':_0x43122a=>this['_docTransformIMECacheService'][_0x282c34(0x370)](_0x43122a),'onTransformState':_0x4b950c=>this[_0x282c34(0x324)][_0x282c34(0x260)](_0x4b950c),'onTransformSelections':_0x48b80a=>this[_0x282c34(0x1e1)][_0x282c34(0x20e)](_0x48b80a),'onSyncEditingCollabCursor':_0x164de1=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x164de1),'onTransformRemoteChangesetByIMECache':_0x1970ac=>this[_0x282c34(0x389)][_0x282c34(0x2fb)](_0x1970ac),'onTransformRemoteChangesetByStateCache':_0x40ecee=>this[_0x282c34(0x324)]['transformRemoteChangeset'](_0x40ecee)};_0x3bfa4[_0x282c34(0x26b)](_0x5d33c6);}}));}};ce=fn([P(0x0,_0x695648(_0x53243c)),P(0x1,_0x695648(_0x832d1d)),P(0x2,_0x695648(re)),P(0x3,_0x695648(oe)),P(0x4,_0x695648(ae)),P(0x5,_0x695648(je)),P(0x6,_0x2b6d87),P(0x7,_0x695648(_0x3f07ff))],ce);var Sn=Object[_0xcffedf(0x2d5)],mn=(_0x597675,_0x18aefa,_0x320929,_0x4b698a)=>{const _0x3cb2c8=_0xcffedf;for(var _0x2b737c=_0x4b698a>0x1?void 0x0:_0x4b698a?Sn(_0x18aefa,_0x320929):_0x18aefa,_0x45268d=_0x597675[_0x3cb2c8(0x3bf)]-0x1,_0x328f46;_0x45268d>=0x0;_0x45268d--)(_0x328f46=_0x597675[_0x45268d])&&(_0x2b737c=_0x328f46(_0x2b737c)||_0x2b737c);return _0x2b737c;},Ee=(_0xe6fa97,_0x3f9abe)=>(_0x5870e9,_0x41ade4)=>_0x3f9abe(_0x5870e9,_0x41ade4,_0xe6fa97);let Ae=class extends _0xc24441{constructor(_0x96002a,_0xe50c6e,_0x1105f){const _0x364243=_0xcffedf;super(),h(this,'_cachedData',new Map()),h(this,_0x364243(0x2b8),new Map()),h(this,'_disabled',!0x1),(this[_0x364243(0x2d7)]=_0x96002a,this['_localStorageService']=_0xe50c6e,this['_revisionService']=_0x1105f);}[_0xcffedf(0x3bd)](){const _0x19d97a=_0xcffedf;this[_0x19d97a(0x33b)]=!0x0;}[_0xcffedf(0x285)](){const _0x1de7fc=_0xcffedf;this[_0x1de7fc(0x33b)]=!0x1;}get[_0xcffedf(0x2ba)](){return this['_saveTaskMap'];}['dispose'](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x197bf6){const _0x574cca=_0xcffedf;return this[_0x574cca(0x33b)]?null:this['_localStorageService']['getItem'](_0x34f8b4(_0x197bf6));}async[_0xcffedf(0x1ee)](_0x43ddca,_0x1d9eb5){const _0x1c060b=_0xcffedf;return!!this[_0x1c060b(0x39b)][_0x1c060b(0x385)](_0x43ddca,_0x1d9eb5);}['updateOfflineData'](_0xa6322c,_0x5c62b3,_0x4f8dcd,_0x6942ef){const _0x146f10=_0xcffedf,_0x3ab129=this[_0x146f10(0x1fa)][_0x146f10(0x241)](_0xa6322c);this['_cachedData'][_0x146f10(0x305)](_0xa6322c,{'unitID':_0xa6322c,'type':_0x5c62b3,'awaitingChangeset':_0x4f8dcd,'mutations':_0x6942ef,'rev':_0x3ab129}),this['_saveTaskMap'][_0x146f10(0x234)](_0xa6322c)||this[_0x146f10(0x269)](_0xa6322c);}['_scheduleSaving'](_0xa9c051){const _0x4d70e7=_0xcffedf,_0x4a23e1=this[_0x4d70e7(0x22f)]();_0x4a23e1===0x0?this[_0x4d70e7(0x26a)](_0xa9c051):this[_0x4d70e7(0x2b8)]['set'](_0xa9c051,setTimeout(()=>this[_0x4d70e7(0x26a)](_0xa9c051),_0x4a23e1));}[_0xcffedf(0x22f)](){const _0x9722c0=_0xcffedf;var _0x323658;return(_0x323658=this[_0x9722c0(0x2d7)][_0x9722c0(0x2f6)](_0x4715a3))!=null?_0x323658:_0x10b28c;}['_saveCache'](_0x17399d){const _0x3b4438=_0xcffedf,_0x25e748=this[_0x3b4438(0x2b8)][_0x3b4438(0x21b)](_0x17399d);return _0x25e748!==void 0x0&&window[_0x3b4438(0x1d5)](_0x25e748),this[_0x3b4438(0x39b)][_0x3b4438(0x385)](_0x34f8b4(_0x17399d),this[_0x3b4438(0x1cb)]['get'](_0x17399d))[_0x3b4438(0x265)](()=>this['_saveTaskMap'][_0x3b4438(0x319)](_0x17399d));}async[_0xcffedf(0x2fd)](){const _0x245af2=_0xcffedf,_0x3e54b5=[];this['_saveTaskMap'][_0x245af2(0x343)]((_0x1df8e4,_0x145dc7)=>{const _0x57e570=_0x245af2;window[_0x57e570(0x1d5)](_0x1df8e4),_0x3e54b5['push'](this[_0x57e570(0x26a)](_0x145dc7)[_0x57e570(0x265)](()=>{const _0xd9097=_0x57e570;this[_0xd9097(0x2b8)][_0xd9097(0x319)](_0x145dc7);}));}),await Promise[_0x245af2(0x284)](_0x3e54b5);}};Ae=mn([Ee(0x0,_0x572b85),Ee(0x1,_0x1a67f4),Ee(0x2,_0x695648(_0x579428))],Ae);class gn extends _0x338310{constructor(){const _0x479d85=_0xcffedf;super(),h(this,_0x479d85(0x34e)),this['urlChange$']=_0x33a215(window,'popstate')[_0x479d85(0x245)](_0x57ae48(this[_0x479d85(0x22d)]),_0x5f0d6e(0x1),_0x51b0df(void 0x0));}['setParam'](_0x43d0f4,_0x2e1fc7,_0x1ea689=!0x1){const _0x51e357=_0xcffedf,_0x5f0cb9=new URL(window['location'][_0x51e357(0x2c8)]);_0x5f0cb9[_0x51e357(0x388)][_0x51e357(0x305)](_0x43d0f4,_0x2e1fc7),_0x1ea689?window[_0x51e357(0x296)][_0x51e357(0x2ed)]('','',_0x5f0cb9['toString']()):window[_0x51e357(0x296)][_0x51e357(0x375)]('','',_0x5f0cb9[_0x51e357(0x293)]());}[_0xcffedf(0x338)](_0x3b5782,_0x188e1a=!0x1){const _0x461105=_0xcffedf,_0x323538=new URL(window[_0x461105(0x288)][_0x461105(0x2c8)]);_0x323538[_0x461105(0x388)][_0x461105(0x319)](_0x3b5782),_0x188e1a?window['history'][_0x461105(0x2ed)]('','',_0x323538['toString']()):window[_0x461105(0x296)]['pushState']('','',_0x323538['toString']());}['getParam'](_0x5c3c0c){const _0x154c1a=_0xcffedf;var _0x44fa03;return(_0x44fa03=new URL(window[_0x154c1a(0x288)][_0x154c1a(0x2c8)])[_0x154c1a(0x388)][_0x154c1a(0x21b)](_0x5c3c0c))!=null?_0x44fa03:void 0x0;}}var vn=Object['defineProperty'],In=Object[_0xcffedf(0x2d5)],pn=(_0xacef4c,_0x324cad,_0x5676f0)=>_0x324cad in _0xacef4c?vn(_0xacef4c,_0x324cad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5676f0}):_0xacef4c[_0x324cad]=_0x5676f0,Cn=(_0x178760,_0x4cba6a,_0x450f3f,_0x1698a1)=>{const _0x3b6dfb=_0xcffedf;for(var _0x1ac95c=_0x1698a1>0x1?void 0x0:_0x1698a1?In(_0x4cba6a,_0x450f3f):_0x4cba6a,_0x28fb47=_0x178760[_0x3b6dfb(0x3bf)]-0x1,_0x54d0a1;_0x28fb47>=0x0;_0x28fb47--)(_0x54d0a1=_0x178760[_0x28fb47])&&(_0x1ac95c=_0x54d0a1(_0x1ac95c)||_0x1ac95c);return _0x1ac95c;},Oe=(_0x5ba2c0,_0x366037)=>(_0x3fac37,_0x4f264c)=>_0x366037(_0x3fac37,_0x4f264c,_0x5ba2c0),bn=(_0xf15a5c,_0x1e993e,_0x21519b)=>pn(_0xf15a5c,_0x1e993e+'',_0x21519b);const En=_0xcffedf(0x34f);let ye=class extends _0x45285f{constructor(_0x52235a=st,_0x1734fe,_0x1fb402,_0x9555bf){const _0x13914d=_0xcffedf;super(),this[_0x13914d(0x205)]=_0x52235a,this[_0x13914d(0x34d)]=_0x1734fe,this[_0x13914d(0x1f6)]=_0x1fb402,this[_0x13914d(0x2d7)]=_0x9555bf;const {..._0xb83d77}=_0x3607e9({},st,this[_0x13914d(0x205)]);this[_0x13914d(0x2d7)][_0x13914d(0x278)](nn,_0xb83d77);}[_0xcffedf(0x209)](){const _0x4662e3=_0xcffedf;this[_0x4662e3(0x1ff)](),this['_initDependencies']();}[_0xcffedf(0x22e)](){const _0x588f01=_0xcffedf;this[_0x588f01(0x255)]();}['_registerDependencies'](){const _0x14c972=_0xcffedf;var _0x3c0d9a;const _0x11a923=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x10dbd8,{'useClass':_0x18102c}],[_0x126658,{'useClass':Ae}],[se],[ce],[ie],[H],[Pe],[ne]];_0x494b98(this[_0x14c972(0x1f6)],_0xd21d36(_0x11a923,(_0x3c0d9a=this[_0x14c972(0x205)])==null?void 0x0:_0x3c0d9a[_0x14c972(0x3b5)]));}[_0xcffedf(0x255)](){const _0x14ef9f=_0xcffedf;this[_0x14ef9f(0x219)](this[_0x14ef9f(0x34d)][_0x14ef9f(0x2d3)](_0x303793['UNIVER_DOC'],[Ue])),this['disposeWithMe'](this['_renderManagerService'][_0x14ef9f(0x2d3)](_0x303793[_0x14ef9f(0x248)],[Le]));}[_0xcffedf(0x277)](){_0x1ef034(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};bn(ye,'pluginName',En),ye=Cn([_0x5a4598(_0x57b005),Oe(0x1,_0x30ea9d),Oe(0x2,_0x695648(_0xf56663)),Oe(0x3,_0x572b85)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0xdb4d11,_0x1d7dcd,_0x198536,_0x20ea0b)=>{const _0x52ed51=_0xcffedf;for(var _0x1d72a2=_0x20ea0b>0x1?void 0x0:_0x20ea0b?On(_0x1d7dcd,_0x198536):_0x1d7dcd,_0x127a45=_0xdb4d11[_0x52ed51(0x3bf)]-0x1,_0x5607fa;_0x127a45>=0x0;_0x127a45--)(_0x5607fa=_0xdb4d11[_0x127a45])&&(_0x1d72a2=_0x5607fa(_0x1d72a2)||_0x1d72a2);return _0x1d72a2;},z=(_0x209111,_0x41e2f9)=>(_0x4fffeb,_0xabebf3)=>_0x41e2f9(_0x4fffeb,_0xabebf3,_0x209111);let nt=class extends _0x4dbbb9{constructor(_0x442fbb,_0x2dd067,_0x1c0b3b,_0x61df6a,_0x4d1207){super(_0x442fbb,_0x2dd067,_0x1c0b3b,_0x61df6a,_0x4d1207);}async[_0xcffedf(0x2e1)](_0x422cfd){const _0x5db85a=_0xcffedf,_0x36d530=await this['_getSessionTicket'](),_0x2f72c2=this['_createSocketURL'](_0x422cfd,_0x36d530);return this[_0x5db85a(0x2d8)](_0x2f72c2);}['_createSocketURL'](_0x31cb8f,_0x14f9dc){const _0xc75ece=_0xcffedf,_0x3a7a1b=typeof window>'u'?new URL(_0x31cb8f):new URL(_0x31cb8f,window[_0xc75ece(0x288)][_0xc75ece(0x206)]);_0x3a7a1b[_0xc75ece(0x388)]['set'](_0xc75ece(0x26c),_0x14f9dc);const _0x5a8051=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc75ece(0x288)][_0xc75ece(0x2b7)]);return _0x5a8051[_0xc75ece(0x21b)](_0xc75ece(0x311))&&_0x3a7a1b[_0xc75ece(0x388)]['set']('runId',_0x5a8051[_0xc75ece(0x21b)](_0xc75ece(0x311))),_0x3a7a1b[_0xc75ece(0x293)]();}async[_0xcffedf(0x383)](){const _0x246996=_0xcffedf;var _0x5a8848,_0x3ee658,_0x2acca1;const _0x5b71e1=this[_0x246996(0x2d7)]['getConfig'](_0x470c49),_0x43dee8=(_0x5a8848=_0x5b71e1==null?void 0x0:_0x5b71e1[_0x246996(0x380)])!=null?_0x5a8848:_0x2171c7;return(_0x2acca1=(_0x3ee658=(await this['_httpService']['get'](_0x43dee8,{'headers':{'Content-Type':_0x246996(0x39a)}}))[_0x246996(0x337)])==null?void 0x0:_0x3ee658[_0x246996(0x37e)])!=null?_0x2acca1:'';}};nt=Tn([z(0x0,_0x695648(_0xf56663)),z(0x1,_0x695648(_0x56ebd1)),z(0x2,_0x572b85),z(0x3,_0x5ba7eb),z(0x4,_0x3ab12a)],nt);const rt=0x7530,ot=_0xcffedf(0x2e8);class Gn extends _0xc24441{constructor(){const _0x11a4ac=_0xcffedf;super(),h(this,_0x11a4ac(0x22a),_0x31de42()),h(this,_0x11a4ac(0x392),new Set()),h(this,_0x11a4ac(0x20a),new Map()),h(this,'_heartbeatTimer',null),h(this,'_clearOtherTimers',new Map()),h(this,_0x11a4ac(0x374),new Map()),this['_init']();}['dispose'](){const _0x1d06dd=_0xcffedf;super['dispose'](),this[_0x1d06dd(0x231)][_0x1d06dd(0x343)]((_0x4d6012,_0x32f7c6)=>this[_0x1d06dd(0x3b4)](_0x32f7c6)),this[_0x1d06dd(0x316)]&&window['clearInterval'](this[_0x1d06dd(0x316)]);}[_0xcffedf(0x2a9)](_0xbe9a37){const _0x5ad9fe=_0xcffedf;return this[_0x5ad9fe(0x37d)](_0xbe9a37)[_0x5ad9fe(0x245)](_0x171feb());}[_0xcffedf(0x348)](_0x1759d5){const _0x568c8b=_0xcffedf;this[_0x568c8b(0x392)]['size']===0x0&&this[_0x568c8b(0x210)](),this[_0x568c8b(0x392)][_0x568c8b(0x247)](_0x1759d5),this[_0x568c8b(0x2a3)]({'type':0x0,'memberID':this[_0x568c8b(0x22a)],'unitIDs':[_0x1759d5],'isForwarded':!0x1});}[_0xcffedf(0x357)](_0x4c4e75){const _0x54065b=_0xcffedf;this[_0x54065b(0x392)]['delete'](_0x4c4e75),this['_selfUnitIDs'][_0x54065b(0x3bb)]===0x0&&this[_0x54065b(0x316)]&&window[_0x54065b(0x1f5)](this[_0x54065b(0x316)]);}[_0xcffedf(0x1d8)](){const _0x38903d=_0xcffedf;this['disposeWithMe'](_0x331a4b(_0x33a215(window,_0x38903d(0x35d))[_0x38903d(0x1d9)](_0x5503f7=>{const _0x389a47=_0x38903d;if(_0x5503f7[_0x389a47(0x386)]!==ot||!_0x5503f7[_0x389a47(0x1f8)])return;const _0x1edb9a=JSON[_0x389a47(0x217)](_0x5503f7[_0x389a47(0x1f8)]);this[_0x389a47(0x2bf)](_0x1edb9a);}))),window[_0x38903d(0x394)](_0x38903d(0x213),()=>this[_0x38903d(0x2a3)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x38903d(0x21d)](this[_0x38903d(0x392)])}));}[_0xcffedf(0x2bf)](_0x36452d){const _0x296d69=_0xcffedf;switch(_0x36452d[_0x296d69(0x2d1)]){case 0x0:this[_0x296d69(0x1ed)](_0x36452d);break;case 0x1:this['_handleLeaveEvent'](_0x36452d);break;case 0x2:this[_0x296d69(0x3ae)](_0x36452d);break;}}[_0xcffedf(0x1ed)](_0x2c2c93){const _0x3e0e48=_0xcffedf,{unitIDs:_0x58b7b6,memberID:_0x164072,isForwarded:_0x268589}=_0x2c2c93;_0x58b7b6[_0x3e0e48(0x343)](_0x5e2292=>{const _0x257649=_0x3e0e48;if(!_0x268589&&this[_0x257649(0x20a)]['has'](_0x5e2292)&&this[_0x257649(0x37d)](_0x5e2292)[_0x257649(0x1fe)](_0x113adb['OTHER_CLIENTS_EDITING']),!this[_0x257649(0x20a)][_0x257649(0x234)](_0x5e2292)||!this[_0x257649(0x20a)][_0x257649(0x21b)](_0x5e2292)['has'](_0x164072)){const _0x2b5e8f=this[_0x257649(0x20a)][_0x257649(0x21b)](_0x5e2292)||new Set();_0x2b5e8f[_0x257649(0x247)](_0x164072),this[_0x257649(0x20a)]['set'](_0x5e2292,_0x2b5e8f),this[_0x257649(0x23e)](_0x164072);}}),_0x268589||this[_0x3e0e48(0x2a3)]({'type':0x0,'memberID':this[_0x3e0e48(0x22a)],'unitIDs':[...this[_0x3e0e48(0x392)]],'isForwarded':!0x0});}[_0xcffedf(0x23e)](_0x3acf21){const _0x55b747=_0xcffedf;this[_0x55b747(0x3b4)](_0x3acf21);const _0x557080=window['setTimeout'](()=>{const _0xc64315=_0x55b747;this[_0xc64315(0x20a)][_0xc64315(0x343)](_0x2a523a=>{const _0x3240df=_0xc64315;_0x2a523a[_0x3240df(0x319)](_0x3acf21);});},rt*0x2);this[_0x55b747(0x231)][_0x55b747(0x305)](_0x3acf21,_0x557080);}[_0xcffedf(0x3b4)](_0xaf0906){const _0x177391=_0xcffedf;if(this[_0x177391(0x231)][_0x177391(0x234)](_0xaf0906)){const _0xaf2a3a=this[_0x177391(0x231)][_0x177391(0x21b)](_0xaf0906);_0xaf2a3a&&window[_0x177391(0x1d5)](_0xaf2a3a),this[_0x177391(0x231)][_0x177391(0x305)](_0xaf0906,null);}}[_0xcffedf(0x26f)](_0x18bc6d){const _0x373ed9=_0xcffedf,{memberID:_0x45dd7c,unitIDs:_0x1909d2}=_0x18bc6d;_0x1909d2['forEach'](_0x46be22=>{const _0x12439b=_0x12c7;var _0x38c775;const _0xbccc88=this['_unitOnClients'][_0x12439b(0x21b)](_0x46be22);_0xbccc88&&(_0xbccc88[_0x12439b(0x319)](_0x45dd7c),(_0x38c775=this[_0x12439b(0x37d)](_0x46be22))==null||_0x38c775['next'](_0xbccc88[_0x12439b(0x3bb)]===0x0?_0x113adb['NO_OTHER_CLIENTS_EDITING']:_0x113adb[_0x12439b(0x291)]));}),this[_0x373ed9(0x3b4)](_0x45dd7c);}[_0xcffedf(0x3ae)](_0x37482f){const _0x13a65a=_0xcffedf;this[_0x13a65a(0x23e)](_0x37482f['memberID']);}['_send'](_0x2138aa){const _0x3297e9=_0xcffedf;localStorage['setItem'](ot,JSON[_0x3297e9(0x332)](_0x2138aa));}['_scheduleHeartbeat'](){const _0x371d23=_0xcffedf;this['_heartbeatTimer']=window[_0x371d23(0x39f)](()=>{const _0x5e3f0a=_0x371d23;this[_0x5e3f0a(0x2a3)]({'type':0x2,'memberID':this[_0x5e3f0a(0x22a)]});},rt);}[_0xcffedf(0x37d)](_0x6fdab){const _0x516df0=_0xcffedf;return this['_unitStatus'][_0x516df0(0x234)](_0x6fdab)||this['_unitStatus'][_0x516df0(0x305)](_0x6fdab,new _0x2d4022(_0x113adb[_0x516df0(0x2a5)])),this[_0x516df0(0x374)][_0x516df0(0x21b)](_0x6fdab);}}var Ut=(_0x4a74f8=>(_0x4a74f8[_0x4a74f8['UNDEFINED']=0x0]=_0xcffedf(0x3b3),_0x4a74f8[_0x4a74f8['OK']=0x1]='OK',_0x4a74f8[_0x4a74f8['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x4a74f8[_0x4a74f8['PERMISSION_DENIED']=0x3]=_0xcffedf(0x1d2),_0x4a74f8[_0x4a74f8['NOT_FOUND']=0x4]=_0xcffedf(0x25c),_0x4a74f8[_0x4a74f8[_0xcffedf(0x1e2)]=0x5]=_0xcffedf(0x1e2),_0x4a74f8[_0x4a74f8[_0xcffedf(0x24c)]=0x6]=_0xcffedf(0x24c),_0x4a74f8[_0x4a74f8[_0xcffedf(0x1c5)]=0x7]=_0xcffedf(0x1c5),_0x4a74f8[_0x4a74f8[_0xcffedf(0x28c)]=0x8]=_0xcffedf(0x28c),_0x4a74f8[_0x4a74f8[_0xcffedf(0x224)]=0x9]=_0xcffedf(0x224),_0x4a74f8[_0x4a74f8[_0xcffedf(0x3ba)]=0xa]=_0xcffedf(0x3ba),_0x4a74f8[_0x4a74f8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xcffedf(0x271),_0x4a74f8[_0x4a74f8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xcffedf(0x361),_0x4a74f8[_0x4a74f8[_0xcffedf(0x3a3)]=0x1772]=_0xcffedf(0x3a3),_0x4a74f8[_0x4a74f8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xcffedf(0x382),_0x4a74f8[_0x4a74f8[_0xcffedf(0x297)]=0x1b59]=_0xcffedf(0x297),_0x4a74f8[_0x4a74f8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xcffedf(0x309),_0x4a74f8[_0x4a74f8[_0xcffedf(0x2f5)]=0x1b5b]=_0xcffedf(0x2f5),_0x4a74f8[_0x4a74f8['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xcffedf(0x1ec),_0x4a74f8[_0x4a74f8[_0xcffedf(0x29a)]=0x1b5d]='APPLY_DUPLICATED',_0x4a74f8[_0x4a74f8[_0xcffedf(0x335)]=0x1f41]=_0xcffedf(0x335),_0x4a74f8[_0x4a74f8[_0xcffedf(0x300)]=0x2329]=_0xcffedf(0x300),_0x4a74f8[_0x4a74f8[_0xcffedf(0x2f4)]=0x232a]=_0xcffedf(0x2f4),_0x4a74f8[_0x4a74f8[_0xcffedf(0x33a)]=0x232b]=_0xcffedf(0x33a),_0x4a74f8[_0x4a74f8[_0xcffedf(0x3c2)]=0x232c]=_0xcffedf(0x3c2),_0x4a74f8[_0x4a74f8[_0xcffedf(0x225)]=0x232d]=_0xcffedf(0x225),_0x4a74f8[_0x4a74f8[_0xcffedf(0x2ac)]=0x2711]=_0xcffedf(0x2ac),_0x4a74f8[_0x4a74f8[_0xcffedf(0x2cb)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4a74f8[_0x4a74f8[_0xcffedf(0x1fb)]=0x2713]=_0xcffedf(0x1fb),_0x4a74f8[_0x4a74f8[_0xcffedf(0x342)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4a74f8[_0x4a74f8[_0xcffedf(0x221)]=0x2af9]=_0xcffedf(0x221),_0x4a74f8[_0x4a74f8[_0xcffedf(0x20f)]=0x2ee1]=_0xcffedf(0x20f),_0x4a74f8[_0x4a74f8['INVALID_INVITE_CODE']=0x2ee2]=_0xcffedf(0x28a),_0x4a74f8[_0x4a74f8['INVITE_CODE_REQUIRED']=0x2ee3]=_0xcffedf(0x323),_0x4a74f8[_0x4a74f8[_0xcffedf(0x290)]=0x2ee4]=_0xcffedf(0x290),_0x4a74f8[_0x4a74f8[_0xcffedf(0x377)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4a74f8[_0x4a74f8[_0xcffedf(0x36c)]=-0x1]=_0xcffedf(0x36c),_0x4a74f8))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x462626,_0x2f79ee,_0x2f3e29,_0x2756a0)=>{const _0x5f24d2=_0xcffedf;for(var _0x299245=_0x2756a0>0x1?void 0x0:_0x2756a0?Rn(_0x2f79ee,_0x2f3e29):_0x2f79ee,_0x4f36e5=_0x462626[_0x5f24d2(0x3bf)]-0x1,_0x5c6d30;_0x4f36e5>=0x0;_0x4f36e5--)(_0x5c6d30=_0x462626[_0x4f36e5])&&(_0x299245=_0x5c6d30(_0x299245)||_0x299245);return _0x299245;},Te=(_0x4eff29,_0x536d71)=>(_0x152cd3,_0x640526)=>_0x536d71(_0x152cd3,_0x640526,_0x4eff29);let at=class extends _0xc24441{constructor(_0x359ef0,_0x5a405c,_0x4dc4d0){const _0x45ff22=_0xcffedf;super(),this[_0x45ff22(0x36a)]=_0x359ef0,this[_0x45ff22(0x36f)]=_0x5a405c,this[_0x45ff22(0x2d7)]=_0x4dc4d0;}async[_0xcffedf(0x207)](_0x27cb7c,_0x413998,_0x3e82a3,..._0x4ef301){const _0xc8bb29=_0xcffedf;var _0x437191,_0x3bdbcd,_0x533305,_0x322520;const _0x21c482=this[_0xc8bb29(0x36a)]['getFocusedUnit']();if(!_0x21c482)throw new Error(_0xc8bb29(0x33e));const _0x199bdc=((_0x437191=this[_0xc8bb29(0x2d7)][_0xc8bb29(0x2f6)](_0x5734b9))!=null?_0x437191:_0x155a2d)+'/'+_0x27cb7c+_0xc8bb29(0x1db)+_0x413998,_0x47dc93=new URL(window['location'][_0xc8bb29(0x2c8)]),_0x3a70a7={'scriptId':_0x27cb7c,'runId':(_0x3bdbcd=_0x47dc93[_0xc8bb29(0x388)]['get']('runId'))!=null?_0x3bdbcd:'','function':_0x413998,'unitId':_0x21c482['getUnitId'](),'argsOfFunction':JSON[_0xc8bb29(0x332)](_0x4ef301),'invokeId':(_0x533305=_0x3e82a3[_0xc8bb29(0x2e5)])!=null?_0x533305:'','executionId':(_0x322520=_0x3e82a3[_0xc8bb29(0x1c4)])!=null?_0x322520:''};try{const _0x59e60a=await this[_0xc8bb29(0x36f)][_0xc8bb29(0x363)](_0x199bdc,{'body':_0x3a70a7});return _0x59e60a[_0xc8bb29(0x337)][_0xc8bb29(0x2f3)]&&_0x59e60a[_0xc8bb29(0x337)]['error'][_0xc8bb29(0x362)]!==Ut['OK']?_0xc8bb29(0x200):_0x59e60a[_0xc8bb29(0x337)]['result'];}catch{return _0xc8bb29(0x200);}}};at=Dn([Te(0x0,_0x2eb697),Te(0x1,_0x695648(_0x56ebd1)),Te(0x2,_0x572b85)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -0,0 +1 @@
1
+ function _0x107c(){const _0x51d79a=['132cwEuZK','1918etnmdI','16zHcxCI','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','513262NzXZcS','Collaboration\x20Conflict','22NNMPun','317658fBUDNJ','66sarltB','Edit\x20conflicts','2008944LGFFTp','4112QgLZdd','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','1390WztJon','Local\x20file','1320180BeHSrw','Syncing...','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.','180947xASNHk','2KyAfKp'];_0x107c=function(){return _0x51d79a;};return _0x107c();}const _0x35b5c1=_0x8237;function _0x8237(_0x43005f,_0x4c04cd){const _0x107cae=_0x107c();return _0x8237=function(_0x823770,_0x5e2b69){_0x823770=_0x823770-0xfc;let _0x2cd7d0=_0x107cae[_0x823770];return _0x2cd7d0;},_0x8237(_0x43005f,_0x4c04cd);}(function(_0x3e8c91,_0x25aede){const _0x14e822=_0x8237,_0x246ccf=_0x3e8c91();while(!![]){try{const _0x1ca4cc=-parseInt(_0x14e822(0x110))/0x1*(-parseInt(_0x14e822(0x100))/0x2)+parseInt(_0x14e822(0x103))/0x3*(parseInt(_0x14e822(0x113))/0x4)+-parseInt(_0x14e822(0x10a))/0x5*(-parseInt(_0x14e822(0x104))/0x6)+-parseInt(_0x14e822(0x112))/0x7*(-parseInt(_0x14e822(0x107))/0x8)+-parseInt(_0x14e822(0x106))/0x9+parseInt(_0x14e822(0x10c))/0xa*(-parseInt(_0x14e822(0x102))/0xb)+parseInt(_0x14e822(0x111))/0xc*(-parseInt(_0x14e822(0x10f))/0xd);if(_0x1ca4cc===_0x25aede)break;else _0x246ccf['push'](_0x246ccf['shift']());}catch(_0x34fc7e){_0x246ccf['push'](_0x246ccf['shift']());}}}(_0x107c,0x6b813));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x35b5c1(0x109),'conflict':_0x35b5c1(0x105),'notCollab':_0x35b5c1(0x10b),'synced':_0x35b5c1(0xfe),'syncing':_0x35b5c1(0x10d),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x35b5c1(0xff),'room-full':_0x35b5c1(0xfd),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x35b5c1(0x101),'content':_0x35b5c1(0x10e)},'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':_0x35b5c1(0x108)},'closeRoom':_0x35b5c1(0xfc)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
@@ -0,0 +1 @@
1
+ const _0x5d4e0f=_0x403c;(function(_0x2d3556,_0x2dfd82){const _0x1bfa87=_0x403c,_0x3ab8c4=_0x2d3556();while(!![]){try{const _0x3726a0=parseInt(_0x1bfa87(0x18e))/0x1*(-parseInt(_0x1bfa87(0x190))/0x2)+parseInt(_0x1bfa87(0x198))/0x3+-parseInt(_0x1bfa87(0x19d))/0x4*(-parseInt(_0x1bfa87(0x18b))/0x5)+parseInt(_0x1bfa87(0x19b))/0x6+parseInt(_0x1bfa87(0x18a))/0x7*(-parseInt(_0x1bfa87(0x192))/0x8)+-parseInt(_0x1bfa87(0x193))/0x9+parseInt(_0x1bfa87(0x194))/0xa;if(_0x3726a0===_0x2dfd82)break;else _0x3ab8c4['push'](_0x3ab8c4['shift']());}catch(_0x5773a2){_0x3ab8c4['push'](_0x3ab8c4['shift']());}}}(_0x26b4,0xe6bd4));function _0x403c(_0x52a45b,_0x20e7f4){const _0x26b43c=_0x26b4();return _0x403c=function(_0x403c77,_0x5dd413){_0x403c77=_0x403c77-0x184;let _0x30656e=_0x26b43c[_0x403c77];return _0x30656e;},_0x403c(_0x52a45b,_0x20e7f4);}const o={'collab-client':{'tooltip':{'reconnect':_0x5d4e0f(0x189)}},'collabStatus':{'fetchMiss':_0x5d4e0f(0x18d),'conflict':_0x5d4e0f(0x186),'notCollab':_0x5d4e0f(0x18c),'synced':_0x5d4e0f(0x185),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x5d4e0f(0x19a)},'session':{'connection-failed':_0x5d4e0f(0x188),'will-retry':_0x5d4e0f(0x195),'room-full':_0x5d4e0f(0x191),'collaboration-timeout':_0x5d4e0f(0x19c)},'conflict':{'title':_0x5d4e0f(0x196),'content':_0x5d4e0f(0x197)},'permission':{'title':_0x5d4e0f(0x184),'content':_0x5d4e0f(0x187)},'collaboration':{'single-unit':{'warning':_0x5d4e0f(0x199)},'closeRoom':_0x5d4e0f(0x18f)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};function _0x26b4(){const _0xb0de14=['13636XyDgZc','خطای\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کنید','1700972IsVzfP','1965mIjXzp','پرونده\x20محلی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','89ZcyZJZ','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','15518JRoIKN','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','56jKVsRe','269991HqNOKC','3824200xZgRpO','اتصال\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رفت.','3245802BXnApM','شما\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شوند','3375234UzAtJJ','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'];_0x26b4=function(){return _0xb0de14;};return _0x26b4();}
@@ -0,0 +1 @@
1
+ const _0x45ea91=_0x2ce2;(function(_0x3c9808,_0x3b8f21){const _0x3ac177=_0x2ce2,_0x3d73d4=_0x3c9808();while(!![]){try{const _0x3771c9=-parseInt(_0x3ac177(0x1bd))/0x1*(-parseInt(_0x3ac177(0x1b6))/0x2)+-parseInt(_0x3ac177(0x1c8))/0x3*(-parseInt(_0x3ac177(0x1c1))/0x4)+parseInt(_0x3ac177(0x1c3))/0x5+-parseInt(_0x3ac177(0x1b5))/0x6*(-parseInt(_0x3ac177(0x1c7))/0x7)+parseInt(_0x3ac177(0x1c0))/0x8*(-parseInt(_0x3ac177(0x1c4))/0x9)+parseInt(_0x3ac177(0x1b7))/0xa+-parseInt(_0x3ac177(0x1c2))/0xb;if(_0x3771c9===_0x3b8f21)break;else _0x3d73d4['push'](_0x3d73d4['shift']());}catch(_0xa83428){_0x3d73d4['push'](_0x3d73d4['shift']());}}}(_0x55b4,0x646a3));function _0x2ce2(_0x4ab81d,_0x53245a){const _0x55b47f=_0x55b4();return _0x2ce2=function(_0x2ce221,_0xb06616){_0x2ce221=_0x2ce221-0x1b4;let _0x202c11=_0x55b47f[_0x2ce221];return _0x202c11;},_0x2ce2(_0x4ab81d,_0x53245a);}const e={'collab-client':{'tooltip':{'reconnect':_0x45ea91(0x1c6)}},'collabStatus':{'fetchMiss':_0x45ea91(0x1b4),'conflict':_0x45ea91(0x1ba),'notCollab':'Local\x20file','synced':_0x45ea91(0x1bb),'syncing':_0x45ea91(0x1bf),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x45ea91(0x1be),'will-retry':_0x45ea91(0x1b8),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x45ea91(0x1c9),'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':_0x45ea91(0x1c5),'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':_0x45ea91(0x1b9)},'closeRoom':_0x45ea91(0x1bc)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;function _0x55b4(){const _0x378d1e=['Syncing\x20server\x20data...','726jqVPvG','14mpelHC','3296900HZKDsi','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','Synced','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','92773nXqndn','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...','1432IImdAS','44awVnCk','5160672cNplSt','629000lJKxKc','35361PtaGiz','Authentication\x20Error','Click\x20to\x20Reconnect','18704XVJBhx','42417HxYBPV','Collaboration\x20Conflict'];_0x55b4=function(){return _0x378d1e;};return _0x55b4();}export{o as default};
@@ -0,0 +1 @@
1
+ const _0x1f5ec9=_0x5511;(function(_0x151a3f,_0x24a051){const _0x283fac=_0x5511,_0x360da8=_0x151a3f();while(!![]){try{const _0x3750f9=parseInt(_0x283fac(0xd6))/0x1*(parseInt(_0x283fac(0xe3))/0x2)+parseInt(_0x283fac(0xdc))/0x3*(parseInt(_0x283fac(0xd7))/0x4)+parseInt(_0x283fac(0xea))/0x5*(-parseInt(_0x283fac(0xe6))/0x6)+parseInt(_0x283fac(0xe2))/0x7*(-parseInt(_0x283fac(0xeb))/0x8)+-parseInt(_0x283fac(0xe5))/0x9+-parseInt(_0x283fac(0xe8))/0xa*(parseInt(_0x283fac(0xd9))/0xb)+parseInt(_0x283fac(0xe1))/0xc*(parseInt(_0x283fac(0xda))/0xd);if(_0x3750f9===_0x24a051)break;else _0x360da8['push'](_0x360da8['shift']());}catch(_0x445fcc){_0x360da8['push'](_0x360da8['shift']());}}}(_0xd837,0x2a409));function _0xd837(){const _0x26a8b4=['3284904HBmQWo','83461ceCRNG','125516QyRRPA','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1054413HpWRsd','6rbewwl','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','20azRRrR','Connection\x20failed,\x20please\x20check\x20your\x20network.','1258505EDqrEf','32nJoDkn','Synced','Syncing...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1FYQBLE','6116YAjTwB','Collaboration\x20Conflict','1661077thQHjT','39VyaWfb','Click\x20to\x20Reconnect','15xJLbtO','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error'];_0xd837=function(){return _0x26a8b4;};return _0xd837();}function _0x5511(_0x22920c,_0x47f6ce){const _0xd83733=_0xd837();return _0x5511=function(_0x5511f6,_0x16a917){_0x5511f6=_0x5511f6-0xd6;let _0x573a88=_0xd83733[_0x5511f6];return _0x573a88;},_0x5511(_0x22920c,_0x47f6ce);}const e={'collab-client':{'tooltip':{'reconnect':_0x1f5ec9(0xdb)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x1f5ec9(0xec),'syncing':_0x1f5ec9(0xed),'offline':_0x1f5ec9(0xee)},'session':{'connection-failed':_0x1f5ec9(0xe9),'will-retry':_0x1f5ec9(0xe7),'room-full':_0x1f5ec9(0xde),'collaboration-timeout':_0x1f5ec9(0xdd)},'conflict':{'title':_0x1f5ec9(0xd8),'content':_0x1f5ec9(0xef)},'permission':{'title':_0x1f5ec9(0xe0),'content':_0x1f5ec9(0xe4)},'collaboration':{'single-unit':{'warning':_0x1f5ec9(0xdf)},'closeRoom':_0x1f5ec9(0xf0)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
@@ -0,0 +1 @@
1
+ const _0x428ac7=_0x17e6;(function(_0x3ed3b1,_0x2fb45f){const _0x2f68be=_0x17e6,_0x1e75f9=_0x3ed3b1();while(!![]){try{const _0x1fa831=-parseInt(_0x2f68be(0x1ac))/0x1*(-parseInt(_0x2f68be(0x1a6))/0x2)+-parseInt(_0x2f68be(0x1a9))/0x3+-parseInt(_0x2f68be(0x1a0))/0x4+-parseInt(_0x2f68be(0x1aa))/0x5*(parseInt(_0x2f68be(0x1ad))/0x6)+-parseInt(_0x2f68be(0x1a4))/0x7+-parseInt(_0x2f68be(0x19b))/0x8+-parseInt(_0x2f68be(0x1a2))/0x9*(-parseInt(_0x2f68be(0x19a))/0xa);if(_0x1fa831===_0x2fb45f)break;else _0x1e75f9['push'](_0x1e75f9['shift']());}catch(_0x1ec067){_0x1e75f9['push'](_0x1e75f9['shift']());}}}(_0x275e,0xa6ce8));function _0x275e(){const _0x50545c=['2741310NnNVEQ','3554900isMBju','Syncing\x20server\x20data...','254923qpZdOO','6SGZQyK','Authentication\x20Error','4280YjPueH','4996320yUolJR','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.','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.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','4548192gpXKkh','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','105813JusNpq','Local\x20file','8521387NyorJM','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2IkeFaX','Edit\x20conflicts','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x275e=function(){return _0x50545c;};return _0x275e();}function _0x17e6(_0x1a76a9,_0x15c5b0){const _0x275ef6=_0x275e();return _0x17e6=function(_0x17e622,_0x4668d3){_0x17e622=_0x17e622-0x199;let _0xdefd30=_0x275ef6[_0x17e622];return _0xdefd30;},_0x17e6(_0x1a76a9,_0x15c5b0);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x428ac7(0x1ab),'conflict':_0x428ac7(0x1a7),'notCollab':_0x428ac7(0x1a3),'synced':'Synced','syncing':'Syncing...','offline':_0x428ac7(0x1a8)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x428ac7(0x1a5),'room-full':_0x428ac7(0x1a1),'collaboration-timeout':_0x428ac7(0x19f)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x428ac7(0x19e)},'permission':{'title':_0x428ac7(0x199),'content':_0x428ac7(0x19c)},'collaboration':{'single-unit':{'warning':_0x428ac7(0x19d)},'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;export{o as default};
@@ -0,0 +1 @@
1
+ const _0x22f1f4=_0x317f;function _0x317f(_0xac558e,_0x3d9957){const _0x212f61=_0x212f();return _0x317f=function(_0x317f5a,_0x7f7cb){_0x317f5a=_0x317f5a-0xe0;let _0x54a0d4=_0x212f61[_0x317f5a];return _0x54a0d4;},_0x317f(_0xac558e,_0x3d9957);}(function(_0x4c4e4e,_0x32018d){const _0x41b9da=_0x317f,_0xff9a60=_0x4c4e4e();while(!![]){try{const _0x47b6bd=-parseInt(_0x41b9da(0xf3))/0x1*(parseInt(_0x41b9da(0xf0))/0x2)+parseInt(_0x41b9da(0xe6))/0x3+parseInt(_0x41b9da(0xee))/0x4*(-parseInt(_0x41b9da(0xe7))/0x5)+parseInt(_0x41b9da(0xf6))/0x6+-parseInt(_0x41b9da(0xe1))/0x7*(-parseInt(_0x41b9da(0xe8))/0x8)+parseInt(_0x41b9da(0xe5))/0x9*(parseInt(_0x41b9da(0xed))/0xa)+-parseInt(_0x41b9da(0xec))/0xb;if(_0x47b6bd===_0x32018d)break;else _0xff9a60['push'](_0xff9a60['shift']());}catch(_0x1c024d){_0xff9a60['push'](_0xff9a60['shift']());}}}(_0x212f,0x440be));const o={'collab-client':{'tooltip':{'reconnect':_0x22f1f4(0xe2)}},'collabStatus':{'fetchMiss':_0x22f1f4(0xf5),'conflict':_0x22f1f4(0xef),'notCollab':'本地文件','synced':_0x22f1f4(0xe0),'syncing':'保存中...','offline':_0x22f1f4(0xf7)},'session':{'connection-failed':_0x22f1f4(0xeb),'will-retry':_0x22f1f4(0xea),'room-full':'协同房间已满,你的编辑将在本地缓存','collaboration-timeout':_0x22f1f4(0xe4)},'conflict':{'title':_0x22f1f4(0xf2),'content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':'权限错误','content':_0x22f1f4(0xe9)},'collaboration':{'single-unit':{'warning':_0x22f1f4(0xe3)},'closeRoom':_0x22f1f4(0xf1)},'auth':{'needGotoLoginAlert':_0x22f1f4(0xf4)}};export{o as default};function _0x212f(){const _0x1613c0=['编辑冲突','36824zzidsh','由于协同房间被关闭,编辑权限被收回。','协同冲突','9GwIsdc','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','正在拉取服务端数据...','587178PJwOZG','已离线,编辑将在本地缓存','已同步','2125592Nbkamd','点击重新连接','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','服务器未响应,你的编辑将在本地缓存','14949huqizM','1108365KCCOvH','5NwmZgH','8fSyNQj','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','连接失败,将在一会儿之后重试连接','连接失败,请检查你的网络','3276064YxvKiE','2930qvBtek','2061588wjVbCx'];_0x212f=function(){return _0x1613c0;};return _0x212f();}
@@ -0,0 +1 @@
1
+ function _0x3e6e(_0x3e5aa2,_0x4cfc39){const _0x13786e=_0x1378();return _0x3e6e=function(_0x3e6ec1,_0x2dd72d){_0x3e6ec1=_0x3e6ec1-0x102;let _0x5466f8=_0x13786e[_0x3e6ec1];return _0x5466f8;},_0x3e6e(_0x3e5aa2,_0x4cfc39);}const _0x382825=_0x3e6e;(function(_0x2b40e0,_0x4b908f){const _0x170683=_0x3e6e,_0x5a53db=_0x2b40e0();while(!![]){try{const _0x3d262e=-parseInt(_0x170683(0x111))/0x1+parseInt(_0x170683(0x110))/0x2+-parseInt(_0x170683(0x107))/0x3+parseInt(_0x170683(0x10c))/0x4*(parseInt(_0x170683(0x10f))/0x5)+-parseInt(_0x170683(0x114))/0x6+-parseInt(_0x170683(0x104))/0x7+-parseInt(_0x170683(0x106))/0x8*(-parseInt(_0x170683(0x109))/0x9);if(_0x3d262e===_0x4b908f)break;else _0x5a53db['push'](_0x5a53db['shift']());}catch(_0x18c08f){_0x5a53db['push'](_0x5a53db['shift']());}}}(_0x1378,0xa8ed7));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x382825(0x102),'notCollab':_0x382825(0x10d),'synced':'Synced','syncing':'Syncing...','offline':_0x382825(0x108)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x382825(0x105),'room-full':_0x382825(0x10e),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x382825(0x10b),'content':_0x382825(0x113)},'permission':{'title':'Authentication\x20Error','content':_0x382825(0x112)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x382825(0x10a)},'auth':{'needGotoLoginAlert':_0x382825(0x103)}},o=e;export{o as default};function _0x1378(){const _0x1acbac=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','25YVosOt','1848864DGzSrl','767468HbChjz','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','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.','7026390aJVYNb','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3729516qNIocZ','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','15951032GAvlqf','3187689kJpGqL','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','9TWrGDw','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20Conflict','1046000Cckhhs','Local\x20file'];_0x1378=function(){return _0x1acbac;};return _0x1378();}
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x1356(_0x2cb3ad,_0x55d6de){var _0x5ca6fb=_0x5ca6();return _0x1356=function(_0x1356cf,_0x224090){_0x1356cf=_0x1356cf-0x86;var _0x4087b9=_0x5ca6fb[_0x1356cf];return _0x4087b9;},_0x1356(_0x2cb3ad,_0x55d6de);}(function(_0x4a6e55,_0x410272){var _0x5bc964=_0x1356,_0x5ef4bc=_0x4a6e55();while(!![]){try{var _0x4cc700=-parseInt(_0x5bc964(0x92))/0x1*(-parseInt(_0x5bc964(0x93))/0x2)+-parseInt(_0x5bc964(0x94))/0x3*(parseInt(_0x5bc964(0x9b))/0x4)+parseInt(_0x5bc964(0x95))/0x5*(parseInt(_0x5bc964(0x99))/0x6)+-parseInt(_0x5bc964(0x86))/0x7+-parseInt(_0x5bc964(0x9a))/0x8*(-parseInt(_0x5bc964(0x8b))/0x9)+-parseInt(_0x5bc964(0x8d))/0xa*(parseInt(_0x5bc964(0x8f))/0xb)+parseInt(_0x5bc964(0x97))/0xc*(parseInt(_0x5bc964(0x8a))/0xd);if(_0x4cc700===_0x410272)break;else _0x5ef4bc['push'](_0x5ef4bc['shift']());}catch(_0x40c9e3){_0x5ef4bc['push'](_0x5ef4bc['shift']());}}}(_0x5ca6,0xb4d2f),function(_0x145e53,_0x532c6e){var _0x1572cd=_0x1356;typeof exports==_0x1572cd(0x98)&&typeof module<'u'?_0x532c6e(require(_0x1572cd(0x96)),require(_0x1572cd(0x87))):typeof define==_0x1572cd(0x8e)&&define[_0x1572cd(0x88)]?define(['@univerjs-pro/collaboration-client-ui',_0x1572cd(0x87)],_0x532c6e):(_0x145e53=typeof globalThis<'u'?globalThis:_0x145e53||self,_0x532c6e(_0x145e53[_0x1572cd(0x91)],_0x145e53['UniverCoreFacade']));}(this,function(_0x5301d9,_0x48a72f){'use strict';class _0x4ac4d6 extends _0x48a72f['FUniver']{['runOnServer'](_0x5263f8,_0x5b1fb8,..._0x1c471b){var _0x4089e7=_0x1356;return this[_0x4089e7(0x8c)][_0x4089e7(0x90)](_0x5301d9[_0x4089e7(0x89)])['runOnServer'](_0x5263f8,_0x5b1fb8,{},..._0x1c471b);}}_0x48a72f['FUniver']['extend'](_0x4ac4d6);}));function _0x5ca6(){var _0x331a7a=['get','UniverProCollaborationClientUi','14SghAuI','9602fAVSWQ','151881cTsdRB','2399515AryHyv','@univerjs-pro/collaboration-client-ui','18471372ZqFRmf','object','12VPkSiP','185336FSpDDq','104JsNQeP','8236319XVhekU','@univerjs/core/facade','amd','RemoteUniscriptService','13fmgddb','369DmUTIx','_injector','340SmXLqT','function','91421pKOdSv'];_0x5ca6=function(){return _0x331a7a;};return _0x5ca6();}
1
+ function _0x362f(_0x278614,_0x3efece){var _0x2650d6=_0x2650();return _0x362f=function(_0x362f09,_0x257963){_0x362f09=_0x362f09-0x178;var _0x478b14=_0x2650d6[_0x362f09];return _0x478b14;},_0x362f(_0x278614,_0x3efece);}(function(_0x1d4269,_0x17284e){var _0x3230c4=_0x362f,_0x26e332=_0x1d4269();while(!![]){try{var _0x2b2584=parseInt(_0x3230c4(0x17b))/0x1*(parseInt(_0x3230c4(0x18a))/0x2)+-parseInt(_0x3230c4(0x178))/0x3*(parseInt(_0x3230c4(0x185))/0x4)+parseInt(_0x3230c4(0x18d))/0x5*(-parseInt(_0x3230c4(0x18e))/0x6)+parseInt(_0x3230c4(0x17d))/0x7*(parseInt(_0x3230c4(0x17f))/0x8)+parseInt(_0x3230c4(0x186))/0x9*(-parseInt(_0x3230c4(0x18b))/0xa)+parseInt(_0x3230c4(0x18f))/0xb+parseInt(_0x3230c4(0x181))/0xc;if(_0x2b2584===_0x17284e)break;else _0x26e332['push'](_0x26e332['shift']());}catch(_0x357ee2){_0x26e332['push'](_0x26e332['shift']());}}}(_0x2650,0xc032f),function(_0x5636a4,_0x15c13a){var _0xd2d6e8=_0x362f;typeof exports==_0xd2d6e8(0x188)&&typeof module<'u'?_0x15c13a(require('@univerjs-pro/collaboration-client-ui'),require(_0xd2d6e8(0x189))):typeof define==_0xd2d6e8(0x184)&&define[_0xd2d6e8(0x182)]?define([_0xd2d6e8(0x17a),_0xd2d6e8(0x189)],_0x15c13a):(_0x5636a4=typeof globalThis<'u'?globalThis:_0x5636a4||self,_0x15c13a(_0x5636a4[_0xd2d6e8(0x183)],_0x5636a4[_0xd2d6e8(0x17e)]));}(this,function(_0x2f85f4,_0x1dc7cb){'use strict';var _0x15d2d8=_0x362f;class _0x30c32b extends _0x1dc7cb['FUniver']{[_0x15d2d8(0x180)](_0x53bc35,_0x3ed399,..._0x4fb0a5){var _0x5055c6=_0x15d2d8;return this[_0x5055c6(0x190)][_0x5055c6(0x18c)](_0x2f85f4[_0x5055c6(0x187)])[_0x5055c6(0x180)](_0x53bc35,_0x3ed399,{},..._0x4fb0a5);}}_0x1dc7cb[_0x15d2d8(0x17c)][_0x15d2d8(0x179)](_0x30c32b);}));function _0x2650(){var _0x284fd9=['19296SGrFTd','RemoteUniscriptService','object','@univerjs/core/facade','52cvNeLP','2870LkqRZX','get','35wUiakL','173076lCJNzK','6392584VbeoGk','_injector','3qenHLs','extend','@univerjs-pro/collaboration-client-ui','40218pzWbjI','FUniver','1346268frzSIi','UniverCoreFacade','24Hqigzv','runOnServer','6333252zrOdIM','amd','UniverProCollaborationClientUi','function','4508232VCQuzX'];_0x2650=function(){return _0x284fd9;};return _0x2650();}