@ckeditor/ckeditor5-real-time-collaboration 43.1.1 → 43.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2787db=>{const {'zh-cn':{dictionary:_0x3c0275,getPluralForm:_0x1c2324}}={'zh-cn':{'dictionary':{'CONNECTED_USERS':'已连接用户:%0','PENDING_ACTION_SENDING_DATA':'正在往服务器发送数据。','Synchronization\x20issue':'同步Issue','Connected\x20users\x20list\x20dropdown\x20menu':'连接用户列表下拉菜单','Connected\x20users\x20list':'连接用户列表','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'折叠的连接用户列表(按\x20ENTER\x20键打开)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'当前文档不能连回服务器。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新连接后不能获取文档详情。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'最新保存的文档版本和本地版本不匹配。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本地文档和服务器文档存在区别,合并它们将导致意料之外的行为。为避免丢失数据,请先将内容保存在本地并刷新编辑器。'},'getPluralForm':_0x2d9895=>0x0}};_0x2787db['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x2787db['zh-cn']['dictionary']=Object['assign'](_0x2787db['zh-cn']['dictionary'],_0x3c0275),_0x2787db['zh-cn']['getPluralForm']=_0x1c2324;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':_0x355513=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4e2a26=>{const {zh:{dictionary:_0xdfae7b,getPluralForm:_0x2dfc9d}}={'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':_0x203b3a=>0x0}};_0x4e2a26['zh']||={'dictionary':{},'getPluralForm':null},_0x4e2a26['zh']['dictionary']=Object['assign'](_0x4e2a26['zh']['dictionary'],_0xdfae7b),_0x4e2a26['zh']['getPluralForm']=_0x2dfc9d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "43.
|
|
3
|
+
"version": "43.2.0-alpha.1",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@ckeditor/ckeditor-cloud-services-collaboration": "52.6.10",
|
|
45
|
-
"@ckeditor/ckeditor5-core": "43.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.
|
|
51
|
-
"ckeditor5": "43.
|
|
52
|
-
"ckeditor5-collaboration": "43.
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.2.0-alpha.1",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.2.0-alpha.1",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.2.0-alpha.1",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.2.0-alpha.1",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.2.0-alpha.1",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.2.0-alpha.1",
|
|
51
|
+
"ckeditor5": "43.2.0-alpha.1",
|
|
52
|
+
"ckeditor5-collaboration": "43.2.0-alpha.1",
|
|
53
53
|
"lodash-es": "4.17.21"
|
|
54
54
|
},
|
|
55
55
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1b1835,_0x39408b,_0x36ada3){const t=_0x1b1835['t'];switch(_0x39408b){case'PENDING_ACTION_SENDING_DATA':return t({'string':'Sending\x20data\x20to\x20the\x20server.','id':'PENDING_ACTION_SENDING_DATA'});case'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'Synchronization\x20issue':return t('Synchronization\x20issue');case'Connected\x20users\x20list\x20dropdown\x20menu':return t('Connected\x20users\x20list\x20dropdown\x20menu');case'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':return t('Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)');case'Connected\x20users\x20list':return t('Connected\x20users\x20list');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'CONNECTED_USERS':return t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0x36ada3);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2addb9,_0x34b07a){var _0x3457bc=_0x26f5,_0x4ca604=_0x2addb9();while(!![]){try{var _0x2cc802=-parseInt(_0x3457bc(0x84))/0x1*(-parseInt(_0x3457bc(0x7c))/0x2)+parseInt(_0x3457bc(0x81))/0x3+-parseInt(_0x3457bc(0x7b))/0x4*(parseInt(_0x3457bc(0x82))/0x5)+-parseInt(_0x3457bc(0x83))/0x6*(-parseInt(_0x3457bc(0x7e))/0x7)+-parseInt(_0x3457bc(0x7f))/0x8+-parseInt(_0x3457bc(0x7d))/0x9+parseInt(_0x3457bc(0x7a))/0xa*(-parseInt(_0x3457bc(0x80))/0xb);if(_0x2cc802===_0x34b07a)break;else _0x4ca604['push'](_0x4ca604['shift']());}catch(_0x5e8176){_0x4ca604['push'](_0x4ca604['shift']());}}}(_0x2aa8,0xd716c));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';function _0x2aa8(){var _0x29bbe5=['4038765CWBrxN','6ccyxhW','2QQRHMD','10ZDvVTk','4lFLQXE','1405858RvZCmP','403965YGHRph','804909EwRSUe','128496jwlyrO','4591114XgrTZr','1938699ucTwVs'];_0x2aa8=function(){return _0x29bbe5;};return _0x2aa8();}export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x26f5(_0x4b84f8,_0x136b14){var _0x2aa82f=_0x2aa8();return _0x26f5=function(_0x26f54a,_0x3086e9){_0x26f54a=_0x26f54a-0x7a;var _0x563fab=_0x2aa82f[_0x26f54a];return _0x563fab;},_0x26f5(_0x4b84f8,_0x136b14);}export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x29ffc0=_0x54fc;(function(_0x34bfdc,_0x4c85dc){const _0x214b1a=_0x54fc,_0x348956=_0x34bfdc();while(!![]){try{const _0x16c1f7=parseInt(_0x214b1a(0x8a))/0x1*(-parseInt(_0x214b1a(0xd7))/0x2)+-parseInt(_0x214b1a(0xe3))/0x3*(parseInt(_0x214b1a(0xdf))/0x4)+-parseInt(_0x214b1a(0x8c))/0x5*(parseInt(_0x214b1a(0xc4))/0x6)+-parseInt(_0x214b1a(0xcd))/0x7+parseInt(_0x214b1a(0xd5))/0x8*(-parseInt(_0x214b1a(0xa2))/0x9)+parseInt(_0x214b1a(0xba))/0xa+-parseInt(_0x214b1a(0x89))/0xb*(-parseInt(_0x214b1a(0xda))/0xc);if(_0x16c1f7===_0x4c85dc)break;else _0x348956['push'](_0x348956['shift']());}catch(_0x4bbcd3){_0x348956['push'](_0x348956['shift']());}}}(_0x236e,0xef609));import{ContextPlugin as _0x3cfd16}from'ckeditor5/src/core.js';import{CKEditorError as _0x4cbc4d,Collection as _0x394e69}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0xef560a,BalloonPanelView as _0x1db285,BodyCollection as _0x2622bf}from'ckeditor5/src/ui.js';import{isElement as _0x24898b}from'lodash-es';import _0x4a39cd from'../realtimecollaborativeediting/sessions.js';import _0x3cd75f from'./view/presencelistview.js';import _0x271dc5 from'./view/presencedropdownlistview.js';import _0xadf494 from'./view/presencedropdownlistitemview.js';import _0x497ae8 from'./view/presenceinlinelistitemview.js';function _0x54fc(_0x167fc7,_0x4ad8bc){const _0x236e21=_0x236e();return _0x54fc=function(_0x54fc86,_0x503abb){_0x54fc86=_0x54fc86-0x87;let _0x3242ce=_0x236e21[_0x54fc86];return _0x3242ce;},_0x54fc(_0x167fc7,_0x4ad8bc);}const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x3cfd16{constructor(_0x21fe14){const _0xf2af0=_0x54fc;super(_0x21fe14),this[_0xf2af0(0xd1)]=null,this[_0xf2af0(0xad)][_0xf2af0(0xc8)][_0xf2af0(0xe4)](_0xf2af0(0xa9),A);const _0x226197=_0x21fe14[_0xf2af0(0xc8)][_0xf2af0(0xac)](_0xf2af0(0xb8));if(_0xf2af0(0xe0)!=typeof _0x226197)throw new _0x4cbc4d(_0xf2af0(0x9f),this);if(_0x226197<0x1)throw new _0x4cbc4d(_0xf2af0(0x9f),this);this[_0xf2af0(0xb1)]=this[_0xf2af0(0xad)][_0xf2af0(0xcb)][_0xf2af0(0xac)](_0x4a39cd)[_0xf2af0(0xe2)],this[_0xf2af0(0xa7)](_0xf2af0(0x9e),0x0),this[_0xf2af0(0x8b)]=new _0x394e69(),this[_0xf2af0(0xa6)]=new _0x1db285(),this[_0xf2af0(0xa6)][_0xf2af0(0xbd)]=_0xf2af0(0xc2),this[_0xf2af0(0x95)]=this[_0xf2af0(0x9c)](),this[_0xf2af0(0xa4)]=void 0x0;}static get[_0x29ffc0(0xe8)](){return[_0x4a39cd];}[_0x29ffc0(0xd0)](){const _0x3b3bb6=_0x29ffc0;for(const _0x1fc339 of this[_0x3b3bb6(0xb1)])this[_0x3b3bb6(0x99)](_0x1fc339);this[_0x3b3bb6(0xbb)](this[_0x3b3bb6(0xb1)],_0x3b3bb6(0xca),(_0x24732b,_0x271cd9)=>{const _0x4709b0=_0x3b3bb6;this[_0x4709b0(0x99)](_0x271cd9);}),this[_0x3b3bb6(0xbb)](this[_0x3b3bb6(0xb1)],_0x3b3bb6(0xa0),(_0x2ffdf7,_0x31f641)=>{const _0x584b97=_0x3b3bb6;this[_0x584b97(0x9a)](_0x31f641);});}[_0x29ffc0(0x9c)](){const _0x1ce3c3=_0x29ffc0,_0x80a051=this[_0x1ce3c3(0xad)],_0x1b4234=new _0x3cd75f(this[_0x1ce3c3(0xad)][_0x1ce3c3(0xcc)]),_0x5094d5=this[_0x1ce3c3(0xa6)];if(!_0x24898b(_0x80a051[_0x1ce3c3(0xc8)][_0x1ce3c3(0xac)](_0x1ce3c3(0xc1))))throw new _0x4cbc4d(_0x1ce3c3(0xc0),this);return _0x1b4234[_0x1ce3c3(0x93)][_0x1ce3c3(0xb4)](_0x1ce3c3(0x9e))['to'](this),_0x1b4234[_0x1ce3c3(0xb4)](_0x1ce3c3(0x88))['to'](this,_0x1ce3c3(0x9e),_0x389dbb=>{const _0xff9686=_0x1ce3c3,{collapseAt:_0x231559,displayMe:_0x99ae1e}=_0x80a051[_0xff9686(0xc8)][_0xff9686(0xac)](_0xff9686(0xa9)),_0x32b69a=_0x389dbb>=_0x231559;return _0x1b4234[_0xff9686(0x93)][_0xff9686(0xce)]=!(0x1==_0x389dbb&&_0x99ae1e||_0x32b69a),_0x32b69a||this[_0xff9686(0xbc)](),_0x32b69a;}),_0x1b4234[_0x1ce3c3(0x91)][_0x1ce3c3(0xc5)][_0x1ce3c3(0xbe)](this[_0x1ce3c3(0x8b)])[_0x1ce3c3(0x97)](_0x186186=>{const _0x187b41=_0x1ce3c3,_0x5401b8=_0x80a051[_0x187b41(0xc8)][_0x187b41(0xac)](_0x187b41(0xa9)),_0x202d02=new _0x497ae8(_0x80a051[_0x187b41(0xcc)],_0x186186,!!_0x5401b8[_0x187b41(0xcf)]);return _0x202d02[_0x187b41(0xb4)](_0x187b41(0x9d))['to'](_0x1b4234,_0x187b41(0x88),_0x46d73e=>!_0x46d73e),_0x202d02[_0x187b41(0xb4)](_0x187b41(0x90))['to'](_0x1b4234,_0x187b41(0x88),_0xaa65c6=>!_0xaa65c6),_0x5401b8[_0x187b41(0xcf)]&&this[_0x187b41(0xbb)](_0x202d02,_0x187b41(0xd3),()=>{const _0x219bef=_0x187b41;this[_0x219bef(0x95)][_0x219bef(0x88)]||_0x5401b8[_0x219bef(0xcf)](_0x186186,_0x202d02[_0x219bef(0xb2)]);}),_0x202d02;}),this[_0x1ce3c3(0xbb)](_0x1b4234[_0x1ce3c3(0x91)],_0x1ce3c3(0xd3),()=>{const _0x4b5cce=_0x1ce3c3;this[_0x4b5cce(0xa4)]?this[_0x4b5cce(0xbc)]():this[_0x4b5cce(0x95)][_0x4b5cce(0x88)]&&this[_0x4b5cce(0xdc)]();}),_0x1b4234[_0x1ce3c3(0x91)][_0x1ce3c3(0xe9)][_0x1ce3c3(0xa7)](_0x1ce3c3(0x96),(_0x1e3cfe,_0x2e3f39)=>{const _0x558db6=_0x1ce3c3;this[_0x558db6(0x95)][_0x558db6(0x88)]&&(this[_0x558db6(0xdc)](),_0x2e3f39());}),_0x1b4234[_0x1ce3c3(0xc3)](),_0x5094d5[_0x1ce3c3(0xc3)](),_0xef560a({'emitter':_0x1b4234,'activator':()=>_0x5094d5[_0x1ce3c3(0xc9)],'contextElements':[_0x5094d5[_0x1ce3c3(0xb2)],_0x1b4234[_0x1ce3c3(0x91)][_0x1ce3c3(0xb2)]],'callback':()=>this[_0x1ce3c3(0xbc)]()}),_0x80a051[_0x1ce3c3(0xc8)][_0x1ce3c3(0xac)](_0x1ce3c3(0xc1))[_0x1ce3c3(0x94)](_0x1b4234[_0x1ce3c3(0xb2)]),this[_0x1ce3c3(0xd1)]=new _0x2622bf(this[_0x1ce3c3(0xad)][_0x1ce3c3(0xcc)]),this[_0x1ce3c3(0xd1)][_0x1ce3c3(0xc7)](),this[_0x1ce3c3(0xd1)][_0x1ce3c3(0xca)](this[_0x1ce3c3(0xa6)]),_0x1b4234;}[_0x29ffc0(0x99)](_0x266e0a){const _0x31b5ad=_0x29ffc0;if(!this[_0x31b5ad(0xad)][_0x31b5ad(0xc8)][_0x31b5ad(0xac)](_0x31b5ad(0xe1))&&_0x266e0a[_0x31b5ad(0xe7)])return;const _0x42c142=this[_0x31b5ad(0xad)][_0x31b5ad(0xc8)][_0x31b5ad(0xac)](_0x31b5ad(0xb8))-0x1;this[_0x31b5ad(0x9e)]++,this[_0x31b5ad(0x8b)][_0x31b5ad(0xd8)]==_0x42c142&&this[_0x31b5ad(0x8b)][_0x31b5ad(0xd8)]>0x1&&this[_0x31b5ad(0x8b)][_0x31b5ad(0xa0)](0x1);const _0x3faa49=_0x266e0a[_0x31b5ad(0xe7)]?0x0:this[_0x31b5ad(0x8b)][_0x31b5ad(0xd8)];this[_0x31b5ad(0x8b)][_0x31b5ad(0xca)](_0x266e0a,_0x3faa49);}[_0x29ffc0(0x9a)](_0x2d3fb0){const _0x22c007=_0x29ffc0;if(this[_0x22c007(0x9e)]--,this[_0x22c007(0x8b)][_0x22c007(0xac)](_0x2d3fb0['id'])&&(this[_0x22c007(0x8b)][_0x22c007(0xa0)](_0x2d3fb0['id']),this[_0x22c007(0x8b)][_0x22c007(0xd8)]<this[_0x22c007(0x9e)])){for(const _0x2e96fa of Array[_0x22c007(0xde)](this[_0x22c007(0xb1)])[_0x22c007(0xb6)]())if(!this[_0x22c007(0x8b)][_0x22c007(0xac)](_0x2e96fa['id']))return void this[_0x22c007(0x8b)][_0x22c007(0xca)](_0x2e96fa,Math[_0x22c007(0x8d)](this[_0x22c007(0x8b)][_0x22c007(0xd8)],0x1));}}[_0x29ffc0(0xdc)](){const _0x35da68=_0x29ffc0;if(this[_0x35da68(0xa4)])return;const _0x4f2ecd=this[_0x35da68(0xad)][_0x35da68(0xc8)][_0x35da68(0xac)](_0x35da68(0xa9));this[_0x35da68(0xa4)]=new _0x271dc5(this[_0x35da68(0xad)][_0x35da68(0xcc)],!!_0x4f2ecd[_0x35da68(0xcf)]),this[_0x35da68(0x95)][_0x35da68(0x91)][_0x35da68(0xd9)]=!0x0;const {listWrapperView:_0x2f7dc3}=this[_0x35da68(0xa4)];_0x2f7dc3[_0x35da68(0xc5)][_0x35da68(0xbe)](this[_0x35da68(0xb1)])[_0x35da68(0x97)](_0x3d0ffa=>{const _0x437c30=_0x35da68;if(!_0x4f2ecd[_0x437c30(0xab)]&&_0x3d0ffa[_0x437c30(0xe7)])return null;const _0x275fb4=new _0xadf494(this[_0x437c30(0xad)][_0x437c30(0xcc)],_0x3d0ffa,!!_0x4f2ecd[_0x437c30(0xcf)]);return _0x4f2ecd[_0x437c30(0xcf)]&&this[_0x437c30(0xbb)](_0x275fb4,_0x437c30(0xd3),()=>{const _0x12e3c3=_0x437c30;_0x4f2ecd[_0x12e3c3(0xcf)](_0x3d0ffa,_0x275fb4[_0x12e3c3(0xb2)]);}),_0x275fb4;}),this[_0x35da68(0xa6)][_0x35da68(0x87)][_0x35da68(0xca)](this[_0x35da68(0xa4)]),this[_0x35da68(0xa6)][_0x35da68(0xa3)]({'target':this[_0x35da68(0x95)][_0x35da68(0x91)][_0x35da68(0xb2)]}),_0x2f7dc3[_0x35da68(0xea)](),_0x2f7dc3[_0x35da68(0xc6)]();const _0x3f1e22=(_0x131c0e,_0x1f8995)=>{const _0x2599cb=_0x35da68;this[_0x2599cb(0xbc)](),this[_0x2599cb(0x95)][_0x2599cb(0x91)][_0x2599cb(0xea)](),_0x1f8995();};_0x2f7dc3[_0x35da68(0xe9)][_0x35da68(0xa7)](_0x35da68(0xe6),_0x3f1e22),_0x2f7dc3[_0x35da68(0xe9)][_0x35da68(0xa7)](_0x35da68(0x92),_0x3f1e22),_0x2f7dc3[_0x35da68(0xe9)][_0x35da68(0xa7)](_0x35da68(0xdb),(_0x18d672,_0x575a02)=>{const _0x335a5f=_0x35da68;!function(_0x44ff47){const _0x4acd97=_0x54fc,_0x5b0f55=['a',_0x4acd97(0xb9),_0x4acd97(0xaa),_0x4acd97(0xed),_0x4acd97(0xd6),_0x4acd97(0xaf),_0x4acd97(0x8f)][_0x4acd97(0xa8)](_0x464bfb=>_0x464bfb+_0x4acd97(0xb3))[_0x4acd97(0xb7)](','),_0x36bf62=[...document[_0x4acd97(0xb0)][_0x4acd97(0xd2)](_0x5b0f55)][_0x4acd97(0x98)](_0x461390=>_0x461390===document[_0x4acd97(0xae)]||_0x461390[_0x4acd97(0xeb)]+_0x461390[_0x4acd97(0xa5)]>0x0)[_0x4acd97(0xbf)]((_0xd40a6d,_0x1af376)=>(_0xd40a6d[_0x4acd97(0xec)]||0x0)-(_0x1af376[_0x4acd97(0xec)]||0x0)),_0x23f350=_0x36bf62[_0x4acd97(0xdd)](_0x44ff47),_0x7d0c32=_0x36bf62[(_0x23f350+0x1)%_0x36bf62[_0x4acd97(0xd8)]];_0x7d0c32&&_0x7d0c32[_0x4acd97(0xea)]();}(this[_0x335a5f(0x95)][_0x335a5f(0xb2)]),this[_0x335a5f(0xbc)](),_0x575a02();}),_0x2f7dc3[_0x35da68(0xe5)][_0x35da68(0xca)](this[_0x35da68(0x95)][_0x35da68(0xb2)]),_0x2f7dc3[_0x35da68(0xe5)]['on'](_0x35da68(0xd4),(_0x322a12,_0x3996a9,_0x53b3e2)=>{const _0x54157c=_0x35da68;_0x53b3e2||this[_0x54157c(0xbc)]();});}[_0x29ffc0(0xbc)](){const _0x70892b=_0x29ffc0;this[_0x70892b(0xa4)]&&(this[_0x70892b(0x95)][_0x70892b(0x91)][_0x70892b(0xd9)]=!0x1,this[_0x70892b(0xa6)][_0x70892b(0xb5)](),this[_0x70892b(0xa6)][_0x70892b(0x87)][_0x70892b(0xa0)](this[_0x70892b(0xa4)]),this[_0x70892b(0xa4)][_0x70892b(0x9b)](),this[_0x70892b(0xa4)]=void 0x0);}[_0x29ffc0(0x9b)](){const _0x20ce94=_0x29ffc0;super[_0x20ce94(0x9b)](),this[_0x20ce94(0x95)]&&this[_0x20ce94(0x95)][_0x20ce94(0x8e)]&&this[_0x20ce94(0x95)][_0x20ce94(0x9b)](),this[_0x20ce94(0xd1)]&&(this[_0x20ce94(0xd1)][_0x20ce94(0xa1)](),this[_0x20ce94(0xd1)][_0x20ce94(0x9b)](),this[_0x20ce94(0xd1)]=null);}}function _0x236e(){const _0x29e837=['showDropdown','indexOf','from','84JGgpgK','number','presenceList.displayMe','allConnectedUsers','274143JiOugZ','define','focusTracker','Esc','isMe','requires','keystrokes','focus','offsetWidth','tabIndex','select','content','isCollapsed','6073573NmNHDU','19RvmRCa','currentDisplayedUsers','1902020OUeGIV','min','isRendered','[contenteditable]','isFocusable','inlineListView','Shift+Tab','counterView','appendChild','view','Enter','using','filter','_handleUserAdd','_handleUserRemove','destroy','_createView','hasTooltip','usersCount','presencelist-collapseat-invalid-format','remove','detachFromDom','2446866BtbWhu','pin','presenceDropdownView','offsetHeight','balloonPanelView','set','map','presenceList','input','displayMe','get','context','activeElement','[tabindex]','body','_allConnectedUsers','element',':not([disabled]):not([tabindex=\x22-1\x22])','bind','unpin','reverse','join','presenceList.collapseAt','button','4658070yAyhXd','listenTo','hideDropdown','class','bindTo','sort','presencelist-missing-container','presenceList.container','ck\x20ck-presence-list__balloon','render','6ajElww','items','checkIfScrollable','attachToDom','config','isVisible','add','plugins','locale','4798787VbFhhf','isHidden','onClick','init','_bodyCollection','querySelectorAll','execute','change:isFocused','40bICbSa','textarea','127850ddxDaJ','length','isExpanded','132hrQmPZ','Tab'];_0x236e=function(){return _0x29e837;};return _0x236e();}
|
|
23
|
+
const _0x4a56f6=_0x527b;(function(_0x4a3bf3,_0x35aacb){const _0x189ff8=_0x527b,_0x485d1c=_0x4a3bf3();while(!![]){try{const _0x43ab26=-parseInt(_0x189ff8(0x145))/0x1*(parseInt(_0x189ff8(0x149))/0x2)+parseInt(_0x189ff8(0x159))/0x3+parseInt(_0x189ff8(0x169))/0x4*(parseInt(_0x189ff8(0x180))/0x5)+-parseInt(_0x189ff8(0x19a))/0x6*(-parseInt(_0x189ff8(0x14f))/0x7)+parseInt(_0x189ff8(0x152))/0x8*(parseInt(_0x189ff8(0x193))/0x9)+-parseInt(_0x189ff8(0x14d))/0xa*(parseInt(_0x189ff8(0x139))/0xb)+-parseInt(_0x189ff8(0x19b))/0xc;if(_0x43ab26===_0x35aacb)break;else _0x485d1c['push'](_0x485d1c['shift']());}catch(_0x233dea){_0x485d1c['push'](_0x485d1c['shift']());}}}(_0x1af7,0xa267c));import{ContextPlugin as _0x434ddf}from'ckeditor5/src/core.js';import{CKEditorError as _0x4597d9,Collection as _0x5dac4b}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0xb7a8ab,BalloonPanelView as _0x650733,BodyCollection as _0x1c29d2}from'ckeditor5/src/ui.js';import{isElement as _0xe96b0d}from'lodash-es';import _0x56767b from'../realtimecollaborativeediting/sessions.js';import _0x53bf52 from'./view/presencelistview.js';import _0x28e27a from'./view/presencedropdownlistview.js';function _0x527b(_0xecc8a,_0x281bed){const _0x1af7c7=_0x1af7();return _0x527b=function(_0x527b13,_0xf4f39f){_0x527b13=_0x527b13-0x138;let _0x3a6fde=_0x1af7c7[_0x527b13];return _0x3a6fde;},_0x527b(_0xecc8a,_0x281bed);}import _0x40eb00 from'./view/presencedropdownlistitemview.js';import _0x2daf98 from'./view/presenceinlinelistitemview.js';function _0x1af7(){const _0x5c6eb7=['8754130vTuIrC','min','indexOf','usersCount','displayMe','presenceList.collapseAt','presenceList.container','render','presenceList','requires','remove','init','9NbLkBs','button','body','[contenteditable]','240910seXRes','onClick','plugins','destroy','10OJCmOJ','activeElement','14FoQDzZ','listenTo','allConnectedUsers','10264ZGrTvH','pin','presencelist-collapseat-invalid-format','bindTo','locale','length','get','2397321pontxz','checkIfScrollable','_allConnectedUsers','presenceList.displayMe','from','reverse','add','view','set','hideDropdown','content','isHidden','offsetWidth','isCollapsed','detachFromDom','change:isFocused','4regniy','unpin','using','hasTooltip','bind','presenceDropdownView','Shift+Tab','map','ck\x20ck-presence-list__balloon','textarea',':not([disabled]):not([tabindex=\x22-1\x22])','items','isFocusable','_handleUserRemove','join','config','currentDisplayedUsers','_handleUserAdd','keystrokes','number','input','focus','sort','5234005oITxuR','Enter','_bodyCollection','isMe','select','define','class','presencelist-missing-container','isExpanded','querySelectorAll','_createView','inlineListView','context','counterView','tabIndex','attachToDom','appendChild','balloonPanelView','isVisible','5067ZVgiRr','showDropdown','filter','execute','offsetHeight','element','focusTracker','237480hHdmqM','1227120piEESz','isRendered','Tab','Esc','[tabindex]'];_0x1af7=function(){return _0x5c6eb7;};return _0x1af7();}const et={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x434ddf{constructor(_0x4e6d43){const _0x10e3ff=_0x527b;super(_0x4e6d43),this[_0x10e3ff(0x182)]=null,this[_0x10e3ff(0x18c)][_0x10e3ff(0x178)][_0x10e3ff(0x185)](_0x10e3ff(0x141),et);const _0x36b7a4=_0x4e6d43[_0x10e3ff(0x178)][_0x10e3ff(0x158)](_0x10e3ff(0x13e));if(_0x10e3ff(0x17c)!=typeof _0x36b7a4)throw new _0x4597d9(_0x10e3ff(0x154),this);if(_0x36b7a4<0x1)throw new _0x4597d9(_0x10e3ff(0x154),this);this[_0x10e3ff(0x15b)]=this[_0x10e3ff(0x18c)][_0x10e3ff(0x14b)][_0x10e3ff(0x158)](_0x56767b)[_0x10e3ff(0x151)],this[_0x10e3ff(0x161)](_0x10e3ff(0x13c),0x0),this[_0x10e3ff(0x179)]=new _0x5dac4b(),this[_0x10e3ff(0x191)]=new _0x650733(),this[_0x10e3ff(0x191)][_0x10e3ff(0x186)]=_0x10e3ff(0x171),this[_0x10e3ff(0x160)]=this[_0x10e3ff(0x18a)](),this[_0x10e3ff(0x16e)]=void 0x0;}static get[_0x4a56f6(0x142)](){return[_0x56767b];}[_0x4a56f6(0x144)](){const _0x1ad83b=_0x4a56f6;for(const _0x417095 of this[_0x1ad83b(0x15b)])this[_0x1ad83b(0x17a)](_0x417095);this[_0x1ad83b(0x150)](this[_0x1ad83b(0x15b)],_0x1ad83b(0x15f),(_0xc545e1,_0x51b682)=>{const _0x1ab897=_0x1ad83b;this[_0x1ab897(0x17a)](_0x51b682);}),this[_0x1ad83b(0x150)](this[_0x1ad83b(0x15b)],_0x1ad83b(0x143),(_0x372c9f,_0x300240)=>{const _0x4af6f3=_0x1ad83b;this[_0x4af6f3(0x176)](_0x300240);});}[_0x4a56f6(0x18a)](){const _0x8d3ef7=_0x4a56f6,_0x12926d=this[_0x8d3ef7(0x18c)],_0x1aba43=new _0x53bf52(this[_0x8d3ef7(0x18c)][_0x8d3ef7(0x156)]),_0x41cebc=this[_0x8d3ef7(0x191)];if(!_0xe96b0d(_0x12926d[_0x8d3ef7(0x178)][_0x8d3ef7(0x158)](_0x8d3ef7(0x13f))))throw new _0x4597d9(_0x8d3ef7(0x187),this);return _0x1aba43[_0x8d3ef7(0x18d)][_0x8d3ef7(0x16d)](_0x8d3ef7(0x13c))['to'](this),_0x1aba43[_0x8d3ef7(0x16d)](_0x8d3ef7(0x166))['to'](this,_0x8d3ef7(0x13c),_0xc32bf8=>{const _0x9ad32f=_0x8d3ef7,{collapseAt:_0x312b29,displayMe:_0x1e3fae}=_0x12926d[_0x9ad32f(0x178)][_0x9ad32f(0x158)](_0x9ad32f(0x141)),_0x1433c5=_0xc32bf8>=_0x312b29;return _0x1aba43[_0x9ad32f(0x18d)][_0x9ad32f(0x164)]=!(0x1==_0xc32bf8&&_0x1e3fae||_0x1433c5),_0x1433c5||this[_0x9ad32f(0x162)](),_0x1433c5;}),_0x1aba43[_0x8d3ef7(0x18b)][_0x8d3ef7(0x174)][_0x8d3ef7(0x155)](this[_0x8d3ef7(0x179)])[_0x8d3ef7(0x16b)](_0x40f06d=>{const _0x5518ad=_0x8d3ef7,_0x4945b2=_0x12926d[_0x5518ad(0x178)][_0x5518ad(0x158)](_0x5518ad(0x141)),_0x35c485=new _0x2daf98(_0x12926d[_0x5518ad(0x156)],_0x40f06d,!!_0x4945b2[_0x5518ad(0x14a)]);return _0x35c485[_0x5518ad(0x16d)](_0x5518ad(0x16c))['to'](_0x1aba43,_0x5518ad(0x166),_0xe4f840=>!_0xe4f840),_0x35c485[_0x5518ad(0x16d)](_0x5518ad(0x175))['to'](_0x1aba43,_0x5518ad(0x166),_0x261ec7=>!_0x261ec7),_0x4945b2[_0x5518ad(0x14a)]&&this[_0x5518ad(0x150)](_0x35c485,_0x5518ad(0x196),()=>{const _0x1935d5=_0x5518ad;this[_0x1935d5(0x160)][_0x1935d5(0x166)]||_0x4945b2[_0x1935d5(0x14a)](_0x40f06d,_0x35c485[_0x1935d5(0x198)]);}),_0x35c485;}),this[_0x8d3ef7(0x150)](_0x1aba43[_0x8d3ef7(0x18b)],_0x8d3ef7(0x196),()=>{const _0x5f1c8c=_0x8d3ef7;this[_0x5f1c8c(0x16e)]?this[_0x5f1c8c(0x162)]():this[_0x5f1c8c(0x160)][_0x5f1c8c(0x166)]&&this[_0x5f1c8c(0x194)]();}),_0x1aba43[_0x8d3ef7(0x18b)][_0x8d3ef7(0x17b)][_0x8d3ef7(0x161)](_0x8d3ef7(0x181),(_0x50efa4,_0x3b42ab)=>{const _0x2518bf=_0x8d3ef7;this[_0x2518bf(0x160)][_0x2518bf(0x166)]&&(this[_0x2518bf(0x194)](),_0x3b42ab());}),_0x1aba43[_0x8d3ef7(0x140)](),_0x41cebc[_0x8d3ef7(0x140)](),_0xb7a8ab({'emitter':_0x1aba43,'activator':()=>_0x41cebc[_0x8d3ef7(0x192)],'contextElements':[_0x41cebc[_0x8d3ef7(0x198)],_0x1aba43[_0x8d3ef7(0x18b)][_0x8d3ef7(0x198)]],'callback':()=>this[_0x8d3ef7(0x162)]()}),_0x12926d[_0x8d3ef7(0x178)][_0x8d3ef7(0x158)](_0x8d3ef7(0x13f))[_0x8d3ef7(0x190)](_0x1aba43[_0x8d3ef7(0x198)]),this[_0x8d3ef7(0x182)]=new _0x1c29d2(this[_0x8d3ef7(0x18c)][_0x8d3ef7(0x156)]),this[_0x8d3ef7(0x182)][_0x8d3ef7(0x18f)](),this[_0x8d3ef7(0x182)][_0x8d3ef7(0x15f)](this[_0x8d3ef7(0x191)]),_0x1aba43;}[_0x4a56f6(0x17a)](_0x23dcbe){const _0x3db5e5=_0x4a56f6;if(!this[_0x3db5e5(0x18c)][_0x3db5e5(0x178)][_0x3db5e5(0x158)](_0x3db5e5(0x15c))&&_0x23dcbe[_0x3db5e5(0x183)])return;const _0x57c25=this[_0x3db5e5(0x18c)][_0x3db5e5(0x178)][_0x3db5e5(0x158)](_0x3db5e5(0x13e))-0x1;this[_0x3db5e5(0x13c)]++,this[_0x3db5e5(0x179)][_0x3db5e5(0x157)]==_0x57c25&&this[_0x3db5e5(0x179)][_0x3db5e5(0x157)]>0x1&&this[_0x3db5e5(0x179)][_0x3db5e5(0x143)](0x1);const _0x321f2d=_0x23dcbe[_0x3db5e5(0x183)]?0x0:this[_0x3db5e5(0x179)][_0x3db5e5(0x157)];this[_0x3db5e5(0x179)][_0x3db5e5(0x15f)](_0x23dcbe,_0x321f2d);}[_0x4a56f6(0x176)](_0x35b8a6){const _0x357a4f=_0x4a56f6;if(this[_0x357a4f(0x13c)]--,this[_0x357a4f(0x179)][_0x357a4f(0x158)](_0x35b8a6['id'])&&(this[_0x357a4f(0x179)][_0x357a4f(0x143)](_0x35b8a6['id']),this[_0x357a4f(0x179)][_0x357a4f(0x157)]<this[_0x357a4f(0x13c)])){for(const _0x5088b2 of Array[_0x357a4f(0x15d)](this[_0x357a4f(0x15b)])[_0x357a4f(0x15e)]())if(!this[_0x357a4f(0x179)][_0x357a4f(0x158)](_0x5088b2['id']))return void this[_0x357a4f(0x179)][_0x357a4f(0x15f)](_0x5088b2,Math[_0x357a4f(0x13a)](this[_0x357a4f(0x179)][_0x357a4f(0x157)],0x1));}}[_0x4a56f6(0x194)](){const _0x18d71f=_0x4a56f6;if(this[_0x18d71f(0x16e)])return;const _0x4dc4f0=this[_0x18d71f(0x18c)][_0x18d71f(0x178)][_0x18d71f(0x158)](_0x18d71f(0x141));this[_0x18d71f(0x16e)]=new _0x28e27a(this[_0x18d71f(0x18c)][_0x18d71f(0x156)],!!_0x4dc4f0[_0x18d71f(0x14a)]),this[_0x18d71f(0x160)][_0x18d71f(0x18b)][_0x18d71f(0x188)]=!0x0;const {listWrapperView:_0x2d169b}=this[_0x18d71f(0x16e)];_0x2d169b[_0x18d71f(0x174)][_0x18d71f(0x155)](this[_0x18d71f(0x15b)])[_0x18d71f(0x16b)](_0x145dc8=>{const _0x5ba9e2=_0x18d71f;if(!_0x4dc4f0[_0x5ba9e2(0x13d)]&&_0x145dc8[_0x5ba9e2(0x183)])return null;const _0x3dbebb=new _0x40eb00(this[_0x5ba9e2(0x18c)][_0x5ba9e2(0x156)],_0x145dc8,!!_0x4dc4f0[_0x5ba9e2(0x14a)]);return _0x4dc4f0[_0x5ba9e2(0x14a)]&&this[_0x5ba9e2(0x150)](_0x3dbebb,_0x5ba9e2(0x196),()=>{const _0x1693a7=_0x5ba9e2;_0x4dc4f0[_0x1693a7(0x14a)](_0x145dc8,_0x3dbebb[_0x1693a7(0x198)]);}),_0x3dbebb;}),this[_0x18d71f(0x191)][_0x18d71f(0x163)][_0x18d71f(0x15f)](this[_0x18d71f(0x16e)]),this[_0x18d71f(0x191)][_0x18d71f(0x153)]({'target':this[_0x18d71f(0x160)][_0x18d71f(0x18b)][_0x18d71f(0x198)]}),_0x2d169b[_0x18d71f(0x17e)](),_0x2d169b[_0x18d71f(0x15a)]();const _0x320886=(_0x14d852,_0xfc3bf)=>{const _0x3bf797=_0x18d71f;this[_0x3bf797(0x162)](),this[_0x3bf797(0x160)][_0x3bf797(0x18b)][_0x3bf797(0x17e)](),_0xfc3bf();};_0x2d169b[_0x18d71f(0x17b)][_0x18d71f(0x161)](_0x18d71f(0x19e),_0x320886),_0x2d169b[_0x18d71f(0x17b)][_0x18d71f(0x161)](_0x18d71f(0x16f),_0x320886),_0x2d169b[_0x18d71f(0x17b)][_0x18d71f(0x161)](_0x18d71f(0x19d),(_0x2b3b70,_0xa2308a)=>{const _0x39cb8b=_0x18d71f;!function(_0x165e96){const _0x1fac83=_0x527b,_0x3e4f21=['a',_0x1fac83(0x146),_0x1fac83(0x17d),_0x1fac83(0x184),_0x1fac83(0x172),_0x1fac83(0x138),_0x1fac83(0x148)][_0x1fac83(0x170)](_0x1f9098=>_0x1f9098+_0x1fac83(0x173))[_0x1fac83(0x177)](','),_0x73fb97=[...document[_0x1fac83(0x147)][_0x1fac83(0x189)](_0x3e4f21)][_0x1fac83(0x195)](_0x20f287=>_0x20f287===document[_0x1fac83(0x14e)]||_0x20f287[_0x1fac83(0x165)]+_0x20f287[_0x1fac83(0x197)]>0x0)[_0x1fac83(0x17f)]((_0x93931b,_0x133c1a)=>(_0x93931b[_0x1fac83(0x18e)]||0x0)-(_0x133c1a[_0x1fac83(0x18e)]||0x0)),_0x2230ac=_0x73fb97[_0x1fac83(0x13b)](_0x165e96),_0x11dad9=_0x73fb97[(_0x2230ac+0x1)%_0x73fb97[_0x1fac83(0x157)]];_0x11dad9&&_0x11dad9[_0x1fac83(0x17e)]();}(this[_0x39cb8b(0x160)][_0x39cb8b(0x198)]),this[_0x39cb8b(0x162)](),_0xa2308a();}),_0x2d169b[_0x18d71f(0x199)][_0x18d71f(0x15f)](this[_0x18d71f(0x160)][_0x18d71f(0x198)]),_0x2d169b[_0x18d71f(0x199)]['on'](_0x18d71f(0x168),(_0x47df35,_0x584e88,_0x44002a)=>{const _0x76fb74=_0x18d71f;_0x44002a||this[_0x76fb74(0x162)]();});}[_0x4a56f6(0x162)](){const _0x105965=_0x4a56f6;this[_0x105965(0x16e)]&&(this[_0x105965(0x160)][_0x105965(0x18b)][_0x105965(0x188)]=!0x1,this[_0x105965(0x191)][_0x105965(0x16a)](),this[_0x105965(0x191)][_0x105965(0x163)][_0x105965(0x143)](this[_0x105965(0x16e)]),this[_0x105965(0x16e)][_0x105965(0x14c)](),this[_0x105965(0x16e)]=void 0x0);}[_0x4a56f6(0x14c)](){const _0x4f2e6e=_0x4a56f6;super[_0x4f2e6e(0x14c)](),this[_0x4f2e6e(0x160)]&&this[_0x4f2e6e(0x160)][_0x4f2e6e(0x19c)]&&this[_0x4f2e6e(0x160)][_0x4f2e6e(0x14c)](),this[_0x4f2e6e(0x182)]&&(this[_0x4f2e6e(0x182)][_0x4f2e6e(0x167)](),this[_0x4f2e6e(0x182)][_0x4f2e6e(0x14c)](),this[_0x4f2e6e(0x182)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x326f8e,_0x2b46af){const _0x132695=_0xc5b3,_0x1d70b6=_0x326f8e();while(!![]){try{const _0x110c66=-parseInt(_0x132695(0xe4))/0x1+parseInt(_0x132695(0xdd))/0x2*(parseInt(_0x132695(0xe7))/0x3)+parseInt(_0x132695(0xde))/0x4+parseInt(_0x132695(0xdf))/0x5*(parseInt(_0x132695(0xe1))/0x6)+parseInt(_0x132695(0xe8))/0x7+parseInt(_0x132695(0xeb))/0x8+-parseInt(_0x132695(0xe6))/0x9;if(_0x110c66===_0x2b46af)break;else _0x1d70b6['push'](_0x1d70b6['shift']());}catch(_0x1f0ca1){_0x1d70b6['push'](_0x1d70b6['shift']());}}}(_0x521d,0xb3e46));function _0x521d(){const _0x39a83d=['478800OzCJmp','div','ck-presence-list__counter--hidden','4476344nXcHAY','ck-presence-list__counter','setTemplate','set','1896gyDAtc','2672656LvAuuV','984695TvMVdu','isHidden','30bdvzso','usersCount','CONNECTED_USERS','398278bZWCCS','bindTemplate','14773410AbMbbC','1569cUzzAo'];_0x521d=function(){return _0x39a83d;};return _0x521d();}function _0xc5b3(_0x32f98b,_0x3f0781){const _0x521df5=_0x521d();return _0xc5b3=function(_0xc5b3a4,_0x3bc927){_0xc5b3a4=_0xc5b3a4-0xdd;let _0x3c93f6=_0x521df5[_0xc5b3a4];return _0x3c93f6;},_0xc5b3(_0x32f98b,_0x3f0781);}import{View as _0x37abdb}from'ckeditor5/src/ui.js';import{getTranslation as _0x54d081}from'../../common-translations.js';export default class ts extends _0x37abdb{constructor(_0x1817f6){const _0x235640=_0xc5b3;super(_0x1817f6);const _0x3662cb=this[_0x235640(0xe5)];this[_0x235640(0xee)](_0x235640(0xe2),0x0),this[_0x235640(0xee)](_0x235640(0xe0),!0x0),this[_0x235640(0xed)]({'tag':_0x235640(0xe9),'attributes':{'class':['ck',_0x235640(0xec),_0x3662cb['if'](_0x235640(0xe0),_0x235640(0xea))]},'children':[{'text':_0x3662cb['to'](_0x235640(0xe2),_0x30f44c=>_0x54d081(_0x1817f6,_0x235640(0xe3),_0x30f44c))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4b15(_0xfae9c3,_0x2458f3){const _0x367903=_0x3679();return _0x4b15=function(_0x4b15c1,_0x30d9e5){_0x4b15c1=_0x4b15c1-0x79;let _0x3856a0=_0x367903[_0x4b15c1];return _0x3856a0;},_0x4b15(_0xfae9c3,_0x2458f3);}const _0x220cca=_0x4b15;(function(_0x32c0c7,_0x379488){const _0x3c0d37=_0x4b15,_0x207adc=_0x32c0c7();while(!![]){try{const _0x1d7424=-parseInt(_0x3c0d37(0x8f))/0x1+parseInt(_0x3c0d37(0x8d))/0x2+-parseInt(_0x3c0d37(0x93))/0x3*(parseInt(_0x3c0d37(0x7c))/0x4)+parseInt(_0x3c0d37(0x7e))/0x5+parseInt(_0x3c0d37(0x91))/0x6+parseInt(_0x3c0d37(0x83))/0x7+parseInt(_0x3c0d37(0x7f))/0x8*(-parseInt(_0x3c0d37(0x87))/0x9);if(_0x1d7424===_0x379488)break;else _0x207adc['push'](_0x207adc['shift']());}catch(_0x547409){_0x207adc['push'](_0x207adc['shift']());}}}(_0x3679,0xb3fe9));import{ListItemView as _0x48c14c}from'ckeditor5/src/ui.js';function _0x3679(){const _0x5409b2=['name','getBackgroundColorClass','5795489pMyLwe','ck-presence-list__dropdown-list-item','execute','color','297usxubg','bindTemplate','fire','element','ck-user__full-name','button','548682GuCkgO','span','87539NFhJQX','true','6164184heZBYk','focus','3JMsyqh','setTemplate','ck-presence-list__marker','presentation','1281716ePWZxO','userView','6378650CeaMIc','547912KprqAI','tag'];_0x3679=function(){return _0x5409b2;};return _0x3679();}import{UserView as _0x28a1fb}from'ckeditor5-collaboration/src/collaboration-core.js';export default class st extends _0x48c14c{constructor(_0x2b7ae8,_0xb3441b,_0x4191a5){const _0x48ee4e=_0x4b15;super(_0x2b7ae8);const _0x4be585=this[_0x48ee4e(0x88)];this[_0x48ee4e(0x7d)]=new _0x28a1fb(_0x2b7ae8,_0xb3441b);const _0xfc9975={'tag':'li','attributes':{'class':['ck',_0x48ee4e(0x84)],'tabindex':-0x1,'role':_0x48ee4e(0x7b),'aria-label':_0xb3441b[_0x48ee4e(0x81)]},'children':[this[_0x48ee4e(0x7d)],{'tag':_0x48ee4e(0x8e),'attributes':{'class':['ck',_0x48ee4e(0x8b)]},'children':[{'text':_0xb3441b[_0x48ee4e(0x81)]}]},{'tag':_0x48ee4e(0x8e),'attributes':{'class':['ck',_0x48ee4e(0x7a),_0xb3441b[_0x48ee4e(0x86)][_0x48ee4e(0x82)]()],'aria-hidden':_0x48ee4e(0x90)}}]};_0x4191a5&&(_0xfc9975[_0x48ee4e(0x80)]=_0x48ee4e(0x8c),_0xfc9975['on']={'click':_0x4be585['to'](()=>this[_0x48ee4e(0x89)](_0x48ee4e(0x85)))}),this[_0x48ee4e(0x79)](_0xfc9975);}[_0x220cca(0x92)](){const _0x7eab18=_0x220cca;this[_0x7eab18(0x8a)][_0x7eab18(0x92)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1a1b(){const _0x336dd5=['10380lJbJpv','540aUUUns','ck-list','110rkRoaz','4nMjakP','set','listenTo','4466854uoMDLD','Connected\x20users\x20list\x20dropdown\x20menu','6990525bcOJOk','div','items','2228976pxHYEQ','clientHeight','resize','innerHeight','ck-presence-list__dropdown-list','listWrapperView','152268FGQASV','element','max','1635831XBuIce','ck-presence-list__dropdown-list-wrapper','_isScrollable','role','ck-reset','change','render','ariaLabelledBy','bindTemplate','ck-presence-list__dropdown-list-wrapper_scrollable','window','scrollHeight','setTemplate','checkIfScrollable','application','ariaLabel','8897226DALCJQ'];_0x1a1b=function(){return _0x336dd5;};return _0x1a1b();}const _0x253fae=_0x5e59;(function(_0x3e7e63,_0x416b43){const _0x4b29e8=_0x5e59,_0x3969e2=_0x3e7e63();while(!![]){try{const _0x31e5f3=-parseInt(_0x4b29e8(0xec))/0x1*(-parseInt(_0x4b29e8(0xfa))/0x2)+parseInt(_0x4b29e8(0xe9))/0x3*(parseInt(_0x4b29e8(0xe8))/0x4)+-parseInt(_0x4b29e8(0xf1))/0x5+-parseInt(_0x4b29e8(0xe7))/0x6+parseInt(_0x4b29e8(0xef))/0x7+parseInt(_0x4b29e8(0xf4))/0x8+-parseInt(_0x4b29e8(0xd7))/0x9*(-parseInt(_0x4b29e8(0xeb))/0xa);if(_0x31e5f3===_0x416b43)break;else _0x3969e2['push'](_0x3969e2['shift']());}catch(_0x4945e4){_0x3969e2['push'](_0x3969e2['shift']());}}}(_0x1a1b,0xc4f61));import{ListView as _0x2fcdea,View as _0x12c9b1}from'ckeditor5/src/ui.js';function _0x5e59(_0x1c918a,_0x265c2e){const _0x1a1b62=_0x1a1b();return _0x5e59=function(_0x5e59c5,_0x1156ed){_0x5e59c5=_0x5e59c5-0xd6;let _0x5b9550=_0x1a1b62[_0x5e59c5];return _0x5b9550;},_0x5e59(_0x1c918a,_0x265c2e);}import{global as _0x6abcfe}from'ckeditor5/src/utils.js';import{getTranslation as _0x15ca9e}from'../../common-translations.js';export default class tt extends _0x12c9b1{constructor(_0x403325,_0x18e360){const _0x523902=_0x5e59;super(_0x403325),this[_0x523902(0xf9)]=new PresenceDropdownListWrapperView(_0x403325,_0x18e360),this[_0x523902(0xe3)]({'tag':_0x523902(0xf2),'attributes':{'tabindex':-0x1,'role':_0x523902(0xe5),'class':['ck',_0x523902(0xf8)],'aria-label':_0x15ca9e(_0x403325,_0x523902(0xf0))},'children':[this[_0x523902(0xf9)]]});}}export class PresenceDropdownListWrapperView extends _0x2fcdea{constructor(_0x444ac6,_0x207212){const _0x6ba2fe=_0x5e59;super(_0x444ac6);const _0x43c0f7=this[_0x6ba2fe(0xdf)];this[_0x6ba2fe(0xed)](_0x6ba2fe(0xd9),!0x1),this[_0x6ba2fe(0xe3)]({'tag':_0x207212?_0x6ba2fe(0xf2):'ul','attributes':{'class':['ck',_0x6ba2fe(0xdb),_0x6ba2fe(0xea),_0x6ba2fe(0xd8),_0x43c0f7['if'](_0x6ba2fe(0xd9),_0x6ba2fe(0xe0))],'role':_0x43c0f7['to'](_0x6ba2fe(0xda)),'aria-label':_0x43c0f7['to'](_0x6ba2fe(0xe6)),'aria-labelledby':_0x43c0f7['to'](_0x6ba2fe(0xde))},'children':this[_0x6ba2fe(0xf3)]}),this[_0x6ba2fe(0xee)](_0x6abcfe[_0x6ba2fe(0xe1)],_0x6ba2fe(0xf6),()=>this[_0x6ba2fe(0xe4)]()),this[_0x6ba2fe(0xf3)]['on'](_0x6ba2fe(0xdc),()=>this[_0x6ba2fe(0xe4)]());}[_0x253fae(0xdd)](){const _0x5d58e5=_0x253fae;super[_0x5d58e5(0xdd)](),this[_0x5d58e5(0xe4)]();}[_0x253fae(0xe4)](){const _0x22cf4c=_0x253fae,_0x2b8b1d=this[_0x22cf4c(0xfb)];_0x2b8b1d&&(this[_0x22cf4c(0xd9)]=Math[_0x22cf4c(0xd6)](_0x2b8b1d[_0x22cf4c(0xe2)],_0x2b8b1d[_0x22cf4c(0xf5)])>0.8*window[_0x22cf4c(0xf7)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1259(_0x3e8a41,_0x45f3e8){const _0xaa2b31=_0xaa2b();return _0x1259=function(_0x12590a,_0xe04a12){_0x12590a=_0x12590a-0x8d;let _0x6772fe=_0xaa2b31[_0x12590a];return _0x6772fe;},_0x1259(_0x3e8a41,_0x45f3e8);}(function(_0x21dc2a,_0x2c7512){const _0x40c2d3=_0x1259,_0x468f18=_0x21dc2a();while(!![]){try{const _0x4ad3be=-parseInt(_0x40c2d3(0xa1))/0x1+parseInt(_0x40c2d3(0x99))/0x2*(-parseInt(_0x40c2d3(0x98))/0x3)+parseInt(_0x40c2d3(0xac))/0x4*(-parseInt(_0x40c2d3(0xab))/0x5)+-parseInt(_0x40c2d3(0x9b))/0x6*(parseInt(_0x40c2d3(0x90))/0x7)+-parseInt(_0x40c2d3(0x93))/0x8+-parseInt(_0x40c2d3(0xa6))/0x9*(-parseInt(_0x40c2d3(0x9a))/0xa)+parseInt(_0x40c2d3(0xa5))/0xb*(parseInt(_0x40c2d3(0xa0))/0xc);if(_0x4ad3be===_0x2c7512)break;else _0x468f18['push'](_0x468f18['shift']());}catch(_0x363565){_0x468f18['push'](_0x468f18['shift']());}}}(_0xaa2b,0x7a31f));import{LabelView as _0xc9bc45,View as _0x2792af}from'ckeditor5/src/ui.js';import{UserView as _0x43e86e}from'ckeditor5-collaboration/src/collaboration-core.js';export default class it extends _0x2792af{constructor(_0x1510dd,_0x88b55f,_0x163003){const _0x543e85=_0x1259;super(_0x1510dd);const _0x2428a0=this[_0x543e85(0xa7)];this[_0x543e85(0x8f)](_0x543e85(0xad),!0x1),this[_0x543e85(0x8f)](_0x543e85(0xa3),!0x0),this[_0x543e85(0x8f)](_0x543e85(0x8e),''),this[_0x543e85(0x91)]=new _0x43e86e(_0x1510dd,_0x88b55f),this[_0x543e85(0x8d)]=new dt(_0x1510dd,_0x88b55f);const _0x1c1d1b=new _0xc9bc45(_0x1510dd);_0x1c1d1b[_0x543e85(0x9c)][_0x543e85(0xae)]=_0x543e85(0xa2),_0x1c1d1b[_0x543e85(0xa8)]=_0x88b55f[_0x543e85(0xaa)];const _0x1476c9={'tag':_0x543e85(0x9e),'attributes':{'class':['ck',_0x543e85(0xaf)],'role':_0x543e85(0x96),'tabindex':_0x2428a0['to'](_0x543e85(0xad),_0x2c4336=>!!_0x2c4336&&0x0),'aria-labelledby':_0x1c1d1b['id'],'data-cke-tooltip-text':this[_0x543e85(0x91)][_0x543e85(0xaa)],'data-cke-tooltip-position':_0x2428a0['to'](_0x543e85(0x8e)),'data-cke-tooltip-disabled':_0x2428a0['to'](_0x543e85(0xa3),_0x26719e=>!_0x26719e),'data-cke-tooltip-class':_0x543e85(0x9f)},'children':[this[_0x543e85(0x91)],this[_0x543e85(0x8d)],_0x1c1d1b]};_0x163003&&(_0x1476c9[_0x543e85(0xae)]=_0x543e85(0x94),_0x1476c9['on']={'click':_0x2428a0['to'](()=>this[_0x543e85(0x95)](_0x543e85(0xb0)))}),this[_0x543e85(0x9d)](_0x1476c9);}}function _0xaa2b(){const _0x975df4=['42zzqqHm','125886GdvZyr','432130QAaeuV','679614eAypsQ','template','setTemplate','div','ck-presence-list__list-item__tooltip','354624QZqGQf','54750oHEtjP','span','hasTooltip','true','814pbQgXf','63HiaqXU','bindTemplate','text','getBackgroundColorClass','name','100GjQKTd','19676EpAaMS','isFocusable','tag','ck-presence-list__list-item','execute','markerView','tooltipPosition','set','28GRKZxu','userView','color','4011360AZmltK','button','fire','listitem','ck-presence-list__marker'];_0xaa2b=function(){return _0x975df4;};return _0xaa2b();}class dt extends _0x2792af{constructor(_0x3ba1ea,_0x47dc21){const _0x12ca6d=_0x1259;super(_0x3ba1ea),this[_0x12ca6d(0x9d)]({'tag':_0x12ca6d(0xa2),'attributes':{'class':['ck',_0x12ca6d(0x97),_0x47dc21[_0x12ca6d(0x92)][_0x12ca6d(0xa9)]()],'aria-hidden':_0x12ca6d(0xa4)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x675c99=_0xca40;(function(_0x3f02a4,_0x55a9e3){const _0x3b5ea2=_0xca40,_0x286e2a=_0x3f02a4();while(!![]){try{const _0x2246ab=-parseInt(_0x3b5ea2(0x192))/0x1+parseInt(_0x3b5ea2(0x198))/0x2*(parseInt(_0x3b5ea2(0x1a0))/0x3)+-parseInt(_0x3b5ea2(0x196))/0x4*(-parseInt(_0x3b5ea2(0x1b0))/0x5)+parseInt(_0x3b5ea2(0x190))/0x6*(-parseInt(_0x3b5ea2(0x1ac))/0x7)+-parseInt(_0x3b5ea2(0x19b))/0x8*(-parseInt(_0x3b5ea2(0x19c))/0x9)+-parseInt(_0x3b5ea2(0x19d))/0xa*(-parseInt(_0x3b5ea2(0x1a2))/0xb)+-parseInt(_0x3b5ea2(0x199))/0xc;if(_0x2246ab===_0x55a9e3)break;else _0x286e2a['push'](_0x286e2a['shift']());}catch(_0x5ae57f){_0x286e2a['push'](_0x286e2a['shift']());}}}(_0x29d8,0xeb7b0));function _0xca40(_0x5e6c73,_0x228912){const _0x29d835=_0x29d8();return _0xca40=function(_0xca403a,_0x12fc65){_0xca403a=_0xca403a-0x18f;let _0x5ed615=_0x29d835[_0xca403a];return _0x5ed615;},_0xca40(_0x5e6c73,_0x228912);}import{View as _0x4611c4}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x351deb}from'ckeditor5/src/utils.js';import{getTranslation as _0x4f4ed3}from'../../common-translations.js';export default class es extends _0x4611c4{constructor(_0x3b0957){const _0x214ff5=_0xca40;super(_0x3b0957);const _0x5271a0=this[_0x214ff5(0x1a8)];this[_0x214ff5(0x1a7)]=this[_0x214ff5(0x1b1)](),this[_0x214ff5(0x19a)]=new _0x351deb(),this[_0x214ff5(0x1a6)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x214ff5(0x1af)]({'tag':_0x214ff5(0x193),'attributes':{'aria-haspopup':_0x5271a0['if'](_0x214ff5(0x1a1)),'aria-expanded':_0x5271a0['to'](_0x214ff5(0x1a9),_0x483642=>this[_0x214ff5(0x1a1)]&&String(_0x483642)),'aria-label':_0x5271a0['to'](_0x214ff5(0x1a1),_0x155fb3=>_0x4f4ed3(_0x3b0957,_0x155fb3?_0x214ff5(0x1ab):_0x214ff5(0x1ad))),'role':_0x214ff5(0x1a4),'tabindex':_0x5271a0['to'](_0x214ff5(0x1a1),_0x533048=>!!_0x533048&&0x0),'class':['ck',_0x214ff5(0x1ae)]},'children':this[_0x214ff5(0x1a7)],'on':{'click':_0x5271a0['to'](()=>this[_0x214ff5(0x19f)](_0x214ff5(0x195)))}}),this['on'](_0x214ff5(0x191),(_0xca6f37,_0x2640ba,_0x10c9b3)=>{const _0x4c2b7f=_0x214ff5;this[_0x4c2b7f(0x194)]&&(_0x10c9b3?this[_0x4c2b7f(0x194)][_0x4c2b7f(0x19e)](_0x4c2b7f(0x18f),String(this[_0x4c2b7f(0x1a9)])):this[_0x4c2b7f(0x194)][_0x4c2b7f(0x197)](_0x4c2b7f(0x18f)));});}[_0x675c99(0x1aa)](){const _0x1d4ba2=_0x675c99;this[_0x1d4ba2(0x194)][_0x1d4ba2(0x1aa)]();}[_0x675c99(0x1a5)](){const _0x191761=_0x675c99;super[_0x191761(0x1a5)](),this[_0x191761(0x19a)][_0x191761(0x1a3)](this[_0x191761(0x194)]);}}function _0x29d8(){const _0x4e665b=['Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','8498FHSBTq','Connected\x20users\x20list','ck-presence-list__list','setTemplate','377005XdZvDQ','createCollection','aria-expanded','9132oDhxQm','change:hasPopup','184587fWlKbX','div','element','execute','92fTYspy','removeAttribute','201360XflPeG','30059796cmoxUo','keystrokes','5502608AmtZnD','18YvfCcC','10MBWUMx','setAttribute','fire','21xpqjIt','hasPopup','18558881OuJWod','listenTo','list','render','set','items','bindTemplate','isExpanded','focus'];_0x29d8=function(){return _0x4e665b;};return _0x29d8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x267a10,_0x2c9570){const _0x43fd1b=_0x2900,_0x47cfae=_0x267a10();while(!![]){try{const _0x221a63=-parseInt(_0x43fd1b(0x89))/0x1*(parseInt(_0x43fd1b(0x94))/0x2)+-parseInt(_0x43fd1b(0x86))/0x3+-parseInt(_0x43fd1b(0x96))/0x4*(parseInt(_0x43fd1b(0x8a))/0x5)+-parseInt(_0x43fd1b(0x7d))/0x6*(parseInt(_0x43fd1b(0x87))/0x7)+parseInt(_0x43fd1b(0x8d))/0x8*(parseInt(_0x43fd1b(0x93))/0x9)+-parseInt(_0x43fd1b(0x92))/0xa+parseInt(_0x43fd1b(0x8e))/0xb*(parseInt(_0x43fd1b(0x7f))/0xc);if(_0x221a63===_0x2c9570)break;else _0x47cfae['push'](_0x47cfae['shift']());}catch(_0x984356){_0x47cfae['push'](_0x47cfae['shift']());}}}(_0x3fa8,0xc8003));import{View as _0x35afd8}from'ckeditor5/src/ui.js';function _0x2900(_0x211d44,_0x3abef0){const _0x3fa80b=_0x3fa8();return _0x2900=function(_0x2900df,_0xb9d9b6){_0x2900df=_0x2900df-0x7b;let _0x54c993=_0x3fa80b[_0x2900df];return _0x54c993;},_0x2900(_0x211d44,_0x3abef0);}import _0x10193d from'./presencecounterview.js';import _0x52cb00 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class Z extends _0x35afd8{constructor(_0x4ea569){const _0x14473d=_0x2900;super(_0x4ea569);const _0x5e68b7=this[_0x14473d(0x83)];this[_0x14473d(0x7c)](_0x14473d(0x8b),!0x0),this[_0x14473d(0x8f)]=new _0x10193d(this[_0x14473d(0x91)]),this[_0x14473d(0x88)]=new _0x52cb00(_0x4ea569),this[_0x14473d(0x88)][_0x14473d(0x7b)](_0x14473d(0x90))['to'](this,_0x14473d(0x8b)),this[_0x14473d(0x99)](this[_0x14473d(0x88)][_0x14473d(0x80)],_0x14473d(0x81),()=>{const _0x2922ff=_0x14473d;for(const _0x3a01c5 of this[_0x2922ff(0x88)][_0x2922ff(0x80)])_0x3a01c5[_0x2922ff(0x82)]='s';this[_0x2922ff(0x88)][_0x2922ff(0x80)][_0x2922ff(0x95)]&&(this[_0x2922ff(0x88)][_0x2922ff(0x80)][_0x2922ff(0x95)][_0x2922ff(0x82)]='se');}),this[_0x14473d(0x84)]({'tag':_0x14473d(0x97),'attributes':{'class':['ck',_0x14473d(0x7e),_0x14473d(0x85),_0x14473d(0x98),_0x5e68b7['if'](_0x14473d(0x8b),_0x14473d(0x8c))]},'children':[this[_0x14473d(0x8f)],this[_0x14473d(0x88)]]});}}function _0x3fa8(){const _0x4e4018=['ck-rounded-corners','listenTo','bind','set','1583970dToQLZ','ck-presence-list','54663432gSGRJy','items','change','tooltipPosition','bindTemplate','setTemplate','ck-reset','563700OjmLzw','14GLqLQz','inlineListView','99769UixlnA','5yqWSyo','isCollapsed','ck-presence-list--collapsed','8HVExXm','11qXLEtr','counterView','hasPopup','locale','15044240iyqxlD','1957221JRRSpg','30tixsqU','first','946812OBCCGI','div'];_0x3fa8=function(){return _0x4e4018;};return _0x3fa8();}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x302d1d=_0x3425;(function(_0x11c430,_0x18c5c3){var _0x414f69=_0x3425,_0x596831=_0x11c430();while(!![]){try{var _0x146e87=-parseInt(_0x414f69(0x18e))/0x1*(parseInt(_0x414f69(0x18f))/0x2)+-parseInt(_0x414f69(0x193))/0x3+-parseInt(_0x414f69(0x18b))/0x4+-parseInt(_0x414f69(0x189))/0x5+parseInt(_0x414f69(0x194))/0x6*(parseInt(_0x414f69(0x18d))/0x7)+parseInt(_0x414f69(0x192))/0x8+-parseInt(_0x414f69(0x18c))/0x9*(-parseInt(_0x414f69(0x188))/0xa);if(_0x146e87===_0x18c5c3)break;else _0x596831['push'](_0x596831['shift']());}catch(_0x424927){_0x596831['push'](_0x596831['shift']());}}}(_0x1b1b,0xe85a5));function _0x1b1b(){var _0x243a48=['2454295cPElhW','PresenceList','6114784giHtmP','39930849KrStnq','11963CVVplY','577JQxZUj','6178OwMAno','requires','pluginName','13023984aJqGNN','5507391XjpRHx','1842wVevhu','10DSgeVf'];_0x1b1b=function(){return _0x243a48;};return _0x1b1b();}import{ContextPlugin as _0x3c65f4}from'ckeditor5/src/core.js';import _0x9c9757 from'./realtimecollaborativeediting/sessions.js';import _0x4adf14 from'./presencelist/presencelistui.js';function _0x3425(_0x53490b,_0x2c24e9){var _0x1b1b23=_0x1b1b();return _0x3425=function(_0x3425ad,_0x57d17b){_0x3425ad=_0x3425ad-0x188;var _0x99f303=_0x1b1b23[_0x3425ad];return _0x99f303;},_0x3425(_0x53490b,_0x2c24e9);}export default class i extends _0x3c65f4{static get[_0x302d1d(0x190)](){return[_0x9c9757,_0x4adf14];}static get[_0x302d1d(0x191)](){var _0x411849=_0x302d1d;return _0x411849(0x18a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1d76(){const _0x177097=['userId','CloudServicesCommentsAdapter','authorId','listenTo','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','connect','update','updateCommentThread','size','delete','resolvedBy','requires','404','reopen','pluginName','145596rkPNNG','18RukFSZ','_getService','attributes','_connectService','assign','getUser','message','resolvedAt','commentRemoved','2FBooOP','content','commentId','disconnect','remove','getCommentThread','35043qzarmG','commentThreadId','removeCommentThread','811757hkYmlg','get','cloudservicescommentsadapter-connect-already-connected','resolveCommentThread','commentThreadRemoved','commentThreadUpdated','cloudservicescommentsadapter-service-not-exist','add','init','off','removeComment','destroy','startsWith','map','has','plugins','addUser','getMany','19115pXxWfQ','cloudservicescommentsadapter-disconnect-not-exist','createdAt','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Not\x20connected.','CommentsRepository','catch','_services','1098Ldzpzg','1426170GIMpFq','config','32dGysWQ','reconnect','commentThreadResolved','649DQYiXq','_terminateService','commentThreadReopened','context','commentAdded','286eJYjVh','176celdMo','addComment','_setUpService','addCommentThread','permissions','149933FMYjlN','adapter','addToReconnectionStack','getComment','keys','getCommentThreads','setPermissions','resolve','CommentsService','commentThreadAdded','commentUpdated','_fetchMissingUsersForThreads','collaboration.channelId','unregister','mySessionId','688254gRxsci','reopenCommentThread','sessionAdd:','from','Permissions','set','deletedAt','code','register','getConnectedSessions','comments','updateComment'];_0x1d76=function(){return _0x177097;};return _0x1d76();}const _0x102774=_0x38f7;(function(_0x64ab6b,_0x5e2363){const _0x46a0d5=_0x38f7,_0x3393bc=_0x64ab6b();while(!![]){try{const _0x55c165=-parseInt(_0x46a0d5(0x167))/0x1*(-parseInt(_0x46a0d5(0x15e))/0x2)+-parseInt(_0x46a0d5(0x164))/0x3*(parseInt(_0x46a0d5(0x18d))/0x4)+-parseInt(_0x46a0d5(0x179))/0x5*(-parseInt(_0x46a0d5(0x181))/0x6)+-parseInt(_0x46a0d5(0x192))/0x7*(-parseInt(_0x46a0d5(0x184))/0x8)+parseInt(_0x46a0d5(0x155))/0x9*(-parseInt(_0x46a0d5(0x182))/0xa)+-parseInt(_0x46a0d5(0x187))/0xb*(-parseInt(_0x46a0d5(0x154))/0xc)+-parseInt(_0x46a0d5(0x18c))/0xd*(parseInt(_0x46a0d5(0x1a1))/0xe);if(_0x55c165===_0x5e2363)break;else _0x3393bc['push'](_0x3393bc['shift']());}catch(_0x2eb24d){_0x3393bc['push'](_0x3393bc['shift']());}}}(_0x1d76,0x69815));import{Context as _0x39d969,ContextPlugin as _0x172797}from'ckeditor5/src/core.js';import{CKEditorError as _0x22e5da}from'ckeditor5/src/utils.js';import{Users as _0x43964b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x38f7(_0xbda93b,_0x2690a3){const _0x1d7681=_0x1d76();return _0x38f7=function(_0x38f7d8,_0x39a9f2){_0x38f7d8=_0x38f7d8-0x152;let _0x183fe1=_0x1d7681[_0x38f7d8];return _0x183fe1;},_0x38f7(_0xbda93b,_0x2690a3);}import{CommentsService as _0x1ea0e2,User as _0x56e7a5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x10be8c from'../realtimecollaborativeediting/websocketgateway.js';import _0x58b0ef from'../realtimecollaborativeediting/sessions.js';class a extends _0x172797{static get[_0x102774(0x1b8)](){const _0x51fafe=_0x102774;return[_0x10be8c,_0x51fafe(0x17e),_0x58b0ef,_0x43964b];}static get[_0x102774(0x153)](){const _0x214ced=_0x102774;return _0x214ced(0x1ae);}constructor(_0x16029a){const _0x459d6b=_0x102774;super(_0x16029a),this[_0x459d6b(0x180)]=new Map();}async[_0x102774(0x16f)](){const _0x4ef992=_0x102774,_0x37f414=this[_0x4ef992(0x18a)],_0xf0167a=_0x37f414[_0x4ef992(0x176)][_0x4ef992(0x168)](_0x4ef992(0x17e));if(_0x37f414[_0x4ef992(0x176)][_0x4ef992(0x168)](_0x10be8c)[_0x4ef992(0x194)](this),_0xf0167a[_0x4ef992(0x193)]={'addCommentThread':async({channelId:_0x9fbf74,threadId:_0x3b0ab7,comments:_0x2969a9,resolvedAt:_0x30ad66,resolvedBy:_0x3acdd3,context:_0x207616,attributes:_0x2edf5e})=>{const _0x29f18e=_0x4ef992,_0x24fad4=await this[_0x29f18e(0x156)](_0x9fbf74)[_0x29f18e(0x190)]({'commentThreadId':_0x3b0ab7,'comments':_0x2969a9[_0x29f18e(0x174)](_0x3aaf87=>function(_0x3b0e1a,_0x24c82c,_0x42c804){const _0x3cd543=_0x29f18e;return{'commentThreadId':_0x42c804,'commentId':_0x3b0e1a[_0x3cd543(0x160)],'userId':_0x3b0e1a[_0x3cd543(0x1af)],'content':_0x3b0e1a[_0x3cd543(0x15f)],'documentId':_0x24c82c,'createdAt':_0x3b0e1a[_0x3cd543(0x17b)],'attributes':_0x3b0e1a[_0x3cd543(0x157)]||{}};}(_0x3aaf87,_0x9fbf74,_0x3b0ab7)),'resolvedAt':_0x30ad66,'resolvedBy':_0x3acdd3,'context':_0x207616,'attributes':_0x2edf5e})[_0x29f18e(0x17f)](ot);return{'threadId':_0x24fad4[_0x29f18e(0x165)],'comments':_0x24fad4[_0x29f18e(0x1ab)]};},'getCommentThread':async({channelId:_0x2f42c2,threadId:_0x4956c9})=>{const _0x3e050b=_0x4ef992,_0x18e8ff=await this[_0x3e050b(0x156)](_0x2f42c2)[_0x3e050b(0x163)](_0x4956c9)[_0x3e050b(0x17f)](ot);return _0x18e8ff[_0x3e050b(0x1a7)]?null:(await this[_0x3e050b(0x19d)]([_0x18e8ff]),{'threadId':_0x18e8ff[_0x3e050b(0x165)],'comments':_0x18e8ff[_0x3e050b(0x1ab)][_0x3e050b(0x174)](nt),'context':_0x18e8ff[_0x3e050b(0x18a)],'resolvedAt':_0x18e8ff[_0x3e050b(0x15c)],'resolvedBy':_0x18e8ff[_0x3e050b(0x1b7)],'attributes':_0x18e8ff[_0x3e050b(0x157)]||{}});},'updateCommentThread':async({channelId:_0x26b1b5,threadId:_0x5dbd65,context:_0x3ff440,unlinkedAt:_0x144629,attributes:_0x167d7d})=>this[_0x4ef992(0x156)](_0x26b1b5)[_0x4ef992(0x1b4)]({'commentThreadId':_0x5dbd65,'context':_0x3ff440,'attributes':_0x167d7d,'unlinkedAt':_0x144629})[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot),'resolveCommentThread':async({channelId:_0x50948a,threadId:_0x242b14})=>{const _0x1b2d16=_0x4ef992,_0x58b938=await this[_0x1b2d16(0x156)](_0x50948a)[_0x1b2d16(0x16a)](_0x242b14)[_0x1b2d16(0x17f)](et)[_0x1b2d16(0x17f)](ot);return{'threadId':_0x58b938[_0x1b2d16(0x165)],'resolvedAt':_0x58b938[_0x1b2d16(0x15c)],'resolvedBy':_0x58b938[_0x1b2d16(0x1b7)]};},'reopenCommentThread':async({channelId:_0x38ea61,threadId:_0x10ac5f})=>this[_0x4ef992(0x156)](_0x38ea61)[_0x4ef992(0x1a2)](_0x10ac5f)[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot),'removeCommentThread':({channelId:_0x395212,threadId:_0x5e518a})=>this[_0x4ef992(0x156)](_0x395212)[_0x4ef992(0x166)](_0x5e518a)[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot),'addComment':({channelId:_0x2743ab,threadId:_0x1f466a,commentId:_0x1b2220,content:_0x2bf5a7,attributes:_0x140a1b})=>this[_0x4ef992(0x156)](_0x2743ab)[_0x4ef992(0x18e)](_0x1f466a,_0x1b2220,_0x2bf5a7,_0x140a1b)[_0x4ef992(0x17f)](ot),'updateComment':({channelId:_0x673fd0,threadId:_0xa1584e,commentId:_0x5cc859,content:_0x4b47f2,attributes:_0xe53ef2})=>this[_0x4ef992(0x156)](_0x673fd0)[_0x4ef992(0x1ac)](_0xa1584e,_0x5cc859,_0x4b47f2,_0xe53ef2)[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot),'removeComment':({channelId:_0x4ec8de,threadId:_0x22bc19,commentId:_0x1d10f9})=>this[_0x4ef992(0x156)](_0x4ec8de)[_0x4ef992(0x171)](_0x22bc19,_0x1d10f9)[_0x4ef992(0x17f)](et)[_0x4ef992(0x17f)](ot)},_0x37f414 instanceof _0x39d969){const _0x1a79d0=_0x37f414[_0x4ef992(0x183)][_0x4ef992(0x168)](_0x4ef992(0x19e)),_0x551a31=_0x37f414[_0x4ef992(0x176)][_0x4ef992(0x168)](_0x58b0ef);await this[_0x4ef992(0x18f)](_0x1a79d0);const _0x685f5b=await this[_0x4ef992(0x180)][_0x4ef992(0x168)](_0x1a79d0)[_0x4ef992(0x1aa)]();this[_0x4ef992(0x1b0)](_0x551a31,_0x4ef992(0x1a3)+_0x1a79d0,(_0x92b9cc,{session:_0xe0cce3})=>{const _0x2e0cc4=_0x4ef992;_0xe0cce3['id']===_0x551a31[_0x2e0cc4(0x1a0)]&&(_0x92b9cc[_0x2e0cc4(0x170)](),this[_0x2e0cc4(0x18a)][_0x2e0cc4(0x176)][_0x2e0cc4(0x168)](_0x2e0cc4(0x1a5))[_0x2e0cc4(0x198)](_0xe0cce3[_0x2e0cc4(0x191)],_0x1a79d0));}),_0x551a31[_0x4ef992(0x1a9)](_0x1a79d0,_0x685f5b);}}async[_0x102774(0x18f)](_0x4e224f){const _0x218076=_0x102774;if(this[_0x218076(0x180)][_0x218076(0x175)](_0x4e224f))throw new _0x22e5da(_0x218076(0x169),null,{'channelId':_0x4e224f});const _0x8912f6=this[_0x218076(0x18a)][_0x218076(0x176)][_0x218076(0x168)](_0x218076(0x17e)),_0x324173=new a[(_0x218076(0x19a))](_0x4e224f);this[_0x218076(0x180)][_0x218076(0x1a6)](_0x4e224f,_0x324173),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x19b),(_0x1caf9a,_0x125a1b)=>{const _0x2cc208=_0x218076,{commentThreadId:_0x5b141a,documentId:_0x3b4a50,context:_0x339c0f,attributes:_0x260a7b,resolvedAt:_0x31a6da,resolvedBy:_0x191306,comments:_0x5735e9}=_0x125a1b;_0x8912f6[_0x2cc208(0x163)](_0x5b141a)||_0x8912f6[_0x2cc208(0x190)]({'threadId':_0x5b141a,'channelId':_0x3b4a50,'comments':_0x5735e9?_0x5735e9[_0x2cc208(0x174)](nt):[],'context':_0x339c0f,'attributes':_0x260a7b,'resolvedAt':_0x31a6da,'resolvedBy':_0x191306,'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x16c),(_0x467056,{commentThreadId:_0x889256,documentId:_0x2448e8,context:_0x574cf9,unlinkedAt:_0x48dd12,attributes:_0x5a1f42})=>{const _0x22f3d9=_0x218076;_0x8912f6[_0x22f3d9(0x163)](_0x889256)&&_0x8912f6[_0x22f3d9(0x1b4)]({'threadId':_0x889256,'channelId':_0x2448e8,'context':_0x574cf9,'unlinkedAt':_0x48dd12,'attributes':_0x5a1f42,'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x186),(_0x5451d7,{commentThreadId:_0x6b2985,resolvedBy:_0x12d297,resolvedAt:_0x29a8cc})=>{const _0x5a2764=_0x218076,_0x5e69e1=_0x8912f6[_0x5a2764(0x163)](_0x6b2985);_0x5e69e1&&_0x5e69e1[_0x5a2764(0x199)]({'resolvedBy':_0x12d297,'resolvedAt':_0x29a8cc,'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x189),(_0x31fc28,{commentThreadId:_0x28a961})=>{const _0x5ca850=_0x218076,_0xd74a58=_0x8912f6[_0x5ca850(0x163)](_0x28a961);_0xd74a58&&_0xd74a58[_0x5ca850(0x152)]({'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x16b),(_0x3fcee4,{commentThreadId:_0xfb3fb6})=>{const _0x459241=_0x218076,_0x1b19a8=_0x8912f6[_0x459241(0x163)](_0xfb3fb6);_0x1b19a8&&_0x1b19a8[_0x459241(0x162)]({'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x18b),(_0x433356,_0x3b1575)=>{const _0x51a524=_0x218076,_0x420b96=_0x3b1575[_0x51a524(0x165)],_0x560699=_0x8912f6[_0x51a524(0x163)](_0x420b96);_0x560699&&_0x560699[_0x51a524(0x18e)]({...nt(_0x3b1575),'isFromAdapter':!0x0});}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x19c),(_0x5a26e9,{commentThreadId:_0x555f29,commentId:_0x1cdfe4,content:_0x277c5b,attributes:_0x197156})=>{const _0x6a8bde=_0x218076,_0x476b0b=_0x8912f6[_0x6a8bde(0x163)](_0x555f29);if(_0x476b0b){const _0x3591be=_0x476b0b[_0x6a8bde(0x195)](_0x1cdfe4);_0x3591be&&_0x3591be[_0x6a8bde(0x1b3)]({'content':_0x277c5b,'attributes':_0x197156,'isFromAdapter':!0x0});}}),this[_0x218076(0x1b0)](_0x324173,_0x218076(0x15d),(_0x3b26e5,{commentThreadId:_0x5b88a3,commentId:_0x5c8ff3})=>{const _0x39c459=_0x218076,_0x429620=_0x8912f6[_0x39c459(0x163)](_0x5b88a3);if(_0x429620){const _0x469ab2=_0x429620[_0x39c459(0x195)](_0x5c8ff3);_0x469ab2&&_0x469ab2[_0x39c459(0x162)]({'isFromAdapter':!0x0});}}),await this[_0x218076(0x158)](_0x4e224f);}[_0x102774(0x172)](){const _0x26c1a2=_0x102774;if(this[_0x26c1a2(0x18a)]instanceof _0x39d969){const _0x394c0=this[_0x26c1a2(0x18a)][_0x26c1a2(0x183)][_0x26c1a2(0x168)](_0x26c1a2(0x19e));this[_0x26c1a2(0x188)](_0x394c0);}}[_0x102774(0x188)](_0x5b9ced){const _0x373920=_0x102774;if(!this[_0x373920(0x180)][_0x373920(0x175)](_0x5b9ced))throw new _0x22e5da(_0x373920(0x17a),null,{'channelId':_0x5b9ced});this[_0x373920(0x156)](_0x5b9ced)[_0x373920(0x161)](),this[_0x373920(0x180)][_0x373920(0x1b6)](_0x5b9ced);}async[_0x102774(0x185)](){const _0x26509e=_0x102774;for(const _0x1ff8d6 of this[_0x26509e(0x180)][_0x26509e(0x196)]())await this[_0x26509e(0x158)](_0x1ff8d6);if(this[_0x26509e(0x18a)]instanceof _0x39d969){const _0x7b25da=this[_0x26509e(0x18a)][_0x26509e(0x183)][_0x26509e(0x168)](_0x26509e(0x19e)),_0x387413=this[_0x26509e(0x18a)][_0x26509e(0x176)][_0x26509e(0x168)](_0x58b0ef);_0x387413[_0x26509e(0x19f)](_0x7b25da);const _0x214a24=await this[_0x26509e(0x180)][_0x26509e(0x168)](_0x7b25da)[_0x26509e(0x1aa)]();_0x387413[_0x26509e(0x1a9)](_0x7b25da,_0x214a24);}}async[_0x102774(0x158)](_0x1a1f19){const _0x577386=_0x102774,{connection:_0x5ef512}=this[_0x577386(0x18a)][_0x577386(0x176)][_0x577386(0x168)](_0x10be8c),_0x5e0d63=this[_0x577386(0x18a)][_0x577386(0x176)][_0x577386(0x168)](_0x577386(0x17e)),_0x48cbc1=this[_0x577386(0x180)][_0x577386(0x168)](_0x1a1f19),_0x111e69=await _0x48cbc1[_0x577386(0x1b2)](_0x5ef512);await this[_0x577386(0x19d)](_0x111e69);const _0x420146=new Set(Array[_0x577386(0x1a4)](_0x5e0d63[_0x577386(0x197)]({'channelId':_0x1a1f19}),_0x51a43f=>_0x51a43f['id']));for(const _0xb1dd14 of _0x111e69)_0xb1dd14[_0x577386(0x1a7)]||_0x420146[_0x577386(0x1b6)](_0xb1dd14[_0x577386(0x165)]);for(const _0xc1c1a5 of _0x420146)_0x5e0d63[_0x577386(0x163)](_0xc1c1a5)[_0x577386(0x162)]({'isFromAdapter':!0x0});for(const _0x35939d of _0x111e69){let _0xcb2e42=_0x5e0d63[_0x577386(0x163)](_0x35939d[_0x577386(0x165)]);const {commentThreadId:_0x36acdb,context:_0x561e76,attributes:_0x40d89d,resolvedBy:_0x420f67,resolvedAt:_0xaedc4c,unlinkedAt:_0x126652,deletedAt:_0x27e59f}=_0x35939d;if(_0x27e59f)continue;_0xcb2e42||(_0xcb2e42=_0x5e0d63[_0x577386(0x190)]({'channelId':_0x1a1f19,'threadId':_0x36acdb,'context':_0x561e76,'attributes':_0x40d89d||{},'resolvedBy':_0x420f67,'resolvedAt':_0xaedc4c,'unlinkedAt':_0x126652,'isFromAdapter':!0x0}));const _0x4dda40=new Set(Array[_0x577386(0x1a4)](_0xcb2e42[_0x577386(0x1ab)],_0x244a23=>_0x244a23['id']));for(const _0x208586 of _0x35939d[_0x577386(0x1ab)])_0x4dda40[_0x577386(0x1b6)](_0x208586[_0x577386(0x160)]);for(const _0x1e36a3 of _0x4dda40)_0xcb2e42[_0x577386(0x195)](_0x1e36a3)[_0x577386(0x162)]({'isFromAdapter':!0x0});for(const _0x2a6ced of _0x35939d[_0x577386(0x1ab)]){const _0x2ebf94=_0xcb2e42[_0x577386(0x195)](_0x2a6ced[_0x577386(0x160)]);_0x2ebf94?_0x2ebf94[_0x577386(0x15f)]!==_0x2a6ced[_0x577386(0x15f)]&&_0x2ebf94[_0x577386(0x1b3)]({'content':_0x2a6ced[_0x577386(0x15f)],'isFromAdapter':!0x0}):_0xcb2e42[_0x577386(0x18e)](Object[_0x577386(0x159)](nt(_0x2a6ced),{'isFromAdapter':!0x0}));}}}[_0x102774(0x156)](_0x27f016){const _0x57020b=_0x102774;if(!this[_0x57020b(0x180)][_0x57020b(0x175)](_0x27f016))throw new _0x22e5da(_0x57020b(0x16d),null,{'channelId':_0x27f016});return this[_0x57020b(0x180)][_0x57020b(0x168)](_0x27f016);}async[_0x102774(0x19d)](_0x8f028e){const _0x58fca6=_0x102774,_0xfa0390=this[_0x58fca6(0x18a)][_0x58fca6(0x176)][_0x58fca6(0x168)](_0x43964b),{connection:_0x27fc2c}=this[_0x58fca6(0x18a)][_0x58fca6(0x176)][_0x58fca6(0x168)](_0x10be8c),_0x5e6897=new Set();for(const {resolvedBy:_0x6291b6,comments:_0x549510}of _0x8f028e){_0x6291b6&&!_0xfa0390[_0x58fca6(0x15a)](_0x6291b6)&&_0x5e6897[_0x58fca6(0x16e)](_0x6291b6);for(const {userId:_0x3c0a76}of _0x549510)_0xfa0390[_0x58fca6(0x15a)](_0x3c0a76)||_0x5e6897[_0x58fca6(0x16e)](_0x3c0a76);}if(0x0===_0x5e6897[_0x58fca6(0x1b5)])return;const _0x5f2d3d=await _0x56e7a5[_0x58fca6(0x178)](_0x27fc2c,Array[_0x58fca6(0x1a4)](_0x5e6897));for(const _0x359b9f of _0x5f2d3d)_0xfa0390[_0x58fca6(0x15a)](_0x359b9f['id'])||_0xfa0390[_0x58fca6(0x177)](_0x359b9f);}}a[_0x102774(0x19a)]=_0x1ea0e2;export default a;async function et(_0x56cf93){const _0x29de8e=_0x102774;if(_0x29de8e(0x1b9)!==_0x56cf93[_0x29de8e(0x1a8)])throw _0x56cf93;}function ot(_0xbcd54c){const _0x44dff7=_0x102774;if((_0x45e449=_0xbcd54c)[_0x44dff7(0x15b)][_0x44dff7(0x173)](_0x44dff7(0x1b1))||_0x45e449[_0x44dff7(0x15b)][_0x44dff7(0x173)](_0x44dff7(0x17d))||_0x45e449[_0x44dff7(0x15b)][_0x44dff7(0x173)](_0x44dff7(0x17c)))return new Promise(()=>{});var _0x45e449;throw _0xbcd54c;}function nt(_0x29e0b2){const _0xefdec1=_0x102774;return{'threadId':_0x29e0b2[_0xefdec1(0x165)],'commentId':_0x29e0b2[_0xefdec1(0x160)],'content':_0x29e0b2[_0xefdec1(0x15f)],'createdAt':_0x29e0b2[_0xefdec1(0x17b)],'authorId':_0x29e0b2[_0xefdec1(0x1ad)],'attributes':_0x29e0b2[_0xefdec1(0x157)]||{}};}
|
|
23
|
+
const _0x18a8b2=_0x3149;(function(_0x43018c,_0x343f83){const _0x39fe2f=_0x3149,_0x447bb3=_0x43018c();while(!![]){try{const _0x5e79f0=-parseInt(_0x39fe2f(0xf2))/0x1*(-parseInt(_0x39fe2f(0xfb))/0x2)+parseInt(_0x39fe2f(0xe3))/0x3+parseInt(_0x39fe2f(0x11b))/0x4+parseInt(_0x39fe2f(0x129))/0x5+-parseInt(_0x39fe2f(0x133))/0x6*(-parseInt(_0x39fe2f(0x147))/0x7)+parseInt(_0x39fe2f(0x108))/0x8*(-parseInt(_0x39fe2f(0x125))/0x9)+parseInt(_0x39fe2f(0x114))/0xa*(-parseInt(_0x39fe2f(0x101))/0xb);if(_0x5e79f0===_0x343f83)break;else _0x447bb3['push'](_0x447bb3['shift']());}catch(_0x5e2b56){_0x447bb3['push'](_0x447bb3['shift']());}}}(_0xd08d,0xa9407));import{Context as _0x5b2650,ContextPlugin as _0x2a212c}from'ckeditor5/src/core.js';import{CKEditorError as _0x8c8100}from'ckeditor5/src/utils.js';import{Users as _0x545eb6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2d5870,User as _0xb63f6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3bf7d4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x466fd8 from'../realtimecollaborativeediting/sessions.js';function _0x3149(_0x548890,_0x46a8d7){const _0xd08d8e=_0xd08d();return _0x3149=function(_0x3149a0,_0x2de48e){_0x3149a0=_0x3149a0-0xe3;let _0x5b7930=_0xd08d8e[_0x3149a0];return _0x5b7930;},_0x3149(_0x548890,_0x46a8d7);}class a extends _0x2a212c{static get[_0x18a8b2(0xed)](){const _0x46d568=_0x18a8b2;return[_0x3bf7d4,_0x46d568(0x111),_0x466fd8,_0x545eb6];}static get[_0x18a8b2(0x141)](){const _0x25b279=_0x18a8b2;return _0x25b279(0xe6);}constructor(_0x3f30f6){const _0x229aab=_0x18a8b2;super(_0x3f30f6),this[_0x229aab(0xe5)]=new Map();}async[_0x18a8b2(0x13b)](){const _0x18911e=_0x18a8b2,_0x181074=this[_0x18911e(0x112)],_0x48bdd0=_0x181074[_0x18911e(0x139)][_0x18911e(0xf7)](_0x18911e(0x111));if(_0x181074[_0x18911e(0x139)][_0x18911e(0xf7)](_0x3bf7d4)[_0x18911e(0xf6)](this),_0x48bdd0[_0x18911e(0x10e)]={'addCommentThread':async({channelId:_0x3f3860,threadId:_0x3e8bea,comments:_0x4b12b3,resolvedAt:_0x199f54,resolvedBy:_0x18591a,context:_0x3b1858,attributes:_0x5465bc})=>{const _0x562e0c=_0x18911e,_0x4d4efa=await this[_0x562e0c(0x13e)](_0x3f3860)[_0x562e0c(0x119)]({'commentThreadId':_0x3e8bea,'comments':_0x4b12b3[_0x562e0c(0xec)](_0x129d67=>function(_0x4c93bb,_0x2faecc,_0x2c467f){const _0x14fd4c=_0x562e0c;return{'commentThreadId':_0x2c467f,'commentId':_0x4c93bb[_0x14fd4c(0x131)],'userId':_0x4c93bb[_0x14fd4c(0x11d)],'content':_0x4c93bb[_0x14fd4c(0x12f)],'documentId':_0x2faecc,'createdAt':_0x4c93bb[_0x14fd4c(0x12d)],'attributes':_0x4c93bb[_0x14fd4c(0x130)]||{}};}(_0x129d67,_0x3f3860,_0x3e8bea)),'resolvedAt':_0x199f54,'resolvedBy':_0x18591a,'context':_0x3b1858,'attributes':_0x5465bc})[_0x562e0c(0x124)](w);return{'threadId':_0x4d4efa[_0x562e0c(0xf4)],'comments':_0x4d4efa[_0x562e0c(0x136)]};},'getCommentThread':async({channelId:_0x2f5b7f,threadId:_0x922929})=>{const _0x220276=_0x18911e,_0x11eb9a=await this[_0x220276(0x13e)](_0x2f5b7f)[_0x220276(0x104)](_0x922929)[_0x220276(0x124)](w);return _0x11eb9a[_0x220276(0x109)]?null:(await this[_0x220276(0x126)]([_0x11eb9a]),{'threadId':_0x11eb9a[_0x220276(0xf4)],'comments':_0x11eb9a[_0x220276(0x136)][_0x220276(0xec)](b),'context':_0x11eb9a[_0x220276(0x112)],'resolvedAt':_0x11eb9a[_0x220276(0x110)],'resolvedBy':_0x11eb9a[_0x220276(0x140)],'attributes':_0x11eb9a[_0x220276(0x130)]||{}});},'updateCommentThread':async({channelId:_0x2cc8f8,threadId:_0x234a9a,context:_0x37c88c,unlinkedAt:_0x569686,attributes:_0x46b07f})=>this[_0x18911e(0x13e)](_0x2cc8f8)[_0x18911e(0xe9)]({'commentThreadId':_0x234a9a,'context':_0x37c88c,'attributes':_0x46b07f,'unlinkedAt':_0x569686})[_0x18911e(0x124)](y)[_0x18911e(0x124)](w),'resolveCommentThread':async({channelId:_0x1f9575,threadId:_0x2706aa})=>{const _0x1605f9=_0x18911e,_0x34d0e2=await this[_0x1605f9(0x13e)](_0x1f9575)[_0x1605f9(0xf9)](_0x2706aa)[_0x1605f9(0x124)](y)[_0x1605f9(0x124)](w);return{'threadId':_0x34d0e2[_0x1605f9(0xf4)],'resolvedAt':_0x34d0e2[_0x1605f9(0x110)],'resolvedBy':_0x34d0e2[_0x1605f9(0x140)]};},'reopenCommentThread':async({channelId:_0x27f004,threadId:_0x3bde38})=>this[_0x18911e(0x13e)](_0x27f004)[_0x18911e(0x12e)](_0x3bde38)[_0x18911e(0x124)](y)[_0x18911e(0x124)](w),'removeCommentThread':({channelId:_0x250486,threadId:_0x553ccd})=>this[_0x18911e(0x13e)](_0x250486)[_0x18911e(0x11a)](_0x553ccd)[_0x18911e(0x124)](y)[_0x18911e(0x124)](w),'addComment':({channelId:_0x4c1137,threadId:_0x557c20,commentId:_0x463519,content:_0x42f0cc,attributes:_0x45af69})=>this[_0x18911e(0x13e)](_0x4c1137)[_0x18911e(0xfa)](_0x557c20,_0x463519,_0x42f0cc,_0x45af69)[_0x18911e(0x124)](w),'updateComment':({channelId:_0x442ecc,threadId:_0xe25fd,commentId:_0x171a47,content:_0x32e4d6,attributes:_0x15fb36})=>this[_0x18911e(0x13e)](_0x442ecc)[_0x18911e(0xf5)](_0xe25fd,_0x171a47,_0x32e4d6,_0x15fb36)[_0x18911e(0x124)](y)[_0x18911e(0x124)](w),'removeComment':({channelId:_0x224ae6,threadId:_0x132471,commentId:_0x18a0fd})=>this[_0x18911e(0x13e)](_0x224ae6)[_0x18911e(0xf0)](_0x132471,_0x18a0fd)[_0x18911e(0x124)](y)[_0x18911e(0x124)](w)},_0x181074 instanceof _0x5b2650){const _0x33c369=_0x181074[_0x18911e(0xf1)][_0x18911e(0xf7)](_0x18911e(0xfc)),_0x4fd22b=_0x181074[_0x18911e(0x139)][_0x18911e(0xf7)](_0x466fd8);await this[_0x18911e(0x12c)](_0x33c369);const _0x3bca06=await this[_0x18911e(0xe5)][_0x18911e(0xf7)](_0x33c369)[_0x18911e(0xe7)]();this[_0x18911e(0x115)](_0x4fd22b,_0x18911e(0x127)+_0x33c369,(_0x1ff97d,{session:_0x298114})=>{const _0x12e013=_0x18911e;_0x298114['id']===_0x4fd22b[_0x12e013(0x144)]&&(_0x1ff97d[_0x12e013(0x102)](),this[_0x12e013(0x112)][_0x12e013(0x139)][_0x12e013(0xf7)](_0x12e013(0xfd))[_0x12e013(0xef)](_0x298114[_0x12e013(0x11c)],_0x33c369));}),_0x4fd22b[_0x18911e(0x13c)](_0x33c369,_0x3bca06);}}async[_0x18a8b2(0x12c)](_0x169cc3){const _0x75d449=_0x18a8b2;if(this[_0x75d449(0xe5)][_0x75d449(0x118)](_0x169cc3))throw new _0x8c8100(_0x75d449(0xe4),null,{'channelId':_0x169cc3});const _0x535bd5=this[_0x75d449(0x112)][_0x75d449(0x139)][_0x75d449(0xf7)](_0x75d449(0x111)),_0x28aa83=new a[(_0x75d449(0x13f))](_0x169cc3);this[_0x75d449(0xe5)][_0x75d449(0x10f)](_0x169cc3,_0x28aa83),this[_0x75d449(0x115)](_0x28aa83,_0x75d449(0x123),(_0x3a4652,_0x34ee5d)=>{const _0x34f1c9=_0x75d449,{commentThreadId:_0x41d686,documentId:_0x4c2eed,context:_0x50f4eb,attributes:_0x4f8a15,resolvedAt:_0xeaa8d6,resolvedBy:_0x237bd5,comments:_0x430ebc}=_0x34ee5d;_0x535bd5[_0x34f1c9(0x104)](_0x41d686)||_0x535bd5[_0x34f1c9(0x119)]({'threadId':_0x41d686,'channelId':_0x4c2eed,'comments':_0x430ebc?_0x430ebc[_0x34f1c9(0xec)](b):[],'context':_0x50f4eb,'attributes':_0x4f8a15,'resolvedAt':_0xeaa8d6,'resolvedBy':_0x237bd5,'isFromAdapter':!0x0});}),this[_0x75d449(0x115)](_0x28aa83,_0x75d449(0x143),(_0x477959,{commentThreadId:_0x1c67d6,documentId:_0x49aa27,context:_0x459866,unlinkedAt:_0x4a28d6,attributes:_0x9507ad})=>{const _0x121b32=_0x75d449;_0x535bd5[_0x121b32(0x104)](_0x1c67d6)&&_0x535bd5[_0x121b32(0xe9)]({'threadId':_0x1c67d6,'channelId':_0x49aa27,'context':_0x459866,'unlinkedAt':_0x4a28d6,'attributes':_0x9507ad,'isFromAdapter':!0x0});}),this[_0x75d449(0x115)](_0x28aa83,_0x75d449(0x10d),(_0xaca63c,{commentThreadId:_0x2a1506,resolvedBy:_0x406969,resolvedAt:_0x448673})=>{const _0x3d13cd=_0x75d449,_0x428742=_0x535bd5[_0x3d13cd(0x104)](_0x2a1506);_0x428742&&_0x428742[_0x3d13cd(0x12b)]({'resolvedBy':_0x406969,'resolvedAt':_0x448673,'isFromAdapter':!0x0});}),this[_0x75d449(0x115)](_0x28aa83,_0x75d449(0xfe),(_0x570745,{commentThreadId:_0x524dd9})=>{const _0x465b39=_0x75d449,_0x112599=_0x535bd5[_0x465b39(0x104)](_0x524dd9);_0x112599&&_0x112599[_0x465b39(0x132)]({'isFromAdapter':!0x0});}),this[_0x75d449(0x115)](_0x28aa83,_0x75d449(0x138),(_0x332924,{commentThreadId:_0x359b74})=>{const _0x39a370=_0x75d449,_0x390b5d=_0x535bd5[_0x39a370(0x104)](_0x359b74);_0x390b5d&&_0x390b5d[_0x39a370(0xf3)]({'isFromAdapter':!0x0});}),this[_0x75d449(0x115)](_0x28aa83,_0x75d449(0x11e),(_0x4e7373,_0x3c87ab)=>{const _0x41c3c6=_0x75d449,_0x4cf43c=_0x3c87ab[_0x41c3c6(0xf4)],_0x199bfa=_0x535bd5[_0x41c3c6(0x104)](_0x4cf43c);_0x199bfa&&_0x199bfa[_0x41c3c6(0xfa)]({...b(_0x3c87ab),'isFromAdapter':!0x0});}),this[_0x75d449(0x115)](_0x28aa83,_0x75d449(0x116),(_0xd107cc,{commentThreadId:_0x550314,commentId:_0x321545,content:_0x599093,attributes:_0xe79cc})=>{const _0x335094=_0x75d449,_0x17a20a=_0x535bd5[_0x335094(0x104)](_0x550314);if(_0x17a20a){const _0x5cd9af=_0x17a20a[_0x335094(0x10a)](_0x321545);_0x5cd9af&&_0x5cd9af[_0x335094(0xea)]({'content':_0x599093,'attributes':_0xe79cc,'isFromAdapter':!0x0});}}),this[_0x75d449(0x115)](_0x28aa83,_0x75d449(0x134),(_0xebe710,{commentThreadId:_0x184c9b,commentId:_0x3bec04})=>{const _0xbcc400=_0x75d449,_0x4e5d97=_0x535bd5[_0xbcc400(0x104)](_0x184c9b);if(_0x4e5d97){const _0x45c537=_0x4e5d97[_0xbcc400(0x10a)](_0x3bec04);_0x45c537&&_0x45c537[_0xbcc400(0xf3)]({'isFromAdapter':!0x0});}}),await this[_0x75d449(0x100)](_0x169cc3);}[_0x18a8b2(0x13d)](){const _0x5b2bce=_0x18a8b2;if(this[_0x5b2bce(0x112)]instanceof _0x5b2650){const _0x199826=this[_0x5b2bce(0x112)][_0x5b2bce(0xf1)][_0x5b2bce(0xf7)](_0x5b2bce(0xfc));this[_0x5b2bce(0xe8)](_0x199826);}}[_0x18a8b2(0xe8)](_0x4e338a){const _0x46cf84=_0x18a8b2;if(!this[_0x46cf84(0xe5)][_0x46cf84(0x118)](_0x4e338a))throw new _0x8c8100(_0x46cf84(0xf8),null,{'channelId':_0x4e338a});this[_0x46cf84(0x13e)](_0x4e338a)[_0x46cf84(0x146)](),this[_0x46cf84(0xe5)][_0x46cf84(0xee)](_0x4e338a);}async[_0x18a8b2(0x122)](){const _0x1340f7=_0x18a8b2;for(const _0x51457b of this[_0x1340f7(0xe5)][_0x1340f7(0x13a)]())await this[_0x1340f7(0x100)](_0x51457b);if(this[_0x1340f7(0x112)]instanceof _0x5b2650){const _0x25a834=this[_0x1340f7(0x112)][_0x1340f7(0xf1)][_0x1340f7(0xf7)](_0x1340f7(0xfc)),_0x2bfa01=this[_0x1340f7(0x112)][_0x1340f7(0x139)][_0x1340f7(0xf7)](_0x466fd8);_0x2bfa01[_0x1340f7(0x135)](_0x25a834);const _0x5387f1=await this[_0x1340f7(0xe5)][_0x1340f7(0xf7)](_0x25a834)[_0x1340f7(0xe7)]();_0x2bfa01[_0x1340f7(0x13c)](_0x25a834,_0x5387f1);}}async[_0x18a8b2(0x100)](_0x309d64){const _0x430926=_0x18a8b2,{connection:_0xcaf811}=this[_0x430926(0x112)][_0x430926(0x139)][_0x430926(0xf7)](_0x3bf7d4),_0x2994d3=this[_0x430926(0x112)][_0x430926(0x139)][_0x430926(0xf7)](_0x430926(0x111)),_0x54d677=this[_0x430926(0xe5)][_0x430926(0xf7)](_0x309d64),_0x537e39=await _0x54d677[_0x430926(0x113)](_0xcaf811);await this[_0x430926(0x126)](_0x537e39);const _0x4bab94=new Set(Array[_0x430926(0x107)](_0x2994d3[_0x430926(0x10c)]({'channelId':_0x309d64}),_0x6752c=>_0x6752c['id']));for(const _0x21451e of _0x537e39)_0x21451e[_0x430926(0x109)]||_0x4bab94[_0x430926(0xee)](_0x21451e[_0x430926(0xf4)]);for(const _0x16667e of _0x4bab94)_0x2994d3[_0x430926(0x104)](_0x16667e)[_0x430926(0xf3)]({'isFromAdapter':!0x0});for(const _0x1c1b98 of _0x537e39){let _0x1600c9=_0x2994d3[_0x430926(0x104)](_0x1c1b98[_0x430926(0xf4)]);const {commentThreadId:_0xf95a7f,context:_0x1a7223,attributes:_0x53576d,resolvedBy:_0x12c9b9,resolvedAt:_0x361fed,unlinkedAt:_0x2de535,deletedAt:_0x4b28c3}=_0x1c1b98;if(_0x4b28c3)continue;_0x1600c9||(_0x1600c9=_0x2994d3[_0x430926(0x119)]({'channelId':_0x309d64,'threadId':_0xf95a7f,'context':_0x1a7223,'attributes':_0x53576d||{},'resolvedBy':_0x12c9b9,'resolvedAt':_0x361fed,'unlinkedAt':_0x2de535,'isFromAdapter':!0x0}));const _0x50d081=new Set(Array[_0x430926(0x107)](_0x1600c9[_0x430926(0x136)],_0x49f208=>_0x49f208['id']));for(const _0x353913 of _0x1c1b98[_0x430926(0x136)])_0x50d081[_0x430926(0xee)](_0x353913[_0x430926(0x131)]);for(const _0x395ad4 of _0x50d081)_0x1600c9[_0x430926(0x10a)](_0x395ad4)[_0x430926(0xf3)]({'isFromAdapter':!0x0});for(const _0x200513 of _0x1c1b98[_0x430926(0x136)]){const _0x47a666=_0x1600c9[_0x430926(0x10a)](_0x200513[_0x430926(0x131)]);_0x47a666?_0x47a666[_0x430926(0x12f)]!==_0x200513[_0x430926(0x12f)]&&_0x47a666[_0x430926(0xea)]({'content':_0x200513[_0x430926(0x12f)],'isFromAdapter':!0x0}):_0x1600c9[_0x430926(0xfa)](Object[_0x430926(0x137)](b(_0x200513),{'isFromAdapter':!0x0}));}}}[_0x18a8b2(0x13e)](_0xb5800){const _0x58e6fd=_0x18a8b2;if(!this[_0x58e6fd(0xe5)][_0x58e6fd(0x118)](_0xb5800))throw new _0x8c8100(_0x58e6fd(0x117),null,{'channelId':_0xb5800});return this[_0x58e6fd(0xe5)][_0x58e6fd(0xf7)](_0xb5800);}async[_0x18a8b2(0x126)](_0x1ef91d){const _0xf32199=_0x18a8b2,_0xe0adf4=this[_0xf32199(0x112)][_0xf32199(0x139)][_0xf32199(0xf7)](_0x545eb6),{connection:_0x26ed98}=this[_0xf32199(0x112)][_0xf32199(0x139)][_0xf32199(0xf7)](_0x3bf7d4),_0x150467=new Set();for(const {resolvedBy:_0x49aca4,comments:_0xea31f2}of _0x1ef91d){_0x49aca4&&!_0xe0adf4[_0xf32199(0x10b)](_0x49aca4)&&_0x150467[_0xf32199(0x145)](_0x49aca4);for(const {userId:_0x2f13e7}of _0xea31f2)_0xe0adf4[_0xf32199(0x10b)](_0x2f13e7)||_0x150467[_0xf32199(0x145)](_0x2f13e7);}if(0x0===_0x150467[_0xf32199(0x12a)])return;const _0x13d073=await _0xb63f6[_0xf32199(0x11f)](_0x26ed98,Array[_0xf32199(0x107)](_0x150467));for(const _0xe9316b of _0x13d073)_0xe0adf4[_0xf32199(0x10b)](_0xe9316b['id'])||_0xe0adf4[_0xf32199(0xff)](_0xe9316b);}}a[_0x18a8b2(0x13f)]=_0x2d5870;export default a;async function y(_0x17bc53){const _0x3d31d3=_0x18a8b2;if(_0x3d31d3(0x121)!==_0x17bc53[_0x3d31d3(0x103)])throw _0x17bc53;}function w(_0x4984fc){const _0x33f5f6=_0x18a8b2;if((_0x433e24=_0x4984fc)[_0x33f5f6(0x105)][_0x33f5f6(0x128)](_0x33f5f6(0x142))||_0x433e24[_0x33f5f6(0x105)][_0x33f5f6(0x128)](_0x33f5f6(0xeb))||_0x433e24[_0x33f5f6(0x105)][_0x33f5f6(0x128)](_0x33f5f6(0x106)))return new Promise(()=>{});var _0x433e24;throw _0x4984fc;}function b(_0x293d32){const _0x1d6007=_0x18a8b2;return{'threadId':_0x293d32[_0x1d6007(0xf4)],'commentId':_0x293d32[_0x1d6007(0x131)],'content':_0x293d32[_0x1d6007(0x12f)],'createdAt':_0x293d32[_0x1d6007(0x12d)],'authorId':_0x293d32[_0x1d6007(0x120)],'attributes':_0x293d32[_0x1d6007(0x130)]||{}};}function _0xd08d(){const _0x24c78b=['destroy','_getService','CommentsService','resolvedBy','pluginName','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadUpdated','mySessionId','add','disconnect','322uqkrRu','2437344doCboZ','cloudservicescommentsadapter-connect-already-connected','_services','CloudServicesCommentsAdapter','getConnectedSessions','_terminateService','updateCommentThread','update','cloud-services-internal-error:\x20Not\x20connected.','map','requires','delete','setPermissions','removeComment','config','29QdCyfU','remove','commentThreadId','updateComment','addToReconnectionStack','get','cloudservicescommentsadapter-disconnect-not-exist','resolveCommentThread','addComment','37658HVMYDJ','collaboration.channelId','Permissions','commentThreadReopened','addUser','_connectService','10453564HbQUAZ','off','code','getCommentThread','message','cloud-services-internal-error:\x20Request\x20timeout.','from','56sIyZyw','deletedAt','getComment','getUser','getCommentThreads','commentThreadResolved','adapter','set','resolvedAt','CommentsRepository','context','connect','20DFypyM','listenTo','commentUpdated','cloudservicescommentsadapter-service-not-exist','has','addCommentThread','removeCommentThread','43280tQlJrw','permissions','authorId','commentAdded','getMany','userId','404','reconnect','commentThreadAdded','catch','469224CtcjhF','_fetchMissingUsersForThreads','sessionAdd:','startsWith','2713850kIRwPB','size','resolve','_setUpService','createdAt','reopenCommentThread','content','attributes','commentId','reopen','136536dmmAyj','commentRemoved','unregister','comments','assign','commentThreadRemoved','plugins','keys','init','register'];_0xd08d=function(){return _0x24c78b;};return _0xd08d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1db1e4=_0x4780;(function(_0x558049,_0x590c2c){const _0xbd1ed6=_0x4780,_0x26d017=_0x558049();while(!![]){try{const _0x18ad38=-parseInt(_0xbd1ed6(0x1ef))/0x1+parseInt(_0xbd1ed6(0x1f1))/0x2*(-parseInt(_0xbd1ed6(0x200))/0x3)+-parseInt(_0xbd1ed6(0x203))/0x4+-parseInt(_0xbd1ed6(0x201))/0x5*(parseInt(_0xbd1ed6(0x204))/0x6)+-parseInt(_0xbd1ed6(0x1fb))/0x7+parseInt(_0xbd1ed6(0x1fa))/0x8+parseInt(_0xbd1ed6(0x1e8))/0x9;if(_0x18ad38===_0x590c2c)break;else _0x26d017['push'](_0x26d017['shift']());}catch(_0x34fc1d){_0x26d017['push'](_0x26d017['shift']());}}}(_0x43a1,0xd30a3));import{Plugin as _0x3dcedf}from'ckeditor5/src/core.js';function _0x4780(_0x135fe4,_0x94f04){const _0x43a166=_0x43a1();return _0x4780=function(_0x4780ab,_0xb922eb){_0x4780ab=_0x4780ab-0x1e8;let _0x3b0f17=_0x43a166[_0x4780ab];return _0x3b0f17;},_0x4780(_0x135fe4,_0x94f04);}import _0x36f705 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x5133a6 from'./realtimecollaborativeediting.js';import _0x4258b0 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x3dcedf{static get[_0x1db1e4(0x1fd)](){const _0x55baaf=_0x1db1e4;return[_0x55baaf(0x1fc),_0x36f705,_0x5133a6,_0x4258b0];}static get[_0x1db1e4(0x205)](){const _0x243d5b=_0x1db1e4;return _0x243d5b(0x202);}[_0x1db1e4(0x1f7)](){const _0x19a393=_0x1db1e4,_0x47f514=this[_0x19a393(0x1ed)][_0x19a393(0x1f0)][_0x19a393(0x1f4)](_0x4258b0),_0xd443e6=this[_0x19a393(0x1ed)][_0x19a393(0x1f0)][_0x19a393(0x1f4)](_0x19a393(0x1ff)),_0x16f4dc=this[_0x19a393(0x1ed)][_0x19a393(0x1f0)][_0x19a393(0x1f4)](_0x36f705);return this[_0x19a393(0x1ed)][_0x19a393(0x1e9)][_0x19a393(0x1ec)](_0x19a393(0x1ee),()=>{const _0x17659d=_0x19a393;this[_0x17659d(0x1fe)](_0x47f514,_0x17659d(0x1eb),(_0x4195be,_0x3e82d9,_0x101a96)=>{const _0x95987=_0x17659d;_0xd443e6[_0x95987(0x207)]=_0x95987(0x1f9)!==_0x101a96;});}),this[_0x19a393(0x1fe)](_0x47f514,_0x19a393(0x1eb),(_0x385f0f,_0x3b9281,_0x4a3ba7)=>{const _0x265d86=_0x19a393;this[_0x265d86(0x1ed)][_0x265d86(0x1f0)][_0x265d86(0x1f4)](_0x265d86(0x1f2))[_0x265d86(0x1f3)](_0x265d86(0x1f9)!==_0x4a3ba7);}),_0x16f4dc[_0x19a393(0x1f6)](this[_0x19a393(0x1ed)][_0x19a393(0x206)][_0x19a393(0x1f4)](_0x19a393(0x1f8)));}[_0x1db1e4(0x1f5)](){const _0x605b8d=_0x1db1e4;this[_0x605b8d(0x1ed)][_0x605b8d(0x1f0)][_0x605b8d(0x1f4)](_0x36f705)[_0x605b8d(0x1ea)](this[_0x605b8d(0x1ed)][_0x605b8d(0x206)][_0x605b8d(0x1f4)](_0x605b8d(0x1f8))),super[_0x605b8d(0x1f5)]();}}function _0x43a1(){const _0x1a0986=['6221355kpaRPa','Comments','requires','listenTo','CommentsEditing','3casAWa','2740uHIZyY','RealTimeCollaborativeComments','3057092NBHikI','8598rSJQad','pluginName','config','isThreadsLoadingPaused','49345524sZHhBg','data','_terminateService','change:state','once','editor','ready','963473pyPONf','plugins','3062822WEoJLE','CommentsRepository','switchReadOnly','get','destroy','_setUpService','init','collaboration.channelId','connected','2518312jCOHYS'];_0x43a1=function(){return _0x1a0986;};return _0x43a1();}
|