@ckeditor/ckeditor5-real-time-collaboration 43.2.0-alpha.0 → 43.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x25d4c4=>{const {'zh-cn':{dictionary:_0x32672d,getPluralForm:_0x25f3ab}}={'zh-cn':{'dictionary':{'CONNECTED_USERS':'已连接用户:%0','PENDING_ACTION_SENDING_DATA':'正在往服务器发送数据。','Synchronization\x20issue':'同步Issue','Connected\x20users\x20list\x20dropdown\x20menu':'连接用户列表下拉菜单','Connected\x20users\x20list':'连接用户列表','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'折叠的连接用户列表(按\x20ENTER\x20键打开)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'当前文档不能连回服务器。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新连接后不能获取文档详情。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'最新保存的文档版本和本地版本不匹配。为避免丢失数据,请先将内容保存在本地并刷新编辑器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本地文档和服务器文档存在区别,合并它们将导致意料之外的行为。为避免丢失数据,请先将内容保存在本地并刷新编辑器。'},'getPluralForm':_0x16444f=>0x0}};_0x25d4c4['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x25d4c4['zh-cn']['dictionary']=Object['assign'](_0x25d4c4['zh-cn']['dictionary'],_0x32672d),_0x25d4c4['zh-cn']['getPluralForm']=_0x25f3ab;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':_0x1e1eda=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ebe86=>{const {zh:{dictionary:_0x3ab67a,getPluralForm:_0x5ce384}}={'zh':{'dictionary':{'CONNECTED_USERS':'%0\x20位已連線使用者。','PENDING_ACTION_SENDING_DATA':'傳送資料到伺服器。','Synchronization\x20issue':'同步處理問題','Connected\x20users\x20list\x20dropdown\x20menu':'已連結使用者清單下拉式功能表','Connected\x20users\x20list':'已連結使用者清單','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'摺疊的已連結使用者清單(按\x20Enter\x20即可將其開啟)','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'無法將文件連結回伺服器。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'重新連結期間,無法獲取文件詳細資料。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'文件的最後儲存版本與本機版本不符。為了不丟失內容,請將其儲存於本機並重新整理編輯器。','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':'本機文件與伺服器文件不同,合併它們可能會導致意外情況。為了不丟失內容,請將其儲存於本機並重新整理編輯器。'},'getPluralForm':_0x415fd5=>0x0}};_0x2ebe86['zh']||={'dictionary':{},'getPluralForm':null},_0x2ebe86['zh']['dictionary']=Object['assign'](_0x2ebe86['zh']['dictionary'],_0x3ab67a),_0x2ebe86['zh']['getPluralForm']=_0x5ce384;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "43.2.0-alpha.
|
|
3
|
+
"version": "43.2.0-alpha.2",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@ckeditor/ckeditor-cloud-services-collaboration": "52.6.10",
|
|
45
|
-
"@ckeditor/ckeditor5-core": "43.2.0-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.2.0-alpha.
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.2.0-alpha.
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.2.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.2.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.2.0-alpha.
|
|
51
|
-
"ckeditor5": "43.2.0-alpha.
|
|
52
|
-
"ckeditor5-collaboration": "43.2.0-alpha.
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.2.0-alpha.2",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.2.0-alpha.2",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.2.0-alpha.2",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.2.0-alpha.2",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.2.0-alpha.2",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.2.0-alpha.2",
|
|
51
|
+
"ckeditor5": "43.2.0-alpha.2",
|
|
52
|
+
"ckeditor5-collaboration": "43.2.0-alpha.2",
|
|
53
53
|
"lodash-es": "4.17.21"
|
|
54
54
|
},
|
|
55
55
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x474cdd,_0x2c486b,_0xbb0389){const t=_0x474cdd['t'];switch(_0x2c486b){case'PENDING_ACTION_SENDING_DATA':return t({'string':'Sending\x20data\x20to\x20the\x20server.','id':'PENDING_ACTION_SENDING_DATA'});case'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'Synchronization\x20issue':return t('Synchronization\x20issue');case'Connected\x20users\x20list\x20dropdown\x20menu':return t('Connected\x20users\x20list\x20dropdown\x20menu');case'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':return t('Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)');case'Connected\x20users\x20list':return t('Connected\x20users\x20list');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'CONNECTED_USERS':return t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0xbb0389);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5aab3d,_0x4f029d){var _0x4ffeb0=_0x2b51,_0x1fbc07=_0x5aab3d();while(!![]){try{var _0x3a40bb=-parseInt(_0x4ffeb0(0x18c))/0x1*(-parseInt(_0x4ffeb0(0x18a))/0x2)+parseInt(_0x4ffeb0(0x18d))/0x3+parseInt(_0x4ffeb0(0x191))/0x4*(parseInt(_0x4ffeb0(0x18e))/0x5)+-parseInt(_0x4ffeb0(0x18b))/0x6*(-parseInt(_0x4ffeb0(0x190))/0x7)+-parseInt(_0x4ffeb0(0x18f))/0x8+parseInt(_0x4ffeb0(0x192))/0x9+-parseInt(_0x4ffeb0(0x193))/0xa;if(_0x3a40bb===_0x4f029d)break;else _0x1fbc07['push'](_0x1fbc07['shift']());}catch(_0x7ad16){_0x1fbc07['push'](_0x1fbc07['shift']());}}}(_0x57fe,0x859c6));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';function _0x2b51(_0x5d4eb6,_0x2af293){var _0x57fecf=_0x57fe();return _0x2b51=function(_0x2b5144,_0x5d95dd){_0x2b5144=_0x2b5144-0x18a;var _0x51528c=_0x57fecf[_0x2b5144];return _0x51528c;},_0x2b51(_0x5d4eb6,_0x2af293);}export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';import'./augmentation.js';function _0x57fe(){var _0x1ce62e=['5VverzW','5862624hkouMT','10787zbvRpu','814360Fvcala','5427882KNmNKt','20105950EQpFEO','1377100VIXnXw','2802QlEuOr','1JSoHnH','3227424OclWoP'];_0x57fe=function(){return _0x1ce62e;};return _0x57fe();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x6bab1e=_0x52b5;(function(_0x493aec,_0x369157){const _0x160048=_0x52b5,_0x68e02c=_0x493aec();while(!![]){try{const _0x3a771f=parseInt(_0x160048(0xe1))/0x1*(parseInt(_0x160048(0x85))/0x2)+parseInt(_0x160048(0xb2))/0x3+-parseInt(_0x160048(0x92))/0x4*(-parseInt(_0x160048(0xa0))/0x5)+parseInt(_0x160048(0x9c))/0x6+-parseInt(_0x160048(0xb1))/0x7*(parseInt(_0x160048(0xca))/0x8)+parseInt(_0x160048(0xdc))/0x9*(parseInt(_0x160048(0x84))/0xa)+-parseInt(_0x160048(0xe6))/0xb;if(_0x3a771f===_0x369157)break;else _0x68e02c['push'](_0x68e02c['shift']());}catch(_0x5410f2){_0x68e02c['push'](_0x68e02c['shift']());}}}(_0x4e95,0x6183e));import{ContextPlugin as _0x7e918d}from'ckeditor5/src/core.js';import{CKEditorError as _0xc2c377,Collection as _0x19a778}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x4d4608,BalloonPanelView as _0x4a7502,BodyCollection as _0x429e40}from'ckeditor5/src/ui.js';import{isElement as _0x119151}from'lodash-es';import _0x3f25f6 from'../realtimecollaborativeediting/sessions.js';function _0x4e95(){const _0x28fee3=['presenceList.collapseAt','_bodyCollection','isRendered','plugins','[contenteditable]','attachToDom','displayMe','unpin','isVisible','isFocusable','view','56yzXawF','2182998mXloyr','focus','locale','querySelectorAll','get','focusTracker','add',':not([disabled]):not([tabindex=\x22-1\x22])','presenceDropdownView','listenTo','detachFromDom','requires','ck\x20ck-presence-list__balloon','body','reverse','bind','onClick','remove','appendChild','hideDropdown','presencelist-collapseat-invalid-format','isCollapsed','using','button','314896qCrRwi','presenceList.container','render','min','content','tabIndex','Tab','isHidden','offsetWidth','bindTo','checkIfScrollable','keystrokes','config','balloonPanelView','number','Esc','_handleUserRemove','change:isFocused','423jxKGxE','indexOf','showDropdown','[tabindex]','counterView','3929BtZezt','items','pin','presenceList.displayMe','from','9869651xkHTrL','Enter','textarea','destroy','41830DWVcLA','172uhGnfy','map','input','hasTooltip','isExpanded','activeElement','sort','_handleUserAdd','presenceList','select','allConnectedUsers','length','presencelist-missing-container','289828YSiYcD','class','isMe','Shift+Tab','element','currentDisplayedUsers','set','define','_createView','init','1661646rIUUeO','inlineListView','usersCount','context','5lndipP','offsetHeight','filter','join','execute','_allConnectedUsers'];_0x4e95=function(){return _0x28fee3;};return _0x4e95();}function _0x52b5(_0x23c85f,_0x278a95){const _0x4e9575=_0x4e95();return _0x52b5=function(_0x52b5a7,_0x3e3828){_0x52b5a7=_0x52b5a7-0x83;let _0x396b56=_0x4e9575[_0x52b5a7];return _0x396b56;},_0x52b5(_0x23c85f,_0x278a95);}import _0x5d300c from'./view/presencelistview.js';import _0x1da053 from'./view/presencedropdownlistview.js';import _0x4114a1 from'./view/presencedropdownlistitemview.js';import _0x3f49d6 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x7e918d{constructor(_0x31f5f7){const _0x17198f=_0x52b5;super(_0x31f5f7),this[_0x17198f(0xa7)]=null,this[_0x17198f(0x9f)][_0x17198f(0xd6)][_0x17198f(0x99)](_0x17198f(0x8d),A);const _0x1e9786=_0x31f5f7[_0x17198f(0xd6)][_0x17198f(0xb6)](_0x17198f(0xa6));if(_0x17198f(0xd8)!=typeof _0x1e9786)throw new _0xc2c377(_0x17198f(0xc6),this);if(_0x1e9786<0x1)throw new _0xc2c377(_0x17198f(0xc6),this);this[_0x17198f(0xa5)]=this[_0x17198f(0x9f)][_0x17198f(0xa9)][_0x17198f(0xb6)](_0x3f25f6)[_0x17198f(0x8f)],this[_0x17198f(0x98)](_0x17198f(0x9e),0x0),this[_0x17198f(0x97)]=new _0x19a778(),this[_0x17198f(0xd7)]=new _0x4a7502(),this[_0x17198f(0xd7)][_0x17198f(0x93)]=_0x17198f(0xbe),this[_0x17198f(0xb0)]=this[_0x17198f(0x9a)](),this[_0x17198f(0xba)]=void 0x0;}static get[_0x6bab1e(0xbd)](){return[_0x3f25f6];}[_0x6bab1e(0x9b)](){const _0x21c4f9=_0x6bab1e;for(const _0x450264 of this[_0x21c4f9(0xa5)])this[_0x21c4f9(0x8c)](_0x450264);this[_0x21c4f9(0xbb)](this[_0x21c4f9(0xa5)],_0x21c4f9(0xb8),(_0x42b57a,_0x413e47)=>{const _0x2cf6cb=_0x21c4f9;this[_0x2cf6cb(0x8c)](_0x413e47);}),this[_0x21c4f9(0xbb)](this[_0x21c4f9(0xa5)],_0x21c4f9(0xc3),(_0x532afb,_0xaeae8)=>{const _0x3d7645=_0x21c4f9;this[_0x3d7645(0xda)](_0xaeae8);});}[_0x6bab1e(0x9a)](){const _0x13f2e1=_0x6bab1e,_0x44e7c5=this[_0x13f2e1(0x9f)],_0x2e6c23=new _0x5d300c(this[_0x13f2e1(0x9f)][_0x13f2e1(0xb4)]),_0x59d018=this[_0x13f2e1(0xd7)];if(!_0x119151(_0x44e7c5[_0x13f2e1(0xd6)][_0x13f2e1(0xb6)](_0x13f2e1(0xcb))))throw new _0xc2c377(_0x13f2e1(0x91),this);return _0x2e6c23[_0x13f2e1(0xe0)][_0x13f2e1(0xc1)](_0x13f2e1(0x9e))['to'](this),_0x2e6c23[_0x13f2e1(0xc1)](_0x13f2e1(0xc7))['to'](this,_0x13f2e1(0x9e),_0x1ca595=>{const _0x50cfae=_0x13f2e1,{collapseAt:_0x16d78e,displayMe:_0x6ce411}=_0x44e7c5[_0x50cfae(0xd6)][_0x50cfae(0xb6)](_0x50cfae(0x8d)),_0x208938=_0x1ca595>=_0x16d78e;return _0x2e6c23[_0x50cfae(0xe0)][_0x50cfae(0xd1)]=!(0x1==_0x1ca595&&_0x6ce411||_0x208938),_0x208938||this[_0x50cfae(0xc5)](),_0x208938;}),_0x2e6c23[_0x13f2e1(0x9d)][_0x13f2e1(0xe2)][_0x13f2e1(0xd3)](this[_0x13f2e1(0x97)])[_0x13f2e1(0xc8)](_0x5342e8=>{const _0x4a4b5a=_0x13f2e1,_0x1bb745=_0x44e7c5[_0x4a4b5a(0xd6)][_0x4a4b5a(0xb6)](_0x4a4b5a(0x8d)),_0x2749ee=new _0x3f49d6(_0x44e7c5[_0x4a4b5a(0xb4)],_0x5342e8,!!_0x1bb745[_0x4a4b5a(0xc2)]);return _0x2749ee[_0x4a4b5a(0xc1)](_0x4a4b5a(0x88))['to'](_0x2e6c23,_0x4a4b5a(0xc7),_0x1d94d4=>!_0x1d94d4),_0x2749ee[_0x4a4b5a(0xc1)](_0x4a4b5a(0xaf))['to'](_0x2e6c23,_0x4a4b5a(0xc7),_0x3997c9=>!_0x3997c9),_0x1bb745[_0x4a4b5a(0xc2)]&&this[_0x4a4b5a(0xbb)](_0x2749ee,_0x4a4b5a(0xa4),()=>{const _0x4dd51b=_0x4a4b5a;this[_0x4dd51b(0xb0)][_0x4dd51b(0xc7)]||_0x1bb745[_0x4dd51b(0xc2)](_0x5342e8,_0x2749ee[_0x4dd51b(0x96)]);}),_0x2749ee;}),this[_0x13f2e1(0xbb)](_0x2e6c23[_0x13f2e1(0x9d)],_0x13f2e1(0xa4),()=>{const _0x29dd00=_0x13f2e1;this[_0x29dd00(0xba)]?this[_0x29dd00(0xc5)]():this[_0x29dd00(0xb0)][_0x29dd00(0xc7)]&&this[_0x29dd00(0xde)]();}),_0x2e6c23[_0x13f2e1(0x9d)][_0x13f2e1(0xd5)][_0x13f2e1(0x98)](_0x13f2e1(0xe7),(_0x4e8c04,_0x8dcba1)=>{const _0x2ac002=_0x13f2e1;this[_0x2ac002(0xb0)][_0x2ac002(0xc7)]&&(this[_0x2ac002(0xde)](),_0x8dcba1());}),_0x2e6c23[_0x13f2e1(0xcc)](),_0x59d018[_0x13f2e1(0xcc)](),_0x4d4608({'emitter':_0x2e6c23,'activator':()=>_0x59d018[_0x13f2e1(0xae)],'contextElements':[_0x59d018[_0x13f2e1(0x96)],_0x2e6c23[_0x13f2e1(0x9d)][_0x13f2e1(0x96)]],'callback':()=>this[_0x13f2e1(0xc5)]()}),_0x44e7c5[_0x13f2e1(0xd6)][_0x13f2e1(0xb6)](_0x13f2e1(0xcb))[_0x13f2e1(0xc4)](_0x2e6c23[_0x13f2e1(0x96)]),this[_0x13f2e1(0xa7)]=new _0x429e40(this[_0x13f2e1(0x9f)][_0x13f2e1(0xb4)]),this[_0x13f2e1(0xa7)][_0x13f2e1(0xab)](),this[_0x13f2e1(0xa7)][_0x13f2e1(0xb8)](this[_0x13f2e1(0xd7)]),_0x2e6c23;}[_0x6bab1e(0x8c)](_0x4209f8){const _0x2efb3f=_0x6bab1e;if(!this[_0x2efb3f(0x9f)][_0x2efb3f(0xd6)][_0x2efb3f(0xb6)](_0x2efb3f(0xe4))&&_0x4209f8[_0x2efb3f(0x94)])return;const _0x4ca597=this[_0x2efb3f(0x9f)][_0x2efb3f(0xd6)][_0x2efb3f(0xb6)](_0x2efb3f(0xa6))-0x1;this[_0x2efb3f(0x9e)]++,this[_0x2efb3f(0x97)][_0x2efb3f(0x90)]==_0x4ca597&&this[_0x2efb3f(0x97)][_0x2efb3f(0x90)]>0x1&&this[_0x2efb3f(0x97)][_0x2efb3f(0xc3)](0x1);const _0x29aaed=_0x4209f8[_0x2efb3f(0x94)]?0x0:this[_0x2efb3f(0x97)][_0x2efb3f(0x90)];this[_0x2efb3f(0x97)][_0x2efb3f(0xb8)](_0x4209f8,_0x29aaed);}[_0x6bab1e(0xda)](_0x36792e){const _0x52bc0c=_0x6bab1e;if(this[_0x52bc0c(0x9e)]--,this[_0x52bc0c(0x97)][_0x52bc0c(0xb6)](_0x36792e['id'])&&(this[_0x52bc0c(0x97)][_0x52bc0c(0xc3)](_0x36792e['id']),this[_0x52bc0c(0x97)][_0x52bc0c(0x90)]<this[_0x52bc0c(0x9e)])){for(const _0x171559 of Array[_0x52bc0c(0xe5)](this[_0x52bc0c(0xa5)])[_0x52bc0c(0xc0)]())if(!this[_0x52bc0c(0x97)][_0x52bc0c(0xb6)](_0x171559['id']))return void this[_0x52bc0c(0x97)][_0x52bc0c(0xb8)](_0x171559,Math[_0x52bc0c(0xcd)](this[_0x52bc0c(0x97)][_0x52bc0c(0x90)],0x1));}}[_0x6bab1e(0xde)](){const _0x457aa1=_0x6bab1e;if(this[_0x457aa1(0xba)])return;const _0x3a2ed2=this[_0x457aa1(0x9f)][_0x457aa1(0xd6)][_0x457aa1(0xb6)](_0x457aa1(0x8d));this[_0x457aa1(0xba)]=new _0x1da053(this[_0x457aa1(0x9f)][_0x457aa1(0xb4)],!!_0x3a2ed2[_0x457aa1(0xc2)]),this[_0x457aa1(0xb0)][_0x457aa1(0x9d)][_0x457aa1(0x89)]=!0x0;const {listWrapperView:_0x2291bc}=this[_0x457aa1(0xba)];_0x2291bc[_0x457aa1(0xe2)][_0x457aa1(0xd3)](this[_0x457aa1(0xa5)])[_0x457aa1(0xc8)](_0x20c9b0=>{const _0x307a80=_0x457aa1;if(!_0x3a2ed2[_0x307a80(0xac)]&&_0x20c9b0[_0x307a80(0x94)])return null;const _0x4dec4b=new _0x4114a1(this[_0x307a80(0x9f)][_0x307a80(0xb4)],_0x20c9b0,!!_0x3a2ed2[_0x307a80(0xc2)]);return _0x3a2ed2[_0x307a80(0xc2)]&&this[_0x307a80(0xbb)](_0x4dec4b,_0x307a80(0xa4),()=>{const _0x13b6a1=_0x307a80;_0x3a2ed2[_0x13b6a1(0xc2)](_0x20c9b0,_0x4dec4b[_0x13b6a1(0x96)]);}),_0x4dec4b;}),this[_0x457aa1(0xd7)][_0x457aa1(0xce)][_0x457aa1(0xb8)](this[_0x457aa1(0xba)]),this[_0x457aa1(0xd7)][_0x457aa1(0xe3)]({'target':this[_0x457aa1(0xb0)][_0x457aa1(0x9d)][_0x457aa1(0x96)]}),_0x2291bc[_0x457aa1(0xb3)](),_0x2291bc[_0x457aa1(0xd4)]();const _0x58edd7=(_0xa030f,_0x57fd6d)=>{const _0x49e6e5=_0x457aa1;this[_0x49e6e5(0xc5)](),this[_0x49e6e5(0xb0)][_0x49e6e5(0x9d)][_0x49e6e5(0xb3)](),_0x57fd6d();};_0x2291bc[_0x457aa1(0xd5)][_0x457aa1(0x98)](_0x457aa1(0xd9),_0x58edd7),_0x2291bc[_0x457aa1(0xd5)][_0x457aa1(0x98)](_0x457aa1(0x95),_0x58edd7),_0x2291bc[_0x457aa1(0xd5)][_0x457aa1(0x98)](_0x457aa1(0xd0),(_0x29f1c7,_0x2c5777)=>{const _0x17b326=_0x457aa1;!function(_0x5be792){const _0x1f6304=_0x52b5,_0x36d709=['a',_0x1f6304(0xc9),_0x1f6304(0x87),_0x1f6304(0x8e),_0x1f6304(0xe8),_0x1f6304(0xdf),_0x1f6304(0xaa)][_0x1f6304(0x86)](_0x590ed5=>_0x590ed5+_0x1f6304(0xb9))[_0x1f6304(0xa3)](','),_0x491820=[...document[_0x1f6304(0xbf)][_0x1f6304(0xb5)](_0x36d709)][_0x1f6304(0xa2)](_0x227555=>_0x227555===document[_0x1f6304(0x8a)]||_0x227555[_0x1f6304(0xd2)]+_0x227555[_0x1f6304(0xa1)]>0x0)[_0x1f6304(0x8b)]((_0x2af7c4,_0x596ad5)=>(_0x2af7c4[_0x1f6304(0xcf)]||0x0)-(_0x596ad5[_0x1f6304(0xcf)]||0x0)),_0x411648=_0x491820[_0x1f6304(0xdd)](_0x5be792),_0x1485d3=_0x491820[(_0x411648+0x1)%_0x491820[_0x1f6304(0x90)]];_0x1485d3&&_0x1485d3[_0x1f6304(0xb3)]();}(this[_0x17b326(0xb0)][_0x17b326(0x96)]),this[_0x17b326(0xc5)](),_0x2c5777();}),_0x2291bc[_0x457aa1(0xb7)][_0x457aa1(0xb8)](this[_0x457aa1(0xb0)][_0x457aa1(0x96)]),_0x2291bc[_0x457aa1(0xb7)]['on'](_0x457aa1(0xdb),(_0x2d7535,_0x5bc998,_0x434cbc)=>{const _0x1b8728=_0x457aa1;_0x434cbc||this[_0x1b8728(0xc5)]();});}[_0x6bab1e(0xc5)](){const _0x2e5245=_0x6bab1e;this[_0x2e5245(0xba)]&&(this[_0x2e5245(0xb0)][_0x2e5245(0x9d)][_0x2e5245(0x89)]=!0x1,this[_0x2e5245(0xd7)][_0x2e5245(0xad)](),this[_0x2e5245(0xd7)][_0x2e5245(0xce)][_0x2e5245(0xc3)](this[_0x2e5245(0xba)]),this[_0x2e5245(0xba)][_0x2e5245(0x83)](),this[_0x2e5245(0xba)]=void 0x0);}[_0x6bab1e(0x83)](){const _0x3e9ec6=_0x6bab1e;super[_0x3e9ec6(0x83)](),this[_0x3e9ec6(0xb0)]&&this[_0x3e9ec6(0xb0)][_0x3e9ec6(0xa8)]&&this[_0x3e9ec6(0xb0)][_0x3e9ec6(0x83)](),this[_0x3e9ec6(0xa7)]&&(this[_0x3e9ec6(0xa7)][_0x3e9ec6(0xbc)](),this[_0x3e9ec6(0xa7)][_0x3e9ec6(0x83)](),this[_0x3e9ec6(0xa7)]=null);}}
|
|
23
|
+
function _0x25d9(){const _0xd09ace=['destroy','content','1bONxnH','attachToDom','isMe','textarea','offsetWidth','input','ck\x20ck-presence-list__balloon',':not([disabled]):not([tabindex=\x22-1\x22])','onClick','remove','allConnectedUsers','reverse','Tab','3734560QHZfIV','[tabindex]','hasTooltip','get','using','368178OkPrDZ','add','querySelectorAll','button','number','offsetHeight','element','join','bind','231iRgBlk','config','displayMe','6100680HKjhGX','locale','bindTo','map','detachFromDom','presenceList.container','isExpanded','isCollapsed','Esc','hideDropdown','indexOf','execute','presenceList.displayMe','change:isFocused','isHidden','sort','presenceList','focusTracker','set','isFocusable','168nHkpzj','keystrokes','init','currentDisplayedUsers','pin','isRendered','isVisible','appendChild','counterView','filter','balloonPanelView','plugins','Enter','_bodyCollection','20CwbcHR','1356268MQJgLy','[contenteditable]','length','inlineListView','listenTo','context','_handleUserAdd','activeElement','_handleUserRemove','_allConnectedUsers','showDropdown','view','checkIfScrollable','10848uFlnwq','presencelist-collapseat-invalid-format','define','Shift+Tab','focus','presencelist-missing-container','usersCount','tabIndex','63321313JvGSwP','class','select','4927293LxhghL','_createView','body','min','from','render','presenceList.collapseAt','requires','unpin','presenceDropdownView','items'];_0x25d9=function(){return _0xd09ace;};return _0x25d9();}const _0x1ea984=_0x2602;(function(_0x421799,_0x1f03d5){const _0x236885=_0x2602,_0x1ee11d=_0x421799();while(!![]){try{const _0x5b81e3=parseInt(_0x236885(0xe8))/0x1*(-parseInt(_0x236885(0xc3))/0x2)+-parseInt(_0x236885(0x103))/0x3*(parseInt(_0x236885(0xd0))/0x4)+-parseInt(_0x236885(0xf5))/0x5+parseInt(_0x236885(0xfa))/0x6*(-parseInt(_0x236885(0x11a))/0x7)+-parseInt(_0x236885(0x106))/0x8+parseInt(_0x236885(0xdb))/0x9*(-parseInt(_0x236885(0xc2))/0xa)+parseInt(_0x236885(0xd8))/0xb;if(_0x5b81e3===_0x1f03d5)break;else _0x1ee11d['push'](_0x1ee11d['shift']());}catch(_0x33c665){_0x1ee11d['push'](_0x1ee11d['shift']());}}}(_0x25d9,0xc172a));import{ContextPlugin as _0x379bc7}from'ckeditor5/src/core.js';import{CKEditorError as _0x4cd858,Collection as _0x59fb59}from'ckeditor5/src/utils.js';function _0x2602(_0xa2a28c,_0x5ba501){const _0x25d9f4=_0x25d9();return _0x2602=function(_0x260215,_0x4f179c){_0x260215=_0x260215-0xc0;let _0x401335=_0x25d9f4[_0x260215];return _0x401335;},_0x2602(_0xa2a28c,_0x5ba501);}import{clickOutsideHandler as _0x282539,BalloonPanelView as _0x928d94,BodyCollection as _0x1b12a0}from'ckeditor5/src/ui.js';import{isElement as _0x11b23d}from'lodash-es';import _0x5d7d12 from'../realtimecollaborativeediting/sessions.js';import _0x233802 from'./view/presencelistview.js';import _0x2d0f00 from'./view/presencedropdownlistview.js';import _0x45e2bb from'./view/presencedropdownlistitemview.js';import _0x321e04 from'./view/presenceinlinelistitemview.js';const D={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x379bc7{constructor(_0x202683){const _0x26224b=_0x2602;super(_0x202683),this[_0x26224b(0xc1)]=null,this[_0x26224b(0xc8)][_0x26224b(0x104)][_0x26224b(0xd2)](_0x26224b(0x116),D);const _0x32969=_0x202683[_0x26224b(0x104)][_0x26224b(0xf8)](_0x26224b(0xe1));if(_0x26224b(0xfe)!=typeof _0x32969)throw new _0x4cd858(_0x26224b(0xd1),this);if(_0x32969<0x1)throw new _0x4cd858(_0x26224b(0xd1),this);this[_0x26224b(0xcc)]=this[_0x26224b(0xc8)][_0x26224b(0x125)][_0x26224b(0xf8)](_0x5d7d12)[_0x26224b(0xf2)],this[_0x26224b(0x118)](_0x26224b(0xd6),0x0),this[_0x26224b(0x11d)]=new _0x59fb59(),this[_0x26224b(0x124)]=new _0x928d94(),this[_0x26224b(0x124)][_0x26224b(0xd9)]=_0x26224b(0xee),this[_0x26224b(0xce)]=this[_0x26224b(0xdc)](),this[_0x26224b(0xe4)]=void 0x0;}static get[_0x1ea984(0xe2)](){return[_0x5d7d12];}[_0x1ea984(0x11c)](){const _0x2af1ff=_0x1ea984;for(const _0x431aff of this[_0x2af1ff(0xcc)])this[_0x2af1ff(0xc9)](_0x431aff);this[_0x2af1ff(0xc7)](this[_0x2af1ff(0xcc)],_0x2af1ff(0xfb),(_0x242561,_0x5ea074)=>{const _0x300322=_0x2af1ff;this[_0x300322(0xc9)](_0x5ea074);}),this[_0x2af1ff(0xc7)](this[_0x2af1ff(0xcc)],_0x2af1ff(0xf1),(_0x588f2a,_0xe18586)=>{const _0x112cf6=_0x2af1ff;this[_0x112cf6(0xcb)](_0xe18586);});}[_0x1ea984(0xdc)](){const _0x15fe3f=_0x1ea984,_0x37a167=this[_0x15fe3f(0xc8)],_0x4ca72c=new _0x233802(this[_0x15fe3f(0xc8)][_0x15fe3f(0x107)]),_0x27070d=this[_0x15fe3f(0x124)];if(!_0x11b23d(_0x37a167[_0x15fe3f(0x104)][_0x15fe3f(0xf8)](_0x15fe3f(0x10b))))throw new _0x4cd858(_0x15fe3f(0xd5),this);return _0x4ca72c[_0x15fe3f(0x122)][_0x15fe3f(0x102)](_0x15fe3f(0xd6))['to'](this),_0x4ca72c[_0x15fe3f(0x102)](_0x15fe3f(0x10d))['to'](this,_0x15fe3f(0xd6),_0x1302d2=>{const _0x2ae0b0=_0x15fe3f,{collapseAt:_0x5e1811,displayMe:_0x450977}=_0x37a167[_0x2ae0b0(0x104)][_0x2ae0b0(0xf8)](_0x2ae0b0(0x116)),_0x7c7271=_0x1302d2>=_0x5e1811;return _0x4ca72c[_0x2ae0b0(0x122)][_0x2ae0b0(0x114)]=!(0x1==_0x1302d2&&_0x450977||_0x7c7271),_0x7c7271||this[_0x2ae0b0(0x10f)](),_0x7c7271;}),_0x4ca72c[_0x15fe3f(0xc6)][_0x15fe3f(0xe5)][_0x15fe3f(0x108)](this[_0x15fe3f(0x11d)])[_0x15fe3f(0xf9)](_0x7a5bdd=>{const _0x54136b=_0x15fe3f,_0x2d9afc=_0x37a167[_0x54136b(0x104)][_0x54136b(0xf8)](_0x54136b(0x116)),_0x284046=new _0x321e04(_0x37a167[_0x54136b(0x107)],_0x7a5bdd,!!_0x2d9afc[_0x54136b(0xf0)]);return _0x284046[_0x54136b(0x102)](_0x54136b(0xf7))['to'](_0x4ca72c,_0x54136b(0x10d),_0x419560=>!_0x419560),_0x284046[_0x54136b(0x102)](_0x54136b(0x119))['to'](_0x4ca72c,_0x54136b(0x10d),_0xca11e9=>!_0xca11e9),_0x2d9afc[_0x54136b(0xf0)]&&this[_0x54136b(0xc7)](_0x284046,_0x54136b(0x111),()=>{const _0x27d2e=_0x54136b;this[_0x27d2e(0xce)][_0x27d2e(0x10d)]||_0x2d9afc[_0x27d2e(0xf0)](_0x7a5bdd,_0x284046[_0x27d2e(0x100)]);}),_0x284046;}),this[_0x15fe3f(0xc7)](_0x4ca72c[_0x15fe3f(0xc6)],_0x15fe3f(0x111),()=>{const _0x4a80cd=_0x15fe3f;this[_0x4a80cd(0xe4)]?this[_0x4a80cd(0x10f)]():this[_0x4a80cd(0xce)][_0x4a80cd(0x10d)]&&this[_0x4a80cd(0xcd)]();}),_0x4ca72c[_0x15fe3f(0xc6)][_0x15fe3f(0x11b)][_0x15fe3f(0x118)](_0x15fe3f(0xc0),(_0x7edc09,_0x577cfe)=>{const _0x51a506=_0x15fe3f;this[_0x51a506(0xce)][_0x51a506(0x10d)]&&(this[_0x51a506(0xcd)](),_0x577cfe());}),_0x4ca72c[_0x15fe3f(0xe0)](),_0x27070d[_0x15fe3f(0xe0)](),_0x282539({'emitter':_0x4ca72c,'activator':()=>_0x27070d[_0x15fe3f(0x120)],'contextElements':[_0x27070d[_0x15fe3f(0x100)],_0x4ca72c[_0x15fe3f(0xc6)][_0x15fe3f(0x100)]],'callback':()=>this[_0x15fe3f(0x10f)]()}),_0x37a167[_0x15fe3f(0x104)][_0x15fe3f(0xf8)](_0x15fe3f(0x10b))[_0x15fe3f(0x121)](_0x4ca72c[_0x15fe3f(0x100)]),this[_0x15fe3f(0xc1)]=new _0x1b12a0(this[_0x15fe3f(0xc8)][_0x15fe3f(0x107)]),this[_0x15fe3f(0xc1)][_0x15fe3f(0xe9)](),this[_0x15fe3f(0xc1)][_0x15fe3f(0xfb)](this[_0x15fe3f(0x124)]),_0x4ca72c;}[_0x1ea984(0xc9)](_0x28d75f){const _0x18729d=_0x1ea984;if(!this[_0x18729d(0xc8)][_0x18729d(0x104)][_0x18729d(0xf8)](_0x18729d(0x112))&&_0x28d75f[_0x18729d(0xea)])return;const _0x485200=this[_0x18729d(0xc8)][_0x18729d(0x104)][_0x18729d(0xf8)](_0x18729d(0xe1))-0x1;this[_0x18729d(0xd6)]++,this[_0x18729d(0x11d)][_0x18729d(0xc5)]==_0x485200&&this[_0x18729d(0x11d)][_0x18729d(0xc5)]>0x1&&this[_0x18729d(0x11d)][_0x18729d(0xf1)](0x1);const _0x304db5=_0x28d75f[_0x18729d(0xea)]?0x0:this[_0x18729d(0x11d)][_0x18729d(0xc5)];this[_0x18729d(0x11d)][_0x18729d(0xfb)](_0x28d75f,_0x304db5);}[_0x1ea984(0xcb)](_0x49f9c6){const _0x177688=_0x1ea984;if(this[_0x177688(0xd6)]--,this[_0x177688(0x11d)][_0x177688(0xf8)](_0x49f9c6['id'])&&(this[_0x177688(0x11d)][_0x177688(0xf1)](_0x49f9c6['id']),this[_0x177688(0x11d)][_0x177688(0xc5)]<this[_0x177688(0xd6)])){for(const _0x4963db of Array[_0x177688(0xdf)](this[_0x177688(0xcc)])[_0x177688(0xf3)]())if(!this[_0x177688(0x11d)][_0x177688(0xf8)](_0x4963db['id']))return void this[_0x177688(0x11d)][_0x177688(0xfb)](_0x4963db,Math[_0x177688(0xde)](this[_0x177688(0x11d)][_0x177688(0xc5)],0x1));}}[_0x1ea984(0xcd)](){const _0x8840d9=_0x1ea984;if(this[_0x8840d9(0xe4)])return;const _0x16e0fb=this[_0x8840d9(0xc8)][_0x8840d9(0x104)][_0x8840d9(0xf8)](_0x8840d9(0x116));this[_0x8840d9(0xe4)]=new _0x2d0f00(this[_0x8840d9(0xc8)][_0x8840d9(0x107)],!!_0x16e0fb[_0x8840d9(0xf0)]),this[_0x8840d9(0xce)][_0x8840d9(0xc6)][_0x8840d9(0x10c)]=!0x0;const {listWrapperView:_0x51ddbc}=this[_0x8840d9(0xe4)];_0x51ddbc[_0x8840d9(0xe5)][_0x8840d9(0x108)](this[_0x8840d9(0xcc)])[_0x8840d9(0xf9)](_0x2bc935=>{const _0x3f23ef=_0x8840d9;if(!_0x16e0fb[_0x3f23ef(0x105)]&&_0x2bc935[_0x3f23ef(0xea)])return null;const _0x1d49b7=new _0x45e2bb(this[_0x3f23ef(0xc8)][_0x3f23ef(0x107)],_0x2bc935,!!_0x16e0fb[_0x3f23ef(0xf0)]);return _0x16e0fb[_0x3f23ef(0xf0)]&&this[_0x3f23ef(0xc7)](_0x1d49b7,_0x3f23ef(0x111),()=>{const _0xa17f1b=_0x3f23ef;_0x16e0fb[_0xa17f1b(0xf0)](_0x2bc935,_0x1d49b7[_0xa17f1b(0x100)]);}),_0x1d49b7;}),this[_0x8840d9(0x124)][_0x8840d9(0xe7)][_0x8840d9(0xfb)](this[_0x8840d9(0xe4)]),this[_0x8840d9(0x124)][_0x8840d9(0x11e)]({'target':this[_0x8840d9(0xce)][_0x8840d9(0xc6)][_0x8840d9(0x100)]}),_0x51ddbc[_0x8840d9(0xd4)](),_0x51ddbc[_0x8840d9(0xcf)]();const _0x15d8df=(_0x159840,_0x40b015)=>{const _0x1818fb=_0x8840d9;this[_0x1818fb(0x10f)](),this[_0x1818fb(0xce)][_0x1818fb(0xc6)][_0x1818fb(0xd4)](),_0x40b015();};_0x51ddbc[_0x8840d9(0x11b)][_0x8840d9(0x118)](_0x8840d9(0x10e),_0x15d8df),_0x51ddbc[_0x8840d9(0x11b)][_0x8840d9(0x118)](_0x8840d9(0xd3),_0x15d8df),_0x51ddbc[_0x8840d9(0x11b)][_0x8840d9(0x118)](_0x8840d9(0xf4),(_0xfc5906,_0x554983)=>{const _0x46ab43=_0x8840d9;!function(_0x1dffc2){const _0xca0b9e=_0x2602,_0x36d0b5=['a',_0xca0b9e(0xfd),_0xca0b9e(0xed),_0xca0b9e(0xda),_0xca0b9e(0xeb),_0xca0b9e(0xf6),_0xca0b9e(0xc4)][_0xca0b9e(0x109)](_0x593217=>_0x593217+_0xca0b9e(0xef))[_0xca0b9e(0x101)](','),_0x46fd1b=[...document[_0xca0b9e(0xdd)][_0xca0b9e(0xfc)](_0x36d0b5)][_0xca0b9e(0x123)](_0x3d3c12=>_0x3d3c12===document[_0xca0b9e(0xca)]||_0x3d3c12[_0xca0b9e(0xec)]+_0x3d3c12[_0xca0b9e(0xff)]>0x0)[_0xca0b9e(0x115)]((_0x1e9c6d,_0x490439)=>(_0x1e9c6d[_0xca0b9e(0xd7)]||0x0)-(_0x490439[_0xca0b9e(0xd7)]||0x0)),_0x5d83a9=_0x46fd1b[_0xca0b9e(0x110)](_0x1dffc2),_0x25fce9=_0x46fd1b[(_0x5d83a9+0x1)%_0x46fd1b[_0xca0b9e(0xc5)]];_0x25fce9&&_0x25fce9[_0xca0b9e(0xd4)]();}(this[_0x46ab43(0xce)][_0x46ab43(0x100)]),this[_0x46ab43(0x10f)](),_0x554983();}),_0x51ddbc[_0x8840d9(0x117)][_0x8840d9(0xfb)](this[_0x8840d9(0xce)][_0x8840d9(0x100)]),_0x51ddbc[_0x8840d9(0x117)]['on'](_0x8840d9(0x113),(_0x4dccb2,_0x6400a1,_0x597955)=>{const _0x25d1cf=_0x8840d9;_0x597955||this[_0x25d1cf(0x10f)]();});}[_0x1ea984(0x10f)](){const _0x553349=_0x1ea984;this[_0x553349(0xe4)]&&(this[_0x553349(0xce)][_0x553349(0xc6)][_0x553349(0x10c)]=!0x1,this[_0x553349(0x124)][_0x553349(0xe3)](),this[_0x553349(0x124)][_0x553349(0xe7)][_0x553349(0xf1)](this[_0x553349(0xe4)]),this[_0x553349(0xe4)][_0x553349(0xe6)](),this[_0x553349(0xe4)]=void 0x0);}[_0x1ea984(0xe6)](){const _0x70a417=_0x1ea984;super[_0x70a417(0xe6)](),this[_0x70a417(0xce)]&&this[_0x70a417(0xce)][_0x70a417(0x11f)]&&this[_0x70a417(0xce)][_0x70a417(0xe6)](),this[_0x70a417(0xc1)]&&(this[_0x70a417(0xc1)][_0x70a417(0x10a)](),this[_0x70a417(0xc1)][_0x70a417(0xe6)](),this[_0x70a417(0xc1)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x8446(_0x106160,_0x89233f){const _0x40a75e=_0x40a7();return _0x8446=function(_0x84468a,_0x3d22bc){_0x84468a=_0x84468a-0xfc;let _0x26930e=_0x40a75e[_0x84468a];return _0x26930e;},_0x8446(_0x106160,_0x89233f);}(function(_0x104317,_0x438295){const _0x32d537=_0x8446,_0x1963cf=_0x104317();while(!![]){try{const _0x1e578d=parseInt(_0x32d537(0xfe))/0x1*(parseInt(_0x32d537(0xfd))/0x2)+parseInt(_0x32d537(0xfc))/0x3*(parseInt(_0x32d537(0x10e))/0x4)+parseInt(_0x32d537(0x10f))/0x5*(parseInt(_0x32d537(0x100))/0x6)+parseInt(_0x32d537(0x109))/0x7+parseInt(_0x32d537(0x106))/0x8+parseInt(_0x32d537(0x103))/0x9*(parseInt(_0x32d537(0x108))/0xa)+-parseInt(_0x32d537(0x107))/0xb;if(_0x1e578d===_0x438295)break;else _0x1963cf['push'](_0x1963cf['shift']());}catch(_0x18a438){_0x1963cf['push'](_0x1963cf['shift']());}}}(_0x40a7,0x9c239));import{View as _0x2cf926}from'ckeditor5/src/ui.js';import{getTranslation as _0x311d94}from'../../common-translations.js';function _0x40a7(){const _0x4f3541=['485kPZKSu','111HrlooU','20qeODlw','87808JctkCc','div','61242Fsorzc','ck-presence-list__counter--hidden','ck-presence-list__counter','243MxSWGI','set','setTemplate','7004536OyuVTl','42915818KHCIGu','437110tujuzS','384174prPvme','usersCount','CONNECTED_USERS','bindTemplate','isHidden','60776zqepih'];_0x40a7=function(){return _0x4f3541;};return _0x40a7();}export default class ts extends _0x2cf926{constructor(_0x1fd3e3){const _0x41f969=_0x8446;super(_0x1fd3e3);const _0x5cd128=this[_0x41f969(0x10c)];this[_0x41f969(0x104)](_0x41f969(0x10a),0x0),this[_0x41f969(0x104)](_0x41f969(0x10d),!0x0),this[_0x41f969(0x105)]({'tag':_0x41f969(0xff),'attributes':{'class':['ck',_0x41f969(0x102),_0x5cd128['if'](_0x41f969(0x10d),_0x41f969(0x101))]},'children':[{'text':_0x5cd128['to'](_0x41f969(0x10a),_0x187aba=>_0x311d94(_0x1fd3e3,_0x41f969(0x10b),_0x187aba))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x278d1a=_0x4f2e;function _0x5b4c(){const _0x1be418=['ck-user__full-name','49VHrUmg','307274Vzwjuc','45909sYXMgn','presentation','ck-presence-list__dropdown-list-item','true','setTemplate','4603415GADdnQ','span','bindTemplate','ck-presence-list__marker','fire','tag','element','color','1452592AvZLgH','getBackgroundColorClass','72eNpror','focus','1479354NOdZWV','20UcPlWV','2169RRAene','execute','userView','button','614vMSEDR','1626jpBBQw','2530Ckhdgu','name'];_0x5b4c=function(){return _0x1be418;};return _0x5b4c();}(function(_0x370523,_0x61eddf){const _0x38fe81=_0x4f2e,_0x2354fc=_0x370523();while(!![]){try{const _0xb1578b=-parseInt(_0x38fe81(0x1cd))/0x1*(-parseInt(_0x38fe81(0x1ce))/0x2)+-parseInt(_0x38fe81(0x1d4))/0x3*(-parseInt(_0x38fe81(0x1c8))/0x4)+-parseInt(_0x38fe81(0x1d9))/0x5+parseInt(_0x38fe81(0x1c7))/0x6+parseInt(_0x38fe81(0x1d2))/0x7*(parseInt(_0x38fe81(0x1c3))/0x8)+-parseInt(_0x38fe81(0x1c9))/0x9*(parseInt(_0x38fe81(0x1cf))/0xa)+parseInt(_0x38fe81(0x1d3))/0xb*(-parseInt(_0x38fe81(0x1c5))/0xc);if(_0xb1578b===_0x61eddf)break;else _0x2354fc['push'](_0x2354fc['shift']());}catch(_0x30617e){_0x2354fc['push'](_0x2354fc['shift']());}}}(_0x5b4c,0xe678e));import{ListItemView as _0x2c69a2}from'ckeditor5/src/ui.js';function _0x4f2e(_0x3efe01,_0x470f32){const _0x5b4c58=_0x5b4c();return _0x4f2e=function(_0x4f2e4e,_0xc80a69){_0x4f2e4e=_0x4f2e4e-0x1bd;let _0x5ae715=_0x5b4c58[_0x4f2e4e];return _0x5ae715;},_0x4f2e(_0x3efe01,_0x470f32);}import{UserView as _0xb76e59}from'ckeditor5-collaboration/src/collaboration-core.js';export default class E extends _0x2c69a2{constructor(_0x15aa65,_0xa6868c,_0x5677ce){const _0x59f878=_0x4f2e;super(_0x15aa65);const _0x5b2a4a=this[_0x59f878(0x1bd)];this[_0x59f878(0x1cb)]=new _0xb76e59(_0x15aa65,_0xa6868c);const _0x41dd78={'tag':'li','attributes':{'class':['ck',_0x59f878(0x1d6)],'tabindex':-0x1,'role':_0x59f878(0x1d5),'aria-label':_0xa6868c[_0x59f878(0x1d0)]},'children':[this[_0x59f878(0x1cb)],{'tag':_0x59f878(0x1da),'attributes':{'class':['ck',_0x59f878(0x1d1)]},'children':[{'text':_0xa6868c[_0x59f878(0x1d0)]}]},{'tag':_0x59f878(0x1da),'attributes':{'class':['ck',_0x59f878(0x1be),_0xa6868c[_0x59f878(0x1c2)][_0x59f878(0x1c4)]()],'aria-hidden':_0x59f878(0x1d7)}}]};_0x5677ce&&(_0x41dd78[_0x59f878(0x1c0)]=_0x59f878(0x1cc),_0x41dd78['on']={'click':_0x5b2a4a['to'](()=>this[_0x59f878(0x1bf)](_0x59f878(0x1ca)))}),this[_0x59f878(0x1d8)](_0x41dd78);}[_0x278d1a(0x1c6)](){const _0x533ece=_0x278d1a;this[_0x533ece(0x1c1)][_0x533ece(0x1c6)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50ee58=_0x24cb;function _0x24cb(_0xd6bb95,_0x3cadc4){const _0x5cdd5c=_0x5cdd();return _0x24cb=function(_0x24cb1c,_0x51dcb4){_0x24cb1c=_0x24cb1c-0xd2;let _0x3ece28=_0x5cdd5c[_0x24cb1c];return _0x3ece28;},_0x24cb(_0xd6bb95,_0x3cadc4);}(function(_0x55a365,_0x2ad914){const _0x293860=_0x24cb,_0x3d5a79=_0x55a365();while(!![]){try{const _0x27b3f2=-parseInt(_0x293860(0xdb))/0x1*(-parseInt(_0x293860(0xe2))/0x2)+-parseInt(_0x293860(0xe3))/0x3+parseInt(_0x293860(0xd9))/0x4*(-parseInt(_0x293860(0xf6))/0x5)+-parseInt(_0x293860(0xf4))/0x6*(-parseInt(_0x293860(0xef))/0x7)+parseInt(_0x293860(0xe8))/0x8+-parseInt(_0x293860(0xf2))/0x9*(parseInt(_0x293860(0xe1))/0xa)+parseInt(_0x293860(0xdf))/0xb;if(_0x27b3f2===_0x2ad914)break;else _0x3d5a79['push'](_0x3d5a79['shift']());}catch(_0x33ae7b){_0x3d5a79['push'](_0x3d5a79['shift']());}}}(_0x5cdd,0xdd782));import{ListView as _0x2abf72,View as _0x398b6b}from'ckeditor5/src/ui.js';import{global as _0x1d818d}from'ckeditor5/src/utils.js';import{getTranslation as _0x56ce4f}from'../../common-translations.js';export default class M extends _0x398b6b{constructor(_0xd1a62f,_0x5b009a){const _0x328628=_0x24cb;super(_0xd1a62f),this[_0x328628(0xf3)]=new PresenceDropdownListWrapperView(_0xd1a62f,_0x5b009a),this[_0x328628(0xd3)]({'tag':_0x328628(0xf8),'attributes':{'tabindex':-0x1,'role':_0x328628(0xf5),'class':['ck',_0x328628(0xf7)],'aria-label':_0x56ce4f(_0xd1a62f,_0x328628(0xde))},'children':[this[_0x328628(0xf3)]]});}}export class PresenceDropdownListWrapperView extends _0x2abf72{constructor(_0x13af92,_0x3fc662){const _0xd5d101=_0x24cb;super(_0x13af92);const _0x441c0f=this[_0xd5d101(0xd5)];this[_0xd5d101(0xd4)](_0xd5d101(0xdd),!0x1),this[_0xd5d101(0xd3)]({'tag':_0x3fc662?_0xd5d101(0xf8):'ul','attributes':{'class':['ck',_0xd5d101(0xe9),_0xd5d101(0xd2),_0xd5d101(0xf0),_0x441c0f['if'](_0xd5d101(0xdd),_0xd5d101(0xe0))],'role':_0x441c0f['to'](_0xd5d101(0xd6)),'aria-label':_0x441c0f['to'](_0xd5d101(0xe6)),'aria-labelledby':_0x441c0f['to'](_0xd5d101(0xed))},'children':this[_0xd5d101(0xe5)]}),this[_0xd5d101(0xee)](_0x1d818d[_0xd5d101(0xf1)],_0xd5d101(0xda),()=>this[_0xd5d101(0xec)]()),this[_0xd5d101(0xe5)]['on'](_0xd5d101(0xe7),()=>this[_0xd5d101(0xec)]());}[_0x50ee58(0xe4)](){const _0x271b02=_0x50ee58;super[_0x271b02(0xe4)](),this[_0x271b02(0xec)]();}[_0x50ee58(0xec)](){const _0x5572f1=_0x50ee58,_0x253dca=this[_0x5572f1(0xdc)];_0x253dca&&(this[_0x5572f1(0xdd)]=Math[_0x5572f1(0xd7)](_0x253dca[_0x5572f1(0xea)],_0x253dca[_0x5572f1(0xeb)])>0.8*window[_0x5572f1(0xd8)]);}}function _0x5cdd(){const _0x24d268=['_isScrollable','Connected\x20users\x20list\x20dropdown\x20menu','24896091EDkGhJ','ck-presence-list__dropdown-list-wrapper_scrollable','30bOSwca','365026IOLMkM','176205ACYtUm','render','items','ariaLabel','change','349864IFZHPr','ck-reset','scrollHeight','clientHeight','checkIfScrollable','ariaLabelledBy','listenTo','21861jiytGq','ck-presence-list__dropdown-list-wrapper','window','3113541SgLqzP','listWrapperView','1806yRhimh','application','7129150hlNsxd','ck-presence-list__dropdown-list','div','ck-list','setTemplate','set','bindTemplate','role','max','innerHeight','4plcAuF','resize','1jeLhvd','element'];_0x5cdd=function(){return _0x24d268;};return _0x5cdd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x6b0c39,_0x3febb4){const _0x23ce23=_0x52b9,_0x383eb5=_0x6b0c39();while(!![]){try{const _0x2cfc36=parseInt(_0x23ce23(0x1c6))/0x1*(parseInt(_0x23ce23(0x1b0))/0x2)+-parseInt(_0x23ce23(0x1b3))/0x3+-parseInt(_0x23ce23(0x1b1))/0x4*(-parseInt(_0x23ce23(0x1ac))/0x5)+-parseInt(_0x23ce23(0x1b4))/0x6*(parseInt(_0x23ce23(0x1ad))/0x7)+-parseInt(_0x23ce23(0x1c0))/0x8+parseInt(_0x23ce23(0x1b5))/0x9*(parseInt(_0x23ce23(0x1c5))/0xa)+-parseInt(_0x23ce23(0x1a9))/0xb*(-parseInt(_0x23ce23(0x1c2))/0xc);if(_0x2cfc36===_0x3febb4)break;else _0x383eb5['push'](_0x383eb5['shift']());}catch(_0x2c9cf9){_0x383eb5['push'](_0x383eb5['shift']());}}}(_0x4a73,0x65884));import{LabelView as _0x576744,View as _0x54ded6}from'ckeditor5/src/ui.js';import{UserView as _0x1db5b8}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4a73(){const _0x30b2d7=['button','tooltipPosition','ck-presence-list__marker','true','15906TUCcyV','fire','ck-presence-list__list-item__tooltip','20knNExq','736652XyrGPX','text','tag','38uVxhPb','518352bKkUUH','set','719598pZbBUy','30bzsaUO','7469127UpCPEM','getBackgroundColorClass','div','isFocusable','name','span','userView','ck-presence-list__list-item','hasTooltip','execute','markerView','5386056mRCRJr','bindTemplate','24doBTyN','setTemplate','template','10gNTdyi','26528glNHwZ','color','listitem'];_0x4a73=function(){return _0x30b2d7;};return _0x4a73();}export default class T extends _0x54ded6{constructor(_0x218165,_0x3be24c,_0x50b381){const _0x160114=_0x52b9;super(_0x218165);const _0x33ce19=this[_0x160114(0x1c1)];this[_0x160114(0x1b2)](_0x160114(0x1b8),!0x1),this[_0x160114(0x1b2)](_0x160114(0x1bd),!0x0),this[_0x160114(0x1b2)](_0x160114(0x1ca),''),this[_0x160114(0x1bb)]=new _0x1db5b8(_0x218165,_0x3be24c),this[_0x160114(0x1bf)]=new at(_0x218165,_0x3be24c);const _0x31b5a8=new _0x576744(_0x218165);_0x31b5a8[_0x160114(0x1c4)][_0x160114(0x1af)]=_0x160114(0x1ba),_0x31b5a8[_0x160114(0x1ae)]=_0x3be24c[_0x160114(0x1b9)];const _0x5c1889={'tag':_0x160114(0x1b7),'attributes':{'class':['ck',_0x160114(0x1bc)],'role':_0x160114(0x1c8),'tabindex':_0x33ce19['to'](_0x160114(0x1b8),_0x36fc72=>!!_0x36fc72&&0x0),'aria-labelledby':_0x31b5a8['id'],'data-cke-tooltip-text':this[_0x160114(0x1bb)][_0x160114(0x1b9)],'data-cke-tooltip-position':_0x33ce19['to'](_0x160114(0x1ca)),'data-cke-tooltip-disabled':_0x33ce19['to'](_0x160114(0x1bd),_0xdbebd5=>!_0xdbebd5),'data-cke-tooltip-class':_0x160114(0x1ab)},'children':[this[_0x160114(0x1bb)],this[_0x160114(0x1bf)],_0x31b5a8]};_0x50b381&&(_0x5c1889[_0x160114(0x1af)]=_0x160114(0x1c9),_0x5c1889['on']={'click':_0x33ce19['to'](()=>this[_0x160114(0x1aa)](_0x160114(0x1be)))}),this[_0x160114(0x1c3)](_0x5c1889);}}function _0x52b9(_0x222c78,_0x5b9def){const _0x4a73ea=_0x4a73();return _0x52b9=function(_0x52b9ad,_0xef7d1a){_0x52b9ad=_0x52b9ad-0x1a7;let _0x2951a0=_0x4a73ea[_0x52b9ad];return _0x2951a0;},_0x52b9(_0x222c78,_0x5b9def);}class at extends _0x54ded6{constructor(_0x56c860,_0x512587){const _0x2d2d32=_0x52b9;super(_0x56c860),this[_0x2d2d32(0x1c3)]({'tag':_0x2d2d32(0x1ba),'attributes':{'class':['ck',_0x2d2d32(0x1a7),_0x512587[_0x2d2d32(0x1c7)][_0x2d2d32(0x1b6)]()],'aria-hidden':_0x2d2d32(0x1a8)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49977b=_0xaea9;(function(_0x48b391,_0x37f7ef){const _0x5c50db=_0xaea9,_0x5c1ab1=_0x48b391();while(!![]){try{const _0x2662dc=parseInt(_0x5c50db(0x1f9))/0x1+-parseInt(_0x5c50db(0x201))/0x2*(-parseInt(_0x5c50db(0x1f5))/0x3)+-parseInt(_0x5c50db(0x1f1))/0x4*(parseInt(_0x5c50db(0x1fe))/0x5)+-parseInt(_0x5c50db(0x1fc))/0x6*(parseInt(_0x5c50db(0x206))/0x7)+-parseInt(_0x5c50db(0x1ee))/0x8*(-parseInt(_0x5c50db(0x1fa))/0x9)+parseInt(_0x5c50db(0x1fb))/0xa+parseInt(_0x5c50db(0x20d))/0xb;if(_0x2662dc===_0x37f7ef)break;else _0x5c1ab1['push'](_0x5c1ab1['shift']());}catch(_0x29f7f1){_0x5c1ab1['push'](_0x5c1ab1['shift']());}}}(_0x2145,0x90387));function _0x2145(){const _0x329821=['5zcHTgp','render','setAttribute','18284zKZUry','set','aria-expanded','bindTemplate','ck-presence-list__list','3599974eYFqPE','focus','div','fire','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','setTemplate','keystrokes','797687KwJKtJ','change:hasPopup','listenTo','488loQXjR','items','Connected\x20users\x20list','1366280rNkfTb','isExpanded','element','execute','186uHeQhj','hasPopup','removeAttribute','createCollection','733228uIHzVn','6957tFpDnv','5411590HJzyVi','12hZFUlj','list'];_0x2145=function(){return _0x329821;};return _0x2145();}function _0xaea9(_0x47a6b3,_0x2952b3){const _0x214586=_0x2145();return _0xaea9=function(_0xaea98e,_0x201c19){_0xaea98e=_0xaea98e-0x1ee;let _0x4dad03=_0x214586[_0xaea98e];return _0x4dad03;},_0xaea9(_0x47a6b3,_0x2952b3);}import{View as _0x5dbaa2}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5ed453}from'ckeditor5/src/utils.js';import{getTranslation as _0x348a74}from'../../common-translations.js';export default class es extends _0x5dbaa2{constructor(_0x46dedf){const _0x59e881=_0xaea9;super(_0x46dedf);const _0x401cd4=this[_0x59e881(0x204)];this[_0x59e881(0x1ef)]=this[_0x59e881(0x1f8)](),this[_0x59e881(0x20c)]=new _0x5ed453(),this[_0x59e881(0x202)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x59e881(0x20b)]({'tag':_0x59e881(0x208),'attributes':{'aria-haspopup':_0x401cd4['if'](_0x59e881(0x1f6)),'aria-expanded':_0x401cd4['to'](_0x59e881(0x1f2),_0x19ca51=>this[_0x59e881(0x1f6)]&&String(_0x19ca51)),'aria-label':_0x401cd4['to'](_0x59e881(0x1f6),_0x2ffbdb=>_0x348a74(_0x46dedf,_0x2ffbdb?_0x59e881(0x20a):_0x59e881(0x1f0))),'role':_0x59e881(0x1fd),'tabindex':_0x401cd4['to'](_0x59e881(0x1f6),_0x54d28d=>!!_0x54d28d&&0x0),'class':['ck',_0x59e881(0x205)]},'children':this[_0x59e881(0x1ef)],'on':{'click':_0x401cd4['to'](()=>this[_0x59e881(0x209)](_0x59e881(0x1f4)))}}),this['on'](_0x59e881(0x20e),(_0x3e55f1,_0x5cff82,_0x3379c6)=>{const _0x18fd44=_0x59e881;this[_0x18fd44(0x1f3)]&&(_0x3379c6?this[_0x18fd44(0x1f3)][_0x18fd44(0x200)](_0x18fd44(0x203),String(this[_0x18fd44(0x1f2)])):this[_0x18fd44(0x1f3)][_0x18fd44(0x1f7)](_0x18fd44(0x203)));});}[_0x49977b(0x207)](){const _0x5b1f81=_0x49977b;this[_0x5b1f81(0x1f3)][_0x5b1f81(0x207)]();}[_0x49977b(0x1ff)](){const _0x7f6b5=_0x49977b;super[_0x7f6b5(0x1ff)](),this[_0x7f6b5(0x20c)][_0x7f6b5(0x20f)](this[_0x7f6b5(0x1f3)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x43e305,_0x21dbb5){const _0x3ba3d7=_0x139d,_0x31b92a=_0x43e305();while(!![]){try{const _0x210c0e=parseInt(_0x3ba3d7(0xc8))/0x1*(parseInt(_0x3ba3d7(0xda))/0x2)+-parseInt(_0x3ba3d7(0xce))/0x3+-parseInt(_0x3ba3d7(0xcb))/0x4*(-parseInt(_0x3ba3d7(0xc9))/0x5)+-parseInt(_0x3ba3d7(0xd7))/0x6*(-parseInt(_0x3ba3d7(0xdb))/0x7)+parseInt(_0x3ba3d7(0xdc))/0x8*(parseInt(_0x3ba3d7(0xc3))/0x9)+parseInt(_0x3ba3d7(0xd1))/0xa+-parseInt(_0x3ba3d7(0xca))/0xb*(parseInt(_0x3ba3d7(0xc2))/0xc);if(_0x210c0e===_0x21dbb5)break;else _0x31b92a['push'](_0x31b92a['shift']());}catch(_0x1a5516){_0x31b92a['push'](_0x31b92a['shift']());}}}(_0x43d2,0x47b92));function _0x43d2(){const _0x4470f6=['212PMzJCf','div','ck-presence-list--collapsed','259704maEtNn','counterView','inlineListView','5804550xipkWL','items','ck-rounded-corners','bind','tooltipPosition','first','6pSaEOn','bindTemplate','locale','6eqBdJy','2754283YfbNnW','46136Vlcmjs','isCollapsed','setTemplate','set','ck-reset','36FzvAfy','279SNOszH','listenTo','change','ck-presence-list','hasPopup','42557YWDtXA','1690VuOqJY','3365780zWEjUP'];_0x43d2=function(){return _0x4470f6;};return _0x43d2();}import{View as _0x67cfe5}from'ckeditor5/src/ui.js';import _0x22232d from'./presencecounterview.js';function _0x139d(_0x1b3e58,_0x3a89c1){const _0x43d291=_0x43d2();return _0x139d=function(_0x139d3f,_0x488591){_0x139d3f=_0x139d3f-0xc0;let _0x5e37d6=_0x43d291[_0x139d3f];return _0x5e37d6;},_0x139d(_0x1b3e58,_0x3a89c1);}import _0x407c9f from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class _ extends _0x67cfe5{constructor(_0x90af01){const _0x4f8104=_0x139d;super(_0x90af01);const _0x26bd5f=this[_0x4f8104(0xd8)];this[_0x4f8104(0xc0)](_0x4f8104(0xdd),!0x0),this[_0x4f8104(0xcf)]=new _0x22232d(this[_0x4f8104(0xd9)]),this[_0x4f8104(0xd0)]=new _0x407c9f(_0x90af01),this[_0x4f8104(0xd0)][_0x4f8104(0xd4)](_0x4f8104(0xc7))['to'](this,_0x4f8104(0xdd)),this[_0x4f8104(0xc4)](this[_0x4f8104(0xd0)][_0x4f8104(0xd2)],_0x4f8104(0xc5),()=>{const _0x4b4591=_0x4f8104;for(const _0x3304da of this[_0x4b4591(0xd0)][_0x4b4591(0xd2)])_0x3304da[_0x4b4591(0xd5)]='s';this[_0x4b4591(0xd0)][_0x4b4591(0xd2)][_0x4b4591(0xd6)]&&(this[_0x4b4591(0xd0)][_0x4b4591(0xd2)][_0x4b4591(0xd6)][_0x4b4591(0xd5)]='se');}),this[_0x4f8104(0xde)]({'tag':_0x4f8104(0xcc),'attributes':{'class':['ck',_0x4f8104(0xc6),_0x4f8104(0xc1),_0x4f8104(0xd3),_0x26bd5f['if'](_0x4f8104(0xdd),_0x4f8104(0xcd))]},'children':[this[_0x4f8104(0xcf)],this[_0x4f8104(0xd0)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4e3574=_0x568d;(function(_0x115cba,_0x32909f){var _0x360b34=_0x568d,_0x4baaf5=_0x115cba();while(!![]){try{var _0x3d9003=parseInt(_0x360b34(0x132))/0x1+-parseInt(_0x360b34(0x12f))/0x2+parseInt(_0x360b34(0x135))/0x3+-parseInt(_0x360b34(0x130))/0x4+parseInt(_0x360b34(0x12c))/0x5+-parseInt(_0x360b34(0x12d))/0x6+-parseInt(_0x360b34(0x12e))/0x7*(parseInt(_0x360b34(0x133))/0x8);if(_0x3d9003===_0x32909f)break;else _0x4baaf5['push'](_0x4baaf5['shift']());}catch(_0x41445b){_0x4baaf5['push'](_0x4baaf5['shift']());}}}(_0xf4df,0x3e796));import{ContextPlugin as _0x1bf0cd}from'ckeditor5/src/core.js';function _0x568d(_0x18c01c,_0x37a6b1){var _0xf4dfc8=_0xf4df();return _0x568d=function(_0x568d3f,_0x309a21){_0x568d3f=_0x568d3f-0x12c;var _0x25d401=_0xf4dfc8[_0x568d3f];return _0x25d401;},_0x568d(_0x18c01c,_0x37a6b1);}import _0x9d5ff2 from'./realtimecollaborativeediting/sessions.js';import _0x102797 from'./presencelist/presencelistui.js';export default class i extends _0x1bf0cd{static get[_0x4e3574(0x136)](){return[_0x9d5ff2,_0x102797];}static get[_0x4e3574(0x134)](){var _0x2884c8=_0x4e3574;return _0x2884c8(0x131);}}function _0xf4df(){var _0x5f5cbe=['requires','438210lOmxKg','1310724cmHfap','40873BYXfPg','80898VGzHXd','738268BrvfuV','PresenceList','274770tzHnao','72IuRtNa','pluginName','1168509aBbcjv'];_0xf4df=function(){return _0x5f5cbe;};return _0xf4df();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x595b23=_0x36eb;(function(_0x704b34,_0x4f0a2f){const _0x39ff0e=_0x36eb,_0x54176c=_0x704b34();while(!![]){try{const _0x489a6d=parseInt(_0x39ff0e(0x1ed))/0x1+parseInt(_0x39ff0e(0x206))/0x2*(-parseInt(_0x39ff0e(0x24a))/0x3)+parseInt(_0x39ff0e(0x201))/0x4*(-parseInt(_0x39ff0e(0x247))/0x5)+parseInt(_0x39ff0e(0x23b))/0x6*(parseInt(_0x39ff0e(0x1ef))/0x7)+parseInt(_0x39ff0e(0x232))/0x8*(-parseInt(_0x39ff0e(0x243))/0x9)+parseInt(_0x39ff0e(0x22a))/0xa+parseInt(_0x39ff0e(0x1ff))/0xb;if(_0x489a6d===_0x4f0a2f)break;else _0x54176c['push'](_0x54176c['shift']());}catch(_0xc3d753){_0x54176c['push'](_0x54176c['shift']());}}}(_0x30fa,0x492b5));import{Context as _0x4a0823,ContextPlugin as _0x5bad6b}from'ckeditor5/src/core.js';import{CKEditorError as _0x3773a}from'ckeditor5/src/utils.js';import{Users as _0x521ebd}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2acedf,User as _0x114ba0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x4800be from'../realtimecollaborativeediting/websocketgateway.js';import _0x1c354c from'../realtimecollaborativeediting/sessions.js';class a extends _0x5bad6b{static get[_0x595b23(0x224)](){const _0x4edef4=_0x595b23;return[_0x4800be,_0x4edef4(0x1f1),_0x1c354c,_0x521ebd];}static get[_0x595b23(0x22c)](){const _0x5e83c8=_0x595b23;return _0x5e83c8(0x246);}constructor(_0x332df3){const _0x5ecb5d=_0x595b23;super(_0x332df3),this[_0x5ecb5d(0x209)]=new Map();}async[_0x595b23(0x227)](){const _0x2dbaca=_0x595b23,_0x3ae859=this[_0x2dbaca(0x235)],_0x1eb106=_0x3ae859[_0x2dbaca(0x23e)][_0x2dbaca(0x20f)](_0x2dbaca(0x1f1));if(_0x3ae859[_0x2dbaca(0x23e)][_0x2dbaca(0x20f)](_0x4800be)[_0x2dbaca(0x1e9)](this),_0x1eb106[_0x2dbaca(0x242)]={'addCommentThread':async({channelId:_0xff322b,threadId:_0x2031e2,comments:_0x414318,resolvedAt:_0xea9a4a,resolvedBy:_0xafeaf8,context:_0x335445,attributes:_0x2d9d72})=>{const _0x5a31b4=_0x2dbaca,_0x4e83d7=await this[_0x5a31b4(0x239)](_0xff322b)[_0x5a31b4(0x238)]({'commentThreadId':_0x2031e2,'comments':_0x414318[_0x5a31b4(0x233)](_0x284918=>function(_0x273719,_0x48aa3a,_0x374a06){const _0x43f0db=_0x5a31b4;return{'commentThreadId':_0x374a06,'commentId':_0x273719[_0x43f0db(0x207)],'userId':_0x273719[_0x43f0db(0x21c)],'content':_0x273719[_0x43f0db(0x1f9)],'documentId':_0x48aa3a,'createdAt':_0x273719[_0x43f0db(0x23c)],'attributes':_0x273719[_0x43f0db(0x234)]||{}};}(_0x284918,_0xff322b,_0x2031e2)),'resolvedAt':_0xea9a4a,'resolvedBy':_0xafeaf8,'context':_0x335445,'attributes':_0x2d9d72})[_0x5a31b4(0x1e6)](R);return{'threadId':_0x4e83d7[_0x5a31b4(0x23f)],'comments':_0x4e83d7[_0x5a31b4(0x216)]};},'getCommentThread':async({channelId:_0x392d1c,threadId:_0x50fa4f})=>{const _0x28018e=_0x2dbaca,_0x7825b2=await this[_0x28018e(0x239)](_0x392d1c)[_0x28018e(0x228)](_0x50fa4f)[_0x28018e(0x1e6)](R);return _0x7825b2[_0x28018e(0x23d)]?null:(await this[_0x28018e(0x223)]([_0x7825b2]),{'threadId':_0x7825b2[_0x28018e(0x23f)],'comments':_0x7825b2[_0x28018e(0x216)][_0x28018e(0x233)](S),'context':_0x7825b2[_0x28018e(0x235)],'resolvedAt':_0x7825b2[_0x28018e(0x23a)],'resolvedBy':_0x7825b2[_0x28018e(0x20c)],'attributes':_0x7825b2[_0x28018e(0x234)]||{}});},'updateCommentThread':async({channelId:_0x496cfb,threadId:_0x4fe69e,context:_0x4d787a,unlinkedAt:_0x5e03e6,attributes:_0x974f77})=>this[_0x2dbaca(0x239)](_0x496cfb)[_0x2dbaca(0x1ec)]({'commentThreadId':_0x4fe69e,'context':_0x4d787a,'attributes':_0x974f77,'unlinkedAt':_0x5e03e6})[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R),'resolveCommentThread':async({channelId:_0x198f07,threadId:_0x12d6ec})=>{const _0x3b8622=_0x2dbaca,_0x6d509f=await this[_0x3b8622(0x239)](_0x198f07)[_0x3b8622(0x21f)](_0x12d6ec)[_0x3b8622(0x1e6)](B)[_0x3b8622(0x1e6)](R);return{'threadId':_0x6d509f[_0x3b8622(0x23f)],'resolvedAt':_0x6d509f[_0x3b8622(0x23a)],'resolvedBy':_0x6d509f[_0x3b8622(0x20c)]};},'reopenCommentThread':async({channelId:_0x52bc28,threadId:_0x532a85})=>this[_0x2dbaca(0x239)](_0x52bc28)[_0x2dbaca(0x226)](_0x532a85)[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R),'removeCommentThread':({channelId:_0x35efef,threadId:_0x2281b4})=>this[_0x2dbaca(0x239)](_0x35efef)[_0x2dbaca(0x210)](_0x2281b4)[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R),'addComment':({channelId:_0x43911a,threadId:_0x212173,commentId:_0x5c8134,content:_0x36f93d,attributes:_0x477c31})=>this[_0x2dbaca(0x239)](_0x43911a)[_0x2dbaca(0x237)](_0x212173,_0x5c8134,_0x36f93d,_0x477c31)[_0x2dbaca(0x1e6)](R),'updateComment':({channelId:_0x34ea08,threadId:_0x1b76e1,commentId:_0x5e40dc,content:_0x58ad9f,attributes:_0x197d38})=>this[_0x2dbaca(0x239)](_0x34ea08)[_0x2dbaca(0x1fb)](_0x1b76e1,_0x5e40dc,_0x58ad9f,_0x197d38)[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R),'removeComment':({channelId:_0x35f115,threadId:_0xcac688,commentId:_0x1b499d})=>this[_0x2dbaca(0x239)](_0x35f115)[_0x2dbaca(0x214)](_0xcac688,_0x1b499d)[_0x2dbaca(0x1e6)](B)[_0x2dbaca(0x1e6)](R)},_0x3ae859 instanceof _0x4a0823){const _0x3e9365=_0x3ae859[_0x2dbaca(0x20a)][_0x2dbaca(0x20f)](_0x2dbaca(0x205)),_0x3e49c0=_0x3ae859[_0x2dbaca(0x23e)][_0x2dbaca(0x20f)](_0x1c354c);await this[_0x2dbaca(0x241)](_0x3e9365);const _0x1e71dc=await this[_0x2dbaca(0x209)][_0x2dbaca(0x20f)](_0x3e9365)[_0x2dbaca(0x22f)]();this[_0x2dbaca(0x248)](_0x3e49c0,_0x2dbaca(0x1f6)+_0x3e9365,(_0x1ae37a,{session:_0x20cae4})=>{const _0x4f32e9=_0x2dbaca;_0x20cae4['id']===_0x3e49c0[_0x4f32e9(0x230)]&&(_0x1ae37a[_0x4f32e9(0x218)](),this[_0x4f32e9(0x235)][_0x4f32e9(0x23e)][_0x4f32e9(0x20f)](_0x4f32e9(0x1fc))[_0x4f32e9(0x200)](_0x20cae4[_0x4f32e9(0x1f7)],_0x3e9365));}),_0x3e49c0[_0x2dbaca(0x1f2)](_0x3e9365,_0x1e71dc);}}async[_0x595b23(0x241)](_0x2c44c4){const _0xcbd58d=_0x595b23;if(this[_0xcbd58d(0x209)][_0xcbd58d(0x1fe)](_0x2c44c4))throw new _0x3773a(_0xcbd58d(0x245),null,{'channelId':_0x2c44c4});const _0x5b4b9d=this[_0xcbd58d(0x235)][_0xcbd58d(0x23e)][_0xcbd58d(0x20f)](_0xcbd58d(0x1f1)),_0x416d06=new a[(_0xcbd58d(0x20d))](_0x2c44c4);this[_0xcbd58d(0x209)][_0xcbd58d(0x220)](_0x2c44c4,_0x416d06),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x1f4),(_0x24db0a,_0x35cee6)=>{const _0x22b811=_0xcbd58d,{commentThreadId:_0x1ce137,documentId:_0xb3e8cc,context:_0x57a65a,attributes:_0x48385e,resolvedAt:_0x1f3bea,resolvedBy:_0x635ceb,comments:_0x5983ee}=_0x35cee6;_0x5b4b9d[_0x22b811(0x228)](_0x1ce137)||_0x5b4b9d[_0x22b811(0x238)]({'threadId':_0x1ce137,'channelId':_0xb3e8cc,'comments':_0x5983ee?_0x5983ee[_0x22b811(0x233)](S):[],'context':_0x57a65a,'attributes':_0x48385e,'resolvedAt':_0x1f3bea,'resolvedBy':_0x635ceb,'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x22b),(_0x3c83f5,{commentThreadId:_0x5ac7da,documentId:_0x50d669,context:_0x2597f0,unlinkedAt:_0x5859fc,attributes:_0xd32aee})=>{const _0x5ad9c1=_0xcbd58d;_0x5b4b9d[_0x5ad9c1(0x228)](_0x5ac7da)&&_0x5b4b9d[_0x5ad9c1(0x1ec)]({'threadId':_0x5ac7da,'channelId':_0x50d669,'context':_0x2597f0,'unlinkedAt':_0x5859fc,'attributes':_0xd32aee,'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x20e),(_0x4ac5b7,{commentThreadId:_0x4e90cb,resolvedBy:_0x2fa734,resolvedAt:_0x506b03})=>{const _0x235296=_0xcbd58d,_0x3e52dd=_0x5b4b9d[_0x235296(0x228)](_0x4e90cb);_0x3e52dd&&_0x3e52dd[_0x235296(0x1e8)]({'resolvedBy':_0x2fa734,'resolvedAt':_0x506b03,'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x215),(_0x45269a,{commentThreadId:_0x3c6596})=>{const _0x1eb0f6=_0xcbd58d,_0x44569f=_0x5b4b9d[_0x1eb0f6(0x228)](_0x3c6596);_0x44569f&&_0x44569f[_0x1eb0f6(0x1ea)]({'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x221),(_0x5ba189,{commentThreadId:_0x20f930})=>{const _0xd8df24=_0xcbd58d,_0x37bc9b=_0x5b4b9d[_0xd8df24(0x228)](_0x20f930);_0x37bc9b&&_0x37bc9b[_0xd8df24(0x1e7)]({'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x213),(_0x2c0703,_0xbcac13)=>{const _0x312d30=_0xcbd58d,_0x4f2fa8=_0xbcac13[_0x312d30(0x23f)],_0x4604d8=_0x5b4b9d[_0x312d30(0x228)](_0x4f2fa8);_0x4604d8&&_0x4604d8[_0x312d30(0x237)]({...S(_0xbcac13),'isFromAdapter':!0x0});}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x244),(_0x34f870,{commentThreadId:_0x4f7c63,commentId:_0x3ab37b,content:_0x6433f3,attributes:_0x62e29})=>{const _0x167ce7=_0xcbd58d,_0x59529e=_0x5b4b9d[_0x167ce7(0x228)](_0x4f7c63);if(_0x59529e){const _0x3c1070=_0x59529e[_0x167ce7(0x217)](_0x3ab37b);_0x3c1070&&_0x3c1070[_0x167ce7(0x212)]({'content':_0x6433f3,'attributes':_0x62e29,'isFromAdapter':!0x0});}}),this[_0xcbd58d(0x248)](_0x416d06,_0xcbd58d(0x222),(_0xe26482,{commentThreadId:_0x2adc48,commentId:_0x29d0f6})=>{const _0x47802f=_0xcbd58d,_0x31ff49=_0x5b4b9d[_0x47802f(0x228)](_0x2adc48);if(_0x31ff49){const _0x48adad=_0x31ff49[_0x47802f(0x217)](_0x29d0f6);_0x48adad&&_0x48adad[_0x47802f(0x1e7)]({'isFromAdapter':!0x0});}}),await this[_0xcbd58d(0x20b)](_0x2c44c4);}[_0x595b23(0x225)](){const _0x12b319=_0x595b23;if(this[_0x12b319(0x235)]instanceof _0x4a0823){const _0x3d653b=this[_0x12b319(0x235)][_0x12b319(0x20a)][_0x12b319(0x20f)](_0x12b319(0x205));this[_0x12b319(0x249)](_0x3d653b);}}[_0x595b23(0x249)](_0x250599){const _0x5390d7=_0x595b23;if(!this[_0x5390d7(0x209)][_0x5390d7(0x1fe)](_0x250599))throw new _0x3773a(_0x5390d7(0x1f0),null,{'channelId':_0x250599});this[_0x5390d7(0x239)](_0x250599)[_0x5390d7(0x211)](),this[_0x5390d7(0x209)][_0x5390d7(0x208)](_0x250599);}async[_0x595b23(0x204)](){const _0x2c9ee5=_0x595b23;for(const _0x2746fc of this[_0x2c9ee5(0x209)][_0x2c9ee5(0x236)]())await this[_0x2c9ee5(0x20b)](_0x2746fc);if(this[_0x2c9ee5(0x235)]instanceof _0x4a0823){const _0x44819a=this[_0x2c9ee5(0x235)][_0x2c9ee5(0x20a)][_0x2c9ee5(0x20f)](_0x2c9ee5(0x205)),_0x3023b0=this[_0x2c9ee5(0x235)][_0x2c9ee5(0x23e)][_0x2c9ee5(0x20f)](_0x1c354c);_0x3023b0[_0x2c9ee5(0x1f5)](_0x44819a);const _0xe991bb=await this[_0x2c9ee5(0x209)][_0x2c9ee5(0x20f)](_0x44819a)[_0x2c9ee5(0x22f)]();_0x3023b0[_0x2c9ee5(0x1f2)](_0x44819a,_0xe991bb);}}async[_0x595b23(0x20b)](_0x35d15b){const _0x1efd4f=_0x595b23,{connection:_0x4c923b}=this[_0x1efd4f(0x235)][_0x1efd4f(0x23e)][_0x1efd4f(0x20f)](_0x4800be),_0x12b40e=this[_0x1efd4f(0x235)][_0x1efd4f(0x23e)][_0x1efd4f(0x20f)](_0x1efd4f(0x1f1)),_0x31d4ad=this[_0x1efd4f(0x209)][_0x1efd4f(0x20f)](_0x35d15b),_0x19dca7=await _0x31d4ad[_0x1efd4f(0x21a)](_0x4c923b);await this[_0x1efd4f(0x223)](_0x19dca7);const _0xefc217=new Set(Array[_0x1efd4f(0x21b)](_0x12b40e[_0x1efd4f(0x229)]({'channelId':_0x35d15b}),_0x5d9e87=>_0x5d9e87['id']));for(const _0x4e094d of _0x19dca7)_0x4e094d[_0x1efd4f(0x23d)]||_0xefc217[_0x1efd4f(0x208)](_0x4e094d[_0x1efd4f(0x23f)]);for(const _0x4f805d of _0xefc217)_0x12b40e[_0x1efd4f(0x228)](_0x4f805d)[_0x1efd4f(0x1e7)]({'isFromAdapter':!0x0});for(const _0x376963 of _0x19dca7){let _0x39046c=_0x12b40e[_0x1efd4f(0x228)](_0x376963[_0x1efd4f(0x23f)]);const {commentThreadId:_0x4e03f3,context:_0x304c37,attributes:_0x297731,resolvedBy:_0x5a619b,resolvedAt:_0x44d706,unlinkedAt:_0x6adde3,deletedAt:_0x5605fc}=_0x376963;if(_0x5605fc)continue;_0x39046c||(_0x39046c=_0x12b40e[_0x1efd4f(0x238)]({'channelId':_0x35d15b,'threadId':_0x4e03f3,'context':_0x304c37,'attributes':_0x297731||{},'resolvedBy':_0x5a619b,'resolvedAt':_0x44d706,'unlinkedAt':_0x6adde3,'isFromAdapter':!0x0}));const _0x4bdcde=new Set(Array[_0x1efd4f(0x21b)](_0x39046c[_0x1efd4f(0x216)],_0x151e47=>_0x151e47['id']));for(const _0x32493e of _0x376963[_0x1efd4f(0x216)])_0x4bdcde[_0x1efd4f(0x208)](_0x32493e[_0x1efd4f(0x207)]);for(const _0x41ef1c of _0x4bdcde)_0x39046c[_0x1efd4f(0x217)](_0x41ef1c)[_0x1efd4f(0x1e7)]({'isFromAdapter':!0x0});for(const _0x71c9ae of _0x376963[_0x1efd4f(0x216)]){const _0x3fe189=_0x39046c[_0x1efd4f(0x217)](_0x71c9ae[_0x1efd4f(0x207)]);_0x3fe189?_0x3fe189[_0x1efd4f(0x1f9)]!==_0x71c9ae[_0x1efd4f(0x1f9)]&&_0x3fe189[_0x1efd4f(0x212)]({'content':_0x71c9ae[_0x1efd4f(0x1f9)],'isFromAdapter':!0x0}):_0x39046c[_0x1efd4f(0x237)](Object[_0x1efd4f(0x1fa)](S(_0x71c9ae),{'isFromAdapter':!0x0}));}}}[_0x595b23(0x239)](_0x1a2630){const _0x72554d=_0x595b23;if(!this[_0x72554d(0x209)][_0x72554d(0x1fe)](_0x1a2630))throw new _0x3773a(_0x72554d(0x22d),null,{'channelId':_0x1a2630});return this[_0x72554d(0x209)][_0x72554d(0x20f)](_0x1a2630);}async[_0x595b23(0x223)](_0x1acd03){const _0x3d674a=_0x595b23,_0x2cf67e=this[_0x3d674a(0x235)][_0x3d674a(0x23e)][_0x3d674a(0x20f)](_0x521ebd),{connection:_0xa11cfb}=this[_0x3d674a(0x235)][_0x3d674a(0x23e)][_0x3d674a(0x20f)](_0x4800be),_0x51b03e=new Set();for(const {resolvedBy:_0x3bfd16,comments:_0x3c2d89}of _0x1acd03){_0x3bfd16&&!_0x2cf67e[_0x3d674a(0x1f3)](_0x3bfd16)&&_0x51b03e[_0x3d674a(0x1f8)](_0x3bfd16);for(const {userId:_0x3de597}of _0x3c2d89)_0x2cf67e[_0x3d674a(0x1f3)](_0x3de597)||_0x51b03e[_0x3d674a(0x1f8)](_0x3de597);}if(0x0===_0x51b03e[_0x3d674a(0x240)])return;const _0x5dc66b=await _0x114ba0[_0x3d674a(0x1fd)](_0xa11cfb,Array[_0x3d674a(0x21b)](_0x51b03e));for(const _0x10b77b of _0x5dc66b)_0x2cf67e[_0x3d674a(0x1f3)](_0x10b77b['id'])||_0x2cf67e[_0x3d674a(0x21d)](_0x10b77b);}}a[_0x595b23(0x20d)]=_0x2acedf;export default a;function _0x36eb(_0x23d9c4,_0x1c38b6){const _0x30fad6=_0x30fa();return _0x36eb=function(_0x36ebd2,_0x2c1d83){_0x36ebd2=_0x36ebd2-0x1e6;let _0x5e4b52=_0x30fad6[_0x36ebd2];return _0x5e4b52;},_0x36eb(_0x23d9c4,_0x1c38b6);}async function B(_0x597450){const _0x575f31=_0x595b23;if(_0x575f31(0x1eb)!==_0x597450[_0x575f31(0x22e)])throw _0x597450;}function _0x30fa(){const _0x3657f2=['assign','updateComment','Permissions','getMany','has','1646986BWKhuY','setPermissions','547640DRPUke','startsWith','userId','reconnect','collaboration.channelId','14ljPVtb','commentId','delete','_services','config','_connectService','resolvedBy','CommentsService','commentThreadResolved','get','removeCommentThread','disconnect','update','commentAdded','removeComment','commentThreadReopened','comments','getComment','off','cloud-services-internal-error:\x20Request\x20timeout.','connect','from','authorId','addUser','message','resolveCommentThread','set','commentThreadRemoved','commentRemoved','_fetchMissingUsersForThreads','requires','destroy','reopenCommentThread','init','getCommentThread','getCommentThreads','5311590VGsjAz','commentThreadUpdated','pluginName','cloudservicescommentsadapter-service-not-exist','code','getConnectedSessions','mySessionId','cloud-services-internal-error:\x20Not\x20connected.','8ADKcTV','map','attributes','context','keys','addComment','addCommentThread','_getService','resolvedAt','4722gIFVbD','createdAt','deletedAt','plugins','commentThreadId','size','_setUpService','adapter','1976382rOSrko','commentUpdated','cloudservicescommentsadapter-connect-already-connected','CloudServicesCommentsAdapter','5FozOaw','listenTo','_terminateService','195525ynroWR','catch','remove','resolve','addToReconnectionStack','reopen','404','updateCommentThread','307203zCYyDj','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1106WLoSaY','cloudservicescommentsadapter-disconnect-not-exist','CommentsRepository','register','getUser','commentThreadAdded','unregister','sessionAdd:','permissions','add','content'];_0x30fa=function(){return _0x3657f2;};return _0x30fa();}function R(_0x36ae0b){const _0xb8bcea=_0x595b23;if((_0x5624e8=_0x36ae0b)[_0xb8bcea(0x21e)][_0xb8bcea(0x202)](_0xb8bcea(0x1ee))||_0x5624e8[_0xb8bcea(0x21e)][_0xb8bcea(0x202)](_0xb8bcea(0x231))||_0x5624e8[_0xb8bcea(0x21e)][_0xb8bcea(0x202)](_0xb8bcea(0x219)))return new Promise(()=>{});var _0x5624e8;throw _0x36ae0b;}function S(_0x362b4f){const _0x5088cc=_0x595b23;return{'threadId':_0x362b4f[_0x5088cc(0x23f)],'commentId':_0x362b4f[_0x5088cc(0x207)],'content':_0x362b4f[_0x5088cc(0x1f9)],'createdAt':_0x362b4f[_0x5088cc(0x23c)],'authorId':_0x362b4f[_0x5088cc(0x203)],'attributes':_0x362b4f[_0x5088cc(0x234)]||{}};}
|
|
23
|
+
const _0x39481f=_0x3087;(function(_0x3c59e8,_0xc35a14){const _0x5f50af=_0x3087,_0x3bafef=_0x3c59e8();while(!![]){try{const _0x488960=-parseInt(_0x5f50af(0x15f))/0x1+parseInt(_0x5f50af(0x16f))/0x2*(parseInt(_0x5f50af(0x136))/0x3)+parseInt(_0x5f50af(0x165))/0x4*(parseInt(_0x5f50af(0x142))/0x5)+parseInt(_0x5f50af(0x138))/0x6*(-parseInt(_0x5f50af(0x175))/0x7)+-parseInt(_0x5f50af(0x143))/0x8+parseInt(_0x5f50af(0x161))/0x9*(parseInt(_0x5f50af(0x16e))/0xa)+parseInt(_0x5f50af(0x154))/0xb;if(_0x488960===_0xc35a14)break;else _0x3bafef['push'](_0x3bafef['shift']());}catch(_0x33eacd){_0x3bafef['push'](_0x3bafef['shift']());}}}(_0x525c,0x29452));import{Context as _0x470efe,ContextPlugin as _0x40cfae}from'ckeditor5/src/core.js';import{CKEditorError as _0x1f349d}from'ckeditor5/src/utils.js';function _0x3087(_0x56203d,_0x3c7a99){const _0x525c32=_0x525c();return _0x3087=function(_0x308726,_0x3d4daa){_0x308726=_0x308726-0x12a;let _0x36a528=_0x525c32[_0x308726];return _0x36a528;},_0x3087(_0x56203d,_0x3c7a99);}import{Users as _0x3d6665}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x525c(){const _0x6c04aa=['commentId','cloudservicescommentsadapter-disconnect-not-exist','collaboration.channelId','startsWith','delete','code','2429230nuRWNB','3922ifOFba','removeCommentThread','mySessionId','getComment','_getService','getCommentThread','1113FrAENx','set','get','addCommentThread','commentThreadReopened','keys','context','adapter','updateCommentThread','deletedAt','from','authorId','map','getMany','reconnect','cloud-services-internal-error:\x20Not\x20connected.','message','assign','requires','userId','update','createdAt','addComment','_setUpService','CommentsRepository','getConnectedSessions','cloudservicescommentsadapter-service-not-exist','addToReconnectionStack','catch','resolvedAt','cloud-services-internal-error:\x20Request\x20timeout.','404','_connectService','getUser','comments','resolvedBy','register','commentAdded','195xaBjfU','commentThreadRemoved','3972nHbURw','content','_fetchMissingUsersForThreads','commentRemoved','size','_services','listenTo','disconnect','resolveCommentThread','resolve','27175aviuri','375488MndsGL','CloudServicesCommentsAdapter','_terminateService','Permissions','off','plugins','commentThreadResolved','permissions','has','reopen','attributes','unregister','commentUpdated','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','removeComment','reopenCommentThread','pluginName','1820962CqXrwI','updateComment','connect','sessionAdd:','init','getCommentThreads','commentThreadId','addUser','CommentsService','config','commentThreadAdded','258174GSYEgZ','destroy','9daUbPd','add','cloudservicescommentsadapter-connect-already-connected','remove','32sINiOY','commentThreadUpdated','setPermissions'];_0x525c=function(){return _0x6c04aa;};return _0x525c();}import{CommentsService as _0x54bc76,User as _0x4cdf9b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x506c92 from'../realtimecollaborativeediting/websocketgateway.js';import _0x1a0683 from'../realtimecollaborativeediting/sessions.js';class a extends _0x40cfae{static get[_0x39481f(0x187)](){const _0xaa3fbb=_0x39481f;return[_0x506c92,_0xaa3fbb(0x18d),_0x1a0683,_0x3d6665];}static get[_0x39481f(0x153)](){const _0x9e4e4d=_0x39481f;return _0x9e4e4d(0x144);}constructor(_0x4e7c30){const _0x565aca=_0x39481f;super(_0x4e7c30),this[_0x565aca(0x13d)]=new Map();}async[_0x39481f(0x158)](){const _0x44a360=_0x39481f,_0x5dd4be=this[_0x44a360(0x17b)],_0x530f68=_0x5dd4be[_0x44a360(0x148)][_0x44a360(0x177)](_0x44a360(0x18d));if(_0x5dd4be[_0x44a360(0x148)][_0x44a360(0x177)](_0x506c92)[_0x44a360(0x12b)](this),_0x530f68[_0x44a360(0x17c)]={'addCommentThread':async({channelId:_0x51e286,threadId:_0x2dcb2a,comments:_0x348eef,resolvedAt:_0x4bcd45,resolvedBy:_0x1138b0,context:_0x1d2d09,attributes:_0x51b42a})=>{const _0x42816f=_0x44a360,_0x1b511b=await this[_0x42816f(0x173)](_0x51e286)[_0x42816f(0x178)]({'commentThreadId':_0x2dcb2a,'comments':_0x348eef[_0x42816f(0x181)](_0x4faf1f=>function(_0x5ccd67,_0x2c5ba6,_0x2f92c7){const _0x72f68a=_0x42816f;return{'commentThreadId':_0x2f92c7,'commentId':_0x5ccd67[_0x72f68a(0x168)],'userId':_0x5ccd67[_0x72f68a(0x180)],'content':_0x5ccd67[_0x72f68a(0x139)],'documentId':_0x2c5ba6,'createdAt':_0x5ccd67[_0x72f68a(0x18a)],'attributes':_0x5ccd67[_0x72f68a(0x14d)]||{}};}(_0x4faf1f,_0x51e286,_0x2dcb2a)),'resolvedAt':_0x4bcd45,'resolvedBy':_0x1138b0,'context':_0x1d2d09,'attributes':_0x51b42a})[_0x42816f(0x12c)](w);return{'threadId':_0x1b511b[_0x42816f(0x15a)],'comments':_0x1b511b[_0x42816f(0x132)]};},'getCommentThread':async({channelId:_0x490e52,threadId:_0x5f4df6})=>{const _0x58688a=_0x44a360,_0x586ed4=await this[_0x58688a(0x173)](_0x490e52)[_0x58688a(0x174)](_0x5f4df6)[_0x58688a(0x12c)](w);return _0x586ed4[_0x58688a(0x17e)]?null:(await this[_0x58688a(0x13a)]([_0x586ed4]),{'threadId':_0x586ed4[_0x58688a(0x15a)],'comments':_0x586ed4[_0x58688a(0x132)][_0x58688a(0x181)](b),'context':_0x586ed4[_0x58688a(0x17b)],'resolvedAt':_0x586ed4[_0x58688a(0x12d)],'resolvedBy':_0x586ed4[_0x58688a(0x133)],'attributes':_0x586ed4[_0x58688a(0x14d)]||{}});},'updateCommentThread':async({channelId:_0x35315b,threadId:_0x53de1e,context:_0x5a9cca,unlinkedAt:_0x52fd04,attributes:_0x1eb7fb})=>this[_0x44a360(0x173)](_0x35315b)[_0x44a360(0x17d)]({'commentThreadId':_0x53de1e,'context':_0x5a9cca,'attributes':_0x1eb7fb,'unlinkedAt':_0x52fd04})[_0x44a360(0x12c)](y)[_0x44a360(0x12c)](w),'resolveCommentThread':async({channelId:_0x20555c,threadId:_0x3c19fc})=>{const _0x25f83a=_0x44a360,_0x36e170=await this[_0x25f83a(0x173)](_0x20555c)[_0x25f83a(0x140)](_0x3c19fc)[_0x25f83a(0x12c)](y)[_0x25f83a(0x12c)](w);return{'threadId':_0x36e170[_0x25f83a(0x15a)],'resolvedAt':_0x36e170[_0x25f83a(0x12d)],'resolvedBy':_0x36e170[_0x25f83a(0x133)]};},'reopenCommentThread':async({channelId:_0x506d23,threadId:_0x4af50c})=>this[_0x44a360(0x173)](_0x506d23)[_0x44a360(0x152)](_0x4af50c)[_0x44a360(0x12c)](y)[_0x44a360(0x12c)](w),'removeCommentThread':({channelId:_0x49ddb2,threadId:_0x153ca1})=>this[_0x44a360(0x173)](_0x49ddb2)[_0x44a360(0x170)](_0x153ca1)[_0x44a360(0x12c)](y)[_0x44a360(0x12c)](w),'addComment':({channelId:_0x4e8890,threadId:_0x4939ec,commentId:_0xc5a9c,content:_0x1cbc70,attributes:_0x4d9966})=>this[_0x44a360(0x173)](_0x4e8890)[_0x44a360(0x18b)](_0x4939ec,_0xc5a9c,_0x1cbc70,_0x4d9966)[_0x44a360(0x12c)](w),'updateComment':({channelId:_0x2a9223,threadId:_0x5d66c9,commentId:_0x4aacc7,content:_0xb64bb2,attributes:_0x5b1a49})=>this[_0x44a360(0x173)](_0x2a9223)[_0x44a360(0x155)](_0x5d66c9,_0x4aacc7,_0xb64bb2,_0x5b1a49)[_0x44a360(0x12c)](y)[_0x44a360(0x12c)](w),'removeComment':({channelId:_0x366b2e,threadId:_0x1d396d,commentId:_0x5c5154})=>this[_0x44a360(0x173)](_0x366b2e)[_0x44a360(0x151)](_0x1d396d,_0x5c5154)[_0x44a360(0x12c)](y)[_0x44a360(0x12c)](w)},_0x5dd4be instanceof _0x470efe){const _0x18d2fb=_0x5dd4be[_0x44a360(0x15d)][_0x44a360(0x177)](_0x44a360(0x16a)),_0xa600bf=_0x5dd4be[_0x44a360(0x148)][_0x44a360(0x177)](_0x1a0683);await this[_0x44a360(0x18c)](_0x18d2fb);const _0x434d04=await this[_0x44a360(0x13d)][_0x44a360(0x177)](_0x18d2fb)[_0x44a360(0x18e)]();this[_0x44a360(0x13e)](_0xa600bf,_0x44a360(0x157)+_0x18d2fb,(_0x4690ac,{session:_0x182684})=>{const _0x1fad96=_0x44a360;_0x182684['id']===_0xa600bf[_0x1fad96(0x171)]&&(_0x4690ac[_0x1fad96(0x147)](),this[_0x1fad96(0x17b)][_0x1fad96(0x148)][_0x1fad96(0x177)](_0x1fad96(0x146))[_0x1fad96(0x167)](_0x182684[_0x1fad96(0x14a)],_0x18d2fb));}),_0xa600bf[_0x44a360(0x134)](_0x18d2fb,_0x434d04);}}async[_0x39481f(0x18c)](_0x58e29b){const _0x592ce9=_0x39481f;if(this[_0x592ce9(0x13d)][_0x592ce9(0x14b)](_0x58e29b))throw new _0x1f349d(_0x592ce9(0x163),null,{'channelId':_0x58e29b});const _0x294d79=this[_0x592ce9(0x17b)][_0x592ce9(0x148)][_0x592ce9(0x177)](_0x592ce9(0x18d)),_0x1f8304=new a[(_0x592ce9(0x15c))](_0x58e29b);this[_0x592ce9(0x13d)][_0x592ce9(0x176)](_0x58e29b,_0x1f8304),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x15e),(_0x7644a0,_0x4d4970)=>{const _0x5f3657=_0x592ce9,{commentThreadId:_0x49c64c,documentId:_0x6d8091,context:_0x27e285,attributes:_0x35f91f,resolvedAt:_0x26b48e,resolvedBy:_0x42985a,comments:_0x28ceb3}=_0x4d4970;_0x294d79[_0x5f3657(0x174)](_0x49c64c)||_0x294d79[_0x5f3657(0x178)]({'threadId':_0x49c64c,'channelId':_0x6d8091,'comments':_0x28ceb3?_0x28ceb3[_0x5f3657(0x181)](b):[],'context':_0x27e285,'attributes':_0x35f91f,'resolvedAt':_0x26b48e,'resolvedBy':_0x42985a,'isFromAdapter':!0x0});}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x166),(_0x351e79,{commentThreadId:_0x5ba21d,documentId:_0x6392cc,context:_0x10b388,unlinkedAt:_0x52e94d,attributes:_0x2f51d7})=>{const _0x3c653f=_0x592ce9;_0x294d79[_0x3c653f(0x174)](_0x5ba21d)&&_0x294d79[_0x3c653f(0x17d)]({'threadId':_0x5ba21d,'channelId':_0x6392cc,'context':_0x10b388,'unlinkedAt':_0x52e94d,'attributes':_0x2f51d7,'isFromAdapter':!0x0});}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x149),(_0x53c2e4,{commentThreadId:_0xd35d9a,resolvedBy:_0x117126,resolvedAt:_0xdb0a51})=>{const _0x17af5a=_0x592ce9,_0x616245=_0x294d79[_0x17af5a(0x174)](_0xd35d9a);_0x616245&&_0x616245[_0x17af5a(0x141)]({'resolvedBy':_0x117126,'resolvedAt':_0xdb0a51,'isFromAdapter':!0x0});}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x179),(_0x267cc0,{commentThreadId:_0x27059b})=>{const _0x8cad64=_0x592ce9,_0x14976a=_0x294d79[_0x8cad64(0x174)](_0x27059b);_0x14976a&&_0x14976a[_0x8cad64(0x14c)]({'isFromAdapter':!0x0});}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x137),(_0x224e62,{commentThreadId:_0x10cb00})=>{const _0x4ad276=_0x592ce9,_0xa9f9ce=_0x294d79[_0x4ad276(0x174)](_0x10cb00);_0xa9f9ce&&_0xa9f9ce[_0x4ad276(0x164)]({'isFromAdapter':!0x0});}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x135),(_0x1fa3dd,_0x359452)=>{const _0x5cf9a7=_0x592ce9,_0x358f68=_0x359452[_0x5cf9a7(0x15a)],_0xbcb6ec=_0x294d79[_0x5cf9a7(0x174)](_0x358f68);_0xbcb6ec&&_0xbcb6ec[_0x5cf9a7(0x18b)]({...b(_0x359452),'isFromAdapter':!0x0});}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x14f),(_0x510f9d,{commentThreadId:_0x315171,commentId:_0x255b98,content:_0x29ac13,attributes:_0x5aad41})=>{const _0xaedd3=_0x592ce9,_0x159aa2=_0x294d79[_0xaedd3(0x174)](_0x315171);if(_0x159aa2){const _0x3e7346=_0x159aa2[_0xaedd3(0x172)](_0x255b98);_0x3e7346&&_0x3e7346[_0xaedd3(0x189)]({'content':_0x29ac13,'attributes':_0x5aad41,'isFromAdapter':!0x0});}}),this[_0x592ce9(0x13e)](_0x1f8304,_0x592ce9(0x13b),(_0x1a94f1,{commentThreadId:_0x4b3168,commentId:_0x5b333f})=>{const _0x19eca3=_0x592ce9,_0x1de53d=_0x294d79[_0x19eca3(0x174)](_0x4b3168);if(_0x1de53d){const _0x4a5b02=_0x1de53d[_0x19eca3(0x172)](_0x5b333f);_0x4a5b02&&_0x4a5b02[_0x19eca3(0x164)]({'isFromAdapter':!0x0});}}),await this[_0x592ce9(0x130)](_0x58e29b);}[_0x39481f(0x160)](){const _0x5a3579=_0x39481f;if(this[_0x5a3579(0x17b)]instanceof _0x470efe){const _0x5ab031=this[_0x5a3579(0x17b)][_0x5a3579(0x15d)][_0x5a3579(0x177)](_0x5a3579(0x16a));this[_0x5a3579(0x145)](_0x5ab031);}}[_0x39481f(0x145)](_0x5380f3){const _0x39d568=_0x39481f;if(!this[_0x39d568(0x13d)][_0x39d568(0x14b)](_0x5380f3))throw new _0x1f349d(_0x39d568(0x169),null,{'channelId':_0x5380f3});this[_0x39d568(0x173)](_0x5380f3)[_0x39d568(0x13f)](),this[_0x39d568(0x13d)][_0x39d568(0x16c)](_0x5380f3);}async[_0x39481f(0x183)](){const _0x3cdd25=_0x39481f;for(const _0x4341c2 of this[_0x3cdd25(0x13d)][_0x3cdd25(0x17a)]())await this[_0x3cdd25(0x130)](_0x4341c2);if(this[_0x3cdd25(0x17b)]instanceof _0x470efe){const _0x32e571=this[_0x3cdd25(0x17b)][_0x3cdd25(0x15d)][_0x3cdd25(0x177)](_0x3cdd25(0x16a)),_0x4a7d7d=this[_0x3cdd25(0x17b)][_0x3cdd25(0x148)][_0x3cdd25(0x177)](_0x1a0683);_0x4a7d7d[_0x3cdd25(0x14e)](_0x32e571);const _0x1bfff5=await this[_0x3cdd25(0x13d)][_0x3cdd25(0x177)](_0x32e571)[_0x3cdd25(0x18e)]();_0x4a7d7d[_0x3cdd25(0x134)](_0x32e571,_0x1bfff5);}}async[_0x39481f(0x130)](_0x2605d0){const _0x48efe1=_0x39481f,{connection:_0x2dcefc}=this[_0x48efe1(0x17b)][_0x48efe1(0x148)][_0x48efe1(0x177)](_0x506c92),_0x41eb6d=this[_0x48efe1(0x17b)][_0x48efe1(0x148)][_0x48efe1(0x177)](_0x48efe1(0x18d)),_0x146843=this[_0x48efe1(0x13d)][_0x48efe1(0x177)](_0x2605d0),_0x33cf29=await _0x146843[_0x48efe1(0x156)](_0x2dcefc);await this[_0x48efe1(0x13a)](_0x33cf29);const _0x1bee43=new Set(Array[_0x48efe1(0x17f)](_0x41eb6d[_0x48efe1(0x159)]({'channelId':_0x2605d0}),_0x3a1af4=>_0x3a1af4['id']));for(const _0x33e343 of _0x33cf29)_0x33e343[_0x48efe1(0x17e)]||_0x1bee43[_0x48efe1(0x16c)](_0x33e343[_0x48efe1(0x15a)]);for(const _0x10470c of _0x1bee43)_0x41eb6d[_0x48efe1(0x174)](_0x10470c)[_0x48efe1(0x164)]({'isFromAdapter':!0x0});for(const _0x18ea3a of _0x33cf29){let _0x62166b=_0x41eb6d[_0x48efe1(0x174)](_0x18ea3a[_0x48efe1(0x15a)]);const {commentThreadId:_0x40b6b6,context:_0x33d874,attributes:_0xbcfbdb,resolvedBy:_0x16734d,resolvedAt:_0x51eea1,unlinkedAt:_0x23a862,deletedAt:_0x3354bd}=_0x18ea3a;if(_0x3354bd)continue;_0x62166b||(_0x62166b=_0x41eb6d[_0x48efe1(0x178)]({'channelId':_0x2605d0,'threadId':_0x40b6b6,'context':_0x33d874,'attributes':_0xbcfbdb||{},'resolvedBy':_0x16734d,'resolvedAt':_0x51eea1,'unlinkedAt':_0x23a862,'isFromAdapter':!0x0}));const _0x4d2185=new Set(Array[_0x48efe1(0x17f)](_0x62166b[_0x48efe1(0x132)],_0x241a3e=>_0x241a3e['id']));for(const _0x66d42 of _0x18ea3a[_0x48efe1(0x132)])_0x4d2185[_0x48efe1(0x16c)](_0x66d42[_0x48efe1(0x168)]);for(const _0x5a319e of _0x4d2185)_0x62166b[_0x48efe1(0x172)](_0x5a319e)[_0x48efe1(0x164)]({'isFromAdapter':!0x0});for(const _0x874821 of _0x18ea3a[_0x48efe1(0x132)]){const _0x1e478f=_0x62166b[_0x48efe1(0x172)](_0x874821[_0x48efe1(0x168)]);_0x1e478f?_0x1e478f[_0x48efe1(0x139)]!==_0x874821[_0x48efe1(0x139)]&&_0x1e478f[_0x48efe1(0x189)]({'content':_0x874821[_0x48efe1(0x139)],'isFromAdapter':!0x0}):_0x62166b[_0x48efe1(0x18b)](Object[_0x48efe1(0x186)](b(_0x874821),{'isFromAdapter':!0x0}));}}}[_0x39481f(0x173)](_0x52369f){const _0x15e5fe=_0x39481f;if(!this[_0x15e5fe(0x13d)][_0x15e5fe(0x14b)](_0x52369f))throw new _0x1f349d(_0x15e5fe(0x12a),null,{'channelId':_0x52369f});return this[_0x15e5fe(0x13d)][_0x15e5fe(0x177)](_0x52369f);}async[_0x39481f(0x13a)](_0x1088f5){const _0x223db0=_0x39481f,_0x589bfa=this[_0x223db0(0x17b)][_0x223db0(0x148)][_0x223db0(0x177)](_0x3d6665),{connection:_0x2d6485}=this[_0x223db0(0x17b)][_0x223db0(0x148)][_0x223db0(0x177)](_0x506c92),_0x1664e6=new Set();for(const {resolvedBy:_0x4e8b9d,comments:_0x18c1de}of _0x1088f5){_0x4e8b9d&&!_0x589bfa[_0x223db0(0x131)](_0x4e8b9d)&&_0x1664e6[_0x223db0(0x162)](_0x4e8b9d);for(const {userId:_0x3b2a0f}of _0x18c1de)_0x589bfa[_0x223db0(0x131)](_0x3b2a0f)||_0x1664e6[_0x223db0(0x162)](_0x3b2a0f);}if(0x0===_0x1664e6[_0x223db0(0x13c)])return;const _0x29f2c1=await _0x4cdf9b[_0x223db0(0x182)](_0x2d6485,Array[_0x223db0(0x17f)](_0x1664e6));for(const _0x2f0636 of _0x29f2c1)_0x589bfa[_0x223db0(0x131)](_0x2f0636['id'])||_0x589bfa[_0x223db0(0x15b)](_0x2f0636);}}a[_0x39481f(0x15c)]=_0x54bc76;export default a;async function y(_0x1af7bd){const _0x28174c=_0x39481f;if(_0x28174c(0x12f)!==_0x1af7bd[_0x28174c(0x16d)])throw _0x1af7bd;}function w(_0x4a73bf){const _0x2df7f8=_0x39481f;if((_0x40e78f=_0x4a73bf)[_0x2df7f8(0x185)][_0x2df7f8(0x16b)](_0x2df7f8(0x150))||_0x40e78f[_0x2df7f8(0x185)][_0x2df7f8(0x16b)](_0x2df7f8(0x184))||_0x40e78f[_0x2df7f8(0x185)][_0x2df7f8(0x16b)](_0x2df7f8(0x12e)))return new Promise(()=>{});var _0x40e78f;throw _0x4a73bf;}function b(_0x5eb68a){const _0x5635d9=_0x39481f;return{'threadId':_0x5eb68a[_0x5635d9(0x15a)],'commentId':_0x5eb68a[_0x5635d9(0x168)],'content':_0x5eb68a[_0x5635d9(0x139)],'createdAt':_0x5eb68a[_0x5635d9(0x18a)],'authorId':_0x5eb68a[_0x5635d9(0x188)],'attributes':_0x5eb68a[_0x5635d9(0x14d)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x16d5(_0x40882b,_0x55889a){const _0x223160=_0x2231();return _0x16d5=function(_0x16d51,_0x2d5748){_0x16d51=_0x16d51-0x17e;let _0x5af6ca=_0x223160[_0x16d51];return _0x5af6ca;},_0x16d5(_0x40882b,_0x55889a);}const _0x1c80ee=_0x16d5;function _0x2231(){const _0xb4155f=['init','connected','9pBiXgt','2096271rvZqrk','destroy','CommentsEditing','isThreadsLoadingPaused','160788pIpzRn','collaboration.channelId','CommentsRepository','_setUpService','_terminateService','58ZuUiEO','get','5345208heQuGi','Comments','data','change:state','2984065BozlBd','editor','2155390EYxnFP','ready','config','plugins','once','8350mQiKFm','pluginName','requires','5155256NhamkT','listenTo','switchReadOnly','RealTimeCollaborativeComments'];_0x2231=function(){return _0xb4155f;};return _0x2231();}(function(_0x4da1ef,_0x5ea8b4){const _0x535b66=_0x16d5,_0x466f56=_0x4da1ef();while(!![]){try{const _0x784ec4=-parseInt(_0x535b66(0x191))/0x1*(-parseInt(_0x535b66(0x17e))/0x2)+parseInt(_0x535b66(0x187))/0x3*(-parseInt(_0x535b66(0x18c))/0x4)+parseInt(_0x535b66(0x199))/0x5+-parseInt(_0x535b66(0x193))/0x6+parseInt(_0x535b66(0x197))/0x7+parseInt(_0x535b66(0x181))/0x8+-parseInt(_0x535b66(0x188))/0x9;if(_0x784ec4===_0x5ea8b4)break;else _0x466f56['push'](_0x466f56['shift']());}catch(_0x464f4a){_0x466f56['push'](_0x466f56['shift']());}}}(_0x2231,0x79f60));import{Plugin as _0x3d09ff}from'ckeditor5/src/core.js';import _0x4386d3 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x159311 from'./realtimecollaborativeediting.js';import _0xec2001 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x3d09ff{static get[_0x1c80ee(0x180)](){const _0x8edee1=_0x1c80ee;return[_0x8edee1(0x194),_0x4386d3,_0x159311,_0xec2001];}static get[_0x1c80ee(0x17f)](){const _0x186366=_0x1c80ee;return _0x186366(0x184);}[_0x1c80ee(0x185)](){const _0x5e6d1d=_0x1c80ee,_0x36a2e6=this[_0x5e6d1d(0x198)][_0x5e6d1d(0x19c)][_0x5e6d1d(0x192)](_0xec2001),_0x369190=this[_0x5e6d1d(0x198)][_0x5e6d1d(0x19c)][_0x5e6d1d(0x192)](_0x5e6d1d(0x18a)),_0x1fdb44=this[_0x5e6d1d(0x198)][_0x5e6d1d(0x19c)][_0x5e6d1d(0x192)](_0x4386d3);return this[_0x5e6d1d(0x198)][_0x5e6d1d(0x195)][_0x5e6d1d(0x19d)](_0x5e6d1d(0x19a),()=>{const _0x1e2182=_0x5e6d1d;this[_0x1e2182(0x182)](_0x36a2e6,_0x1e2182(0x196),(_0x511374,_0x3ebe39,_0x27aee0)=>{const _0x37c539=_0x1e2182;_0x369190[_0x37c539(0x18b)]=_0x37c539(0x186)!==_0x27aee0;});}),this[_0x5e6d1d(0x182)](_0x36a2e6,_0x5e6d1d(0x196),(_0x4a30ef,_0x269e63,_0x127674)=>{const _0x590b5f=_0x5e6d1d;this[_0x590b5f(0x198)][_0x590b5f(0x19c)][_0x590b5f(0x192)](_0x590b5f(0x18e))[_0x590b5f(0x183)](_0x590b5f(0x186)!==_0x127674);}),_0x1fdb44[_0x5e6d1d(0x18f)](this[_0x5e6d1d(0x198)][_0x5e6d1d(0x19b)][_0x5e6d1d(0x192)](_0x5e6d1d(0x18d)));}[_0x1c80ee(0x189)](){const _0x549a37=_0x1c80ee;this[_0x549a37(0x198)][_0x549a37(0x19c)][_0x549a37(0x192)](_0x4386d3)[_0x549a37(0x190)](this[_0x549a37(0x198)][_0x549a37(0x19b)][_0x549a37(0x192)](_0x549a37(0x18d))),super[_0x549a37(0x189)]();}}
|