@ckeditor/ckeditor5-real-time-collaboration 43.2.0-alpha.1 → 43.2.0-alpha.3
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
|
+
(_0x25d4c4=>{const {'zh-cn':{dictionary:_0x32672d,getPluralForm:_0x25f3ab}}={'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':_0x16444f=>0x0}};_0x25d4c4['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x25d4c4['zh-cn']['dictionary']=Object['assign'](_0x25d4c4['zh-cn']['dictionary'],_0x32672d),_0x25d4c4['zh-cn']['getPluralForm']=_0x25f3ab;})(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':_0x1e1eda=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ebe86=>{const {zh:{dictionary:_0x3ab67a,getPluralForm:_0x5ce384}}={'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':_0x415fd5=>0x0}};_0x2ebe86['zh']||={'dictionary':{},'getPluralForm':null},_0x2ebe86['zh']['dictionary']=Object['assign'](_0x2ebe86['zh']['dictionary'],_0x3ab67a),_0x2ebe86['zh']['getPluralForm']=_0x5ce384;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "43.2.0-alpha.
|
|
3
|
+
"version": "43.2.0-alpha.3",
|
|
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.2.0-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.2.0-alpha.
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.2.0-alpha.
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.2.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.2.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.2.0-alpha.
|
|
51
|
-
"ckeditor5": "43.2.0-alpha.
|
|
52
|
-
"ckeditor5-collaboration": "43.2.0-alpha.
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.2.0-alpha.3",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.2.0-alpha.3",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.2.0-alpha.3",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.2.0-alpha.3",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.2.0-alpha.3",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.2.0-alpha.3",
|
|
51
|
+
"ckeditor5": "43.2.0-alpha.3",
|
|
52
|
+
"ckeditor5-collaboration": "43.2.0-alpha.3",
|
|
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(_0x474cdd,_0x2c486b,_0xbb0389){const t=_0x474cdd['t'];switch(_0x2c486b){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'},_0xbb0389);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5aab3d,_0x4f029d){var _0x4ffeb0=_0x2b51,_0x1fbc07=_0x5aab3d();while(!![]){try{var _0x3a40bb=-parseInt(_0x4ffeb0(0x18c))/0x1*(-parseInt(_0x4ffeb0(0x18a))/0x2)+parseInt(_0x4ffeb0(0x18d))/0x3+parseInt(_0x4ffeb0(0x191))/0x4*(parseInt(_0x4ffeb0(0x18e))/0x5)+-parseInt(_0x4ffeb0(0x18b))/0x6*(-parseInt(_0x4ffeb0(0x190))/0x7)+-parseInt(_0x4ffeb0(0x18f))/0x8+parseInt(_0x4ffeb0(0x192))/0x9+-parseInt(_0x4ffeb0(0x193))/0xa;if(_0x3a40bb===_0x4f029d)break;else _0x1fbc07['push'](_0x1fbc07['shift']());}catch(_0x7ad16){_0x1fbc07['push'](_0x1fbc07['shift']());}}}(_0x57fe,0x859c6));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';function _0x2b51(_0x5d4eb6,_0x2af293){var _0x57fecf=_0x57fe();return _0x2b51=function(_0x2b5144,_0x5d95dd){_0x2b5144=_0x2b5144-0x18a;var _0x51528c=_0x57fecf[_0x2b5144];return _0x51528c;},_0x2b51(_0x5d4eb6,_0x2af293);}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';export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';import'./augmentation.js';function _0x57fe(){var _0x1ce62e=['5VverzW','5862624hkouMT','10787zbvRpu','814360Fvcala','5427882KNmNKt','20105950EQpFEO','1377100VIXnXw','2802QlEuOr','1JSoHnH','3227424OclWoP'];_0x57fe=function(){return _0x1ce62e;};return _0x57fe();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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);}}
|
|
23
|
+
const _0x753a0d=_0x25c7;function _0x34d2(){const _0xa73318=['allConnectedUsers','keystrokes','element','reverse','add','7502296ImEJpQ','presencelist-collapseat-invalid-format','define','_handleUserAdd','pin','view','focus','attachToDom','isRendered','58050927XWPbQS','remove','map','3133527jmRGVS','Shift+Tab','isMe','button','isHidden','hideDropdown','284179pcQLyD','plugins','presenceList','onClick','presencelist-missing-container','destroy','init','checkIfScrollable','currentDisplayedUsers','body','_allConnectedUsers','select','from','listenTo','isCollapsed','presenceList.collapseAt','_bodyCollection','bind','Esc','isFocusable','join','activeElement','balloonPanelView','counterView','_handleUserRemove','class','presenceList.container','input','tabIndex','Tab','offsetWidth','locale','content','indexOf','min','1840995IDIzRR','presenceDropdownView','config','requires','execute','unpin','presenceList.displayMe','isExpanded','bindTo','set','detachFromDom',':not([disabled]):not([tabindex=\x22-1\x22])','[tabindex]','appendChild','[contenteditable]','showDropdown','length','sort','querySelectorAll','2XZnKYc','_createView','Enter','1320802HOwYTz','items','inlineListView','context','displayMe','filter','using','isVisible','change:isFocused','get','number','56PJmeao','hasTooltip','offsetHeight','usersCount','7083552hSBPdB','render','focusTracker','ck\x20ck-presence-list__balloon','textarea'];_0x34d2=function(){return _0xa73318;};return _0x34d2();}(function(_0x1883cc,_0x250989){const _0x2f2f75=_0x25c7,_0x4a3319=_0x1883cc();while(!![]){try{const _0x9876cf=-parseInt(_0x2f2f75(0x172))/0x1+-parseInt(_0x2f2f75(0x16f))/0x2*(parseInt(_0x2f2f75(0x197))/0x3)+-parseInt(_0x2f2f75(0x18b))/0x4+-parseInt(_0x2f2f75(0x15c))/0x5+-parseInt(_0x2f2f75(0x181))/0x6+-parseInt(_0x2f2f75(0x19d))/0x7*(-parseInt(_0x2f2f75(0x17d))/0x8)+parseInt(_0x2f2f75(0x194))/0x9;if(_0x9876cf===_0x250989)break;else _0x4a3319['push'](_0x4a3319['shift']());}catch(_0x1303db){_0x4a3319['push'](_0x4a3319['shift']());}}}(_0x34d2,0xe69de));import{ContextPlugin as _0x1123a3}from'ckeditor5/src/core.js';import{CKEditorError as _0x3b1742,Collection as _0x1d5e70}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0xe5fb30,BalloonPanelView as _0x253e06,BodyCollection as _0xacd971}from'ckeditor5/src/ui.js';import{isElement as _0x2da9e7}from'lodash-es';import _0x400915 from'../realtimecollaborativeediting/sessions.js';import _0x4774c9 from'./view/presencelistview.js';import _0x49cf03 from'./view/presencedropdownlistview.js';import _0x360c72 from'./view/presencedropdownlistitemview.js';function _0x25c7(_0x56e821,_0x3c5aec){const _0x34d245=_0x34d2();return _0x25c7=function(_0x25c756,_0x4bba5a){_0x25c756=_0x25c756-0x154;let _0x3bfa6b=_0x34d245[_0x25c756];return _0x3bfa6b;},_0x25c7(_0x56e821,_0x3c5aec);}import _0x56b9e2 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x1123a3{constructor(_0xf3a2c1){const _0x4334fc=_0x25c7;super(_0xf3a2c1),this[_0x4334fc(0x1ad)]=null,this[_0x4334fc(0x175)][_0x4334fc(0x15e)][_0x4334fc(0x18d)](_0x4334fc(0x19f),A);const _0x2f1c35=_0xf3a2c1[_0x4334fc(0x15e)][_0x4334fc(0x17b)](_0x4334fc(0x1ac));if(_0x4334fc(0x17c)!=typeof _0x2f1c35)throw new _0x3b1742(_0x4334fc(0x18c),this);if(_0x2f1c35<0x1)throw new _0x3b1742(_0x4334fc(0x18c),this);this[_0x4334fc(0x1a7)]=this[_0x4334fc(0x175)][_0x4334fc(0x19e)][_0x4334fc(0x17b)](_0x400915)[_0x4334fc(0x186)],this[_0x4334fc(0x165)](_0x4334fc(0x180),0x0),this[_0x4334fc(0x1a5)]=new _0x1d5e70(),this[_0x4334fc(0x1b3)]=new _0x253e06(),this[_0x4334fc(0x1b3)][_0x4334fc(0x1b6)]=_0x4334fc(0x184),this[_0x4334fc(0x190)]=this[_0x4334fc(0x170)](),this[_0x4334fc(0x15d)]=void 0x0;}static get[_0x753a0d(0x15f)](){return[_0x400915];}[_0x753a0d(0x1a3)](){const _0x1fe718=_0x753a0d;for(const _0x531234 of this[_0x1fe718(0x1a7)])this[_0x1fe718(0x18e)](_0x531234);this[_0x1fe718(0x1aa)](this[_0x1fe718(0x1a7)],_0x1fe718(0x18a),(_0x470410,_0x38ff6c)=>{const _0x1a7765=_0x1fe718;this[_0x1a7765(0x18e)](_0x38ff6c);}),this[_0x1fe718(0x1aa)](this[_0x1fe718(0x1a7)],_0x1fe718(0x195),(_0x119ef8,_0x473513)=>{const _0x554fa4=_0x1fe718;this[_0x554fa4(0x1b5)](_0x473513);});}[_0x753a0d(0x170)](){const _0xddf8ce=_0x753a0d,_0x2b1216=this[_0xddf8ce(0x175)],_0x5243a8=new _0x4774c9(this[_0xddf8ce(0x175)][_0xddf8ce(0x158)]),_0x14b007=this[_0xddf8ce(0x1b3)];if(!_0x2da9e7(_0x2b1216[_0xddf8ce(0x15e)][_0xddf8ce(0x17b)](_0xddf8ce(0x1b7))))throw new _0x3b1742(_0xddf8ce(0x1a1),this);return _0x5243a8[_0xddf8ce(0x1b4)][_0xddf8ce(0x1ae)](_0xddf8ce(0x180))['to'](this),_0x5243a8[_0xddf8ce(0x1ae)](_0xddf8ce(0x1ab))['to'](this,_0xddf8ce(0x180),_0x1ad089=>{const _0x24c272=_0xddf8ce,{collapseAt:_0x47376a,displayMe:_0xa6731a}=_0x2b1216[_0x24c272(0x15e)][_0x24c272(0x17b)](_0x24c272(0x19f)),_0x2096cb=_0x1ad089>=_0x47376a;return _0x5243a8[_0x24c272(0x1b4)][_0x24c272(0x19b)]=!(0x1==_0x1ad089&&_0xa6731a||_0x2096cb),_0x2096cb||this[_0x24c272(0x19c)](),_0x2096cb;}),_0x5243a8[_0xddf8ce(0x174)][_0xddf8ce(0x173)][_0xddf8ce(0x164)](this[_0xddf8ce(0x1a5)])[_0xddf8ce(0x178)](_0x4e2a31=>{const _0x1c8880=_0xddf8ce,_0x5a93ec=_0x2b1216[_0x1c8880(0x15e)][_0x1c8880(0x17b)](_0x1c8880(0x19f)),_0x4c0f27=new _0x56b9e2(_0x2b1216[_0x1c8880(0x158)],_0x4e2a31,!!_0x5a93ec[_0x1c8880(0x1a0)]);return _0x4c0f27[_0x1c8880(0x1ae)](_0x1c8880(0x17e))['to'](_0x5243a8,_0x1c8880(0x1ab),_0x28ecbd=>!_0x28ecbd),_0x4c0f27[_0x1c8880(0x1ae)](_0x1c8880(0x1b0))['to'](_0x5243a8,_0x1c8880(0x1ab),_0x4b1c2a=>!_0x4b1c2a),_0x5a93ec[_0x1c8880(0x1a0)]&&this[_0x1c8880(0x1aa)](_0x4c0f27,_0x1c8880(0x160),()=>{const _0x5571d9=_0x1c8880;this[_0x5571d9(0x190)][_0x5571d9(0x1ab)]||_0x5a93ec[_0x5571d9(0x1a0)](_0x4e2a31,_0x4c0f27[_0x5571d9(0x188)]);}),_0x4c0f27;}),this[_0xddf8ce(0x1aa)](_0x5243a8[_0xddf8ce(0x174)],_0xddf8ce(0x160),()=>{const _0x195c36=_0xddf8ce;this[_0x195c36(0x15d)]?this[_0x195c36(0x19c)]():this[_0x195c36(0x190)][_0x195c36(0x1ab)]&&this[_0x195c36(0x16b)]();}),_0x5243a8[_0xddf8ce(0x174)][_0xddf8ce(0x187)][_0xddf8ce(0x165)](_0xddf8ce(0x171),(_0x17ca31,_0x300f12)=>{const _0x69079=_0xddf8ce;this[_0x69079(0x190)][_0x69079(0x1ab)]&&(this[_0x69079(0x16b)](),_0x300f12());}),_0x5243a8[_0xddf8ce(0x182)](),_0x14b007[_0xddf8ce(0x182)](),_0xe5fb30({'emitter':_0x5243a8,'activator':()=>_0x14b007[_0xddf8ce(0x179)],'contextElements':[_0x14b007[_0xddf8ce(0x188)],_0x5243a8[_0xddf8ce(0x174)][_0xddf8ce(0x188)]],'callback':()=>this[_0xddf8ce(0x19c)]()}),_0x2b1216[_0xddf8ce(0x15e)][_0xddf8ce(0x17b)](_0xddf8ce(0x1b7))[_0xddf8ce(0x169)](_0x5243a8[_0xddf8ce(0x188)]),this[_0xddf8ce(0x1ad)]=new _0xacd971(this[_0xddf8ce(0x175)][_0xddf8ce(0x158)]),this[_0xddf8ce(0x1ad)][_0xddf8ce(0x192)](),this[_0xddf8ce(0x1ad)][_0xddf8ce(0x18a)](this[_0xddf8ce(0x1b3)]),_0x5243a8;}[_0x753a0d(0x18e)](_0x370da5){const _0x391873=_0x753a0d;if(!this[_0x391873(0x175)][_0x391873(0x15e)][_0x391873(0x17b)](_0x391873(0x162))&&_0x370da5[_0x391873(0x199)])return;const _0x348168=this[_0x391873(0x175)][_0x391873(0x15e)][_0x391873(0x17b)](_0x391873(0x1ac))-0x1;this[_0x391873(0x180)]++,this[_0x391873(0x1a5)][_0x391873(0x16c)]==_0x348168&&this[_0x391873(0x1a5)][_0x391873(0x16c)]>0x1&&this[_0x391873(0x1a5)][_0x391873(0x195)](0x1);const _0x192d67=_0x370da5[_0x391873(0x199)]?0x0:this[_0x391873(0x1a5)][_0x391873(0x16c)];this[_0x391873(0x1a5)][_0x391873(0x18a)](_0x370da5,_0x192d67);}[_0x753a0d(0x1b5)](_0x1ce1fc){const _0x2d0846=_0x753a0d;if(this[_0x2d0846(0x180)]--,this[_0x2d0846(0x1a5)][_0x2d0846(0x17b)](_0x1ce1fc['id'])&&(this[_0x2d0846(0x1a5)][_0x2d0846(0x195)](_0x1ce1fc['id']),this[_0x2d0846(0x1a5)][_0x2d0846(0x16c)]<this[_0x2d0846(0x180)])){for(const _0xe9aa66 of Array[_0x2d0846(0x1a9)](this[_0x2d0846(0x1a7)])[_0x2d0846(0x189)]())if(!this[_0x2d0846(0x1a5)][_0x2d0846(0x17b)](_0xe9aa66['id']))return void this[_0x2d0846(0x1a5)][_0x2d0846(0x18a)](_0xe9aa66,Math[_0x2d0846(0x15b)](this[_0x2d0846(0x1a5)][_0x2d0846(0x16c)],0x1));}}[_0x753a0d(0x16b)](){const _0x5d629e=_0x753a0d;if(this[_0x5d629e(0x15d)])return;const _0x1d29f3=this[_0x5d629e(0x175)][_0x5d629e(0x15e)][_0x5d629e(0x17b)](_0x5d629e(0x19f));this[_0x5d629e(0x15d)]=new _0x49cf03(this[_0x5d629e(0x175)][_0x5d629e(0x158)],!!_0x1d29f3[_0x5d629e(0x1a0)]),this[_0x5d629e(0x190)][_0x5d629e(0x174)][_0x5d629e(0x163)]=!0x0;const {listWrapperView:_0x292481}=this[_0x5d629e(0x15d)];_0x292481[_0x5d629e(0x173)][_0x5d629e(0x164)](this[_0x5d629e(0x1a7)])[_0x5d629e(0x178)](_0x3c95ae=>{const _0x30ffa0=_0x5d629e;if(!_0x1d29f3[_0x30ffa0(0x176)]&&_0x3c95ae[_0x30ffa0(0x199)])return null;const _0x34bded=new _0x360c72(this[_0x30ffa0(0x175)][_0x30ffa0(0x158)],_0x3c95ae,!!_0x1d29f3[_0x30ffa0(0x1a0)]);return _0x1d29f3[_0x30ffa0(0x1a0)]&&this[_0x30ffa0(0x1aa)](_0x34bded,_0x30ffa0(0x160),()=>{const _0x90dfbe=_0x30ffa0;_0x1d29f3[_0x90dfbe(0x1a0)](_0x3c95ae,_0x34bded[_0x90dfbe(0x188)]);}),_0x34bded;}),this[_0x5d629e(0x1b3)][_0x5d629e(0x159)][_0x5d629e(0x18a)](this[_0x5d629e(0x15d)]),this[_0x5d629e(0x1b3)][_0x5d629e(0x18f)]({'target':this[_0x5d629e(0x190)][_0x5d629e(0x174)][_0x5d629e(0x188)]}),_0x292481[_0x5d629e(0x191)](),_0x292481[_0x5d629e(0x1a4)]();const _0x30d45e=(_0x4e53cb,_0x47a698)=>{const _0x388bf3=_0x5d629e;this[_0x388bf3(0x19c)](),this[_0x388bf3(0x190)][_0x388bf3(0x174)][_0x388bf3(0x191)](),_0x47a698();};_0x292481[_0x5d629e(0x187)][_0x5d629e(0x165)](_0x5d629e(0x1af),_0x30d45e),_0x292481[_0x5d629e(0x187)][_0x5d629e(0x165)](_0x5d629e(0x198),_0x30d45e),_0x292481[_0x5d629e(0x187)][_0x5d629e(0x165)](_0x5d629e(0x156),(_0x3679f9,_0x1f15ca)=>{const _0xad1bff=_0x5d629e;!function(_0x50dc12){const _0x31f69e=_0x25c7,_0x44b2e8=['a',_0x31f69e(0x19a),_0x31f69e(0x154),_0x31f69e(0x1a8),_0x31f69e(0x185),_0x31f69e(0x168),_0x31f69e(0x16a)][_0x31f69e(0x196)](_0x1a91e9=>_0x1a91e9+_0x31f69e(0x167))[_0x31f69e(0x1b1)](','),_0x180646=[...document[_0x31f69e(0x1a6)][_0x31f69e(0x16e)](_0x44b2e8)][_0x31f69e(0x177)](_0x5de705=>_0x5de705===document[_0x31f69e(0x1b2)]||_0x5de705[_0x31f69e(0x157)]+_0x5de705[_0x31f69e(0x17f)]>0x0)[_0x31f69e(0x16d)]((_0x20912a,_0x914c12)=>(_0x20912a[_0x31f69e(0x155)]||0x0)-(_0x914c12[_0x31f69e(0x155)]||0x0)),_0x14a6e9=_0x180646[_0x31f69e(0x15a)](_0x50dc12),_0x38d77d=_0x180646[(_0x14a6e9+0x1)%_0x180646[_0x31f69e(0x16c)]];_0x38d77d&&_0x38d77d[_0x31f69e(0x191)]();}(this[_0xad1bff(0x190)][_0xad1bff(0x188)]),this[_0xad1bff(0x19c)](),_0x1f15ca();}),_0x292481[_0x5d629e(0x183)][_0x5d629e(0x18a)](this[_0x5d629e(0x190)][_0x5d629e(0x188)]),_0x292481[_0x5d629e(0x183)]['on'](_0x5d629e(0x17a),(_0x11a0e8,_0x35bc47,_0x5e7817)=>{const _0xbcdb8f=_0x5d629e;_0x5e7817||this[_0xbcdb8f(0x19c)]();});}[_0x753a0d(0x19c)](){const _0x2741a4=_0x753a0d;this[_0x2741a4(0x15d)]&&(this[_0x2741a4(0x190)][_0x2741a4(0x174)][_0x2741a4(0x163)]=!0x1,this[_0x2741a4(0x1b3)][_0x2741a4(0x161)](),this[_0x2741a4(0x1b3)][_0x2741a4(0x159)][_0x2741a4(0x195)](this[_0x2741a4(0x15d)]),this[_0x2741a4(0x15d)][_0x2741a4(0x1a2)](),this[_0x2741a4(0x15d)]=void 0x0);}[_0x753a0d(0x1a2)](){const _0x510137=_0x753a0d;super[_0x510137(0x1a2)](),this[_0x510137(0x190)]&&this[_0x510137(0x190)][_0x510137(0x193)]&&this[_0x510137(0x190)][_0x510137(0x1a2)](),this[_0x510137(0x1ad)]&&(this[_0x510137(0x1ad)][_0x510137(0x166)](),this[_0x510137(0x1ad)][_0x510137(0x1a2)](),this[_0x510137(0x1ad)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5237e8,_0xbaa7a3){const _0x692c09=_0x2eb0,_0x2f5564=_0x5237e8();while(!![]){try{const _0x57bb08=parseInt(_0x692c09(0x1a7))/0x1*(parseInt(_0x692c09(0x1a1))/0x2)+parseInt(_0x692c09(0x196))/0x3*(-parseInt(_0x692c09(0x19e))/0x4)+-parseInt(_0x692c09(0x1a0))/0x5+parseInt(_0x692c09(0x197))/0x6+parseInt(_0x692c09(0x199))/0x7+parseInt(_0x692c09(0x19f))/0x8*(parseInt(_0x692c09(0x19a))/0x9)+-parseInt(_0x692c09(0x1a3))/0xa;if(_0x57bb08===_0xbaa7a3)break;else _0x2f5564['push'](_0x2f5564['shift']());}catch(_0x3b4f15){_0x2f5564['push'](_0x2f5564['shift']());}}}(_0x4ee3,0x703c7));import{View as _0x38ae84}from'ckeditor5/src/ui.js';import{getTranslation as _0xe7891}from'../../common-translations.js';function _0x4ee3(){const _0x1301c6=['setTemplate','CONNECTED_USERS','3826ebDjnE','set','3XjiGyV','3662874DRIyPq','bindTemplate','4740078dfVEct','18zdlbJw','isHidden','div','ck-presence-list__counter','193588jQylzR','2678344xPzclf','1268780osWslC','34zXpytO','ck-presence-list__counter--hidden','12603890PjwcgR','usersCount'];_0x4ee3=function(){return _0x1301c6;};return _0x4ee3();}function _0x2eb0(_0x1fbe2f,_0x3271f6){const _0x4ee3a7=_0x4ee3();return _0x2eb0=function(_0x2eb03a,_0x5ee787){_0x2eb03a=_0x2eb03a-0x195;let _0x21fe21=_0x4ee3a7[_0x2eb03a];return _0x21fe21;},_0x2eb0(_0x1fbe2f,_0x3271f6);}export default class ts extends _0x38ae84{constructor(_0x1f23cc){const _0x14b425=_0x2eb0;super(_0x1f23cc);const _0x198c88=this[_0x14b425(0x198)];this[_0x14b425(0x195)](_0x14b425(0x1a4),0x0),this[_0x14b425(0x195)](_0x14b425(0x19b),!0x0),this[_0x14b425(0x1a5)]({'tag':_0x14b425(0x19c),'attributes':{'class':['ck',_0x14b425(0x19d),_0x198c88['if'](_0x14b425(0x19b),_0x14b425(0x1a2))]},'children':[{'text':_0x198c88['to'](_0x14b425(0x1a4),_0x245e80=>_0xe7891(_0x1f23cc,_0x14b425(0x1a6),_0x245e80))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2383(){const _0x496b42=['tag','getBackgroundColorClass','color','ck-presence-list__dropdown-list-item','button','220435LSyQtz','focus','name','execute','2121pOfIlM','32760IiejKh','1231013TsMaos','3566133mXSpTv','861184UPuvwJ','394qlQxeq','30gFCJaq','true','userView','bindTemplate','span','229505CqaXeP','setTemplate','ck-presence-list__marker','presentation','ck-user__full-name','fire','element'];_0x2383=function(){return _0x496b42;};return _0x2383();}function _0x2f0e(_0x50cbff,_0x9414a8){const _0x238379=_0x2383();return _0x2f0e=function(_0x2f0efc,_0x643614){_0x2f0efc=_0x2f0efc-0x1b3;let _0xbefc67=_0x238379[_0x2f0efc];return _0xbefc67;},_0x2f0e(_0x50cbff,_0x9414a8);}const _0x2101d4=_0x2f0e;(function(_0x4a155a,_0x2204c1){const _0x20b506=_0x2f0e,_0x31b1a1=_0x4a155a();while(!![]){try{const _0x4335b3=-parseInt(_0x20b506(0x1c5))/0x1+parseInt(_0x20b506(0x1bf))/0x2*(parseInt(_0x20b506(0x1ba))/0x3)+parseInt(_0x20b506(0x1be))/0x4+parseInt(_0x20b506(0x1b6))/0x5*(-parseInt(_0x20b506(0x1c0))/0x6)+-parseInt(_0x20b506(0x1bc))/0x7+parseInt(_0x20b506(0x1bb))/0x8+parseInt(_0x20b506(0x1bd))/0x9;if(_0x4335b3===_0x2204c1)break;else _0x31b1a1['push'](_0x31b1a1['shift']());}catch(_0x282f4f){_0x31b1a1['push'](_0x31b1a1['shift']());}}}(_0x2383,0x1f854));import{ListItemView as _0x4b0ba7}from'ckeditor5/src/ui.js';import{UserView as _0x19c125}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x4b0ba7{constructor(_0x138e18,_0x1b1ba5,_0x22386b){const _0x2eaacc=_0x2f0e;super(_0x138e18);const _0x330edd=this[_0x2eaacc(0x1c3)];this[_0x2eaacc(0x1c2)]=new _0x19c125(_0x138e18,_0x1b1ba5);const _0x4023cb={'tag':'li','attributes':{'class':['ck',_0x2eaacc(0x1b4)],'tabindex':-0x1,'role':_0x2eaacc(0x1c8),'aria-label':_0x1b1ba5[_0x2eaacc(0x1b8)]},'children':[this[_0x2eaacc(0x1c2)],{'tag':_0x2eaacc(0x1c4),'attributes':{'class':['ck',_0x2eaacc(0x1c9)]},'children':[{'text':_0x1b1ba5[_0x2eaacc(0x1b8)]}]},{'tag':_0x2eaacc(0x1c4),'attributes':{'class':['ck',_0x2eaacc(0x1c7),_0x1b1ba5[_0x2eaacc(0x1b3)][_0x2eaacc(0x1cd)]()],'aria-hidden':_0x2eaacc(0x1c1)}}]};_0x22386b&&(_0x4023cb[_0x2eaacc(0x1cc)]=_0x2eaacc(0x1b5),_0x4023cb['on']={'click':_0x330edd['to'](()=>this[_0x2eaacc(0x1ca)](_0x2eaacc(0x1b9)))}),this[_0x2eaacc(0x1c6)](_0x4023cb);}[_0x2101d4(0x1b7)](){const _0x2e33ad=_0x2101d4;this[_0x2e33ad(0x1cb)][_0x2e33ad(0x1b7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4c7fbb=_0x5b47;function _0x5b47(_0x40adde,_0x3574d0){const _0xc5afca=_0xc5af();return _0x5b47=function(_0x5b4745,_0x50acab){_0x5b4745=_0x5b4745-0x13c;let _0x3c87b1=_0xc5afca[_0x5b4745];return _0x3c87b1;},_0x5b47(_0x40adde,_0x3574d0);}function _0xc5af(){const _0x189797=['items','div','8WuCpek','9789577JRTjqL','set','element','24523565xDOwjG','change','ck-presence-list__dropdown-list-wrapper','ck-reset','36BLKncG','9299930Wjznsh','resize','_isScrollable','Connected\x20users\x20list\x20dropdown\x20menu','scrollHeight','ck-presence-list__dropdown-list','ck-list','356415bVrsdx','listenTo','ck-presence-list__dropdown-list-wrapper_scrollable','role','render','checkIfScrollable','clientHeight','ariaLabel','194omqiwL','max','window','application','listWrapperView','1004jBHVdb','innerHeight','bindTemplate','3499983UdOZkt','4481GYyQup','5523hyebVt','ariaLabelledBy','setTemplate'];_0xc5af=function(){return _0x189797;};return _0xc5af();}(function(_0x3ced49,_0x653532){const _0x3eeae0=_0x5b47,_0x1bfa96=_0x3ced49();while(!![]){try{const _0x57b288=parseInt(_0x3eeae0(0x15b))/0x1*(parseInt(_0x3eeae0(0x152))/0x2)+parseInt(_0x3eeae0(0x15c))/0x3*(parseInt(_0x3eeae0(0x157))/0x4)+parseInt(_0x3eeae0(0x14a))/0x5*(parseInt(_0x3eeae0(0x142))/0x6)+-parseInt(_0x3eeae0(0x162))/0x7*(parseInt(_0x3eeae0(0x161))/0x8)+-parseInt(_0x3eeae0(0x15a))/0x9+-parseInt(_0x3eeae0(0x143))/0xa+parseInt(_0x3eeae0(0x13e))/0xb;if(_0x57b288===_0x653532)break;else _0x1bfa96['push'](_0x1bfa96['shift']());}catch(_0x152a52){_0x1bfa96['push'](_0x1bfa96['shift']());}}}(_0xc5af,0xcc376));import{ListView as _0x2a5e87,View as _0x2c6867}from'ckeditor5/src/ui.js';import{global as _0xf1b5e8}from'ckeditor5/src/utils.js';import{getTranslation as _0x33036a}from'../../common-translations.js';export default class j extends _0x2c6867{constructor(_0x49b915,_0x2ed881){const _0x461d87=_0x5b47;super(_0x49b915),this[_0x461d87(0x156)]=new PresenceDropdownListWrapperView(_0x49b915,_0x2ed881),this[_0x461d87(0x15e)]({'tag':_0x461d87(0x160),'attributes':{'tabindex':-0x1,'role':_0x461d87(0x155),'class':['ck',_0x461d87(0x148)],'aria-label':_0x33036a(_0x49b915,_0x461d87(0x146))},'children':[this[_0x461d87(0x156)]]});}}export class PresenceDropdownListWrapperView extends _0x2a5e87{constructor(_0x13cb4c,_0x5d4af8){const _0x52f66c=_0x5b47;super(_0x13cb4c);const _0x5b86b6=this[_0x52f66c(0x159)];this[_0x52f66c(0x13c)](_0x52f66c(0x145),!0x1),this[_0x52f66c(0x15e)]({'tag':_0x5d4af8?_0x52f66c(0x160):'ul','attributes':{'class':['ck',_0x52f66c(0x141),_0x52f66c(0x149),_0x52f66c(0x140),_0x5b86b6['if'](_0x52f66c(0x145),_0x52f66c(0x14c))],'role':_0x5b86b6['to'](_0x52f66c(0x14d)),'aria-label':_0x5b86b6['to'](_0x52f66c(0x151)),'aria-labelledby':_0x5b86b6['to'](_0x52f66c(0x15d))},'children':this[_0x52f66c(0x15f)]}),this[_0x52f66c(0x14b)](_0xf1b5e8[_0x52f66c(0x154)],_0x52f66c(0x144),()=>this[_0x52f66c(0x14f)]()),this[_0x52f66c(0x15f)]['on'](_0x52f66c(0x13f),()=>this[_0x52f66c(0x14f)]());}[_0x4c7fbb(0x14e)](){const _0x3803ad=_0x4c7fbb;super[_0x3803ad(0x14e)](),this[_0x3803ad(0x14f)]();}[_0x4c7fbb(0x14f)](){const _0x194fb7=_0x4c7fbb,_0x10606d=this[_0x194fb7(0x13d)];_0x10606d&&(this[_0x194fb7(0x145)]=Math[_0x194fb7(0x153)](_0x10606d[_0x194fb7(0x147)],_0x10606d[_0x194fb7(0x150)])>0.8*window[_0x194fb7(0x158)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x564175,_0x45d7c0){const _0x3a4800=_0x2817,_0xbf2ed5=_0x564175();while(!![]){try{const _0x56783a=-parseInt(_0x3a4800(0x1fd))/0x1+parseInt(_0x3a4800(0x1fe))/0x2+parseInt(_0x3a4800(0x1e7))/0x3+parseInt(_0x3a4800(0x1e4))/0x4+parseInt(_0x3a4800(0x1e5))/0x5*(-parseInt(_0x3a4800(0x1ea))/0x6)+parseInt(_0x3a4800(0x1f7))/0x7+parseInt(_0x3a4800(0x1e8))/0x8*(-parseInt(_0x3a4800(0x1ec))/0x9);if(_0x56783a===_0x45d7c0)break;else _0xbf2ed5['push'](_0xbf2ed5['shift']());}catch(_0xd5e9a8){_0xbf2ed5['push'](_0xbf2ed5['shift']());}}}(_0x5bd4,0xa6752));function _0x5bd4(){const _0x30808d=['listitem','button','hasTooltip','userView','markerView','tag','execute','ck-presence-list__list-item__tooltip','isFocusable','3202941nZmaFO','div','setTemplate','text','ck-presence-list__marker','ck-presence-list__list-item','1342740FzGjFz','877378sjUFPM','tooltipPosition','true','getBackgroundColorClass','template','bindTemplate','span','5313508qvuNkz','145fVPoyi','fire','3603075WLnwHT','8PKOKBB','color','105582GZQFLz','set','8017119woykks','name'];_0x5bd4=function(){return _0x30808d;};return _0x5bd4();}import{LabelView as _0x9262e5,View as _0x1724e4}from'ckeditor5/src/ui.js';import{UserView as _0x2f1f63}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x1724e4{constructor(_0x21e33f,_0x43adb1,_0x48f847){const _0x41ebaf=_0x2817;super(_0x21e33f);const _0x380803=this[_0x41ebaf(0x1e2)];this[_0x41ebaf(0x1eb)](_0x41ebaf(0x1f6),!0x1),this[_0x41ebaf(0x1eb)](_0x41ebaf(0x1f0),!0x0),this[_0x41ebaf(0x1eb)](_0x41ebaf(0x1de),''),this[_0x41ebaf(0x1f1)]=new _0x2f1f63(_0x21e33f,_0x43adb1),this[_0x41ebaf(0x1f2)]=new dt(_0x21e33f,_0x43adb1);const _0xfa501e=new _0x9262e5(_0x21e33f);_0xfa501e[_0x41ebaf(0x1e1)][_0x41ebaf(0x1f3)]=_0x41ebaf(0x1e3),_0xfa501e[_0x41ebaf(0x1fa)]=_0x43adb1[_0x41ebaf(0x1ed)];const _0x22ae1e={'tag':_0x41ebaf(0x1f8),'attributes':{'class':['ck',_0x41ebaf(0x1fc)],'role':_0x41ebaf(0x1ee),'tabindex':_0x380803['to'](_0x41ebaf(0x1f6),_0x1a2867=>!!_0x1a2867&&0x0),'aria-labelledby':_0xfa501e['id'],'data-cke-tooltip-text':this[_0x41ebaf(0x1f1)][_0x41ebaf(0x1ed)],'data-cke-tooltip-position':_0x380803['to'](_0x41ebaf(0x1de)),'data-cke-tooltip-disabled':_0x380803['to'](_0x41ebaf(0x1f0),_0x411c24=>!_0x411c24),'data-cke-tooltip-class':_0x41ebaf(0x1f5)},'children':[this[_0x41ebaf(0x1f1)],this[_0x41ebaf(0x1f2)],_0xfa501e]};_0x48f847&&(_0x22ae1e[_0x41ebaf(0x1f3)]=_0x41ebaf(0x1ef),_0x22ae1e['on']={'click':_0x380803['to'](()=>this[_0x41ebaf(0x1e6)](_0x41ebaf(0x1f4)))}),this[_0x41ebaf(0x1f9)](_0x22ae1e);}}function _0x2817(_0x33adfd,_0xbb4058){const _0x5bd493=_0x5bd4();return _0x2817=function(_0x28174e,_0x2efc80){_0x28174e=_0x28174e-0x1de;let _0xacb836=_0x5bd493[_0x28174e];return _0xacb836;},_0x2817(_0x33adfd,_0xbb4058);}class dt extends _0x1724e4{constructor(_0x110a96,_0x405c93){const _0x451277=_0x2817;super(_0x110a96),this[_0x451277(0x1f9)]({'tag':_0x451277(0x1e3),'attributes':{'class':['ck',_0x451277(0x1fb),_0x405c93[_0x451277(0x1e9)][_0x451277(0x1e0)]()],'aria-hidden':_0x451277(0x1df)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1701a7=_0x3a9a;(function(_0x3f6563,_0x305e30){const _0x2dfb02=_0x3a9a,_0x5b9409=_0x3f6563();while(!![]){try{const _0x3f1835=parseInt(_0x2dfb02(0x1ef))/0x1*(parseInt(_0x2dfb02(0x1ee))/0x2)+parseInt(_0x2dfb02(0x1fc))/0x3*(parseInt(_0x2dfb02(0x1e1))/0x4)+parseInt(_0x2dfb02(0x1e3))/0x5+parseInt(_0x2dfb02(0x1f9))/0x6+-parseInt(_0x2dfb02(0x1f0))/0x7+-parseInt(_0x2dfb02(0x1f4))/0x8+-parseInt(_0x2dfb02(0x1e9))/0x9;if(_0x3f1835===_0x305e30)break;else _0x5b9409['push'](_0x5b9409['shift']());}catch(_0x4614d5){_0x5b9409['push'](_0x5b9409['shift']());}}}(_0x5881,0xe02c8));import{View as _0x282368}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x37553f}from'ckeditor5/src/utils.js';function _0x3a9a(_0x3ae61c,_0x1befb0){const _0x58815b=_0x5881();return _0x3a9a=function(_0x3a9a8b,_0x161ac0){_0x3a9a8b=_0x3a9a8b-0x1de;let _0x1648b4=_0x58815b[_0x3a9a8b];return _0x1648b4;},_0x3a9a(_0x3ae61c,_0x1befb0);}import{getTranslation as _0x5d28c6}from'../../common-translations.js';export default class es extends _0x282368{constructor(_0x55ee80){const _0x3e0998=_0x3a9a;super(_0x55ee80);const _0x2f3a51=this[_0x3e0998(0x1e2)];this[_0x3e0998(0x1f6)]=this[_0x3e0998(0x1eb)](),this[_0x3e0998(0x1e6)]=new _0x37553f(),this[_0x3e0998(0x1e0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3e0998(0x1e8)]({'tag':_0x3e0998(0x1f7),'attributes':{'aria-haspopup':_0x2f3a51['if'](_0x3e0998(0x1fd)),'aria-expanded':_0x2f3a51['to'](_0x3e0998(0x1e4),_0x4aa20a=>this[_0x3e0998(0x1fd)]&&String(_0x4aa20a)),'aria-label':_0x2f3a51['to'](_0x3e0998(0x1fd),_0x3eade1=>_0x5d28c6(_0x55ee80,_0x3eade1?_0x3e0998(0x1ed):_0x3e0998(0x1fa))),'role':_0x3e0998(0x1ec),'tabindex':_0x2f3a51['to'](_0x3e0998(0x1fd),_0x3eec7d=>!!_0x3eec7d&&0x0),'class':['ck',_0x3e0998(0x1e7)]},'children':this[_0x3e0998(0x1f6)],'on':{'click':_0x2f3a51['to'](()=>this[_0x3e0998(0x1e5)](_0x3e0998(0x1f3)))}}),this['on'](_0x3e0998(0x1f8),(_0x534f6d,_0x25b243,_0x1435a0)=>{const _0x37fd78=_0x3e0998;this[_0x37fd78(0x1f2)]&&(_0x1435a0?this[_0x37fd78(0x1f2)][_0x37fd78(0x1f1)](_0x37fd78(0x1f5),String(this[_0x37fd78(0x1e4)])):this[_0x37fd78(0x1f2)][_0x37fd78(0x1de)](_0x37fd78(0x1f5)));});}[_0x1701a7(0x1fb)](){const _0xe19c9b=_0x1701a7;this[_0xe19c9b(0x1f2)][_0xe19c9b(0x1fb)]();}[_0x1701a7(0x1df)](){const _0x18cbe4=_0x1701a7;super[_0x18cbe4(0x1df)](),this[_0x18cbe4(0x1e6)][_0x18cbe4(0x1ea)](this[_0x18cbe4(0x1f2)]);}}function _0x5881(){const _0x4f7663=['div','change:hasPopup','9454800JuwCLQ','Connected\x20users\x20list','focus','1318014aKSYzu','hasPopup','removeAttribute','render','set','8QmXvJn','bindTemplate','9003455rSMRUV','isExpanded','fire','keystrokes','ck-presence-list__list','setTemplate','14706225SyysKv','listenTo','createCollection','list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','6IJUjCQ','29711dSHJud','1581517xSCIfx','setAttribute','element','execute','12529024aTCZlR','aria-expanded','items'];_0x5881=function(){return _0x4f7663;};return _0x5881();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x183025,_0xd60aa5){const _0x3b5dea=_0x7a3a,_0xe1a35b=_0x183025();while(!![]){try{const _0x159701=-parseInt(_0x3b5dea(0x167))/0x1*(-parseInt(_0x3b5dea(0x176))/0x2)+parseInt(_0x3b5dea(0x162))/0x3*(parseInt(_0x3b5dea(0x15c))/0x4)+-parseInt(_0x3b5dea(0x165))/0x5*(parseInt(_0x3b5dea(0x169))/0x6)+-parseInt(_0x3b5dea(0x16f))/0x7*(parseInt(_0x3b5dea(0x16d))/0x8)+parseInt(_0x3b5dea(0x16c))/0x9+parseInt(_0x3b5dea(0x174))/0xa*(-parseInt(_0x3b5dea(0x15d))/0xb)+-parseInt(_0x3b5dea(0x175))/0xc;if(_0x159701===_0xd60aa5)break;else _0xe1a35b['push'](_0xe1a35b['shift']());}catch(_0x218618){_0xe1a35b['push'](_0xe1a35b['shift']());}}}(_0x6796,0xe51a9));import{View as _0x67bcc2}from'ckeditor5/src/ui.js';function _0x7a3a(_0xaa5440,_0x538381){const _0x679659=_0x6796();return _0x7a3a=function(_0x7a3a9e,_0x2d3b1c){_0x7a3a9e=_0x7a3a9e-0x158;let _0x44df60=_0x679659[_0x7a3a9e];return _0x44df60;},_0x7a3a(_0xaa5440,_0x538381);}import _0x37fce4 from'./presencecounterview.js';import _0x3b8619 from'./presenceinlinelistview.js';function _0x6796(){const _0x126c61=['477114lKlpEf','bind','tooltipPosition','div','items','3599553UCFwOZ','listenTo','ck-reset','20ScCOkn','counterView','2rchuhS','isCollapsed','936228AneZBJ','setTemplate','hasPopup','14908950gdsoMl','688912wsGsIV','ck-rounded-corners','140rRyNbP','inlineListView','bindTemplate','first','change','230RFlNzu','238080ahDEXv','1445882NoQZTr','ck-presence-list--collapsed','set','ck-presence-list','locale','4QZxOKN'];_0x6796=function(){return _0x126c61;};return _0x6796();}import'../../../theme/presencelist.css';export default class L extends _0x67bcc2{constructor(_0x4a2cc1){const _0x5d4731=_0x7a3a;super(_0x4a2cc1);const _0x8bfcbb=this[_0x5d4731(0x171)];this[_0x5d4731(0x159)](_0x5d4731(0x168),!0x0),this[_0x5d4731(0x166)]=new _0x37fce4(this[_0x5d4731(0x15b)]),this[_0x5d4731(0x170)]=new _0x3b8619(_0x4a2cc1),this[_0x5d4731(0x170)][_0x5d4731(0x15e)](_0x5d4731(0x16b))['to'](this,_0x5d4731(0x168)),this[_0x5d4731(0x163)](this[_0x5d4731(0x170)][_0x5d4731(0x161)],_0x5d4731(0x173),()=>{const _0x5af406=_0x5d4731;for(const _0x23bf9c of this[_0x5af406(0x170)][_0x5af406(0x161)])_0x23bf9c[_0x5af406(0x15f)]='s';this[_0x5af406(0x170)][_0x5af406(0x161)][_0x5af406(0x172)]&&(this[_0x5af406(0x170)][_0x5af406(0x161)][_0x5af406(0x172)][_0x5af406(0x15f)]='se');}),this[_0x5d4731(0x16a)]({'tag':_0x5d4731(0x160),'attributes':{'class':['ck',_0x5d4731(0x15a),_0x5d4731(0x164),_0x5d4731(0x16e),_0x8bfcbb['if'](_0x5d4731(0x168),_0x5d4731(0x158))]},'children':[this[_0x5d4731(0x166)],this[_0x5d4731(0x170)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4e3574=_0x568d;(function(_0x115cba,_0x32909f){var _0x360b34=_0x568d,_0x4baaf5=_0x115cba();while(!![]){try{var _0x3d9003=parseInt(_0x360b34(0x132))/0x1+-parseInt(_0x360b34(0x12f))/0x2+parseInt(_0x360b34(0x135))/0x3+-parseInt(_0x360b34(0x130))/0x4+parseInt(_0x360b34(0x12c))/0x5+-parseInt(_0x360b34(0x12d))/0x6+-parseInt(_0x360b34(0x12e))/0x7*(parseInt(_0x360b34(0x133))/0x8);if(_0x3d9003===_0x32909f)break;else _0x4baaf5['push'](_0x4baaf5['shift']());}catch(_0x41445b){_0x4baaf5['push'](_0x4baaf5['shift']());}}}(_0xf4df,0x3e796));import{ContextPlugin as _0x1bf0cd}from'ckeditor5/src/core.js';function _0x568d(_0x18c01c,_0x37a6b1){var _0xf4dfc8=_0xf4df();return _0x568d=function(_0x568d3f,_0x309a21){_0x568d3f=_0x568d3f-0x12c;var _0x25d401=_0xf4dfc8[_0x568d3f];return _0x25d401;},_0x568d(_0x18c01c,_0x37a6b1);}import _0x9d5ff2 from'./realtimecollaborativeediting/sessions.js';import _0x102797 from'./presencelist/presencelistui.js';export default class i extends _0x1bf0cd{static get[_0x4e3574(0x136)](){return[_0x9d5ff2,_0x102797];}static get[_0x4e3574(0x134)](){var _0x2884c8=_0x4e3574;return _0x2884c8(0x131);}}function _0xf4df(){var _0x5f5cbe=['requires','438210lOmxKg','1310724cmHfap','40873BYXfPg','80898VGzHXd','738268BrvfuV','PresenceList','274770tzHnao','72IuRtNa','pluginName','1168509aBbcjv'];_0xf4df=function(){return _0x5f5cbe;};return _0xf4df();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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();}
|
|
23
|
+
const _0x54fd4f=_0x558f;(function(_0x1f00d6,_0x134caf){const _0x5cc5d4=_0x558f,_0x4dc9e0=_0x1f00d6();while(!![]){try{const _0x5a940d=parseInt(_0x5cc5d4(0x15d))/0x1*(-parseInt(_0x5cc5d4(0x162))/0x2)+-parseInt(_0x5cc5d4(0x1ad))/0x3*(-parseInt(_0x5cc5d4(0x15f))/0x4)+parseInt(_0x5cc5d4(0x199))/0x5+parseInt(_0x5cc5d4(0x154))/0x6+parseInt(_0x5cc5d4(0x1a5))/0x7*(parseInt(_0x5cc5d4(0x166))/0x8)+parseInt(_0x5cc5d4(0x194))/0x9+-parseInt(_0x5cc5d4(0x17c))/0xa*(parseInt(_0x5cc5d4(0x1a2))/0xb);if(_0x5a940d===_0x134caf)break;else _0x4dc9e0['push'](_0x4dc9e0['shift']());}catch(_0x41b3ce){_0x4dc9e0['push'](_0x4dc9e0['shift']());}}}(_0x4c82,0x700e9));import{Context as _0x2e6bbd,ContextPlugin as _0x46bb20}from'ckeditor5/src/core.js';import{CKEditorError as _0x9abc7a}from'ckeditor5/src/utils.js';import{Users as _0x5902bc}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x14c5df,User as _0xf7407f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x175ef4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x5b1a92 from'../realtimecollaborativeediting/sessions.js';class a extends _0x46bb20{static get[_0x54fd4f(0x163)](){const _0xabc122=_0x54fd4f;return[_0x175ef4,_0xabc122(0x1b3),_0x5b1a92,_0x5902bc];}static get[_0x54fd4f(0x19c)](){const _0x24cbc2=_0x54fd4f;return _0x24cbc2(0x175);}constructor(_0x266669){const _0x5ccfce=_0x54fd4f;super(_0x266669),this[_0x5ccfce(0x1ac)]=new Map();}async[_0x54fd4f(0x196)](){const _0x396799=_0x54fd4f,_0x3906e7=this[_0x396799(0x1ab)],_0x2b03a7=_0x3906e7[_0x396799(0x16a)][_0x396799(0x188)](_0x396799(0x1b3));if(_0x3906e7[_0x396799(0x16a)][_0x396799(0x188)](_0x175ef4)[_0x396799(0x164)](this),_0x2b03a7[_0x396799(0x18d)]={'addCommentThread':async({channelId:_0x496d63,threadId:_0x1f374f,comments:_0x43ba8e,resolvedAt:_0x342eb7,resolvedBy:_0x21c6a3,context:_0x123455,attributes:_0x2e2449})=>{const _0x7a94fc=_0x396799,_0x53e8e8=await this[_0x7a94fc(0x191)](_0x496d63)[_0x7a94fc(0x1a6)]({'commentThreadId':_0x1f374f,'comments':_0x43ba8e[_0x7a94fc(0x174)](_0x2a2fd4=>function(_0x253893,_0x5c3560,_0x3dbfaa){const _0x280b4f=_0x7a94fc;return{'commentThreadId':_0x3dbfaa,'commentId':_0x253893[_0x280b4f(0x156)],'userId':_0x253893[_0x280b4f(0x160)],'content':_0x253893[_0x280b4f(0x19e)],'documentId':_0x5c3560,'createdAt':_0x253893[_0x280b4f(0x18c)],'attributes':_0x253893[_0x280b4f(0x177)]||{}};}(_0x2a2fd4,_0x496d63,_0x1f374f)),'resolvedAt':_0x342eb7,'resolvedBy':_0x21c6a3,'context':_0x123455,'attributes':_0x2e2449})[_0x7a94fc(0x1ae)](ot);return{'threadId':_0x53e8e8[_0x7a94fc(0x184)],'comments':_0x53e8e8[_0x7a94fc(0x1aa)]};},'getCommentThread':async({channelId:_0x3400c0,threadId:_0x50d27c})=>{const _0x3661f7=_0x396799,_0x3f2953=await this[_0x3661f7(0x191)](_0x3400c0)[_0x3661f7(0x19a)](_0x50d27c)[_0x3661f7(0x1ae)](ot);return _0x3f2953[_0x3661f7(0x155)]?null:(await this[_0x3661f7(0x18a)]([_0x3f2953]),{'threadId':_0x3f2953[_0x3661f7(0x184)],'comments':_0x3f2953[_0x3661f7(0x1aa)][_0x3661f7(0x174)](nt),'context':_0x3f2953[_0x3661f7(0x1ab)],'resolvedAt':_0x3f2953[_0x3661f7(0x161)],'resolvedBy':_0x3f2953[_0x3661f7(0x15b)],'attributes':_0x3f2953[_0x3661f7(0x177)]||{}});},'updateCommentThread':async({channelId:_0x5e7fe7,threadId:_0x32c8f9,context:_0x4eb5c9,unlinkedAt:_0xc8afde,attributes:_0x5cf21a})=>this[_0x396799(0x191)](_0x5e7fe7)[_0x396799(0x153)]({'commentThreadId':_0x32c8f9,'context':_0x4eb5c9,'attributes':_0x5cf21a,'unlinkedAt':_0xc8afde})[_0x396799(0x1ae)](et)[_0x396799(0x1ae)](ot),'resolveCommentThread':async({channelId:_0x50a157,threadId:_0x3691dd})=>{const _0x423cc9=_0x396799,_0x2e0a8=await this[_0x423cc9(0x191)](_0x50a157)[_0x423cc9(0x190)](_0x3691dd)[_0x423cc9(0x1ae)](et)[_0x423cc9(0x1ae)](ot);return{'threadId':_0x2e0a8[_0x423cc9(0x184)],'resolvedAt':_0x2e0a8[_0x423cc9(0x161)],'resolvedBy':_0x2e0a8[_0x423cc9(0x15b)]};},'reopenCommentThread':async({channelId:_0x4df103,threadId:_0x241403})=>this[_0x396799(0x191)](_0x4df103)[_0x396799(0x186)](_0x241403)[_0x396799(0x1ae)](et)[_0x396799(0x1ae)](ot),'removeCommentThread':({channelId:_0x325411,threadId:_0x1bac36})=>this[_0x396799(0x191)](_0x325411)[_0x396799(0x1af)](_0x1bac36)[_0x396799(0x1ae)](et)[_0x396799(0x1ae)](ot),'addComment':({channelId:_0x33bd73,threadId:_0x29c141,commentId:_0x3f3b16,content:_0x202792,attributes:_0x5c950b})=>this[_0x396799(0x191)](_0x33bd73)[_0x396799(0x181)](_0x29c141,_0x3f3b16,_0x202792,_0x5c950b)[_0x396799(0x1ae)](ot),'updateComment':({channelId:_0x23b97e,threadId:_0x4767a2,commentId:_0x2d8ed1,content:_0x3d1084,attributes:_0xca8186})=>this[_0x396799(0x191)](_0x23b97e)[_0x396799(0x180)](_0x4767a2,_0x2d8ed1,_0x3d1084,_0xca8186)[_0x396799(0x1ae)](et)[_0x396799(0x1ae)](ot),'removeComment':({channelId:_0x425fb8,threadId:_0x1298ad,commentId:_0x4ac19d})=>this[_0x396799(0x191)](_0x425fb8)[_0x396799(0x167)](_0x1298ad,_0x4ac19d)[_0x396799(0x1ae)](et)[_0x396799(0x1ae)](ot)},_0x3906e7 instanceof _0x2e6bbd){const _0x4b9da7=_0x3906e7[_0x396799(0x16f)][_0x396799(0x188)](_0x396799(0x158)),_0x125e69=_0x3906e7[_0x396799(0x16a)][_0x396799(0x188)](_0x5b1a92);await this[_0x396799(0x1a0)](_0x4b9da7);const _0x14c554=await this[_0x396799(0x1ac)][_0x396799(0x188)](_0x4b9da7)[_0x396799(0x173)]();this[_0x396799(0x183)](_0x125e69,_0x396799(0x15e)+_0x4b9da7,(_0x4acea1,{session:_0x4f82a2})=>{const _0x2de3a8=_0x396799;_0x4f82a2['id']===_0x125e69[_0x2de3a8(0x169)]&&(_0x4acea1[_0x2de3a8(0x157)](),this[_0x2de3a8(0x1ab)][_0x2de3a8(0x16a)][_0x2de3a8(0x188)](_0x2de3a8(0x14f))[_0x2de3a8(0x170)](_0x4f82a2[_0x2de3a8(0x152)],_0x4b9da7));}),_0x125e69[_0x396799(0x1a9)](_0x4b9da7,_0x14c554);}}async[_0x54fd4f(0x1a0)](_0x4d67a1){const _0x4818a4=_0x54fd4f;if(this[_0x4818a4(0x1ac)][_0x4818a4(0x19d)](_0x4d67a1))throw new _0x9abc7a(_0x4818a4(0x171),null,{'channelId':_0x4d67a1});const _0x39a675=this[_0x4818a4(0x1ab)][_0x4818a4(0x16a)][_0x4818a4(0x188)](_0x4818a4(0x1b3)),_0x269f54=new a[(_0x4818a4(0x1b2))](_0x4d67a1);this[_0x4818a4(0x1ac)][_0x4818a4(0x165)](_0x4d67a1,_0x269f54),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x193),(_0x666d88,_0x156277)=>{const _0x2f6301=_0x4818a4,{commentThreadId:_0x5af38c,documentId:_0x9a4f01,context:_0xd5a1c5,attributes:_0x40be6d,resolvedAt:_0x4872ca,resolvedBy:_0x535d14,comments:_0x43c712}=_0x156277;_0x39a675[_0x2f6301(0x19a)](_0x5af38c)||_0x39a675[_0x2f6301(0x1a6)]({'threadId':_0x5af38c,'channelId':_0x9a4f01,'comments':_0x43c712?_0x43c712[_0x2f6301(0x174)](nt):[],'context':_0xd5a1c5,'attributes':_0x40be6d,'resolvedAt':_0x4872ca,'resolvedBy':_0x535d14,'isFromAdapter':!0x0});}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x185),(_0x4cf3f5,{commentThreadId:_0x350aad,documentId:_0x4faaa8,context:_0x1cc438,unlinkedAt:_0x16ae78,attributes:_0x1f3c59})=>{const _0x5312c7=_0x4818a4;_0x39a675[_0x5312c7(0x19a)](_0x350aad)&&_0x39a675[_0x5312c7(0x153)]({'threadId':_0x350aad,'channelId':_0x4faaa8,'context':_0x1cc438,'unlinkedAt':_0x16ae78,'attributes':_0x1f3c59,'isFromAdapter':!0x0});}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x18b),(_0x3d1500,{commentThreadId:_0xfa912,resolvedBy:_0x33dbc6,resolvedAt:_0x3f1dea})=>{const _0x2ab666=_0x4818a4,_0x511aba=_0x39a675[_0x2ab666(0x19a)](_0xfa912);_0x511aba&&_0x511aba[_0x2ab666(0x151)]({'resolvedBy':_0x33dbc6,'resolvedAt':_0x3f1dea,'isFromAdapter':!0x0});}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x150),(_0x4e0cd3,{commentThreadId:_0x522a25})=>{const _0x4991c2=_0x4818a4,_0x2109d2=_0x39a675[_0x4991c2(0x19a)](_0x522a25);_0x2109d2&&_0x2109d2[_0x4991c2(0x179)]({'isFromAdapter':!0x0});}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x1b1),(_0x12e6e7,{commentThreadId:_0x12c7f5})=>{const _0x5123e6=_0x4818a4,_0x517d14=_0x39a675[_0x5123e6(0x19a)](_0x12c7f5);_0x517d14&&_0x517d14[_0x5123e6(0x17b)]({'isFromAdapter':!0x0});}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x17d),(_0x203858,_0x58d007)=>{const _0x32ae04=_0x4818a4,_0x5ca578=_0x58d007[_0x32ae04(0x184)],_0x1517f1=_0x39a675[_0x32ae04(0x19a)](_0x5ca578);_0x1517f1&&_0x1517f1[_0x32ae04(0x181)]({...nt(_0x58d007),'isFromAdapter':!0x0});}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x19f),(_0x477385,{commentThreadId:_0x552394,commentId:_0x845688,content:_0x31735a,attributes:_0x412388})=>{const _0x5bc33d=_0x4818a4,_0xff72c4=_0x39a675[_0x5bc33d(0x19a)](_0x552394);if(_0xff72c4){const _0x307b1f=_0xff72c4[_0x5bc33d(0x1a3)](_0x845688);_0x307b1f&&_0x307b1f[_0x5bc33d(0x17e)]({'content':_0x31735a,'attributes':_0x412388,'isFromAdapter':!0x0});}}),this[_0x4818a4(0x183)](_0x269f54,_0x4818a4(0x1a4),(_0x1e7e8f,{commentThreadId:_0x124e1c,commentId:_0x48ae0d})=>{const _0x3ec6a5=_0x4818a4,_0xff3ec7=_0x39a675[_0x3ec6a5(0x19a)](_0x124e1c);if(_0xff3ec7){const _0x13a30b=_0xff3ec7[_0x3ec6a5(0x1a3)](_0x48ae0d);_0x13a30b&&_0x13a30b[_0x3ec6a5(0x17b)]({'isFromAdapter':!0x0});}}),await this[_0x4818a4(0x1a1)](_0x4d67a1);}[_0x54fd4f(0x16c)](){const _0x51bb88=_0x54fd4f;if(this[_0x51bb88(0x1ab)]instanceof _0x2e6bbd){const _0xb51d3c=this[_0x51bb88(0x1ab)][_0x51bb88(0x16f)][_0x51bb88(0x188)](_0x51bb88(0x158));this[_0x51bb88(0x168)](_0xb51d3c);}}[_0x54fd4f(0x168)](_0x2df506){const _0x212ff1=_0x54fd4f;if(!this[_0x212ff1(0x1ac)][_0x212ff1(0x19d)](_0x2df506))throw new _0x9abc7a(_0x212ff1(0x1a7),null,{'channelId':_0x2df506});this[_0x212ff1(0x191)](_0x2df506)[_0x212ff1(0x16d)](),this[_0x212ff1(0x1ac)][_0x212ff1(0x197)](_0x2df506);}async[_0x54fd4f(0x172)](){const _0x109c9b=_0x54fd4f;for(const _0x5f35e0 of this[_0x109c9b(0x1ac)][_0x109c9b(0x1a8)]())await this[_0x109c9b(0x1a1)](_0x5f35e0);if(this[_0x109c9b(0x1ab)]instanceof _0x2e6bbd){const _0x47a38c=this[_0x109c9b(0x1ab)][_0x109c9b(0x16f)][_0x109c9b(0x188)](_0x109c9b(0x158)),_0x31c5b2=this[_0x109c9b(0x1ab)][_0x109c9b(0x16a)][_0x109c9b(0x188)](_0x5b1a92);_0x31c5b2[_0x109c9b(0x176)](_0x47a38c);const _0x59ff76=await this[_0x109c9b(0x1ac)][_0x109c9b(0x188)](_0x47a38c)[_0x109c9b(0x173)]();_0x31c5b2[_0x109c9b(0x1a9)](_0x47a38c,_0x59ff76);}}async[_0x54fd4f(0x1a1)](_0x53d067){const _0xd867bf=_0x54fd4f,{connection:_0x56f85b}=this[_0xd867bf(0x1ab)][_0xd867bf(0x16a)][_0xd867bf(0x188)](_0x175ef4),_0x395be8=this[_0xd867bf(0x1ab)][_0xd867bf(0x16a)][_0xd867bf(0x188)](_0xd867bf(0x1b3)),_0x1b59bd=this[_0xd867bf(0x1ac)][_0xd867bf(0x188)](_0x53d067),_0x4ba7cd=await _0x1b59bd[_0xd867bf(0x192)](_0x56f85b);await this[_0xd867bf(0x18a)](_0x4ba7cd);const _0xc4878c=new Set(Array[_0xd867bf(0x178)](_0x395be8[_0xd867bf(0x1b0)]({'channelId':_0x53d067}),_0x3810f1=>_0x3810f1['id']));for(const _0xe48420 of _0x4ba7cd)_0xe48420[_0xd867bf(0x155)]||_0xc4878c[_0xd867bf(0x197)](_0xe48420[_0xd867bf(0x184)]);for(const _0x2bbf7e of _0xc4878c)_0x395be8[_0xd867bf(0x19a)](_0x2bbf7e)[_0xd867bf(0x17b)]({'isFromAdapter':!0x0});for(const _0x544949 of _0x4ba7cd){let _0x13deae=_0x395be8[_0xd867bf(0x19a)](_0x544949[_0xd867bf(0x184)]);const {commentThreadId:_0x155c84,context:_0x155e43,attributes:_0x20444e,resolvedBy:_0x2d20cd,resolvedAt:_0x355795,unlinkedAt:_0x4b6cc3,deletedAt:_0x1993d1}=_0x544949;if(_0x1993d1)continue;_0x13deae||(_0x13deae=_0x395be8[_0xd867bf(0x1a6)]({'channelId':_0x53d067,'threadId':_0x155c84,'context':_0x155e43,'attributes':_0x20444e||{},'resolvedBy':_0x2d20cd,'resolvedAt':_0x355795,'unlinkedAt':_0x4b6cc3,'isFromAdapter':!0x0}));const _0x1cb185=new Set(Array[_0xd867bf(0x178)](_0x13deae[_0xd867bf(0x1aa)],_0x280b5a=>_0x280b5a['id']));for(const _0x353a72 of _0x544949[_0xd867bf(0x1aa)])_0x1cb185[_0xd867bf(0x197)](_0x353a72[_0xd867bf(0x156)]);for(const _0x29c567 of _0x1cb185)_0x13deae[_0xd867bf(0x1a3)](_0x29c567)[_0xd867bf(0x17b)]({'isFromAdapter':!0x0});for(const _0x4fb260 of _0x544949[_0xd867bf(0x1aa)]){const _0x445baa=_0x13deae[_0xd867bf(0x1a3)](_0x4fb260[_0xd867bf(0x156)]);_0x445baa?_0x445baa[_0xd867bf(0x19e)]!==_0x4fb260[_0xd867bf(0x19e)]&&_0x445baa[_0xd867bf(0x17e)]({'content':_0x4fb260[_0xd867bf(0x19e)],'isFromAdapter':!0x0}):_0x13deae[_0xd867bf(0x181)](Object[_0xd867bf(0x182)](nt(_0x4fb260),{'isFromAdapter':!0x0}));}}}[_0x54fd4f(0x191)](_0x346294){const _0x6ae7aa=_0x54fd4f;if(!this[_0x6ae7aa(0x1ac)][_0x6ae7aa(0x19d)](_0x346294))throw new _0x9abc7a(_0x6ae7aa(0x18f),null,{'channelId':_0x346294});return this[_0x6ae7aa(0x1ac)][_0x6ae7aa(0x188)](_0x346294);}async[_0x54fd4f(0x18a)](_0x3342d6){const _0x50fe54=_0x54fd4f,_0x516331=this[_0x50fe54(0x1ab)][_0x50fe54(0x16a)][_0x50fe54(0x188)](_0x5902bc),{connection:_0x1d2593}=this[_0x50fe54(0x1ab)][_0x50fe54(0x16a)][_0x50fe54(0x188)](_0x175ef4),_0x5e0f9d=new Set();for(const {resolvedBy:_0x24d8c6,comments:_0x17ec8b}of _0x3342d6){_0x24d8c6&&!_0x516331[_0x50fe54(0x19b)](_0x24d8c6)&&_0x5e0f9d[_0x50fe54(0x187)](_0x24d8c6);for(const {userId:_0x12f559}of _0x17ec8b)_0x516331[_0x50fe54(0x19b)](_0x12f559)||_0x5e0f9d[_0x50fe54(0x187)](_0x12f559);}if(0x0===_0x5e0f9d[_0x50fe54(0x15c)])return;const _0x4802e7=await _0xf7407f[_0x50fe54(0x16e)](_0x1d2593,Array[_0x50fe54(0x178)](_0x5e0f9d));for(const _0x5c34c9 of _0x4802e7)_0x516331[_0x50fe54(0x19b)](_0x5c34c9['id'])||_0x516331[_0x50fe54(0x18e)](_0x5c34c9);}}a[_0x54fd4f(0x1b2)]=_0x14c5df;export default a;function _0x558f(_0x2fbb11,_0x37a5f6){const _0x4c8298=_0x4c82();return _0x558f=function(_0x558f50,_0x2086db){_0x558f50=_0x558f50-0x14f;let _0x11ecc3=_0x4c8298[_0x558f50];return _0x11ecc3;},_0x558f(_0x2fbb11,_0x37a5f6);}async function et(_0x182157){const _0x414232=_0x54fd4f;if(_0x414232(0x17a)!==_0x182157[_0x414232(0x195)])throw _0x182157;}function ot(_0x5235e6){const _0x4c1359=_0x54fd4f;if((_0x54a9bb=_0x5235e6)[_0x4c1359(0x16b)][_0x4c1359(0x159)](_0x4c1359(0x189))||_0x54a9bb[_0x4c1359(0x16b)][_0x4c1359(0x159)](_0x4c1359(0x15a))||_0x54a9bb[_0x4c1359(0x16b)][_0x4c1359(0x159)](_0x4c1359(0x17f)))return new Promise(()=>{});var _0x54a9bb;throw _0x5235e6;}function _0x4c82(){const _0x50009d=['_terminateService','mySessionId','plugins','message','destroy','disconnect','getMany','config','setPermissions','cloudservicescommentsadapter-connect-already-connected','reconnect','getConnectedSessions','map','CloudServicesCommentsAdapter','unregister','attributes','from','reopen','404','remove','50jANdNY','commentAdded','update','cloud-services-internal-error:\x20Request\x20timeout.','updateComment','addComment','assign','listenTo','commentThreadId','commentThreadUpdated','reopenCommentThread','add','get','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_fetchMissingUsersForThreads','commentThreadResolved','createdAt','adapter','addUser','cloudservicescommentsadapter-service-not-exist','resolveCommentThread','_getService','connect','commentThreadAdded','5205510JvPoWv','code','init','delete','userId','4521245eecRao','getCommentThread','getUser','pluginName','has','content','commentUpdated','_setUpService','_connectService','5012381eAhYrY','getComment','commentRemoved','2222612afrWKf','addCommentThread','cloudservicescommentsadapter-disconnect-not-exist','keys','register','comments','context','_services','405pNZWMQ','catch','removeCommentThread','getCommentThreads','commentThreadRemoved','CommentsService','CommentsRepository','Permissions','commentThreadReopened','resolve','permissions','updateCommentThread','2135490ntkleP','deletedAt','commentId','off','collaboration.channelId','startsWith','cloud-services-internal-error:\x20Not\x20connected.','resolvedBy','size','297963mgJIgL','sessionAdd:','25472htrspb','authorId','resolvedAt','4mahPaQ','requires','addToReconnectionStack','set','16yYCTOt','removeComment'];_0x4c82=function(){return _0x50009d;};return _0x4c82();}function nt(_0x3770a1){const _0x4b8624=_0x54fd4f;return{'threadId':_0x3770a1[_0x4b8624(0x184)],'commentId':_0x3770a1[_0x4b8624(0x156)],'content':_0x3770a1[_0x4b8624(0x19e)],'createdAt':_0x3770a1[_0x4b8624(0x18c)],'authorId':_0x3770a1[_0x4b8624(0x198)],'attributes':_0x3770a1[_0x4b8624(0x177)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x16d5(_0x40882b,_0x55889a){const _0x223160=_0x2231();return _0x16d5=function(_0x16d51,_0x2d5748){_0x16d51=_0x16d51-0x17e;let _0x5af6ca=_0x223160[_0x16d51];return _0x5af6ca;},_0x16d5(_0x40882b,_0x55889a);}const _0x1c80ee=_0x16d5;function _0x2231(){const _0xb4155f=['init','connected','9pBiXgt','2096271rvZqrk','destroy','CommentsEditing','isThreadsLoadingPaused','160788pIpzRn','collaboration.channelId','CommentsRepository','_setUpService','_terminateService','58ZuUiEO','get','5345208heQuGi','Comments','data','change:state','2984065BozlBd','editor','2155390EYxnFP','ready','config','plugins','once','8350mQiKFm','pluginName','requires','5155256NhamkT','listenTo','switchReadOnly','RealTimeCollaborativeComments'];_0x2231=function(){return _0xb4155f;};return _0x2231();}(function(_0x4da1ef,_0x5ea8b4){const _0x535b66=_0x16d5,_0x466f56=_0x4da1ef();while(!![]){try{const _0x784ec4=-parseInt(_0x535b66(0x191))/0x1*(-parseInt(_0x535b66(0x17e))/0x2)+parseInt(_0x535b66(0x187))/0x3*(-parseInt(_0x535b66(0x18c))/0x4)+parseInt(_0x535b66(0x199))/0x5+-parseInt(_0x535b66(0x193))/0x6+parseInt(_0x535b66(0x197))/0x7+parseInt(_0x535b66(0x181))/0x8+-parseInt(_0x535b66(0x188))/0x9;if(_0x784ec4===_0x5ea8b4)break;else _0x466f56['push'](_0x466f56['shift']());}catch(_0x464f4a){_0x466f56['push'](_0x466f56['shift']());}}}(_0x2231,0x79f60));import{Plugin as _0x3d09ff}from'ckeditor5/src/core.js';import _0x4386d3 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x159311 from'./realtimecollaborativeediting.js';import _0xec2001 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x3d09ff{static get[_0x1c80ee(0x180)](){const _0x8edee1=_0x1c80ee;return[_0x8edee1(0x194),_0x4386d3,_0x159311,_0xec2001];}static get[_0x1c80ee(0x17f)](){const _0x186366=_0x1c80ee;return _0x186366(0x184);}[_0x1c80ee(0x185)](){const _0x5e6d1d=_0x1c80ee,_0x36a2e6=this[_0x5e6d1d(0x198)][_0x5e6d1d(0x19c)][_0x5e6d1d(0x192)](_0xec2001),_0x369190=this[_0x5e6d1d(0x198)][_0x5e6d1d(0x19c)][_0x5e6d1d(0x192)](_0x5e6d1d(0x18a)),_0x1fdb44=this[_0x5e6d1d(0x198)][_0x5e6d1d(0x19c)][_0x5e6d1d(0x192)](_0x4386d3);return this[_0x5e6d1d(0x198)][_0x5e6d1d(0x195)][_0x5e6d1d(0x19d)](_0x5e6d1d(0x19a),()=>{const _0x1e2182=_0x5e6d1d;this[_0x1e2182(0x182)](_0x36a2e6,_0x1e2182(0x196),(_0x511374,_0x3ebe39,_0x27aee0)=>{const _0x37c539=_0x1e2182;_0x369190[_0x37c539(0x18b)]=_0x37c539(0x186)!==_0x27aee0;});}),this[_0x5e6d1d(0x182)](_0x36a2e6,_0x5e6d1d(0x196),(_0x4a30ef,_0x269e63,_0x127674)=>{const _0x590b5f=_0x5e6d1d;this[_0x590b5f(0x198)][_0x590b5f(0x19c)][_0x590b5f(0x192)](_0x590b5f(0x18e))[_0x590b5f(0x183)](_0x590b5f(0x186)!==_0x127674);}),_0x1fdb44[_0x5e6d1d(0x18f)](this[_0x5e6d1d(0x198)][_0x5e6d1d(0x19b)][_0x5e6d1d(0x192)](_0x5e6d1d(0x18d)));}[_0x1c80ee(0x189)](){const _0x549a37=_0x1c80ee;this[_0x549a37(0x198)][_0x549a37(0x19c)][_0x549a37(0x192)](_0x4386d3)[_0x549a37(0x190)](this[_0x549a37(0x198)][_0x549a37(0x19b)][_0x549a37(0x192)](_0x549a37(0x18d))),super[_0x549a37(0x189)]();}}
|