@ckeditor/ckeditor5-real-time-collaboration 43.1.0-alpha.5 → 43.1.0-alpha.7
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
|
+
(_0x5248a5=>{const {'zh-cn':{dictionary:_0x5affc2,getPluralForm:_0x2ea5f0}}={'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':_0x74e161=>0x0}};_0x5248a5['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x5248a5['zh-cn']['dictionary']=Object['assign'](_0x5248a5['zh-cn']['dictionary'],_0x5affc2),_0x5248a5['zh-cn']['getPluralForm']=_0x2ea5f0;})(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':_0x53abf1=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xfe3243=>{const {zh:{dictionary:_0x5c6e7a,getPluralForm:_0x588599}}={'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':_0x25e002=>0x0}};_0xfe3243['zh']||={'dictionary':{},'getPluralForm':null},_0xfe3243['zh']['dictionary']=Object['assign'](_0xfe3243['zh']['dictionary'],_0x5c6e7a),_0xfe3243['zh']['getPluralForm']=_0x588599;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "43.1.0-alpha.
|
|
3
|
+
"version": "43.1.0-alpha.7",
|
|
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.1.0-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.1.0-alpha.
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.1.0-alpha.
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.1.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.
|
|
51
|
-
"ckeditor5": "43.1.0-alpha.
|
|
52
|
-
"ckeditor5-collaboration": "43.1.0-alpha.
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.1.0-alpha.7",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.1.0-alpha.7",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.1.0-alpha.7",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.1.0-alpha.7",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.7",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.7",
|
|
51
|
+
"ckeditor5": "43.1.0-alpha.7",
|
|
52
|
+
"ckeditor5-collaboration": "43.1.0-alpha.7",
|
|
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(_0x316aff,_0x3e59d0,_0xd1bdde){const t=_0x316aff['t'];switch(_0x3e59d0){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'},_0xd1bdde);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3474b4,_0x4d99ed){var _0x1d48e4=_0x43a5,_0x119d2f=_0x3474b4();while(!![]){try{var _0x5372d0=parseInt(_0x1d48e4(0x1e7))/0x1*(-parseInt(_0x1d48e4(0x1e0))/0x2)+parseInt(_0x1d48e4(0x1e8))/0x3*(parseInt(_0x1d48e4(0x1e4))/0x4)+parseInt(_0x1d48e4(0x1dd))/0x5*(-parseInt(_0x1d48e4(0x1de))/0x6)+-parseInt(_0x1d48e4(0x1e3))/0x7*(-parseInt(_0x1d48e4(0x1e2))/0x8)+-parseInt(_0x1d48e4(0x1e6))/0x9*(-parseInt(_0x1d48e4(0x1df))/0xa)+parseInt(_0x1d48e4(0x1e1))/0xb+-parseInt(_0x1d48e4(0x1e5))/0xc;if(_0x5372d0===_0x4d99ed)break;else _0x119d2f['push'](_0x119d2f['shift']());}catch(_0x38c15c){_0x119d2f['push'](_0x119d2f['shift']());}}}(_0x4786,0x87ce6));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x43a5(_0x40638c,_0x350ee5){var _0x47861=_0x4786();return _0x43a5=function(_0x43a5cd,_0x30406e){_0x43a5cd=_0x43a5cd-0x1dd;var _0x149d8b=_0x47861[_0x43a5cd];return _0x149d8b;},_0x43a5(_0x40638c,_0x350ee5);}export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';function _0x4786(){var _0x1ff012=['15mYjWmX','1637598RHhOGY','1730AZhYur','675574SUvJfP','5728129rciuol','8sFYmCl','1414077QvYaWK','4rvkGJN','3621756kPLMUf','27585aoLekO','2cJpCgG','3298359ENWnyr'];_0x4786=function(){return _0x1ff012;};return _0x4786();}import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4786c6=_0x2b7f;(function(_0x23c567,_0x32d887){const _0x476f71=_0x2b7f,_0x3cc5ed=_0x23c567();while(!![]){try{const _0x516987=-parseInt(_0x476f71(0xb4))/0x1*(-parseInt(_0x476f71(0xff))/0x2)+parseInt(_0x476f71(0x113))/0x3+parseInt(_0x476f71(0xf7))/0x4+parseInt(_0x476f71(0xcf))/0x5*(-parseInt(_0x476f71(0xcd))/0x6)+parseInt(_0x476f71(0xc8))/0x7*(parseInt(_0x476f71(0xba))/0x8)+-parseInt(_0x476f71(0xd9))/0x9*(parseInt(_0x476f71(0xe5))/0xa)+parseInt(_0x476f71(0xce))/0xb;if(_0x516987===_0x32d887)break;else _0x3cc5ed['push'](_0x3cc5ed['shift']());}catch(_0x5d7d79){_0x3cc5ed['push'](_0x3cc5ed['shift']());}}}(_0xe98a,0x3bc0f));import{ContextPlugin as _0x4952c1}from'ckeditor5/src/core.js';function _0x2b7f(_0x3176fd,_0x8c39ed){const _0xe98a07=_0xe98a();return _0x2b7f=function(_0x2b7f4d,_0x2bb84d){_0x2b7f4d=_0x2b7f4d-0xb0;let _0x53190b=_0xe98a07[_0x2b7f4d];return _0x53190b;},_0x2b7f(_0x3176fd,_0x8c39ed);}import{CKEditorError as _0x59e365,Collection as _0x15550c}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2b9355,BalloonPanelView as _0x12a93c,BodyCollection as _0x290fd1}from'ckeditor5/src/ui.js';import{isElement as _0x1be163}from'lodash-es';import _0x35f4fd from'../realtimecollaborativeediting/sessions.js';import _0x1a5138 from'./view/presencelistview.js';import _0x206468 from'./view/presencedropdownlistview.js';import _0x5d6598 from'./view/presencedropdownlistitemview.js';function _0xe98a(){const _0x2e5da7=['filter','presenceList.displayMe','tabIndex','querySelectorAll','sort','execute','isExpanded','bind','map','317559gIxlBc','config','isRendered','isMe','isVisible','using','textarea','193gahHgY','from','items','body','destroy','ck\x20ck-presence-list__balloon','8evIsmg','_bodyCollection','define','[contenteditable]','requires','render','presenceList','presencelist-collapseat-invalid-format','focusTracker','_allConnectedUsers','isFocusable','button','showDropdown','offsetWidth','4599JcRjTC','attachToDom','select','_handleUserRemove','unpin','1230frNbag','2214663yjfhzY','2270KixXLJ','activeElement','counterView','indexOf','input','presenceList.collapseAt','inlineListView','number','listenTo','appendChild','4229325hGGLGB','checkIfScrollable','join','change:isFocused','class','usersCount','onClick','allConnectedUsers','keystrokes','element','Tab','Shift+Tab','10fWcHsY','focus','init','Esc','_handleUserAdd','pin','bindTo',':not([disabled]):not([tabindex=\x22-1\x22])','set','locale','get','length','presencelist-missing-container','view','offsetHeight','add','reverse','currentDisplayedUsers','298896RJoqge','isCollapsed','content','_createView','presenceList.container','Enter','hasTooltip','isHidden','4406spdBKp','detachFromDom','displayMe','remove','plugins','[tabindex]','context','presenceDropdownView','min','balloonPanelView','hideDropdown'];_0xe98a=function(){return _0x2e5da7;};return _0xe98a();}import _0x2b7cf1 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x4952c1{constructor(_0x13f183){const _0x4cfeda=_0x2b7f;super(_0x13f183),this[_0x4cfeda(0xbb)]=null,this[_0x4cfeda(0x105)][_0x4cfeda(0x114)][_0x4cfeda(0xbc)](_0x4cfeda(0xc0),A);const _0x895355=_0x13f183[_0x4cfeda(0x114)][_0x4cfeda(0xef)](_0x4cfeda(0xd4));if(_0x4cfeda(0xd6)!=typeof _0x895355)throw new _0x59e365(_0x4cfeda(0xc1),this);if(_0x895355<0x1)throw new _0x59e365(_0x4cfeda(0xc1),this);this[_0x4cfeda(0xc3)]=this[_0x4cfeda(0x105)][_0x4cfeda(0x103)][_0x4cfeda(0xef)](_0x35f4fd)[_0x4cfeda(0xe0)],this[_0x4cfeda(0xed)](_0x4cfeda(0xde),0x0),this[_0x4cfeda(0xf6)]=new _0x15550c(),this[_0x4cfeda(0x108)]=new _0x12a93c(),this[_0x4cfeda(0x108)][_0x4cfeda(0xdd)]=_0x4cfeda(0xb9),this[_0x4cfeda(0xf2)]=this[_0x4cfeda(0xfa)](),this[_0x4cfeda(0x106)]=void 0x0;}static get[_0x4786c6(0xbe)](){return[_0x35f4fd];}[_0x4786c6(0xe7)](){const _0x3c1abd=_0x4786c6;for(const _0x2b863f of this[_0x3c1abd(0xc3)])this[_0x3c1abd(0xe9)](_0x2b863f);this[_0x3c1abd(0xd7)](this[_0x3c1abd(0xc3)],_0x3c1abd(0xf4),(_0x199a1c,_0x22187d)=>{const _0x4db100=_0x3c1abd;this[_0x4db100(0xe9)](_0x22187d);}),this[_0x3c1abd(0xd7)](this[_0x3c1abd(0xc3)],_0x3c1abd(0x102),(_0x538a1a,_0xb900bb)=>{const _0x34adba=_0x3c1abd;this[_0x34adba(0xcb)](_0xb900bb);});}[_0x4786c6(0xfa)](){const _0x9a4d35=_0x4786c6,_0x4cd804=this[_0x9a4d35(0x105)],_0x579e3d=new _0x1a5138(this[_0x9a4d35(0x105)][_0x9a4d35(0xee)]),_0x120d60=this[_0x9a4d35(0x108)];if(!_0x1be163(_0x4cd804[_0x9a4d35(0x114)][_0x9a4d35(0xef)](_0x9a4d35(0xfb))))throw new _0x59e365(_0x9a4d35(0xf1),this);return _0x579e3d[_0x9a4d35(0xd1)][_0x9a4d35(0x111)](_0x9a4d35(0xde))['to'](this),_0x579e3d[_0x9a4d35(0x111)](_0x9a4d35(0xf8))['to'](this,_0x9a4d35(0xde),_0x300968=>{const _0xe3c3f3=_0x9a4d35,{collapseAt:_0x18cbef,displayMe:_0x3f2fa7}=_0x4cd804[_0xe3c3f3(0x114)][_0xe3c3f3(0xef)](_0xe3c3f3(0xc0)),_0x4953af=_0x300968>=_0x18cbef;return _0x579e3d[_0xe3c3f3(0xd1)][_0xe3c3f3(0xfe)]=!(0x1==_0x300968&&_0x3f2fa7||_0x4953af),_0x4953af||this[_0xe3c3f3(0x109)](),_0x4953af;}),_0x579e3d[_0x9a4d35(0xd5)][_0x9a4d35(0xb6)][_0x9a4d35(0xeb)](this[_0x9a4d35(0xf6)])[_0x9a4d35(0xb2)](_0x441d7b=>{const _0x3d74df=_0x9a4d35,_0x1b6431=_0x4cd804[_0x3d74df(0x114)][_0x3d74df(0xef)](_0x3d74df(0xc0)),_0xd6fc6b=new _0x2b7cf1(_0x4cd804[_0x3d74df(0xee)],_0x441d7b,!!_0x1b6431[_0x3d74df(0xdf)]);return _0xd6fc6b[_0x3d74df(0x111)](_0x3d74df(0xfd))['to'](_0x579e3d,_0x3d74df(0xf8),_0x2a3d8b=>!_0x2a3d8b),_0xd6fc6b[_0x3d74df(0x111)](_0x3d74df(0xc4))['to'](_0x579e3d,_0x3d74df(0xf8),_0xc799c=>!_0xc799c),_0x1b6431[_0x3d74df(0xdf)]&&this[_0x3d74df(0xd7)](_0xd6fc6b,_0x3d74df(0x10f),()=>{const _0x438141=_0x3d74df;this[_0x438141(0xf2)][_0x438141(0xf8)]||_0x1b6431[_0x438141(0xdf)](_0x441d7b,_0xd6fc6b[_0x438141(0xe2)]);}),_0xd6fc6b;}),this[_0x9a4d35(0xd7)](_0x579e3d[_0x9a4d35(0xd5)],_0x9a4d35(0x10f),()=>{const _0x49ea2d=_0x9a4d35;this[_0x49ea2d(0x106)]?this[_0x49ea2d(0x109)]():this[_0x49ea2d(0xf2)][_0x49ea2d(0xf8)]&&this[_0x49ea2d(0xc6)]();}),_0x579e3d[_0x9a4d35(0xd5)][_0x9a4d35(0xe1)][_0x9a4d35(0xed)](_0x9a4d35(0xfc),(_0x2cf0e0,_0x1213d4)=>{const _0x31947b=_0x9a4d35;this[_0x31947b(0xf2)][_0x31947b(0xf8)]&&(this[_0x31947b(0xc6)](),_0x1213d4());}),_0x579e3d[_0x9a4d35(0xbf)](),_0x120d60[_0x9a4d35(0xbf)](),_0x2b9355({'emitter':_0x579e3d,'activator':()=>_0x120d60[_0x9a4d35(0xb1)],'contextElements':[_0x120d60[_0x9a4d35(0xe2)],_0x579e3d[_0x9a4d35(0xd5)][_0x9a4d35(0xe2)]],'callback':()=>this[_0x9a4d35(0x109)]()}),_0x4cd804[_0x9a4d35(0x114)][_0x9a4d35(0xef)](_0x9a4d35(0xfb))[_0x9a4d35(0xd8)](_0x579e3d[_0x9a4d35(0xe2)]),this[_0x9a4d35(0xbb)]=new _0x290fd1(this[_0x9a4d35(0x105)][_0x9a4d35(0xee)]),this[_0x9a4d35(0xbb)][_0x9a4d35(0xc9)](),this[_0x9a4d35(0xbb)][_0x9a4d35(0xf4)](this[_0x9a4d35(0x108)]),_0x579e3d;}[_0x4786c6(0xe9)](_0x14c697){const _0x69cdba=_0x4786c6;if(!this[_0x69cdba(0x105)][_0x69cdba(0x114)][_0x69cdba(0xef)](_0x69cdba(0x10b))&&_0x14c697[_0x69cdba(0xb0)])return;const _0x109aea=this[_0x69cdba(0x105)][_0x69cdba(0x114)][_0x69cdba(0xef)](_0x69cdba(0xd4))-0x1;this[_0x69cdba(0xde)]++,this[_0x69cdba(0xf6)][_0x69cdba(0xf0)]==_0x109aea&&this[_0x69cdba(0xf6)][_0x69cdba(0xf0)]>0x1&&this[_0x69cdba(0xf6)][_0x69cdba(0x102)](0x1);const _0x80f602=_0x14c697[_0x69cdba(0xb0)]?0x0:this[_0x69cdba(0xf6)][_0x69cdba(0xf0)];this[_0x69cdba(0xf6)][_0x69cdba(0xf4)](_0x14c697,_0x80f602);}[_0x4786c6(0xcb)](_0x8c92e9){const _0x9eb5b7=_0x4786c6;if(this[_0x9eb5b7(0xde)]--,this[_0x9eb5b7(0xf6)][_0x9eb5b7(0xef)](_0x8c92e9['id'])&&(this[_0x9eb5b7(0xf6)][_0x9eb5b7(0x102)](_0x8c92e9['id']),this[_0x9eb5b7(0xf6)][_0x9eb5b7(0xf0)]<this[_0x9eb5b7(0xde)])){for(const _0x3de1c6 of Array[_0x9eb5b7(0xb5)](this[_0x9eb5b7(0xc3)])[_0x9eb5b7(0xf5)]())if(!this[_0x9eb5b7(0xf6)][_0x9eb5b7(0xef)](_0x3de1c6['id']))return void this[_0x9eb5b7(0xf6)][_0x9eb5b7(0xf4)](_0x3de1c6,Math[_0x9eb5b7(0x107)](this[_0x9eb5b7(0xf6)][_0x9eb5b7(0xf0)],0x1));}}[_0x4786c6(0xc6)](){const _0x267c05=_0x4786c6;if(this[_0x267c05(0x106)])return;const _0x2e3e0e=this[_0x267c05(0x105)][_0x267c05(0x114)][_0x267c05(0xef)](_0x267c05(0xc0));this[_0x267c05(0x106)]=new _0x206468(this[_0x267c05(0x105)][_0x267c05(0xee)],!!_0x2e3e0e[_0x267c05(0xdf)]),this[_0x267c05(0xf2)][_0x267c05(0xd5)][_0x267c05(0x110)]=!0x0;const {listWrapperView:_0x51baf5}=this[_0x267c05(0x106)];_0x51baf5[_0x267c05(0xb6)][_0x267c05(0xeb)](this[_0x267c05(0xc3)])[_0x267c05(0xb2)](_0x1d0c80=>{const _0x5a51fa=_0x267c05;if(!_0x2e3e0e[_0x5a51fa(0x101)]&&_0x1d0c80[_0x5a51fa(0xb0)])return null;const _0x553127=new _0x5d6598(this[_0x5a51fa(0x105)][_0x5a51fa(0xee)],_0x1d0c80,!!_0x2e3e0e[_0x5a51fa(0xdf)]);return _0x2e3e0e[_0x5a51fa(0xdf)]&&this[_0x5a51fa(0xd7)](_0x553127,_0x5a51fa(0x10f),()=>{const _0x1d97e5=_0x5a51fa;_0x2e3e0e[_0x1d97e5(0xdf)](_0x1d0c80,_0x553127[_0x1d97e5(0xe2)]);}),_0x553127;}),this[_0x267c05(0x108)][_0x267c05(0xf9)][_0x267c05(0xf4)](this[_0x267c05(0x106)]),this[_0x267c05(0x108)][_0x267c05(0xea)]({'target':this[_0x267c05(0xf2)][_0x267c05(0xd5)][_0x267c05(0xe2)]}),_0x51baf5[_0x267c05(0xe6)](),_0x51baf5[_0x267c05(0xda)]();const _0x5eca4f=(_0x23c038,_0x543dc8)=>{const _0x12b726=_0x267c05;this[_0x12b726(0x109)](),this[_0x12b726(0xf2)][_0x12b726(0xd5)][_0x12b726(0xe6)](),_0x543dc8();};_0x51baf5[_0x267c05(0xe1)][_0x267c05(0xed)](_0x267c05(0xe8),_0x5eca4f),_0x51baf5[_0x267c05(0xe1)][_0x267c05(0xed)](_0x267c05(0xe4),_0x5eca4f),_0x51baf5[_0x267c05(0xe1)][_0x267c05(0xed)](_0x267c05(0xe3),(_0x4963ca,_0x21947e)=>{const _0x293322=_0x267c05;!function(_0x370d0e){const _0x452d7d=_0x2b7f,_0x572665=['a',_0x452d7d(0xc5),_0x452d7d(0xd3),_0x452d7d(0xca),_0x452d7d(0xb3),_0x452d7d(0x104),_0x452d7d(0xbd)][_0x452d7d(0x112)](_0x48650a=>_0x48650a+_0x452d7d(0xec))[_0x452d7d(0xdb)](','),_0x1d064e=[...document[_0x452d7d(0xb7)][_0x452d7d(0x10d)](_0x572665)][_0x452d7d(0x10a)](_0x39cc10=>_0x39cc10===document[_0x452d7d(0xd0)]||_0x39cc10[_0x452d7d(0xc7)]+_0x39cc10[_0x452d7d(0xf3)]>0x0)[_0x452d7d(0x10e)]((_0x34f92c,_0x1728d4)=>(_0x34f92c[_0x452d7d(0x10c)]||0x0)-(_0x1728d4[_0x452d7d(0x10c)]||0x0)),_0x7f4601=_0x1d064e[_0x452d7d(0xd2)](_0x370d0e),_0x7050bc=_0x1d064e[(_0x7f4601+0x1)%_0x1d064e[_0x452d7d(0xf0)]];_0x7050bc&&_0x7050bc[_0x452d7d(0xe6)]();}(this[_0x293322(0xf2)][_0x293322(0xe2)]),this[_0x293322(0x109)](),_0x21947e();}),_0x51baf5[_0x267c05(0xc2)][_0x267c05(0xf4)](this[_0x267c05(0xf2)][_0x267c05(0xe2)]),_0x51baf5[_0x267c05(0xc2)]['on'](_0x267c05(0xdc),(_0x39ef22,_0x53c390,_0x598239)=>{const _0x4f6314=_0x267c05;_0x598239||this[_0x4f6314(0x109)]();});}[_0x4786c6(0x109)](){const _0x58fb79=_0x4786c6;this[_0x58fb79(0x106)]&&(this[_0x58fb79(0xf2)][_0x58fb79(0xd5)][_0x58fb79(0x110)]=!0x1,this[_0x58fb79(0x108)][_0x58fb79(0xcc)](),this[_0x58fb79(0x108)][_0x58fb79(0xf9)][_0x58fb79(0x102)](this[_0x58fb79(0x106)]),this[_0x58fb79(0x106)][_0x58fb79(0xb8)](),this[_0x58fb79(0x106)]=void 0x0);}[_0x4786c6(0xb8)](){const _0x38ec56=_0x4786c6;super[_0x38ec56(0xb8)](),this[_0x38ec56(0xf2)]&&this[_0x38ec56(0xf2)][_0x38ec56(0x115)]&&this[_0x38ec56(0xf2)][_0x38ec56(0xb8)](),this[_0x38ec56(0xbb)]&&(this[_0x38ec56(0xbb)][_0x38ec56(0x100)](),this[_0x38ec56(0xbb)][_0x38ec56(0xb8)](),this[_0x38ec56(0xbb)]=null);}}
|
|
23
|
+
const _0x4f2fd7=_0x510a;(function(_0x3b528d,_0x1bb113){const _0x1099b4=_0x510a,_0xdf788f=_0x3b528d();while(!![]){try{const _0x18c7a0=-parseInt(_0x1099b4(0x15b))/0x1+-parseInt(_0x1099b4(0x116))/0x2*(parseInt(_0x1099b4(0x159))/0x3)+-parseInt(_0x1099b4(0x160))/0x4*(-parseInt(_0x1099b4(0x120))/0x5)+-parseInt(_0x1099b4(0x145))/0x6*(-parseInt(_0x1099b4(0x102))/0x7)+parseInt(_0x1099b4(0x14e))/0x8+parseInt(_0x1099b4(0x12e))/0x9*(-parseInt(_0x1099b4(0x144))/0xa)+parseInt(_0x1099b4(0x113))/0xb;if(_0x18c7a0===_0x1bb113)break;else _0xdf788f['push'](_0xdf788f['shift']());}catch(_0x2a4b43){_0xdf788f['push'](_0xdf788f['shift']());}}}(_0x5595,0x3f732));import{ContextPlugin as _0x431367}from'ckeditor5/src/core.js';import{CKEditorError as _0x304f99,Collection as _0x22c200}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x18d218,BalloonPanelView as _0x365abd,BodyCollection as _0x4c0102}from'ckeditor5/src/ui.js';import{isElement as _0x5840eb}from'lodash-es';import _0x269a66 from'../realtimecollaborativeediting/sessions.js';function _0x510a(_0x128ae5,_0x550bb9){const _0x5595e5=_0x5595();return _0x510a=function(_0x510adc,_0x2752f6){_0x510adc=_0x510adc-0xfc;let _0x42bc56=_0x5595e5[_0x510adc];return _0x42bc56;},_0x510a(_0x128ae5,_0x550bb9);}import _0xd537a from'./view/presencelistview.js';import _0x5d320c from'./view/presencedropdownlistview.js';import _0x4103eb from'./view/presencedropdownlistitemview.js';import _0x1c919e from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x431367{constructor(_0x20c524){const _0x209a3a=_0x510a;super(_0x20c524),this[_0x209a3a(0x13a)]=null,this[_0x209a3a(0x155)][_0x209a3a(0x118)][_0x209a3a(0x146)](_0x209a3a(0x136),A);const _0x5f5c25=_0x20c524[_0x209a3a(0x118)][_0x209a3a(0x12c)](_0x209a3a(0x14f));if(_0x209a3a(0x127)!=typeof _0x5f5c25)throw new _0x304f99(_0x209a3a(0x12a),this);if(_0x5f5c25<0x1)throw new _0x304f99(_0x209a3a(0x12a),this);this[_0x209a3a(0x15f)]=this[_0x209a3a(0x155)][_0x209a3a(0x11c)][_0x209a3a(0x12c)](_0x269a66)[_0x209a3a(0x143)],this[_0x209a3a(0x132)](_0x209a3a(0x15e),0x0),this[_0x209a3a(0x106)]=new _0x22c200(),this[_0x209a3a(0x115)]=new _0x365abd(),this[_0x209a3a(0x115)][_0x209a3a(0x161)]=_0x209a3a(0x111),this[_0x209a3a(0x10f)]=this[_0x209a3a(0x123)](),this[_0x209a3a(0x12b)]=void 0x0;}static get[_0x4f2fd7(0x10e)](){return[_0x269a66];}[_0x4f2fd7(0x138)](){const _0x34841f=_0x4f2fd7;for(const _0x4663bc of this[_0x34841f(0x15f)])this[_0x34841f(0x152)](_0x4663bc);this[_0x34841f(0x107)](this[_0x34841f(0x15f)],_0x34841f(0x10a),(_0x652f32,_0x33032a)=>{const _0x530abd=_0x34841f;this[_0x530abd(0x152)](_0x33032a);}),this[_0x34841f(0x107)](this[_0x34841f(0x15f)],_0x34841f(0x109),(_0x569f65,_0x5515dd)=>{const _0x185afc=_0x34841f;this[_0x185afc(0x105)](_0x5515dd);});}[_0x4f2fd7(0x123)](){const _0x26bfc7=_0x4f2fd7,_0xa3e3a9=this[_0x26bfc7(0x155)],_0x3313f2=new _0xd537a(this[_0x26bfc7(0x155)][_0x26bfc7(0x10b)]),_0x581a10=this[_0x26bfc7(0x115)];if(!_0x5840eb(_0xa3e3a9[_0x26bfc7(0x118)][_0x26bfc7(0x12c)](_0x26bfc7(0x112))))throw new _0x304f99(_0x26bfc7(0x12f),this);return _0x3313f2[_0x26bfc7(0x125)][_0x26bfc7(0x135)](_0x26bfc7(0x15e))['to'](this),_0x3313f2[_0x26bfc7(0x135)](_0x26bfc7(0x110))['to'](this,_0x26bfc7(0x15e),_0x3e44c9=>{const _0x122c5c=_0x26bfc7,{collapseAt:_0x20e08b,displayMe:_0x483488}=_0xa3e3a9[_0x122c5c(0x118)][_0x122c5c(0x12c)](_0x122c5c(0x136)),_0x1012de=_0x3e44c9>=_0x20e08b;return _0x3313f2[_0x122c5c(0x125)][_0x122c5c(0xfe)]=!(0x1==_0x3e44c9&&_0x483488||_0x1012de),_0x1012de||this[_0x122c5c(0xfd)](),_0x1012de;}),_0x3313f2[_0x26bfc7(0x122)][_0x26bfc7(0x156)][_0x26bfc7(0x10c)](this[_0x26bfc7(0x106)])[_0x26bfc7(0x11a)](_0x307ca0=>{const _0x5a7277=_0x26bfc7,_0x53964d=_0xa3e3a9[_0x5a7277(0x118)][_0x5a7277(0x12c)](_0x5a7277(0x136)),_0x241f07=new _0x1c919e(_0xa3e3a9[_0x5a7277(0x10b)],_0x307ca0,!!_0x53964d[_0x5a7277(0x126)]);return _0x241f07[_0x5a7277(0x135)](_0x5a7277(0x121))['to'](_0x3313f2,_0x5a7277(0x110),_0x50002b=>!_0x50002b),_0x241f07[_0x5a7277(0x135)](_0x5a7277(0x153))['to'](_0x3313f2,_0x5a7277(0x110),_0xddf380=>!_0xddf380),_0x53964d[_0x5a7277(0x126)]&&this[_0x5a7277(0x107)](_0x241f07,_0x5a7277(0x117),()=>{const _0x509301=_0x5a7277;this[_0x509301(0x10f)][_0x509301(0x110)]||_0x53964d[_0x509301(0x126)](_0x307ca0,_0x241f07[_0x509301(0x140)]);}),_0x241f07;}),this[_0x26bfc7(0x107)](_0x3313f2[_0x26bfc7(0x122)],_0x26bfc7(0x117),()=>{const _0x1dbd49=_0x26bfc7;this[_0x1dbd49(0x12b)]?this[_0x1dbd49(0xfd)]():this[_0x1dbd49(0x10f)][_0x1dbd49(0x110)]&&this[_0x1dbd49(0x14b)]();}),_0x3313f2[_0x26bfc7(0x122)][_0x26bfc7(0x147)][_0x26bfc7(0x132)](_0x26bfc7(0xff),(_0x20411d,_0x4f61bf)=>{const _0x25529b=_0x26bfc7;this[_0x25529b(0x10f)][_0x25529b(0x110)]&&(this[_0x25529b(0x14b)](),_0x4f61bf());}),_0x3313f2[_0x26bfc7(0x134)](),_0x581a10[_0x26bfc7(0x134)](),_0x18d218({'emitter':_0x3313f2,'activator':()=>_0x581a10[_0x26bfc7(0x11f)],'contextElements':[_0x581a10[_0x26bfc7(0x140)],_0x3313f2[_0x26bfc7(0x122)][_0x26bfc7(0x140)]],'callback':()=>this[_0x26bfc7(0xfd)]()}),_0xa3e3a9[_0x26bfc7(0x118)][_0x26bfc7(0x12c)](_0x26bfc7(0x112))[_0x26bfc7(0x130)](_0x3313f2[_0x26bfc7(0x140)]),this[_0x26bfc7(0x13a)]=new _0x4c0102(this[_0x26bfc7(0x155)][_0x26bfc7(0x10b)]),this[_0x26bfc7(0x13a)][_0x26bfc7(0x114)](),this[_0x26bfc7(0x13a)][_0x26bfc7(0x10a)](this[_0x26bfc7(0x115)]),_0x3313f2;}[_0x4f2fd7(0x152)](_0x3f5071){const _0x17edd2=_0x4f2fd7;if(!this[_0x17edd2(0x155)][_0x17edd2(0x118)][_0x17edd2(0x12c)](_0x17edd2(0x154))&&_0x3f5071[_0x17edd2(0x13f)])return;const _0x19eb57=this[_0x17edd2(0x155)][_0x17edd2(0x118)][_0x17edd2(0x12c)](_0x17edd2(0x14f))-0x1;this[_0x17edd2(0x15e)]++,this[_0x17edd2(0x106)][_0x17edd2(0x148)]==_0x19eb57&&this[_0x17edd2(0x106)][_0x17edd2(0x148)]>0x1&&this[_0x17edd2(0x106)][_0x17edd2(0x109)](0x1);const _0x173d4d=_0x3f5071[_0x17edd2(0x13f)]?0x0:this[_0x17edd2(0x106)][_0x17edd2(0x148)];this[_0x17edd2(0x106)][_0x17edd2(0x10a)](_0x3f5071,_0x173d4d);}[_0x4f2fd7(0x105)](_0x149c98){const _0x7fb8e7=_0x4f2fd7;if(this[_0x7fb8e7(0x15e)]--,this[_0x7fb8e7(0x106)][_0x7fb8e7(0x12c)](_0x149c98['id'])&&(this[_0x7fb8e7(0x106)][_0x7fb8e7(0x109)](_0x149c98['id']),this[_0x7fb8e7(0x106)][_0x7fb8e7(0x148)]<this[_0x7fb8e7(0x15e)])){for(const _0x16317a of Array[_0x7fb8e7(0x13e)](this[_0x7fb8e7(0x15f)])[_0x7fb8e7(0x14a)]())if(!this[_0x7fb8e7(0x106)][_0x7fb8e7(0x12c)](_0x16317a['id']))return void this[_0x7fb8e7(0x106)][_0x7fb8e7(0x10a)](_0x16317a,Math[_0x7fb8e7(0x11e)](this[_0x7fb8e7(0x106)][_0x7fb8e7(0x148)],0x1));}}[_0x4f2fd7(0x14b)](){const _0x43b06e=_0x4f2fd7;if(this[_0x43b06e(0x12b)])return;const _0x4c862f=this[_0x43b06e(0x155)][_0x43b06e(0x118)][_0x43b06e(0x12c)](_0x43b06e(0x136));this[_0x43b06e(0x12b)]=new _0x5d320c(this[_0x43b06e(0x155)][_0x43b06e(0x10b)],!!_0x4c862f[_0x43b06e(0x126)]),this[_0x43b06e(0x10f)][_0x43b06e(0x122)][_0x43b06e(0x13b)]=!0x0;const {listWrapperView:_0x18e970}=this[_0x43b06e(0x12b)];_0x18e970[_0x43b06e(0x156)][_0x43b06e(0x10c)](this[_0x43b06e(0x15f)])[_0x43b06e(0x11a)](_0xd5cd4b=>{const _0xed99d3=_0x43b06e;if(!_0x4c862f[_0xed99d3(0x11d)]&&_0xd5cd4b[_0xed99d3(0x13f)])return null;const _0x3ea4b4=new _0x4103eb(this[_0xed99d3(0x155)][_0xed99d3(0x10b)],_0xd5cd4b,!!_0x4c862f[_0xed99d3(0x126)]);return _0x4c862f[_0xed99d3(0x126)]&&this[_0xed99d3(0x107)](_0x3ea4b4,_0xed99d3(0x117),()=>{const _0x294e44=_0xed99d3;_0x4c862f[_0x294e44(0x126)](_0xd5cd4b,_0x3ea4b4[_0x294e44(0x140)]);}),_0x3ea4b4;}),this[_0x43b06e(0x115)][_0x43b06e(0x103)][_0x43b06e(0x10a)](this[_0x43b06e(0x12b)]),this[_0x43b06e(0x115)][_0x43b06e(0x11b)]({'target':this[_0x43b06e(0x10f)][_0x43b06e(0x122)][_0x43b06e(0x140)]}),_0x18e970[_0x43b06e(0xfc)](),_0x18e970[_0x43b06e(0x128)]();const _0x500955=(_0x3f0d2d,_0x2bd80b)=>{const _0x1857fb=_0x43b06e;this[_0x1857fb(0xfd)](),this[_0x1857fb(0x10f)][_0x1857fb(0x122)][_0x1857fb(0xfc)](),_0x2bd80b();};_0x18e970[_0x43b06e(0x147)][_0x43b06e(0x132)](_0x43b06e(0x149),_0x500955),_0x18e970[_0x43b06e(0x147)][_0x43b06e(0x132)](_0x43b06e(0x157),_0x500955),_0x18e970[_0x43b06e(0x147)][_0x43b06e(0x132)](_0x43b06e(0x142),(_0x1696a8,_0x8a551d)=>{const _0x3c508a=_0x43b06e;!function(_0x3c0bf3){const _0x15b917=_0x510a,_0x38b5cb=['a',_0x15b917(0x129),_0x15b917(0x108),_0x15b917(0x119),_0x15b917(0x14c),_0x15b917(0x12d),_0x15b917(0x124)][_0x15b917(0x137)](_0x546edd=>_0x546edd+_0x15b917(0x13c))[_0x15b917(0x139)](','),_0x53bf63=[...document[_0x15b917(0x13d)][_0x15b917(0x133)](_0x38b5cb)][_0x15b917(0x101)](_0x589f73=>_0x589f73===document[_0x15b917(0x15a)]||_0x589f73[_0x15b917(0x104)]+_0x589f73[_0x15b917(0x10d)]>0x0)[_0x15b917(0x14d)]((_0x3abbe7,_0x3c69fe)=>(_0x3abbe7[_0x15b917(0x100)]||0x0)-(_0x3c69fe[_0x15b917(0x100)]||0x0)),_0x55b85a=_0x53bf63[_0x15b917(0x15c)](_0x3c0bf3),_0x2052f0=_0x53bf63[(_0x55b85a+0x1)%_0x53bf63[_0x15b917(0x148)]];_0x2052f0&&_0x2052f0[_0x15b917(0xfc)]();}(this[_0x3c508a(0x10f)][_0x3c508a(0x140)]),this[_0x3c508a(0xfd)](),_0x8a551d();}),_0x18e970[_0x43b06e(0x150)][_0x43b06e(0x10a)](this[_0x43b06e(0x10f)][_0x43b06e(0x140)]),_0x18e970[_0x43b06e(0x150)]['on'](_0x43b06e(0x131),(_0x19b5a0,_0x440f3f,_0x33210b)=>{const _0x31b304=_0x43b06e;_0x33210b||this[_0x31b304(0xfd)]();});}[_0x4f2fd7(0xfd)](){const _0x238d7f=_0x4f2fd7;this[_0x238d7f(0x12b)]&&(this[_0x238d7f(0x10f)][_0x238d7f(0x122)][_0x238d7f(0x13b)]=!0x1,this[_0x238d7f(0x115)][_0x238d7f(0x141)](),this[_0x238d7f(0x115)][_0x238d7f(0x103)][_0x238d7f(0x109)](this[_0x238d7f(0x12b)]),this[_0x238d7f(0x12b)][_0x238d7f(0x15d)](),this[_0x238d7f(0x12b)]=void 0x0);}[_0x4f2fd7(0x15d)](){const _0x3fe2f6=_0x4f2fd7;super[_0x3fe2f6(0x15d)](),this[_0x3fe2f6(0x10f)]&&this[_0x3fe2f6(0x10f)][_0x3fe2f6(0x158)]&&this[_0x3fe2f6(0x10f)][_0x3fe2f6(0x15d)](),this[_0x3fe2f6(0x13a)]&&(this[_0x3fe2f6(0x13a)][_0x3fe2f6(0x151)](),this[_0x3fe2f6(0x13a)][_0x3fe2f6(0x15d)](),this[_0x3fe2f6(0x13a)]=null);}}function _0x5595(){const _0x2faa9e=['map','init','join','_bodyCollection','isExpanded',':not([disabled]):not([tabindex=\x22-1\x22])','body','from','isMe','element','unpin','Tab','allConnectedUsers','1113430pepwBP','2075142MwdcmP','define','keystrokes','length','Esc','reverse','showDropdown','textarea','sort','1981384fFFyJp','presenceList.collapseAt','focusTracker','detachFromDom','_handleUserAdd','isFocusable','presenceList.displayMe','context','items','Shift+Tab','isRendered','39quihle','activeElement','371018atOsFM','indexOf','destroy','usersCount','_allConnectedUsers','23496sQCxuE','class','focus','hideDropdown','isHidden','Enter','tabIndex','filter','7KiZVDb','content','offsetWidth','_handleUserRemove','currentDisplayedUsers','listenTo','input','remove','add','locale','bindTo','offsetHeight','requires','view','isCollapsed','ck\x20ck-presence-list__balloon','presenceList.container','1000604WodVVi','attachToDom','balloonPanelView','27262IdWWzI','execute','config','select','using','pin','plugins','displayMe','min','isVisible','200gEnnfk','hasTooltip','inlineListView','_createView','[contenteditable]','counterView','onClick','number','checkIfScrollable','button','presencelist-collapseat-invalid-format','presenceDropdownView','get','[tabindex]','9wZrxAt','presencelist-missing-container','appendChild','change:isFocused','set','querySelectorAll','render','bind','presenceList'];_0x5595=function(){return _0x2faa9e;};return _0x5595();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3905(){const _0x5a2ade=['1027552zVRVqk','ck-presence-list__counter--hidden','div','3829905wzvTQY','setTemplate','5FrFSJE','734247bVELtl','466513LErqDE','2573298WqznEm','CONNECTED_USERS','2YZrDMO','set','bindTemplate','isHidden','ck-presence-list__counter','739680UjZfrT','usersCount','655024UEPkcW'];_0x3905=function(){return _0x5a2ade;};return _0x3905();}(function(_0x5bb1f2,_0x41efa8){const _0x2b421c=_0x177b,_0x144ea5=_0x5bb1f2();while(!![]){try{const _0x5d54ba=-parseInt(_0x2b421c(0x76))/0x1*(-parseInt(_0x2b421c(0x79))/0x2)+parseInt(_0x2b421c(0x75))/0x3+-parseInt(_0x2b421c(0x80))/0x4*(parseInt(_0x2b421c(0x74))/0x5)+-parseInt(_0x2b421c(0x7e))/0x6+parseInt(_0x2b421c(0x77))/0x7+-parseInt(_0x2b421c(0x6f))/0x8+-parseInt(_0x2b421c(0x72))/0x9;if(_0x5d54ba===_0x41efa8)break;else _0x144ea5['push'](_0x144ea5['shift']());}catch(_0x4ae733){_0x144ea5['push'](_0x144ea5['shift']());}}}(_0x3905,0x3a11b));import{View as _0x57f4bf}from'ckeditor5/src/ui.js';import{getTranslation as _0x5673d2}from'../../common-translations.js';function _0x177b(_0x5b2aa3,_0x40ec18){const _0x3905e4=_0x3905();return _0x177b=function(_0x177b7a,_0x3fa6dc){_0x177b7a=_0x177b7a-0x6f;let _0x5e9c1f=_0x3905e4[_0x177b7a];return _0x5e9c1f;},_0x177b(_0x5b2aa3,_0x40ec18);}export default class ts extends _0x57f4bf{constructor(_0x1adfcf){const _0x1cb670=_0x177b;super(_0x1adfcf);const _0x5c9ebe=this[_0x1cb670(0x7b)];this[_0x1cb670(0x7a)](_0x1cb670(0x7f),0x0),this[_0x1cb670(0x7a)](_0x1cb670(0x7c),!0x0),this[_0x1cb670(0x73)]({'tag':_0x1cb670(0x71),'attributes':{'class':['ck',_0x1cb670(0x7d),_0x5c9ebe['if'](_0x1cb670(0x7c),_0x1cb670(0x70))]},'children':[{'text':_0x5c9ebe['to'](_0x1cb670(0x7f),_0x5cdc5e=>_0x5673d2(_0x1adfcf,_0x1cb670(0x78),_0x5cdc5e))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2bfdb2=_0x4391;function _0x4391(_0x46331d,_0x19a1bf){const _0x45d4ad=_0x45d4();return _0x4391=function(_0x4391f4,_0x1317ea){_0x4391f4=_0x4391f4-0x111;let _0x5c862c=_0x45d4ad[_0x4391f4];return _0x5c862c;},_0x4391(_0x46331d,_0x19a1bf);}(function(_0x3aaa04,_0x1a8983){const _0x3df902=_0x4391,_0x42963a=_0x3aaa04();while(!![]){try{const _0x54cddf=-parseInt(_0x3df902(0x122))/0x1*(-parseInt(_0x3df902(0x115))/0x2)+parseInt(_0x3df902(0x118))/0x3+parseInt(_0x3df902(0x11e))/0x4+parseInt(_0x3df902(0x12c))/0x5*(parseInt(_0x3df902(0x113))/0x6)+-parseInt(_0x3df902(0x124))/0x7*(parseInt(_0x3df902(0x11f))/0x8)+parseInt(_0x3df902(0x11d))/0x9+-parseInt(_0x3df902(0x11a))/0xa;if(_0x54cddf===_0x1a8983)break;else _0x42963a['push'](_0x42963a['shift']());}catch(_0x4c2ee9){_0x42963a['push'](_0x42963a['shift']());}}}(_0x45d4,0xd56d0));import{ListItemView as _0x100eab}from'ckeditor5/src/ui.js';import{UserView as _0x495c02}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x100eab{constructor(_0x520296,_0x4bf420,_0xb8c8ea){const _0x12877a=_0x4391;super(_0x520296);const _0x18754a=this[_0x12877a(0x125)];this[_0x12877a(0x12b)]=new _0x495c02(_0x520296,_0x4bf420);const _0x144921={'tag':'li','attributes':{'class':['ck',_0x12877a(0x111)],'tabindex':-0x1,'role':_0x12877a(0x11b),'aria-label':_0x4bf420[_0x12877a(0x119)]},'children':[this[_0x12877a(0x12b)],{'tag':_0x12877a(0x12a),'attributes':{'class':['ck',_0x12877a(0x117)]},'children':[{'text':_0x4bf420[_0x12877a(0x119)]}]},{'tag':_0x12877a(0x12a),'attributes':{'class':['ck',_0x12877a(0x114),_0x4bf420[_0x12877a(0x120)][_0x12877a(0x116)]()],'aria-hidden':_0x12877a(0x128)}}]};_0xb8c8ea&&(_0x144921[_0x12877a(0x112)]=_0x12877a(0x127),_0x144921['on']={'click':_0x18754a['to'](()=>this[_0x12877a(0x129)](_0x12877a(0x126)))}),this[_0x12877a(0x123)](_0x144921);}[_0x2bfdb2(0x121)](){const _0x5a293b=_0x2bfdb2;this[_0x5a293b(0x11c)][_0x5a293b(0x121)]();}}function _0x45d4(){const _0x486f5c=['1365217VcnOJc','bindTemplate','execute','button','true','fire','span','userView','651745NyvDWv','ck-presence-list__dropdown-list-item','tag','54HwIwrf','ck-presence-list__marker','39094zjJLoV','getBackgroundColorClass','ck-user__full-name','4680324sJFviT','name','35000870HPhKRx','presentation','element','8563176TPeKyX','4860560BmqMti','40IcbPNP','color','focus','23XEdrzc','setTemplate'];_0x45d4=function(){return _0x486f5c;};return _0x45d4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5d5e73=_0x3ee5;(function(_0x183d23,_0xe983b6){const _0xf2c7e1=_0x3ee5,_0x1ac12d=_0x183d23();while(!![]){try{const _0x3d8d88=parseInt(_0xf2c7e1(0xa4))/0x1+-parseInt(_0xf2c7e1(0xa1))/0x2+-parseInt(_0xf2c7e1(0xa2))/0x3*(parseInt(_0xf2c7e1(0xbf))/0x4)+-parseInt(_0xf2c7e1(0xc3))/0x5+-parseInt(_0xf2c7e1(0xb5))/0x6*(parseInt(_0xf2c7e1(0xbd))/0x7)+parseInt(_0xf2c7e1(0xc1))/0x8*(parseInt(_0xf2c7e1(0xb8))/0x9)+parseInt(_0xf2c7e1(0xb9))/0xa;if(_0x3d8d88===_0xe983b6)break;else _0x1ac12d['push'](_0x1ac12d['shift']());}catch(_0x4d7f30){_0x1ac12d['push'](_0x1ac12d['shift']());}}}(_0x1dc1,0xcfe64));import{ListView as _0x3d0386,View as _0x1af66c}from'ckeditor5/src/ui.js';import{global as _0x285375}from'ckeditor5/src/utils.js';import{getTranslation as _0x3492b5}from'../../common-translations.js';function _0x3ee5(_0x542a43,_0x506633){const _0x1dc1b8=_0x1dc1();return _0x3ee5=function(_0x3ee5c5,_0x436726){_0x3ee5c5=_0x3ee5c5-0x9e;let _0x5d2daa=_0x1dc1b8[_0x3ee5c5];return _0x5d2daa;},_0x3ee5(_0x542a43,_0x506633);}export default class j extends _0x1af66c{constructor(_0x49bba1,_0x14e510){const _0x159a61=_0x3ee5;super(_0x49bba1),this[_0x159a61(0xbb)]=new PresenceDropdownListWrapperView(_0x49bba1,_0x14e510),this[_0x159a61(0xa0)]({'tag':_0x159a61(0xa7),'attributes':{'tabindex':-0x1,'role':_0x159a61(0xba),'class':['ck',_0x159a61(0xb7)],'aria-label':_0x3492b5(_0x49bba1,_0x159a61(0xb3))},'children':[this[_0x159a61(0xbb)]]});}}function _0x1dc1(){const _0x3daf27=['set','div','change','ck-reset','resize','listenTo','ariaLabel','clientHeight','scrollHeight','max','ck-presence-list__dropdown-list-wrapper_scrollable','innerHeight','role','Connected\x20users\x20list\x20dropdown\x20menu','_isScrollable','2634EzfTGx','render','ck-presence-list__dropdown-list','369zELgSO','38549560uzubKH','application','listWrapperView','ck-list','14CHjAnI','ariaLabelledBy','1324084lYVfdk','ck-presence-list__dropdown-list-wrapper','35608asNXKO','window','3280235lazfdo','element','bindTemplate','setTemplate','3237578kFlaIs','9ZWNbwm','checkIfScrollable','82886BuKxUy','items'];_0x1dc1=function(){return _0x3daf27;};return _0x1dc1();}export class PresenceDropdownListWrapperView extends _0x3d0386{constructor(_0x5916d8,_0x538076){const _0x1a43e4=_0x3ee5;super(_0x5916d8);const _0xdb6c0c=this[_0x1a43e4(0x9f)];this[_0x1a43e4(0xa6)](_0x1a43e4(0xb4),!0x1),this[_0x1a43e4(0xa0)]({'tag':_0x538076?_0x1a43e4(0xa7):'ul','attributes':{'class':['ck',_0x1a43e4(0xa9),_0x1a43e4(0xbc),_0x1a43e4(0xc0),_0xdb6c0c['if'](_0x1a43e4(0xb4),_0x1a43e4(0xb0))],'role':_0xdb6c0c['to'](_0x1a43e4(0xb2)),'aria-label':_0xdb6c0c['to'](_0x1a43e4(0xac)),'aria-labelledby':_0xdb6c0c['to'](_0x1a43e4(0xbe))},'children':this[_0x1a43e4(0xa5)]}),this[_0x1a43e4(0xab)](_0x285375[_0x1a43e4(0xc2)],_0x1a43e4(0xaa),()=>this[_0x1a43e4(0xa3)]()),this[_0x1a43e4(0xa5)]['on'](_0x1a43e4(0xa8),()=>this[_0x1a43e4(0xa3)]());}[_0x5d5e73(0xb6)](){const _0x31093e=_0x5d5e73;super[_0x31093e(0xb6)](),this[_0x31093e(0xa3)]();}[_0x5d5e73(0xa3)](){const _0x423518=_0x5d5e73,_0x2f8715=this[_0x423518(0x9e)];_0x2f8715&&(this[_0x423518(0xb4)]=Math[_0x423518(0xaf)](_0x2f8715[_0x423518(0xae)],_0x2f8715[_0x423518(0xad)])>0.8*window[_0x423518(0xb1)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xc268(_0x465bb8,_0x4440d4){const _0xd2faf=_0xd2fa();return _0xc268=function(_0xc268cd,_0x545414){_0xc268cd=_0xc268cd-0x109;let _0x450f56=_0xd2faf[_0xc268cd];return _0x450f56;},_0xc268(_0x465bb8,_0x4440d4);}(function(_0x12f673,_0x218459){const _0x215d3b=_0xc268,_0x5f4575=_0x12f673();while(!![]){try{const _0x313c70=parseInt(_0x215d3b(0x10a))/0x1+parseInt(_0x215d3b(0x119))/0x2+parseInt(_0x215d3b(0x116))/0x3*(-parseInt(_0x215d3b(0x109))/0x4)+-parseInt(_0x215d3b(0x123))/0x5*(parseInt(_0x215d3b(0x114))/0x6)+parseInt(_0x215d3b(0x126))/0x7*(parseInt(_0x215d3b(0x113))/0x8)+-parseInt(_0x215d3b(0x11c))/0x9*(parseInt(_0x215d3b(0x11a))/0xa)+parseInt(_0x215d3b(0x11b))/0xb*(-parseInt(_0x215d3b(0x10e))/0xc);if(_0x313c70===_0x218459)break;else _0x5f4575['push'](_0x5f4575['shift']());}catch(_0x41a909){_0x5f4575['push'](_0x5f4575['shift']());}}}(_0xd2fa,0x6e162));import{LabelView as _0x81788a,View as _0x2da211}from'ckeditor5/src/ui.js';function _0xd2fa(){const _0x38c8f4=['280NiCjyF','145866DTijCD','listitem','809085pDNGdr','true','color','1299076trOYjq','835340UMozPE','11HRyGqT','9sKQOJr','bindTemplate','setTemplate','fire','template','userView','isFocusable','95SnjzOX','execute','button','21770JNKDse','hasTooltip','ck-presence-list__marker','ck-presence-list__list-item__tooltip','span','text','markerView','4oLPkRY','895653SPksAx','name','tag','set','4655868VJEHUC','getBackgroundColorClass','div','tooltipPosition','ck-presence-list__list-item'];_0xd2fa=function(){return _0x38c8f4;};return _0xd2fa();}import{UserView as _0x17e972}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x2da211{constructor(_0x29a7f0,_0x46e72a,_0x19e5c6){const _0x283b5a=_0xc268;super(_0x29a7f0);const _0x2a9e9e=this[_0x283b5a(0x11d)];this[_0x283b5a(0x10d)](_0x283b5a(0x122),!0x1),this[_0x283b5a(0x10d)](_0x283b5a(0x127),!0x0),this[_0x283b5a(0x10d)](_0x283b5a(0x111),''),this[_0x283b5a(0x121)]=new _0x17e972(_0x29a7f0,_0x46e72a),this[_0x283b5a(0x12c)]=new at(_0x29a7f0,_0x46e72a);const _0x4b3ed8=new _0x81788a(_0x29a7f0);_0x4b3ed8[_0x283b5a(0x120)][_0x283b5a(0x10c)]=_0x283b5a(0x12a),_0x4b3ed8[_0x283b5a(0x12b)]=_0x46e72a[_0x283b5a(0x10b)];const _0x2ef6c9={'tag':_0x283b5a(0x110),'attributes':{'class':['ck',_0x283b5a(0x112)],'role':_0x283b5a(0x115),'tabindex':_0x2a9e9e['to'](_0x283b5a(0x122),_0x31aac6=>!!_0x31aac6&&0x0),'aria-labelledby':_0x4b3ed8['id'],'data-cke-tooltip-text':this[_0x283b5a(0x121)][_0x283b5a(0x10b)],'data-cke-tooltip-position':_0x2a9e9e['to'](_0x283b5a(0x111)),'data-cke-tooltip-disabled':_0x2a9e9e['to'](_0x283b5a(0x127),_0x19c2d3=>!_0x19c2d3),'data-cke-tooltip-class':_0x283b5a(0x129)},'children':[this[_0x283b5a(0x121)],this[_0x283b5a(0x12c)],_0x4b3ed8]};_0x19e5c6&&(_0x2ef6c9[_0x283b5a(0x10c)]=_0x283b5a(0x125),_0x2ef6c9['on']={'click':_0x2a9e9e['to'](()=>this[_0x283b5a(0x11f)](_0x283b5a(0x124)))}),this[_0x283b5a(0x11e)](_0x2ef6c9);}}class at extends _0x2da211{constructor(_0x310697,_0x3542a1){const _0x533b2e=_0xc268;super(_0x310697),this[_0x533b2e(0x11e)]({'tag':_0x533b2e(0x12a),'attributes':{'class':['ck',_0x533b2e(0x128),_0x3542a1[_0x533b2e(0x118)][_0x533b2e(0x10f)]()],'aria-hidden':_0x533b2e(0x117)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33d275=_0x4e85;function _0x4e85(_0x4b5aef,_0x25d146){const _0x308b24=_0x308b();return _0x4e85=function(_0x4e85e5,_0x33c450){_0x4e85e5=_0x4e85e5-0xde;let _0x29229b=_0x308b24[_0x4e85e5];return _0x29229b;},_0x4e85(_0x4b5aef,_0x25d146);}(function(_0x2b140f,_0x306b85){const _0x352ab3=_0x4e85,_0x23e323=_0x2b140f();while(!![]){try{const _0x5988a2=parseInt(_0x352ab3(0xf4))/0x1+parseInt(_0x352ab3(0xe8))/0x2*(parseInt(_0x352ab3(0xf6))/0x3)+parseInt(_0x352ab3(0xf8))/0x4+parseInt(_0x352ab3(0xf0))/0x5*(parseInt(_0x352ab3(0xef))/0x6)+parseInt(_0x352ab3(0xe5))/0x7*(parseInt(_0x352ab3(0xeb))/0x8)+-parseInt(_0x352ab3(0xde))/0x9*(parseInt(_0x352ab3(0xf2))/0xa)+parseInt(_0x352ab3(0xec))/0xb*(-parseInt(_0x352ab3(0xe1))/0xc);if(_0x5988a2===_0x306b85)break;else _0x23e323['push'](_0x23e323['shift']());}catch(_0x36422a){_0x23e323['push'](_0x23e323['shift']());}}}(_0x308b,0xcce5a));import{View as _0x45e871}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x280fbd}from'ckeditor5/src/utils.js';import{getTranslation as _0x1006f1}from'../../common-translations.js';export default class es extends _0x45e871{constructor(_0x5b533c){const _0x2a7846=_0x4e85;super(_0x5b533c);const _0x26a487=this[_0x2a7846(0xff)];this[_0x2a7846(0xe2)]=this[_0x2a7846(0xfb)](),this[_0x2a7846(0xe7)]=new _0x280fbd(),this[_0x2a7846(0xea)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2a7846(0xfc)]({'tag':_0x2a7846(0xf7),'attributes':{'aria-haspopup':_0x26a487['if'](_0x2a7846(0xed)),'aria-expanded':_0x26a487['to'](_0x2a7846(0xe4),_0x36b994=>this[_0x2a7846(0xed)]&&String(_0x36b994)),'aria-label':_0x26a487['to'](_0x2a7846(0xed),_0x35572d=>_0x1006f1(_0x5b533c,_0x35572d?_0x2a7846(0x100):_0x2a7846(0xfa))),'role':_0x2a7846(0xe6),'tabindex':_0x26a487['to'](_0x2a7846(0xed),_0x365c4d=>!!_0x365c4d&&0x0),'class':['ck',_0x2a7846(0xe9)]},'children':this[_0x2a7846(0xe2)],'on':{'click':_0x26a487['to'](()=>this[_0x2a7846(0xf9)](_0x2a7846(0xdf)))}}),this['on'](_0x2a7846(0xe0),(_0x1e04d2,_0x2cf94e,_0x22fc72)=>{const _0x737fbd=_0x2a7846;this[_0x737fbd(0xe3)]&&(_0x22fc72?this[_0x737fbd(0xe3)][_0x737fbd(0xfe)](_0x737fbd(0xf5),String(this[_0x737fbd(0xe4)])):this[_0x737fbd(0xe3)][_0x737fbd(0xf1)](_0x737fbd(0xf5)));});}[_0x33d275(0xf3)](){const _0x3077bd=_0x33d275;this[_0x3077bd(0xe3)][_0x3077bd(0xf3)]();}[_0x33d275(0xfd)](){const _0x16f48b=_0x33d275;super[_0x16f48b(0xfd)](),this[_0x16f48b(0xe7)][_0x16f48b(0xee)](this[_0x16f48b(0xe3)]);}}function _0x308b(){const _0x1bf07b=['listenTo','6PlNgEK','7644955QcmYpM','removeAttribute','20nYdrQD','focus','509412HAkDNb','aria-expanded','454791kLyoOy','div','5573368Esxpsv','fire','Connected\x20users\x20list','createCollection','setTemplate','render','setAttribute','bindTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','3337137lusuac','execute','change:hasPopup','29750736KGjRtm','items','element','isExpanded','222474eYUeXr','list','keystrokes','2ypbcDf','ck-presence-list__list','set','120JfJPXc','11WyAwXV','hasPopup'];_0x308b=function(){return _0x1bf07b;};return _0x308b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x568ec2,_0x193e68){const _0x156c51=_0xbd31,_0x5590ac=_0x568ec2();while(!![]){try{const _0x5da354=-parseInt(_0x156c51(0x193))/0x1*(-parseInt(_0x156c51(0x19b))/0x2)+-parseInt(_0x156c51(0x19c))/0x3+-parseInt(_0x156c51(0x198))/0x4+parseInt(_0x156c51(0x196))/0x5*(-parseInt(_0x156c51(0x1a6))/0x6)+parseInt(_0x156c51(0x18e))/0x7*(parseInt(_0x156c51(0x197))/0x8)+parseInt(_0x156c51(0x1a7))/0x9*(parseInt(_0x156c51(0x199))/0xa)+parseInt(_0x156c51(0x1a9))/0xb*(parseInt(_0x156c51(0x18f))/0xc);if(_0x5da354===_0x193e68)break;else _0x5590ac['push'](_0x5590ac['shift']());}catch(_0x3dd3a1){_0x5590ac['push'](_0x5590ac['shift']());}}}(_0x1620,0xa0b5e));import{View as _0x14d271}from'ckeditor5/src/ui.js';import _0x514347 from'./presencecounterview.js';function _0xbd31(_0x4a2c36,_0x2b3efa){const _0x162010=_0x1620();return _0xbd31=function(_0xbd31f0,_0xdee397){_0xbd31f0=_0xbd31f0-0x18c;let _0x152414=_0x162010[_0xbd31f0];return _0x152414;},_0xbd31(_0x4a2c36,_0x2b3efa);}import _0x5a8d68 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class L extends _0x14d271{constructor(_0x12ecbc){const _0x5054be=_0xbd31;super(_0x12ecbc);const _0x5bdbba=this[_0x5054be(0x1a8)];this[_0x5054be(0x190)](_0x5054be(0x1a3),!0x0),this[_0x5054be(0x1aa)]=new _0x514347(this[_0x5054be(0x195)]),this[_0x5054be(0x18c)]=new _0x5a8d68(_0x12ecbc),this[_0x5054be(0x18c)][_0x5054be(0x1a5)](_0x5054be(0x19d))['to'](this,_0x5054be(0x1a3)),this[_0x5054be(0x192)](this[_0x5054be(0x18c)][_0x5054be(0x19a)],_0x5054be(0x19f),()=>{const _0x638f27=_0x5054be;for(const _0x1f7f2e of this[_0x638f27(0x18c)][_0x638f27(0x19a)])_0x1f7f2e[_0x638f27(0x19e)]='s';this[_0x638f27(0x18c)][_0x638f27(0x19a)][_0x638f27(0x194)]&&(this[_0x638f27(0x18c)][_0x638f27(0x19a)][_0x638f27(0x194)][_0x638f27(0x19e)]='se');}),this[_0x5054be(0x1a4)]({'tag':_0x5054be(0x1a0),'attributes':{'class':['ck',_0x5054be(0x1a2),_0x5054be(0x18d),_0x5054be(0x1a1),_0x5bdbba['if'](_0x5054be(0x1a3),_0x5054be(0x191))]},'children':[this[_0x5054be(0x1aa)],this[_0x5054be(0x18c)]]});}}function _0x1620(){const _0x494c75=['ck-presence-list--collapsed','listenTo','1471JejjYq','first','locale','9670oNYpEF','32bKZIBt','4688988VahalT','18030mUQjSX','items','1684CQzrQs','2959248AvcbFK','hasPopup','tooltipPosition','change','div','ck-rounded-corners','ck-presence-list','isCollapsed','setTemplate','bind','1452PtWkXI','5571SwjoSz','bindTemplate','442794iaWKUP','counterView','inlineListView','ck-reset','994063WqBPCl','108HynSfW','set'];_0x1620=function(){return _0x494c75;};return _0x1620();}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3146dd=_0x49b0;(function(_0x3022cb,_0x58c226){var _0x52b533=_0x49b0,_0x542797=_0x3022cb();while(!![]){try{var _0x2e5c0f=-parseInt(_0x52b533(0x129))/0x1+-parseInt(_0x52b533(0x12a))/0x2+parseInt(_0x52b533(0x131))/0x3+-parseInt(_0x52b533(0x12b))/0x4*(parseInt(_0x52b533(0x133))/0x5)+-parseInt(_0x52b533(0x132))/0x6*(-parseInt(_0x52b533(0x135))/0x7)+parseInt(_0x52b533(0x12f))/0x8+-parseInt(_0x52b533(0x12d))/0x9*(-parseInt(_0x52b533(0x12c))/0xa);if(_0x2e5c0f===_0x58c226)break;else _0x542797['push'](_0x542797['shift']());}catch(_0xc27b7c){_0x542797['push'](_0x542797['shift']());}}}(_0x2010,0x8625d));function _0x2010(){var _0xb9bd20=['pluginName','658pZbeFy','923854zZmnjd','993972WBgrwd','4PYkvkK','1094880XNJNMk','72wUNIPx','PresenceList','7488176RzBDlO','requires','1690566SmIUXg','1536qKFcpL','2146015aZxBjU'];_0x2010=function(){return _0xb9bd20;};return _0x2010();}import{ContextPlugin as _0xb84428}from'ckeditor5/src/core.js';import _0x2b8e53 from'./realtimecollaborativeediting/sessions.js';import _0x77c530 from'./presencelist/presencelistui.js';function _0x49b0(_0x2845a7,_0x581c35){var _0x201020=_0x2010();return _0x49b0=function(_0x49b046,_0x5d12b4){_0x49b046=_0x49b046-0x129;var _0x238461=_0x201020[_0x49b046];return _0x238461;},_0x49b0(_0x2845a7,_0x581c35);}export default class i extends _0xb84428{static get[_0x3146dd(0x130)](){return[_0x2b8e53,_0x77c530];}static get[_0x3146dd(0x134)](){var _0x16c737=_0x3146dd;return _0x16c737(0x12e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4fefbd=_0x7e65;(function(_0x476876,_0x4375f1){const _0x3cee11=_0x7e65,_0x36fdb1=_0x476876();while(!![]){try{const _0x15d325=parseInt(_0x3cee11(0x115))/0x1*(parseInt(_0x3cee11(0x111))/0x2)+-parseInt(_0x3cee11(0x101))/0x3+parseInt(_0x3cee11(0x13c))/0x4+-parseInt(_0x3cee11(0x132))/0x5*(-parseInt(_0x3cee11(0x12a))/0x6)+parseInt(_0x3cee11(0x13e))/0x7*(-parseInt(_0x3cee11(0xf4))/0x8)+parseInt(_0x3cee11(0x11f))/0x9+-parseInt(_0x3cee11(0x12d))/0xa;if(_0x15d325===_0x4375f1)break;else _0x36fdb1['push'](_0x36fdb1['shift']());}catch(_0x4e994a){_0x36fdb1['push'](_0x36fdb1['shift']());}}}(_0xfeae,0x7c218));import{Context as _0x5d510c,ContextPlugin as _0xe3fbd7}from'ckeditor5/src/core.js';import{CKEditorError as _0x4f966f}from'ckeditor5/src/utils.js';import{Users as _0x372c69}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x11d358,User as _0x6058ba}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x4b46a4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2ddbde from'../realtimecollaborativeediting/sessions.js';class a extends _0xe3fbd7{static get[_0x4fefbd(0x107)](){const _0x420fbc=_0x4fefbd;return[_0x4b46a4,_0x420fbc(0x130),_0x2ddbde,_0x372c69];}static get[_0x4fefbd(0x116)](){const _0x181377=_0x4fefbd;return _0x181377(0xf6);}constructor(_0x4fc71c){const _0x51be07=_0x4fefbd;super(_0x4fc71c),this[_0x51be07(0xfe)]=new Map();}async[_0x4fefbd(0x112)](){const _0x15d0bb=_0x4fefbd,_0x3e9bed=this[_0x15d0bb(0x145)],_0xcc743c=_0x3e9bed[_0x15d0bb(0x102)][_0x15d0bb(0x147)](_0x15d0bb(0x130));if(_0x3e9bed[_0x15d0bb(0x102)][_0x15d0bb(0x147)](_0x4b46a4)[_0x15d0bb(0x114)](this),_0xcc743c[_0x15d0bb(0x11d)]={'addCommentThread':async({channelId:_0x575b68,threadId:_0x410135,comments:_0x497441,resolvedAt:_0x220258,resolvedBy:_0x4f102a,context:_0xd43011,attributes:_0x3553e9})=>{const _0x20b9d4=_0x15d0bb,_0x5b6685=await this[_0x20b9d4(0xe4)](_0x575b68)[_0x20b9d4(0x122)]({'commentThreadId':_0x410135,'comments':_0x497441[_0x20b9d4(0x10e)](_0x50caa1=>function(_0x1135b8,_0x4e2152,_0x1a65bd){const _0xd89839=_0x20b9d4;return{'commentThreadId':_0x1a65bd,'commentId':_0x1135b8[_0xd89839(0xe7)],'userId':_0x1135b8[_0xd89839(0x123)],'content':_0x1135b8[_0xd89839(0x143)],'documentId':_0x4e2152,'createdAt':_0x1135b8[_0xd89839(0x118)],'attributes':_0x1135b8[_0xd89839(0x126)]||{}};}(_0x50caa1,_0x575b68,_0x410135)),'resolvedAt':_0x220258,'resolvedBy':_0x4f102a,'context':_0xd43011,'attributes':_0x3553e9})[_0x20b9d4(0x129)](R);return{'threadId':_0x5b6685[_0x20b9d4(0xf3)],'comments':_0x5b6685[_0x20b9d4(0x108)]};},'getCommentThread':async({channelId:_0x4a007f,threadId:_0x3e760b})=>{const _0x249345=_0x15d0bb,_0x44e78c=await this[_0x249345(0xe4)](_0x4a007f)[_0x249345(0xe9)](_0x3e760b)[_0x249345(0x129)](R);return _0x44e78c[_0x249345(0xe5)]?null:(await this[_0x249345(0x120)]([_0x44e78c]),{'threadId':_0x44e78c[_0x249345(0xf3)],'comments':_0x44e78c[_0x249345(0x108)][_0x249345(0x10e)](S),'context':_0x44e78c[_0x249345(0x145)],'resolvedAt':_0x44e78c[_0x249345(0x13a)],'resolvedBy':_0x44e78c[_0x249345(0xec)],'attributes':_0x44e78c[_0x249345(0x126)]||{}});},'updateCommentThread':async({channelId:_0x2c8636,threadId:_0x1e52be,context:_0x165f10,unlinkedAt:_0x155012,attributes:_0x28f8b9})=>this[_0x15d0bb(0xe4)](_0x2c8636)[_0x15d0bb(0x13d)]({'commentThreadId':_0x1e52be,'context':_0x165f10,'attributes':_0x28f8b9,'unlinkedAt':_0x155012})[_0x15d0bb(0x129)](B)[_0x15d0bb(0x129)](R),'resolveCommentThread':async({channelId:_0x1d39a2,threadId:_0x33d72b})=>{const _0x49afac=_0x15d0bb,_0x3ed46f=await this[_0x49afac(0xe4)](_0x1d39a2)[_0x49afac(0x131)](_0x33d72b)[_0x49afac(0x129)](B)[_0x49afac(0x129)](R);return{'threadId':_0x3ed46f[_0x49afac(0xf3)],'resolvedAt':_0x3ed46f[_0x49afac(0x13a)],'resolvedBy':_0x3ed46f[_0x49afac(0xec)]};},'reopenCommentThread':async({channelId:_0x53cfdc,threadId:_0x25ee25})=>this[_0x15d0bb(0xe4)](_0x53cfdc)[_0x15d0bb(0x110)](_0x25ee25)[_0x15d0bb(0x129)](B)[_0x15d0bb(0x129)](R),'removeCommentThread':({channelId:_0x47349a,threadId:_0x1afbb4})=>this[_0x15d0bb(0xe4)](_0x47349a)[_0x15d0bb(0xf9)](_0x1afbb4)[_0x15d0bb(0x129)](B)[_0x15d0bb(0x129)](R),'addComment':({channelId:_0x3845ca,threadId:_0x2ccfd8,commentId:_0x25c18e,content:_0x44e559,attributes:_0xaa8f66})=>this[_0x15d0bb(0xe4)](_0x3845ca)[_0x15d0bb(0x144)](_0x2ccfd8,_0x25c18e,_0x44e559,_0xaa8f66)[_0x15d0bb(0x129)](R),'updateComment':({channelId:_0x511ed9,threadId:_0x4389d8,commentId:_0x1e1864,content:_0x1f47e4,attributes:_0x1c49c5})=>this[_0x15d0bb(0xe4)](_0x511ed9)[_0x15d0bb(0x146)](_0x4389d8,_0x1e1864,_0x1f47e4,_0x1c49c5)[_0x15d0bb(0x129)](B)[_0x15d0bb(0x129)](R),'removeComment':({channelId:_0x254548,threadId:_0x1f207c,commentId:_0xff5189})=>this[_0x15d0bb(0xe4)](_0x254548)[_0x15d0bb(0x13f)](_0x1f207c,_0xff5189)[_0x15d0bb(0x129)](B)[_0x15d0bb(0x129)](R)},_0x3e9bed instanceof _0x5d510c){const _0x420ba1=_0x3e9bed[_0x15d0bb(0xfc)][_0x15d0bb(0x147)](_0x15d0bb(0x135)),_0x38f4a5=_0x3e9bed[_0x15d0bb(0x102)][_0x15d0bb(0x147)](_0x2ddbde);await this[_0x15d0bb(0xe8)](_0x420ba1);const _0x438b39=await this[_0x15d0bb(0xfe)][_0x15d0bb(0x147)](_0x420ba1)[_0x15d0bb(0xf7)]();this[_0x15d0bb(0x106)](_0x38f4a5,_0x15d0bb(0x105)+_0x420ba1,(_0x3f0912,{session:_0x492d1a})=>{const _0x430033=_0x15d0bb;_0x492d1a['id']===_0x38f4a5[_0x430033(0x11e)]&&(_0x3f0912[_0x430033(0xf0)](),this[_0x430033(0x145)][_0x430033(0x102)][_0x430033(0x147)](_0x430033(0xf2))[_0x430033(0x10c)](_0x492d1a[_0x430033(0x113)],_0x420ba1));}),_0x38f4a5[_0x15d0bb(0x12c)](_0x420ba1,_0x438b39);}}async[_0x4fefbd(0xe8)](_0x1b2288){const _0x487eff=_0x4fefbd;if(this[_0x487eff(0xfe)][_0x487eff(0xee)](_0x1b2288))throw new _0x4f966f(_0x487eff(0x139),null,{'channelId':_0x1b2288});const _0x406db9=this[_0x487eff(0x145)][_0x487eff(0x102)][_0x487eff(0x147)](_0x487eff(0x130)),_0x1c7d9d=new a[(_0x487eff(0x10f))](_0x1b2288);this[_0x487eff(0xfe)][_0x487eff(0xed)](_0x1b2288,_0x1c7d9d),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x117),(_0x10659e,_0x1394d6)=>{const _0x3f4fe7=_0x487eff,{commentThreadId:_0x27b497,documentId:_0x3dd119,context:_0x2dd896,attributes:_0x5a397f,resolvedAt:_0x460103,resolvedBy:_0x302338,comments:_0x7e31a3}=_0x1394d6;_0x406db9[_0x3f4fe7(0xe9)](_0x27b497)||_0x406db9[_0x3f4fe7(0x122)]({'threadId':_0x27b497,'channelId':_0x3dd119,'comments':_0x7e31a3?_0x7e31a3[_0x3f4fe7(0x10e)](S):[],'context':_0x2dd896,'attributes':_0x5a397f,'resolvedAt':_0x460103,'resolvedBy':_0x302338,'isFromAdapter':!0x0});}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x127),(_0x4ca784,{commentThreadId:_0x1581ad,documentId:_0x44113a,context:_0x25631c,unlinkedAt:_0x2f4d11,attributes:_0x3c3d9e})=>{const _0x583d1d=_0x487eff;_0x406db9[_0x583d1d(0xe9)](_0x1581ad)&&_0x406db9[_0x583d1d(0x13d)]({'threadId':_0x1581ad,'channelId':_0x44113a,'context':_0x25631c,'unlinkedAt':_0x2f4d11,'attributes':_0x3c3d9e,'isFromAdapter':!0x0});}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x11b),(_0x5e162f,{commentThreadId:_0x5f4a9c,resolvedBy:_0x463094,resolvedAt:_0x281831})=>{const _0x308188=_0x487eff,_0x502ef7=_0x406db9[_0x308188(0xe9)](_0x5f4a9c);_0x502ef7&&_0x502ef7[_0x308188(0x10b)]({'resolvedBy':_0x463094,'resolvedAt':_0x281831,'isFromAdapter':!0x0});}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x12b),(_0x28728f,{commentThreadId:_0x12f74f})=>{const _0x2820ad=_0x487eff,_0x536088=_0x406db9[_0x2820ad(0xe9)](_0x12f74f);_0x536088&&_0x536088[_0x2820ad(0xfd)]({'isFromAdapter':!0x0});}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0xeb),(_0x3a5215,{commentThreadId:_0x4786d7})=>{const _0x274d4d=_0x487eff,_0x2c35aa=_0x406db9[_0x274d4d(0xe9)](_0x4786d7);_0x2c35aa&&_0x2c35aa[_0x274d4d(0xff)]({'isFromAdapter':!0x0});}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x12f),(_0x1586ea,_0x4607ee)=>{const _0x574718=_0x487eff,_0x5230b3=_0x4607ee[_0x574718(0xf3)],_0x4272d2=_0x406db9[_0x574718(0xe9)](_0x5230b3);_0x4272d2&&_0x4272d2[_0x574718(0x144)]({...S(_0x4607ee),'isFromAdapter':!0x0});}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x141),(_0x3826d0,{commentThreadId:_0x2208dc,commentId:_0x10d3c4,content:_0x2811a3,attributes:_0x2b803f})=>{const _0x48b6b1=_0x487eff,_0xe8afc8=_0x406db9[_0x48b6b1(0xe9)](_0x2208dc);if(_0xe8afc8){const _0x5df92d=_0xe8afc8[_0x48b6b1(0xf5)](_0x10d3c4);_0x5df92d&&_0x5df92d[_0x48b6b1(0x137)]({'content':_0x2811a3,'attributes':_0x2b803f,'isFromAdapter':!0x0});}}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x138),(_0x3b33af,{commentThreadId:_0x1108b0,commentId:_0x537c0e})=>{const _0x22eb2d=_0x487eff,_0xa6d8ee=_0x406db9[_0x22eb2d(0xe9)](_0x1108b0);if(_0xa6d8ee){const _0x20d90e=_0xa6d8ee[_0x22eb2d(0xf5)](_0x537c0e);_0x20d90e&&_0x20d90e[_0x22eb2d(0xff)]({'isFromAdapter':!0x0});}}),await this[_0x487eff(0x10d)](_0x1b2288);}[_0x4fefbd(0x134)](){const _0x22e49e=_0x4fefbd;if(this[_0x22e49e(0x145)]instanceof _0x5d510c){const _0x2751d5=this[_0x22e49e(0x145)][_0x22e49e(0xfc)][_0x22e49e(0x147)](_0x22e49e(0x135));this[_0x22e49e(0x103)](_0x2751d5);}}[_0x4fefbd(0x103)](_0x2d44e9){const _0x4f5b25=_0x4fefbd;if(!this[_0x4f5b25(0xfe)][_0x4f5b25(0xee)](_0x2d44e9))throw new _0x4f966f(_0x4f5b25(0x128),null,{'channelId':_0x2d44e9});this[_0x4f5b25(0xe4)](_0x2d44e9)[_0x4f5b25(0x140)](),this[_0x4f5b25(0xfe)][_0x4f5b25(0x12e)](_0x2d44e9);}async[_0x4fefbd(0xfb)](){const _0x2d09bb=_0x4fefbd;for(const _0x5874ca of this[_0x2d09bb(0xfe)][_0x2d09bb(0x133)]())await this[_0x2d09bb(0x10d)](_0x5874ca);if(this[_0x2d09bb(0x145)]instanceof _0x5d510c){const _0x60827b=this[_0x2d09bb(0x145)][_0x2d09bb(0xfc)][_0x2d09bb(0x147)](_0x2d09bb(0x135)),_0xbb90e5=this[_0x2d09bb(0x145)][_0x2d09bb(0x102)][_0x2d09bb(0x147)](_0x2ddbde);_0xbb90e5[_0x2d09bb(0x104)](_0x60827b);const _0x5977f8=await this[_0x2d09bb(0xfe)][_0x2d09bb(0x147)](_0x60827b)[_0x2d09bb(0xf7)]();_0xbb90e5[_0x2d09bb(0x12c)](_0x60827b,_0x5977f8);}}async[_0x4fefbd(0x10d)](_0x34d973){const _0x380f07=_0x4fefbd,{connection:_0x1218fa}=this[_0x380f07(0x145)][_0x380f07(0x102)][_0x380f07(0x147)](_0x4b46a4),_0x24fda5=this[_0x380f07(0x145)][_0x380f07(0x102)][_0x380f07(0x147)](_0x380f07(0x130)),_0x7613c2=this[_0x380f07(0xfe)][_0x380f07(0x147)](_0x34d973),_0x19a45e=await _0x7613c2[_0x380f07(0x119)](_0x1218fa);await this[_0x380f07(0x120)](_0x19a45e);const _0x2e0c74=new Set(Array[_0x380f07(0x11c)](_0x24fda5[_0x380f07(0x142)]({'channelId':_0x34d973}),_0x27908a=>_0x27908a['id']));for(const _0xee05e4 of _0x19a45e)_0xee05e4[_0x380f07(0xe5)]||_0x2e0c74[_0x380f07(0x12e)](_0xee05e4[_0x380f07(0xf3)]);for(const _0x306819 of _0x2e0c74)_0x24fda5[_0x380f07(0xe9)](_0x306819)[_0x380f07(0xff)]({'isFromAdapter':!0x0});for(const _0x4edaeb of _0x19a45e){let _0x1f8d8d=_0x24fda5[_0x380f07(0xe9)](_0x4edaeb[_0x380f07(0xf3)]);const {commentThreadId:_0x300616,context:_0x3dac5b,attributes:_0x30f078,resolvedBy:_0xb79e0a,resolvedAt:_0x54fdf5,unlinkedAt:_0x5c0553,deletedAt:_0xfa04eb}=_0x4edaeb;if(_0xfa04eb)continue;_0x1f8d8d||(_0x1f8d8d=_0x24fda5[_0x380f07(0x122)]({'channelId':_0x34d973,'threadId':_0x300616,'context':_0x3dac5b,'attributes':_0x30f078||{},'resolvedBy':_0xb79e0a,'resolvedAt':_0x54fdf5,'unlinkedAt':_0x5c0553,'isFromAdapter':!0x0}));const _0x31ad1c=new Set(Array[_0x380f07(0x11c)](_0x1f8d8d[_0x380f07(0x108)],_0x5aeb9f=>_0x5aeb9f['id']));for(const _0x5b8189 of _0x4edaeb[_0x380f07(0x108)])_0x31ad1c[_0x380f07(0x12e)](_0x5b8189[_0x380f07(0xe7)]);for(const _0x70aa88 of _0x31ad1c)_0x1f8d8d[_0x380f07(0xf5)](_0x70aa88)[_0x380f07(0xff)]({'isFromAdapter':!0x0});for(const _0x380913 of _0x4edaeb[_0x380f07(0x108)]){const _0x16e37f=_0x1f8d8d[_0x380f07(0xf5)](_0x380913[_0x380f07(0xe7)]);_0x16e37f?_0x16e37f[_0x380f07(0x143)]!==_0x380913[_0x380f07(0x143)]&&_0x16e37f[_0x380f07(0x137)]({'content':_0x380913[_0x380f07(0x143)],'isFromAdapter':!0x0}):_0x1f8d8d[_0x380f07(0x144)](Object[_0x380f07(0x11a)](S(_0x380913),{'isFromAdapter':!0x0}));}}}[_0x4fefbd(0xe4)](_0x2aa95c){const _0x44b991=_0x4fefbd;if(!this[_0x44b991(0xfe)][_0x44b991(0xee)](_0x2aa95c))throw new _0x4f966f(_0x44b991(0xea),null,{'channelId':_0x2aa95c});return this[_0x44b991(0xfe)][_0x44b991(0x147)](_0x2aa95c);}async[_0x4fefbd(0x120)](_0x413ceb){const _0x2e3133=_0x4fefbd,_0x4f2982=this[_0x2e3133(0x145)][_0x2e3133(0x102)][_0x2e3133(0x147)](_0x372c69),{connection:_0xfd3620}=this[_0x2e3133(0x145)][_0x2e3133(0x102)][_0x2e3133(0x147)](_0x4b46a4),_0x433cb4=new Set();for(const {resolvedBy:_0x1eddb1,comments:_0x390636}of _0x413ceb){_0x1eddb1&&!_0x4f2982[_0x2e3133(0x136)](_0x1eddb1)&&_0x433cb4[_0x2e3133(0x109)](_0x1eddb1);for(const {userId:_0x10ca68}of _0x390636)_0x4f2982[_0x2e3133(0x136)](_0x10ca68)||_0x433cb4[_0x2e3133(0x109)](_0x10ca68);}if(0x0===_0x433cb4[_0x2e3133(0x124)])return;const _0x449ddb=await _0x6058ba[_0x2e3133(0x100)](_0xfd3620,Array[_0x2e3133(0x11c)](_0x433cb4));for(const _0x532447 of _0x449ddb)_0x4f2982[_0x2e3133(0x136)](_0x532447['id'])||_0x4f2982[_0x2e3133(0xf1)](_0x532447);}}a[_0x4fefbd(0x10f)]=_0x11d358;export default a;function _0x7e65(_0x40e087,_0x51b02f){const _0xfeae3b=_0xfeae();return _0x7e65=function(_0x7e6552,_0x382152){_0x7e6552=_0x7e6552-0xe4;let _0x2b7a09=_0xfeae3b[_0x7e6552];return _0x2b7a09;},_0x7e65(_0x40e087,_0x51b02f);}async function B(_0x4d00a7){const _0x4319c0=_0x4fefbd;if(_0x4319c0(0x121)!==_0x4d00a7[_0x4319c0(0xef)])throw _0x4d00a7;}function _0xfeae(){const _0x242c92=['addUser','Permissions','commentThreadId','1928QCSYsU','getComment','CloudServicesCommentsAdapter','getConnectedSessions','cloud-services-internal-error:\x20Request\x20timeout.','removeCommentThread','cloud-services-internal-error:\x20Not\x20connected.','reconnect','config','reopen','_services','remove','getMany','2978100xqYHiW','plugins','_terminateService','unregister','sessionAdd:','listenTo','requires','comments','add','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','resolve','setPermissions','_connectService','map','CommentsService','reopenCommentThread','56kLGpDz','init','permissions','addToReconnectionStack','23678EVFAsG','pluginName','commentThreadAdded','createdAt','connect','assign','commentThreadResolved','from','adapter','mySessionId','3361401AghPxd','_fetchMissingUsersForThreads','404','addCommentThread','authorId','size','startsWith','attributes','commentThreadUpdated','cloudservicescommentsadapter-disconnect-not-exist','catch','18sFPJIr','commentThreadReopened','register','2006420CAearU','delete','commentAdded','CommentsRepository','resolveCommentThread','1686735QWzPkY','keys','destroy','collaboration.channelId','getUser','update','commentRemoved','cloudservicescommentsadapter-connect-already-connected','resolvedAt','message','2065156qOiebE','updateCommentThread','25067camaqV','removeComment','disconnect','commentUpdated','getCommentThreads','content','addComment','context','updateComment','get','_getService','deletedAt','userId','commentId','_setUpService','getCommentThread','cloudservicescommentsadapter-service-not-exist','commentThreadRemoved','resolvedBy','set','has','code','off'];_0xfeae=function(){return _0x242c92;};return _0xfeae();}function R(_0x3a3c39){const _0x542caa=_0x4fefbd;if((_0x218ff8=_0x3a3c39)[_0x542caa(0x13b)][_0x542caa(0x125)](_0x542caa(0x10a))||_0x218ff8[_0x542caa(0x13b)][_0x542caa(0x125)](_0x542caa(0xfa))||_0x218ff8[_0x542caa(0x13b)][_0x542caa(0x125)](_0x542caa(0xf8)))return new Promise(()=>{});var _0x218ff8;throw _0x3a3c39;}function S(_0x15f74f){const _0x5dc0e7=_0x4fefbd;return{'threadId':_0x15f74f[_0x5dc0e7(0xf3)],'commentId':_0x15f74f[_0x5dc0e7(0xe7)],'content':_0x15f74f[_0x5dc0e7(0x143)],'createdAt':_0x15f74f[_0x5dc0e7(0x118)],'authorId':_0x15f74f[_0x5dc0e7(0xe6)],'attributes':_0x15f74f[_0x5dc0e7(0x126)]||{}};}
|
|
23
|
+
const _0x3ec431=_0x22dc;(function(_0x1d16c9,_0x1139fc){const _0x15156b=_0x22dc,_0x34ad7a=_0x1d16c9();while(!![]){try{const _0x1fbba2=parseInt(_0x15156b(0x17f))/0x1+parseInt(_0x15156b(0x151))/0x2*(parseInt(_0x15156b(0x197))/0x3)+-parseInt(_0x15156b(0x13f))/0x4*(parseInt(_0x15156b(0x16a))/0x5)+-parseInt(_0x15156b(0x15f))/0x6+parseInt(_0x15156b(0x15e))/0x7+-parseInt(_0x15156b(0x178))/0x8+parseInt(_0x15156b(0x13c))/0x9;if(_0x1fbba2===_0x1139fc)break;else _0x34ad7a['push'](_0x34ad7a['shift']());}catch(_0x49b4dd){_0x34ad7a['push'](_0x34ad7a['shift']());}}}(_0x8329,0xa6ee7));import{Context as _0x3a8feb,ContextPlugin as _0x538204}from'ckeditor5/src/core.js';import{CKEditorError as _0x1cf057}from'ckeditor5/src/utils.js';import{Users as _0x57e16f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x57ba24,User as _0x1def9c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x15e16a from'../realtimecollaborativeediting/websocketgateway.js';import _0x186b79 from'../realtimecollaborativeediting/sessions.js';class a extends _0x538204{static get[_0x3ec431(0x160)](){const _0x1cf826=_0x3ec431;return[_0x15e16a,_0x1cf826(0x17d),_0x186b79,_0x57e16f];}static get[_0x3ec431(0x194)](){const _0x4c6284=_0x3ec431;return _0x4c6284(0x177);}constructor(_0x3d8f75){const _0x13f592=_0x3ec431;super(_0x3d8f75),this[_0x13f592(0x154)]=new Map();}async[_0x3ec431(0x17c)](){const _0x517be9=_0x3ec431,_0x3d3720=this[_0x517be9(0x18d)],_0x1578c0=_0x3d3720[_0x517be9(0x180)][_0x517be9(0x171)](_0x517be9(0x17d));if(_0x3d3720[_0x517be9(0x180)][_0x517be9(0x171)](_0x15e16a)[_0x517be9(0x14e)](this),_0x1578c0[_0x517be9(0x14f)]={'addCommentThread':async({channelId:_0x77792d,threadId:_0x48efe2,comments:_0x488576,resolvedAt:_0xe2fd38,resolvedBy:_0x3724d1,context:_0xbf1284,attributes:_0x161d51})=>{const _0x426b2b=_0x517be9,_0x191b6e=await this[_0x426b2b(0x16b)](_0x77792d)[_0x426b2b(0x15a)]({'commentThreadId':_0x48efe2,'comments':_0x488576[_0x426b2b(0x172)](_0x3f9644=>function(_0x4a9a3f,_0x433d3c,_0x5de3e9){const _0x59a404=_0x426b2b;return{'commentThreadId':_0x5de3e9,'commentId':_0x4a9a3f[_0x59a404(0x135)],'userId':_0x4a9a3f[_0x59a404(0x17b)],'content':_0x4a9a3f[_0x59a404(0x18c)],'documentId':_0x433d3c,'createdAt':_0x4a9a3f[_0x59a404(0x150)],'attributes':_0x4a9a3f[_0x59a404(0x139)]||{}};}(_0x3f9644,_0x77792d,_0x48efe2)),'resolvedAt':_0xe2fd38,'resolvedBy':_0x3724d1,'context':_0xbf1284,'attributes':_0x161d51})[_0x426b2b(0x16d)](R);return{'threadId':_0x191b6e[_0x426b2b(0x153)],'comments':_0x191b6e[_0x426b2b(0x143)]};},'getCommentThread':async({channelId:_0x41b937,threadId:_0x4243e8})=>{const _0x3fd799=_0x517be9,_0xa4ceb8=await this[_0x3fd799(0x16b)](_0x41b937)[_0x3fd799(0x158)](_0x4243e8)[_0x3fd799(0x16d)](R);return _0xa4ceb8[_0x3fd799(0x157)]?null:(await this[_0x3fd799(0x186)]([_0xa4ceb8]),{'threadId':_0xa4ceb8[_0x3fd799(0x153)],'comments':_0xa4ceb8[_0x3fd799(0x143)][_0x3fd799(0x172)](S),'context':_0xa4ceb8[_0x3fd799(0x18d)],'resolvedAt':_0xa4ceb8[_0x3fd799(0x176)],'resolvedBy':_0xa4ceb8[_0x3fd799(0x147)],'attributes':_0xa4ceb8[_0x3fd799(0x139)]||{}});},'updateCommentThread':async({channelId:_0x899595,threadId:_0x43c0f8,context:_0x5486e6,unlinkedAt:_0x109e8b,attributes:_0xbd5ef5})=>this[_0x517be9(0x16b)](_0x899595)[_0x517be9(0x13b)]({'commentThreadId':_0x43c0f8,'context':_0x5486e6,'attributes':_0xbd5ef5,'unlinkedAt':_0x109e8b})[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R),'resolveCommentThread':async({channelId:_0x2c240d,threadId:_0x3bfd6d})=>{const _0x483ea7=_0x517be9,_0xc23ada=await this[_0x483ea7(0x16b)](_0x2c240d)[_0x483ea7(0x170)](_0x3bfd6d)[_0x483ea7(0x16d)](B)[_0x483ea7(0x16d)](R);return{'threadId':_0xc23ada[_0x483ea7(0x153)],'resolvedAt':_0xc23ada[_0x483ea7(0x176)],'resolvedBy':_0xc23ada[_0x483ea7(0x147)]};},'reopenCommentThread':async({channelId:_0x4a0c80,threadId:_0xf7dcc1})=>this[_0x517be9(0x16b)](_0x4a0c80)[_0x517be9(0x152)](_0xf7dcc1)[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R),'removeCommentThread':({channelId:_0x51d457,threadId:_0x17ad69})=>this[_0x517be9(0x16b)](_0x51d457)[_0x517be9(0x189)](_0x17ad69)[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R),'addComment':({channelId:_0x33518e,threadId:_0x587ed4,commentId:_0x36d762,content:_0x30cc40,attributes:_0x98fcce})=>this[_0x517be9(0x16b)](_0x33518e)[_0x517be9(0x195)](_0x587ed4,_0x36d762,_0x30cc40,_0x98fcce)[_0x517be9(0x16d)](R),'updateComment':({channelId:_0x17f3d2,threadId:_0x372414,commentId:_0x4f3c07,content:_0x4d781d,attributes:_0x3854ab})=>this[_0x517be9(0x16b)](_0x17f3d2)[_0x517be9(0x142)](_0x372414,_0x4f3c07,_0x4d781d,_0x3854ab)[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R),'removeComment':({channelId:_0x4383b5,threadId:_0x5d69da,commentId:_0x487531})=>this[_0x517be9(0x16b)](_0x4383b5)[_0x517be9(0x15b)](_0x5d69da,_0x487531)[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R)},_0x3d3720 instanceof _0x3a8feb){const _0x512d34=_0x3d3720[_0x517be9(0x17e)][_0x517be9(0x171)](_0x517be9(0x13e)),_0xa28f96=_0x3d3720[_0x517be9(0x180)][_0x517be9(0x171)](_0x186b79);await this[_0x517be9(0x187)](_0x512d34);const _0xbf7e2e=await this[_0x517be9(0x154)][_0x517be9(0x171)](_0x512d34)[_0x517be9(0x18e)]();this[_0x517be9(0x136)](_0xa28f96,_0x517be9(0x166)+_0x512d34,(_0x2789ea,{session:_0x44047f})=>{const _0x347eb2=_0x517be9;_0x44047f['id']===_0xa28f96[_0x347eb2(0x159)]&&(_0x2789ea[_0x347eb2(0x190)](),this[_0x347eb2(0x18d)][_0x347eb2(0x180)][_0x347eb2(0x171)](_0x347eb2(0x140))[_0x347eb2(0x149)](_0x44047f[_0x347eb2(0x141)],_0x512d34));}),_0xa28f96[_0x517be9(0x184)](_0x512d34,_0xbf7e2e);}}async[_0x3ec431(0x187)](_0x3dbcb9){const _0x4fa58e=_0x3ec431;if(this[_0x4fa58e(0x154)][_0x4fa58e(0x161)](_0x3dbcb9))throw new _0x1cf057(_0x4fa58e(0x14a),null,{'channelId':_0x3dbcb9});const _0x31b0e6=this[_0x4fa58e(0x18d)][_0x4fa58e(0x180)][_0x4fa58e(0x171)](_0x4fa58e(0x17d)),_0x20d57d=new a[(_0x4fa58e(0x188))](_0x3dbcb9);this[_0x4fa58e(0x154)][_0x4fa58e(0x164)](_0x3dbcb9,_0x20d57d),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x148),(_0x4f1ff1,_0x41dd0f)=>{const _0x35a3cb=_0x4fa58e,{commentThreadId:_0x2aafba,documentId:_0x38e89d,context:_0x90e103,attributes:_0x4ef956,resolvedAt:_0x503872,resolvedBy:_0x51bd6b,comments:_0x5ea816}=_0x41dd0f;_0x31b0e6[_0x35a3cb(0x158)](_0x2aafba)||_0x31b0e6[_0x35a3cb(0x15a)]({'threadId':_0x2aafba,'channelId':_0x38e89d,'comments':_0x5ea816?_0x5ea816[_0x35a3cb(0x172)](S):[],'context':_0x90e103,'attributes':_0x4ef956,'resolvedAt':_0x503872,'resolvedBy':_0x51bd6b,'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x193),(_0x182005,{commentThreadId:_0x233221,documentId:_0x2ab4fc,context:_0x262a5c,unlinkedAt:_0x1a49de,attributes:_0x55fedd})=>{const _0x53ee45=_0x4fa58e;_0x31b0e6[_0x53ee45(0x158)](_0x233221)&&_0x31b0e6[_0x53ee45(0x13b)]({'threadId':_0x233221,'channelId':_0x2ab4fc,'context':_0x262a5c,'unlinkedAt':_0x1a49de,'attributes':_0x55fedd,'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x145),(_0x5caef9,{commentThreadId:_0x1b2ed3,resolvedBy:_0x32377b,resolvedAt:_0xc18054})=>{const _0xfa55e=_0x4fa58e,_0x973996=_0x31b0e6[_0xfa55e(0x158)](_0x1b2ed3);_0x973996&&_0x973996[_0xfa55e(0x196)]({'resolvedBy':_0x32377b,'resolvedAt':_0xc18054,'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x17a),(_0x1e11df,{commentThreadId:_0x33d9fe})=>{const _0x3cbe23=_0x4fa58e,_0x3ef882=_0x31b0e6[_0x3cbe23(0x158)](_0x33d9fe);_0x3ef882&&_0x3ef882[_0x3cbe23(0x146)]({'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x15d),(_0xc7d190,{commentThreadId:_0x36d07f})=>{const _0x238481=_0x4fa58e,_0x415a80=_0x31b0e6[_0x238481(0x158)](_0x36d07f);_0x415a80&&_0x415a80[_0x238481(0x168)]({'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x181),(_0x1ca02c,_0x4ca5f2)=>{const _0x51212c=_0x4fa58e,_0x5f0064=_0x4ca5f2[_0x51212c(0x153)],_0x23237d=_0x31b0e6[_0x51212c(0x158)](_0x5f0064);_0x23237d&&_0x23237d[_0x51212c(0x195)]({...S(_0x4ca5f2),'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x173),(_0x41d70a,{commentThreadId:_0x21ec26,commentId:_0xd0dd7c,content:_0x5e6e6e,attributes:_0x129953})=>{const _0x187823=_0x4fa58e,_0x2049ca=_0x31b0e6[_0x187823(0x158)](_0x21ec26);if(_0x2049ca){const _0xa54a79=_0x2049ca[_0x187823(0x14d)](_0xd0dd7c);_0xa54a79&&_0xa54a79[_0x187823(0x16f)]({'content':_0x5e6e6e,'attributes':_0x129953,'isFromAdapter':!0x0});}}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x179),(_0x22a95a,{commentThreadId:_0x2ba9a1,commentId:_0x1611e4})=>{const _0x4138d4=_0x4fa58e,_0x9603eb=_0x31b0e6[_0x4138d4(0x158)](_0x2ba9a1);if(_0x9603eb){const _0x114ea2=_0x9603eb[_0x4138d4(0x14d)](_0x1611e4);_0x114ea2&&_0x114ea2[_0x4138d4(0x168)]({'isFromAdapter':!0x0});}}),await this[_0x4fa58e(0x156)](_0x3dbcb9);}[_0x3ec431(0x165)](){const _0x5f20cd=_0x3ec431;if(this[_0x5f20cd(0x18d)]instanceof _0x3a8feb){const _0x2654ee=this[_0x5f20cd(0x18d)][_0x5f20cd(0x17e)][_0x5f20cd(0x171)](_0x5f20cd(0x13e));this[_0x5f20cd(0x163)](_0x2654ee);}}[_0x3ec431(0x163)](_0x14918d){const _0x59bd16=_0x3ec431;if(!this[_0x59bd16(0x154)][_0x59bd16(0x161)](_0x14918d))throw new _0x1cf057(_0x59bd16(0x16e),null,{'channelId':_0x14918d});this[_0x59bd16(0x16b)](_0x14918d)[_0x59bd16(0x183)](),this[_0x59bd16(0x154)][_0x59bd16(0x155)](_0x14918d);}async[_0x3ec431(0x18f)](){const _0x51a7a1=_0x3ec431;for(const _0x5f2332 of this[_0x51a7a1(0x154)][_0x51a7a1(0x167)]())await this[_0x51a7a1(0x156)](_0x5f2332);if(this[_0x51a7a1(0x18d)]instanceof _0x3a8feb){const _0x484689=this[_0x51a7a1(0x18d)][_0x51a7a1(0x17e)][_0x51a7a1(0x171)](_0x51a7a1(0x13e)),_0x54bc24=this[_0x51a7a1(0x18d)][_0x51a7a1(0x180)][_0x51a7a1(0x171)](_0x186b79);_0x54bc24[_0x51a7a1(0x138)](_0x484689);const _0x4c69d0=await this[_0x51a7a1(0x154)][_0x51a7a1(0x171)](_0x484689)[_0x51a7a1(0x18e)]();_0x54bc24[_0x51a7a1(0x184)](_0x484689,_0x4c69d0);}}async[_0x3ec431(0x156)](_0x10a06e){const _0x2af07e=_0x3ec431,{connection:_0x355d2f}=this[_0x2af07e(0x18d)][_0x2af07e(0x180)][_0x2af07e(0x171)](_0x15e16a),_0x438335=this[_0x2af07e(0x18d)][_0x2af07e(0x180)][_0x2af07e(0x171)](_0x2af07e(0x17d)),_0x147b56=this[_0x2af07e(0x154)][_0x2af07e(0x171)](_0x10a06e),_0x372751=await _0x147b56[_0x2af07e(0x15c)](_0x355d2f);await this[_0x2af07e(0x186)](_0x372751);const _0x9bb140=new Set(Array[_0x2af07e(0x182)](_0x438335[_0x2af07e(0x175)]({'channelId':_0x10a06e}),_0x296556=>_0x296556['id']));for(const _0x58228b of _0x372751)_0x58228b[_0x2af07e(0x157)]||_0x9bb140[_0x2af07e(0x155)](_0x58228b[_0x2af07e(0x153)]);for(const _0x3e634c of _0x9bb140)_0x438335[_0x2af07e(0x158)](_0x3e634c)[_0x2af07e(0x168)]({'isFromAdapter':!0x0});for(const _0x592c0d of _0x372751){let _0x4339e6=_0x438335[_0x2af07e(0x158)](_0x592c0d[_0x2af07e(0x153)]);const {commentThreadId:_0x63c164,context:_0x2410b3,attributes:_0x2cd600,resolvedBy:_0x426d15,resolvedAt:_0x42a1ee,unlinkedAt:_0x274276,deletedAt:_0x23dc4b}=_0x592c0d;if(_0x23dc4b)continue;_0x4339e6||(_0x4339e6=_0x438335[_0x2af07e(0x15a)]({'channelId':_0x10a06e,'threadId':_0x63c164,'context':_0x2410b3,'attributes':_0x2cd600||{},'resolvedBy':_0x426d15,'resolvedAt':_0x42a1ee,'unlinkedAt':_0x274276,'isFromAdapter':!0x0}));const _0x241014=new Set(Array[_0x2af07e(0x182)](_0x4339e6[_0x2af07e(0x143)],_0x4536a5=>_0x4536a5['id']));for(const _0x31acda of _0x592c0d[_0x2af07e(0x143)])_0x241014[_0x2af07e(0x155)](_0x31acda[_0x2af07e(0x135)]);for(const _0x3c0c0e of _0x241014)_0x4339e6[_0x2af07e(0x14d)](_0x3c0c0e)[_0x2af07e(0x168)]({'isFromAdapter':!0x0});for(const _0x4a1ce8 of _0x592c0d[_0x2af07e(0x143)]){const _0x1a00b7=_0x4339e6[_0x2af07e(0x14d)](_0x4a1ce8[_0x2af07e(0x135)]);_0x1a00b7?_0x1a00b7[_0x2af07e(0x18c)]!==_0x4a1ce8[_0x2af07e(0x18c)]&&_0x1a00b7[_0x2af07e(0x16f)]({'content':_0x4a1ce8[_0x2af07e(0x18c)],'isFromAdapter':!0x0}):_0x4339e6[_0x2af07e(0x195)](Object[_0x2af07e(0x18b)](S(_0x4a1ce8),{'isFromAdapter':!0x0}));}}}[_0x3ec431(0x16b)](_0x4e6fcf){const _0x57b576=_0x3ec431;if(!this[_0x57b576(0x154)][_0x57b576(0x161)](_0x4e6fcf))throw new _0x1cf057(_0x57b576(0x174),null,{'channelId':_0x4e6fcf});return this[_0x57b576(0x154)][_0x57b576(0x171)](_0x4e6fcf);}async[_0x3ec431(0x186)](_0x2aa078){const _0x3f0ca5=_0x3ec431,_0x31fb31=this[_0x3f0ca5(0x18d)][_0x3f0ca5(0x180)][_0x3f0ca5(0x171)](_0x57e16f),{connection:_0x11720b}=this[_0x3f0ca5(0x18d)][_0x3f0ca5(0x180)][_0x3f0ca5(0x171)](_0x15e16a),_0x39d5a0=new Set();for(const {resolvedBy:_0x478cb7,comments:_0x16817d}of _0x2aa078){_0x478cb7&&!_0x31fb31[_0x3f0ca5(0x185)](_0x478cb7)&&_0x39d5a0[_0x3f0ca5(0x144)](_0x478cb7);for(const {userId:_0x4c9591}of _0x16817d)_0x31fb31[_0x3f0ca5(0x185)](_0x4c9591)||_0x39d5a0[_0x3f0ca5(0x144)](_0x4c9591);}if(0x0===_0x39d5a0[_0x3f0ca5(0x13d)])return;const _0x37b755=await _0x1def9c[_0x3f0ca5(0x162)](_0x11720b,Array[_0x3f0ca5(0x182)](_0x39d5a0));for(const _0x5d58a1 of _0x37b755)_0x31fb31[_0x3f0ca5(0x185)](_0x5d58a1['id'])||_0x31fb31[_0x3f0ca5(0x14b)](_0x5d58a1);}}a[_0x3ec431(0x188)]=_0x57ba24;export default a;function _0x8329(){const _0x208b40=['commentThreadId','_services','delete','_connectService','deletedAt','getCommentThread','mySessionId','addCommentThread','removeComment','connect','commentThreadRemoved','578508lwugmD','1325676wcBPMT','requires','has','getMany','_terminateService','set','destroy','sessionAdd:','keys','remove','message','365UCGoem','_getService','code','catch','cloudservicescommentsadapter-disconnect-not-exist','update','resolveCommentThread','get','map','commentUpdated','cloudservicescommentsadapter-service-not-exist','getCommentThreads','resolvedAt','CloudServicesCommentsAdapter','9739184OnvrGd','commentRemoved','commentThreadReopened','authorId','init','CommentsRepository','config','1044626bgjnbA','plugins','commentAdded','from','disconnect','register','getUser','_fetchMissingUsersForThreads','_setUpService','CommentsService','removeCommentThread','userId','assign','content','context','getConnectedSessions','reconnect','off','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadUpdated','pluginName','addComment','resolve','1011963JPeUJO','commentId','listenTo','404','unregister','attributes','startsWith','updateCommentThread','10425870rBxOjJ','size','collaboration.channelId','27448YHsLSS','Permissions','permissions','updateComment','comments','add','commentThreadResolved','reopen','resolvedBy','commentThreadAdded','setPermissions','cloudservicescommentsadapter-connect-already-connected','addUser','cloud-services-internal-error:\x20Not\x20connected.','getComment','addToReconnectionStack','adapter','createdAt','2pLUFAc','reopenCommentThread'];_0x8329=function(){return _0x208b40;};return _0x8329();}function _0x22dc(_0x235efd,_0xe8b76a){const _0x83299c=_0x8329();return _0x22dc=function(_0x22dc34,_0x334fe6){_0x22dc34=_0x22dc34-0x135;let _0x5daf06=_0x83299c[_0x22dc34];return _0x5daf06;},_0x22dc(_0x235efd,_0xe8b76a);}async function B(_0x1c8379){const _0x511842=_0x3ec431;if(_0x511842(0x137)!==_0x1c8379[_0x511842(0x16c)])throw _0x1c8379;}function R(_0x7827e5){const _0x38a770=_0x3ec431;if((_0x55e78e=_0x7827e5)[_0x38a770(0x169)][_0x38a770(0x13a)](_0x38a770(0x192))||_0x55e78e[_0x38a770(0x169)][_0x38a770(0x13a)](_0x38a770(0x14c))||_0x55e78e[_0x38a770(0x169)][_0x38a770(0x13a)](_0x38a770(0x191)))return new Promise(()=>{});var _0x55e78e;throw _0x7827e5;}function S(_0x28696e){const _0x3388d1=_0x3ec431;return{'threadId':_0x28696e[_0x3388d1(0x153)],'commentId':_0x28696e[_0x3388d1(0x135)],'content':_0x28696e[_0x3388d1(0x18c)],'createdAt':_0x28696e[_0x3388d1(0x150)],'authorId':_0x28696e[_0x3388d1(0x18a)],'attributes':_0x28696e[_0x3388d1(0x139)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x28e7(){const _0x5a3100=['_terminateService','pluginName','collaboration.channelId','1654497fxGtaR','28wYPwyy','1028416ywciEO','get','13647460fjjEet','isThreadsLoadingPaused','listenTo','373848hCkaVo','once','requires','connected','CommentsRepository','CommentsEditing','destroy','89982Jedcvt','switchReadOnly','change:state','_setUpService','editor','Comments','init','data','config','9KEaZNw','ready','195312NxZNOT','1825fwuYjr','4936nAriZJ','plugins','RealTimeCollaborativeComments'];_0x28e7=function(){return _0x5a3100;};return _0x28e7();}const _0x9d8608=_0x4fe4;(function(_0xbb66bc,_0x5ccada){const _0x479345=_0x4fe4,_0x31718f=_0xbb66bc();while(!![]){try{const _0x1d95dc=parseInt(_0x479345(0x1de))/0x1+-parseInt(_0x479345(0x1d4))/0x2+parseInt(_0x479345(0x1dc))/0x3+-parseInt(_0x479345(0x1d6))/0x4*(-parseInt(_0x479345(0x1d5))/0x5)+-parseInt(_0x479345(0x1c9))/0x6*(-parseInt(_0x479345(0x1dd))/0x7)+parseInt(_0x479345(0x1c2))/0x8+parseInt(_0x479345(0x1d2))/0x9*(-parseInt(_0x479345(0x1bf))/0xa);if(_0x1d95dc===_0x5ccada)break;else _0x31718f['push'](_0x31718f['shift']());}catch(_0x5c1357){_0x31718f['push'](_0x31718f['shift']());}}}(_0x28e7,0xa4b52));import{Plugin as _0xb457fb}from'ckeditor5/src/core.js';import _0x18ddc2 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x523760 from'./realtimecollaborativeediting.js';import _0x26699a from'./realtimecollaborativeediting/websocketgateway.js';function _0x4fe4(_0x576d8c,_0x538974){const _0x28e754=_0x28e7();return _0x4fe4=function(_0x4fe41f,_0x380c9c){_0x4fe41f=_0x4fe41f-0x1bf;let _0x576094=_0x28e754[_0x4fe41f];return _0x576094;},_0x4fe4(_0x576d8c,_0x538974);}export default class m extends _0xb457fb{static get[_0x9d8608(0x1c4)](){const _0x4f8b5c=_0x9d8608;return[_0x4f8b5c(0x1ce),_0x18ddc2,_0x523760,_0x26699a];}static get[_0x9d8608(0x1da)](){const _0x377e7a=_0x9d8608;return _0x377e7a(0x1d8);}[_0x9d8608(0x1cf)](){const _0x3f82f0=_0x9d8608,_0x2bcd69=this[_0x3f82f0(0x1cd)][_0x3f82f0(0x1d7)][_0x3f82f0(0x1df)](_0x26699a),_0x2a6e7b=this[_0x3f82f0(0x1cd)][_0x3f82f0(0x1d7)][_0x3f82f0(0x1df)](_0x3f82f0(0x1c7)),_0xcf9550=this[_0x3f82f0(0x1cd)][_0x3f82f0(0x1d7)][_0x3f82f0(0x1df)](_0x18ddc2);return this[_0x3f82f0(0x1cd)][_0x3f82f0(0x1d0)][_0x3f82f0(0x1c3)](_0x3f82f0(0x1d3),()=>{const _0x4a654f=_0x3f82f0;this[_0x4a654f(0x1c1)](_0x2bcd69,_0x4a654f(0x1cb),(_0x184a6c,_0x1004bb,_0x15c09a)=>{const _0x2be89a=_0x4a654f;_0x2a6e7b[_0x2be89a(0x1c0)]=_0x2be89a(0x1c5)!==_0x15c09a;});}),this[_0x3f82f0(0x1c1)](_0x2bcd69,_0x3f82f0(0x1cb),(_0x15c88d,_0x1b0e81,_0x3f1df9)=>{const _0x582ede=_0x3f82f0;this[_0x582ede(0x1cd)][_0x582ede(0x1d7)][_0x582ede(0x1df)](_0x582ede(0x1c6))[_0x582ede(0x1ca)](_0x582ede(0x1c5)!==_0x3f1df9);}),_0xcf9550[_0x3f82f0(0x1cc)](this[_0x3f82f0(0x1cd)][_0x3f82f0(0x1d1)][_0x3f82f0(0x1df)](_0x3f82f0(0x1db)));}[_0x9d8608(0x1c8)](){const _0x3f1698=_0x9d8608;this[_0x3f1698(0x1cd)][_0x3f1698(0x1d7)][_0x3f1698(0x1df)](_0x18ddc2)[_0x3f1698(0x1d9)](this[_0x3f1698(0x1cd)][_0x3f1698(0x1d1)][_0x3f1698(0x1df)](_0x3f1698(0x1db))),super[_0x3f1698(0x1c8)]();}}
|