@ckeditor/ckeditor5-real-time-collaboration 43.0.0 → 43.1.0-alpha.0
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
|
+
(_0x20de56=>{const {'zh-cn':{dictionary:_0x3c8482,getPluralForm:_0x2005ab}}={'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':_0xc23e9b=>0x0}};_0x20de56['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x20de56['zh-cn']['dictionary']=Object['assign'](_0x20de56['zh-cn']['dictionary'],_0x3c8482),_0x20de56['zh-cn']['getPluralForm']=_0x2005ab;})(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':_0x4c58aa=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5a0765=>{const {zh:{dictionary:_0x3646e4,getPluralForm:_0x25f04d}}={'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':_0x5df705=>0x0}};_0x5a0765['zh']||={'dictionary':{},'getPluralForm':null},_0x5a0765['zh']['dictionary']=Object['assign'](_0x5a0765['zh']['dictionary'],_0x3646e4),_0x5a0765['zh']['getPluralForm']=_0x25f04d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "43.0.0",
|
|
3
|
+
"version": "43.1.0-alpha.0",
|
|
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.0.0",
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.0.0",
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.0.0",
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.0.0",
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.0.0",
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.0.0",
|
|
51
|
-
"ckeditor5": "43.0.0",
|
|
52
|
-
"ckeditor5-collaboration": "43.0.0",
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.1.0-alpha.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.1.0-alpha.0",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.1.0-alpha.0",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.1.0-alpha.0",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.0",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.0",
|
|
51
|
+
"ckeditor5": "43.1.0-alpha.0",
|
|
52
|
+
"ckeditor5-collaboration": "43.1.0-alpha.0",
|
|
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(_0x37ac4a,_0x5b9af2,_0x3a5a56){const t=_0x37ac4a['t'];switch(_0x5b9af2){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'},_0x3a5a56);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xf2454e,_0x26aa4b){var _0x2bd3f7=_0x477b,_0x438770=_0xf2454e();while(!![]){try{var _0x28275c=-parseInt(_0x2bd3f7(0x95))/0x1+parseInt(_0x2bd3f7(0x9c))/0x2*(parseInt(_0x2bd3f7(0x99))/0x3)+parseInt(_0x2bd3f7(0x98))/0x4*(parseInt(_0x2bd3f7(0x97))/0x5)+-parseInt(_0x2bd3f7(0x9b))/0x6+-parseInt(_0x2bd3f7(0x9e))/0x7*(-parseInt(_0x2bd3f7(0x9a))/0x8)+parseInt(_0x2bd3f7(0x94))/0x9+-parseInt(_0x2bd3f7(0x9d))/0xa*(-parseInt(_0x2bd3f7(0x96))/0xb);if(_0x28275c===_0x26aa4b)break;else _0x438770['push'](_0x438770['shift']());}catch(_0x535fb6){_0x438770['push'](_0x438770['shift']());}}}(_0x16f6,0x30f40));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';function _0x477b(_0x582e73,_0x543bbc){var _0x16f65e=_0x16f6();return _0x477b=function(_0x477b78,_0x4423e4){_0x477b78=_0x477b78-0x94;var _0x52174a=_0x16f65e[_0x477b78];return _0x52174a;},_0x477b(_0x582e73,_0x543bbc);}export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x16f6(){var _0x3ece03=['459498LwsDjA','4zPlFpn','112060hoeqJA','955066SdtKTD','1952721PbACdI','306145JCjvSC','121faTqgN','15rNvyHv','21532prjEoD','135627MmXmsB','8lvmBPt'];_0x16f6=function(){return _0x3ece03;};return _0x16f6();}export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xdcd491=_0x3eb9;function _0x3a8f(){const _0x2a2182=['2142452LHdQge','sort','textarea','isHidden','319NKqKGA','focusTracker','element','destroy','using','Esc','from','body','pin','keystrokes','context','bindTo','detachFromDom','48EkYQfz','usersCount','bind','Tab','allConnectedUsers','_allConnectedUsers','offsetHeight','activeElement','presenceDropdownView','presencelist-collapseat-invalid-format','inlineListView','isFocusable','appendChild','number','presenceList.displayMe','24gnqIeK','Enter','select','presenceList.container','102279rhaZah','5726IdCFdf','hideDropdown','set','Shift+Tab','min','isVisible','42760nZQCWB','offsetWidth','view','showDropdown','presenceList.collapseAt','456joQPLE','ck\x20ck-presence-list__balloon','change:isFocused','displayMe','onClick','attachToDom','class','unpin','remove','_createView','_handleUserRemove','counterView','_handleUserAdd','isExpanded','querySelectorAll','reverse','map','hasTooltip',':not([disabled]):not([tabindex=\x22-1\x22])','isCollapsed','[contenteditable]','currentDisplayedUsers','focus','plugins','get','filter','button','join','289878jszsqC','isMe','indexOf','add','1997550GYFTRg','_bodyCollection','content','locale','balloonPanelView','checkIfScrollable','25jSVRnH','requires','config','[tabindex]','execute','render','init','isRendered','8YTRdKS','length','items','tabIndex','presenceList','presencelist-missing-container','input','define','1963Ypguei','listenTo'];_0x3a8f=function(){return _0x2a2182;};return _0x3a8f();}(function(_0x4b4fb,_0x405916){const _0x3e6b2b=_0x3eb9,_0x1cb729=_0x4b4fb();while(!![]){try{const _0x1247cc=-parseInt(_0x3e6b2b(0x140))/0x1*(parseInt(_0x3e6b2b(0x162))/0x2)+-parseInt(_0x3e6b2b(0x166))/0x3*(-parseInt(_0x3e6b2b(0x138))/0x4)+parseInt(_0x3e6b2b(0x130))/0x5*(-parseInt(_0x3e6b2b(0x126))/0x6)+parseInt(_0x3e6b2b(0x167))/0x7*(parseInt(_0x3e6b2b(0x172))/0x8)+-parseInt(_0x3e6b2b(0x12a))/0x9+-parseInt(_0x3e6b2b(0x16d))/0xa*(parseInt(_0x3e6b2b(0x146))/0xb)+parseInt(_0x3e6b2b(0x153))/0xc*(parseInt(_0x3e6b2b(0x142))/0xd);if(_0x1247cc===_0x405916)break;else _0x1cb729['push'](_0x1cb729['shift']());}catch(_0x5253fb){_0x1cb729['push'](_0x1cb729['shift']());}}}(_0x3a8f,0x27c89));import{ContextPlugin as _0x44173b}from'ckeditor5/src/core.js';import{CKEditorError as _0x2b41e1,Collection as _0x1aa187}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x12d063,BalloonPanelView as _0x5c00a4,BodyCollection as _0x2cbd44}from'ckeditor5/src/ui.js';function _0x3eb9(_0x413ef8,_0x285217){const _0x3a8f76=_0x3a8f();return _0x3eb9=function(_0x3eb99b,_0x132737){_0x3eb99b=_0x3eb99b-0x122;let _0x1364fe=_0x3a8f76[_0x3eb99b];return _0x1364fe;},_0x3eb9(_0x413ef8,_0x285217);}import{isElement as _0x276688}from'lodash-es';import _0x3068ea from'../realtimecollaborativeediting/sessions.js';import _0x513f57 from'./view/presencelistview.js';import _0xee36ec from'./view/presencedropdownlistview.js';import _0x514f92 from'./view/presencedropdownlistitemview.js';import _0x2acb1c from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x44173b{constructor(_0x46f9c2){const _0x177340=_0x3eb9;super(_0x46f9c2),this[_0x177340(0x12b)]=null,this[_0x177340(0x150)][_0x177340(0x132)][_0x177340(0x13f)](_0x177340(0x13c),A);const _0x1b56ac=_0x46f9c2[_0x177340(0x132)][_0x177340(0x122)](_0x177340(0x171));if(_0x177340(0x160)!=typeof _0x1b56ac)throw new _0x2b41e1(_0x177340(0x15c),this);if(_0x1b56ac<0x1)throw new _0x2b41e1(_0x177340(0x15c),this);this[_0x177340(0x158)]=this[_0x177340(0x150)][_0x177340(0x189)][_0x177340(0x122)](_0x3068ea)[_0x177340(0x157)],this[_0x177340(0x169)](_0x177340(0x154),0x0),this[_0x177340(0x187)]=new _0x1aa187(),this[_0x177340(0x12e)]=new _0x5c00a4(),this[_0x177340(0x12e)][_0x177340(0x178)]=_0x177340(0x173),this[_0x177340(0x16f)]=this[_0x177340(0x17b)](),this[_0x177340(0x15b)]=void 0x0;}static get[_0xdcd491(0x131)](){return[_0x3068ea];}[_0xdcd491(0x136)](){const _0x42e50b=_0xdcd491;for(const _0x92a110 of this[_0x42e50b(0x158)])this[_0x42e50b(0x17e)](_0x92a110);this[_0x42e50b(0x141)](this[_0x42e50b(0x158)],_0x42e50b(0x129),(_0x4b8f2f,_0x99478b)=>{const _0x4795ca=_0x42e50b;this[_0x4795ca(0x17e)](_0x99478b);}),this[_0x42e50b(0x141)](this[_0x42e50b(0x158)],_0x42e50b(0x17a),(_0x4b4dbf,_0x2e5310)=>{const _0x33aef7=_0x42e50b;this[_0x33aef7(0x17c)](_0x2e5310);});}[_0xdcd491(0x17b)](){const _0x33238b=_0xdcd491,_0x11849d=this[_0x33238b(0x150)],_0x5e5ac7=new _0x513f57(this[_0x33238b(0x150)][_0x33238b(0x12d)]),_0x41d6e2=this[_0x33238b(0x12e)];if(!_0x276688(_0x11849d[_0x33238b(0x132)][_0x33238b(0x122)](_0x33238b(0x165))))throw new _0x2b41e1(_0x33238b(0x13d),this);return _0x5e5ac7[_0x33238b(0x17d)][_0x33238b(0x155)](_0x33238b(0x154))['to'](this),_0x5e5ac7[_0x33238b(0x155)](_0x33238b(0x185))['to'](this,_0x33238b(0x154),_0x4044d7=>{const _0x1a3f2e=_0x33238b,{collapseAt:_0x195661,displayMe:_0x5492e7}=_0x11849d[_0x1a3f2e(0x132)][_0x1a3f2e(0x122)](_0x1a3f2e(0x13c)),_0x487cb9=_0x4044d7>=_0x195661;return _0x5e5ac7[_0x1a3f2e(0x17d)][_0x1a3f2e(0x145)]=!(0x1==_0x4044d7&&_0x5492e7||_0x487cb9),_0x487cb9||this[_0x1a3f2e(0x168)](),_0x487cb9;}),_0x5e5ac7[_0x33238b(0x15d)][_0x33238b(0x13a)][_0x33238b(0x151)](this[_0x33238b(0x187)])[_0x33238b(0x14a)](_0xc81b7c=>{const _0x39be3b=_0x33238b,_0xd5b858=_0x11849d[_0x39be3b(0x132)][_0x39be3b(0x122)](_0x39be3b(0x13c)),_0x45159c=new _0x2acb1c(_0x11849d[_0x39be3b(0x12d)],_0xc81b7c,!!_0xd5b858[_0x39be3b(0x176)]);return _0x45159c[_0x39be3b(0x155)](_0x39be3b(0x183))['to'](_0x5e5ac7,_0x39be3b(0x185),_0x4b2e28=>!_0x4b2e28),_0x45159c[_0x39be3b(0x155)](_0x39be3b(0x15e))['to'](_0x5e5ac7,_0x39be3b(0x185),_0xc201a1=>!_0xc201a1),_0xd5b858[_0x39be3b(0x176)]&&this[_0x39be3b(0x141)](_0x45159c,_0x39be3b(0x134),()=>{const _0x27d9a4=_0x39be3b;this[_0x27d9a4(0x16f)][_0x27d9a4(0x185)]||_0xd5b858[_0x27d9a4(0x176)](_0xc81b7c,_0x45159c[_0x27d9a4(0x148)]);}),_0x45159c;}),this[_0x33238b(0x141)](_0x5e5ac7[_0x33238b(0x15d)],_0x33238b(0x134),()=>{const _0x319239=_0x33238b;this[_0x319239(0x15b)]?this[_0x319239(0x168)]():this[_0x319239(0x16f)][_0x319239(0x185)]&&this[_0x319239(0x170)]();}),_0x5e5ac7[_0x33238b(0x15d)][_0x33238b(0x14f)][_0x33238b(0x169)](_0x33238b(0x163),(_0x370591,_0x4b74a5)=>{const _0x5120b0=_0x33238b;this[_0x5120b0(0x16f)][_0x5120b0(0x185)]&&(this[_0x5120b0(0x170)](),_0x4b74a5());}),_0x5e5ac7[_0x33238b(0x135)](),_0x41d6e2[_0x33238b(0x135)](),_0x12d063({'emitter':_0x5e5ac7,'activator':()=>_0x41d6e2[_0x33238b(0x16c)],'contextElements':[_0x41d6e2[_0x33238b(0x148)],_0x5e5ac7[_0x33238b(0x15d)][_0x33238b(0x148)]],'callback':()=>this[_0x33238b(0x168)]()}),_0x11849d[_0x33238b(0x132)][_0x33238b(0x122)](_0x33238b(0x165))[_0x33238b(0x15f)](_0x5e5ac7[_0x33238b(0x148)]),this[_0x33238b(0x12b)]=new _0x2cbd44(this[_0x33238b(0x150)][_0x33238b(0x12d)]),this[_0x33238b(0x12b)][_0x33238b(0x177)](),this[_0x33238b(0x12b)][_0x33238b(0x129)](this[_0x33238b(0x12e)]),_0x5e5ac7;}[_0xdcd491(0x17e)](_0x12224f){const _0x450f16=_0xdcd491;if(!this[_0x450f16(0x150)][_0x450f16(0x132)][_0x450f16(0x122)](_0x450f16(0x161))&&_0x12224f[_0x450f16(0x127)])return;const _0x52c906=this[_0x450f16(0x150)][_0x450f16(0x132)][_0x450f16(0x122)](_0x450f16(0x171))-0x1;this[_0x450f16(0x154)]++,this[_0x450f16(0x187)][_0x450f16(0x139)]==_0x52c906&&this[_0x450f16(0x187)][_0x450f16(0x139)]>0x1&&this[_0x450f16(0x187)][_0x450f16(0x17a)](0x1);const _0x2fa622=_0x12224f[_0x450f16(0x127)]?0x0:this[_0x450f16(0x187)][_0x450f16(0x139)];this[_0x450f16(0x187)][_0x450f16(0x129)](_0x12224f,_0x2fa622);}[_0xdcd491(0x17c)](_0x154db2){const _0x455ce3=_0xdcd491;if(this[_0x455ce3(0x154)]--,this[_0x455ce3(0x187)][_0x455ce3(0x122)](_0x154db2['id'])&&(this[_0x455ce3(0x187)][_0x455ce3(0x17a)](_0x154db2['id']),this[_0x455ce3(0x187)][_0x455ce3(0x139)]<this[_0x455ce3(0x154)])){for(const _0x358652 of Array[_0x455ce3(0x14c)](this[_0x455ce3(0x158)])[_0x455ce3(0x181)]())if(!this[_0x455ce3(0x187)][_0x455ce3(0x122)](_0x358652['id']))return void this[_0x455ce3(0x187)][_0x455ce3(0x129)](_0x358652,Math[_0x455ce3(0x16b)](this[_0x455ce3(0x187)][_0x455ce3(0x139)],0x1));}}[_0xdcd491(0x170)](){const _0x4545e5=_0xdcd491;if(this[_0x4545e5(0x15b)])return;const _0x3846fb=this[_0x4545e5(0x150)][_0x4545e5(0x132)][_0x4545e5(0x122)](_0x4545e5(0x13c));this[_0x4545e5(0x15b)]=new _0xee36ec(this[_0x4545e5(0x150)][_0x4545e5(0x12d)],!!_0x3846fb[_0x4545e5(0x176)]),this[_0x4545e5(0x16f)][_0x4545e5(0x15d)][_0x4545e5(0x17f)]=!0x0;const {listWrapperView:_0x4202c4}=this[_0x4545e5(0x15b)];_0x4202c4[_0x4545e5(0x13a)][_0x4545e5(0x151)](this[_0x4545e5(0x158)])[_0x4545e5(0x14a)](_0x4c90c5=>{const _0x17cb8a=_0x4545e5;if(!_0x3846fb[_0x17cb8a(0x175)]&&_0x4c90c5[_0x17cb8a(0x127)])return null;const _0x3d7441=new _0x514f92(this[_0x17cb8a(0x150)][_0x17cb8a(0x12d)],_0x4c90c5,!!_0x3846fb[_0x17cb8a(0x176)]);return _0x3846fb[_0x17cb8a(0x176)]&&this[_0x17cb8a(0x141)](_0x3d7441,_0x17cb8a(0x134),()=>{const _0x1fae7e=_0x17cb8a;_0x3846fb[_0x1fae7e(0x176)](_0x4c90c5,_0x3d7441[_0x1fae7e(0x148)]);}),_0x3d7441;}),this[_0x4545e5(0x12e)][_0x4545e5(0x12c)][_0x4545e5(0x129)](this[_0x4545e5(0x15b)]),this[_0x4545e5(0x12e)][_0x4545e5(0x14e)]({'target':this[_0x4545e5(0x16f)][_0x4545e5(0x15d)][_0x4545e5(0x148)]}),_0x4202c4[_0x4545e5(0x188)](),_0x4202c4[_0x4545e5(0x12f)]();const _0x29c1a5=(_0x16e97f,_0x5d3a9e)=>{const _0x1e0fdf=_0x4545e5;this[_0x1e0fdf(0x168)](),this[_0x1e0fdf(0x16f)][_0x1e0fdf(0x15d)][_0x1e0fdf(0x188)](),_0x5d3a9e();};_0x4202c4[_0x4545e5(0x14f)][_0x4545e5(0x169)](_0x4545e5(0x14b),_0x29c1a5),_0x4202c4[_0x4545e5(0x14f)][_0x4545e5(0x169)](_0x4545e5(0x16a),_0x29c1a5),_0x4202c4[_0x4545e5(0x14f)][_0x4545e5(0x169)](_0x4545e5(0x156),(_0x42d2db,_0x3dfb09)=>{const _0x1f83d9=_0x4545e5;!function(_0x188d6b){const _0x59e658=_0x3eb9,_0xae162d=['a',_0x59e658(0x124),_0x59e658(0x13e),_0x59e658(0x164),_0x59e658(0x144),_0x59e658(0x133),_0x59e658(0x186)][_0x59e658(0x182)](_0x2e531a=>_0x2e531a+_0x59e658(0x184))[_0x59e658(0x125)](','),_0x35f0a0=[...document[_0x59e658(0x14d)][_0x59e658(0x180)](_0xae162d)][_0x59e658(0x123)](_0x2d289b=>_0x2d289b===document[_0x59e658(0x15a)]||_0x2d289b[_0x59e658(0x16e)]+_0x2d289b[_0x59e658(0x159)]>0x0)[_0x59e658(0x143)]((_0x3f5076,_0x393e95)=>(_0x3f5076[_0x59e658(0x13b)]||0x0)-(_0x393e95[_0x59e658(0x13b)]||0x0)),_0x5785b0=_0x35f0a0[_0x59e658(0x128)](_0x188d6b),_0x14344e=_0x35f0a0[(_0x5785b0+0x1)%_0x35f0a0[_0x59e658(0x139)]];_0x14344e&&_0x14344e[_0x59e658(0x188)]();}(this[_0x1f83d9(0x16f)][_0x1f83d9(0x148)]),this[_0x1f83d9(0x168)](),_0x3dfb09();}),_0x4202c4[_0x4545e5(0x147)][_0x4545e5(0x129)](this[_0x4545e5(0x16f)][_0x4545e5(0x148)]),_0x4202c4[_0x4545e5(0x147)]['on'](_0x4545e5(0x174),(_0x2b3f3c,_0x267e68,_0x39de6f)=>{const _0x115416=_0x4545e5;_0x39de6f||this[_0x115416(0x168)]();});}[_0xdcd491(0x168)](){const _0x5076ce=_0xdcd491;this[_0x5076ce(0x15b)]&&(this[_0x5076ce(0x16f)][_0x5076ce(0x15d)][_0x5076ce(0x17f)]=!0x1,this[_0x5076ce(0x12e)][_0x5076ce(0x179)](),this[_0x5076ce(0x12e)][_0x5076ce(0x12c)][_0x5076ce(0x17a)](this[_0x5076ce(0x15b)]),this[_0x5076ce(0x15b)][_0x5076ce(0x149)](),this[_0x5076ce(0x15b)]=void 0x0);}[_0xdcd491(0x149)](){const _0xbbbe81=_0xdcd491;super[_0xbbbe81(0x149)](),this[_0xbbbe81(0x16f)]&&this[_0xbbbe81(0x16f)][_0xbbbe81(0x137)]&&this[_0xbbbe81(0x16f)][_0xbbbe81(0x149)](),this[_0xbbbe81(0x12b)]&&(this[_0xbbbe81(0x12b)][_0xbbbe81(0x152)](),this[_0xbbbe81(0x12b)][_0xbbbe81(0x149)](),this[_0xbbbe81(0x12b)]=null);}}
|
|
23
|
+
function _0x9c6d(_0xda9361,_0x263cce){const _0x52868e=_0x5286();return _0x9c6d=function(_0x9c6d2a,_0x63765){_0x9c6d2a=_0x9c6d2a-0x74;let _0x373dc6=_0x52868e[_0x9c6d2a];return _0x373dc6;},_0x9c6d(_0xda9361,_0x263cce);}const _0x354e2e=_0x9c6d;(function(_0x3449cf,_0x2f3d32){const _0x532da5=_0x9c6d,_0x57796d=_0x3449cf();while(!![]){try{const _0x48b6e1=parseInt(_0x532da5(0xbf))/0x1+parseInt(_0x532da5(0x9d))/0x2+parseInt(_0x532da5(0xa3))/0x3+parseInt(_0x532da5(0x7e))/0x4+-parseInt(_0x532da5(0xc6))/0x5*(-parseInt(_0x532da5(0x8c))/0x6)+parseInt(_0x532da5(0xc8))/0x7+parseInt(_0x532da5(0xc7))/0x8*(-parseInt(_0x532da5(0xce))/0x9);if(_0x48b6e1===_0x2f3d32)break;else _0x57796d['push'](_0x57796d['shift']());}catch(_0x41bd24){_0x57796d['push'](_0x57796d['shift']());}}}(_0x5286,0x9d4bb));function _0x5286(){const _0x2c384c=['803058xILlcm','isHidden','_handleUserRemove','offsetWidth','Shift+Tab','body','3775086pygleI','requires','keystrokes','hasTooltip','add','using','button','_bodyCollection','isExpanded','bind','remove','_handleUserAdd','presencelist-missing-container','currentDisplayedUsers','number','init','join','usersCount','pin','attachToDom','_createView','counterView','define','querySelectorAll','element','unpin','displayMe','tabIndex','826841YZNImE','render','ck\x20ck-presence-list__balloon','destroy','select','items','Tab','265LaYMok','32KflJoC','4210255DFJUir','onClick','hideDropdown','Esc','presenceDropdownView','map','8958879wIfMUO','class','context','plugins','showDropdown','get','set','inlineListView','[contenteditable]','length','isMe','from','focus','bindTo','presenceList.displayMe','focusTracker','offsetHeight','presencelist-collapseat-invalid-format','input','balloonPanelView','1771320NiWdDz','allConnectedUsers','[tabindex]',':not([disabled]):not([tabindex=\x22-1\x22])','listenTo','presenceList.container','checkIfScrollable','isVisible','content','indexOf','detachFromDom','reverse','isFocusable','view','123960WQumCB','sort','presenceList','isCollapsed','filter','execute','locale','change:isFocused','appendChild','Enter','presenceList.collapseAt','isRendered','_allConnectedUsers','textarea','min','config','activeElement'];_0x5286=function(){return _0x2c384c;};return _0x5286();}import{ContextPlugin as _0x21a8af}from'ckeditor5/src/core.js';import{CKEditorError as _0x218736,Collection as _0x4da515}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0xdd711e,BalloonPanelView as _0x4f5b23,BodyCollection as _0x37122f}from'ckeditor5/src/ui.js';import{isElement as _0x215677}from'lodash-es';import _0x5d3e6e from'../realtimecollaborativeediting/sessions.js';import _0x2bf6cd from'./view/presencelistview.js';import _0x1b1fda from'./view/presencedropdownlistview.js';import _0x150818 from'./view/presencedropdownlistitemview.js';import _0x4382e9 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x21a8af{constructor(_0x433f41){const _0x2df8e5=_0x9c6d;super(_0x433f41),this[_0x2df8e5(0xaa)]=null,this[_0x2df8e5(0xd0)][_0x2df8e5(0x9b)][_0x2df8e5(0xb9)](_0x2df8e5(0x8e),A);const _0x5498a9=_0x433f41[_0x2df8e5(0x9b)][_0x2df8e5(0xd3)](_0x2df8e5(0x96));if(_0x2df8e5(0xb1)!=typeof _0x5498a9)throw new _0x218736(_0x2df8e5(0x7b),this);if(_0x5498a9<0x1)throw new _0x218736(_0x2df8e5(0x7b),this);this[_0x2df8e5(0x98)]=this[_0x2df8e5(0xd0)][_0x2df8e5(0xd1)][_0x2df8e5(0xd3)](_0x5d3e6e)[_0x2df8e5(0x7f)],this[_0x2df8e5(0xd4)](_0x2df8e5(0xb4),0x0),this[_0x2df8e5(0xb0)]=new _0x4da515(),this[_0x2df8e5(0x7d)]=new _0x4f5b23(),this[_0x2df8e5(0x7d)][_0x2df8e5(0xcf)]=_0x2df8e5(0xc1),this[_0x2df8e5(0x8b)]=this[_0x2df8e5(0xb7)](),this[_0x2df8e5(0xcc)]=void 0x0;}static get[_0x354e2e(0xa4)](){return[_0x5d3e6e];}[_0x354e2e(0xb2)](){const _0x5e61ee=_0x354e2e;for(const _0x3480c8 of this[_0x5e61ee(0x98)])this[_0x5e61ee(0xae)](_0x3480c8);this[_0x5e61ee(0x82)](this[_0x5e61ee(0x98)],_0x5e61ee(0xa7),(_0x3b78d2,_0x3f0e52)=>{const _0x50080d=_0x5e61ee;this[_0x50080d(0xae)](_0x3f0e52);}),this[_0x5e61ee(0x82)](this[_0x5e61ee(0x98)],_0x5e61ee(0xad),(_0x44085b,_0x524716)=>{const _0x24720c=_0x5e61ee;this[_0x24720c(0x9f)](_0x524716);});}[_0x354e2e(0xb7)](){const _0x2c18c2=_0x354e2e,_0x4d9dfb=this[_0x2c18c2(0xd0)],_0x1309f8=new _0x2bf6cd(this[_0x2c18c2(0xd0)][_0x2c18c2(0x92)]),_0x16f391=this[_0x2c18c2(0x7d)];if(!_0x215677(_0x4d9dfb[_0x2c18c2(0x9b)][_0x2c18c2(0xd3)](_0x2c18c2(0x83))))throw new _0x218736(_0x2c18c2(0xaf),this);return _0x1309f8[_0x2c18c2(0xb8)][_0x2c18c2(0xac)](_0x2c18c2(0xb4))['to'](this),_0x1309f8[_0x2c18c2(0xac)](_0x2c18c2(0x8f))['to'](this,_0x2c18c2(0xb4),_0x280d5b=>{const _0x4b4b44=_0x2c18c2,{collapseAt:_0x3a2e4a,displayMe:_0x547e25}=_0x4d9dfb[_0x4b4b44(0x9b)][_0x4b4b44(0xd3)](_0x4b4b44(0x8e)),_0x40dac5=_0x280d5b>=_0x3a2e4a;return _0x1309f8[_0x4b4b44(0xb8)][_0x4b4b44(0x9e)]=!(0x1==_0x280d5b&&_0x547e25||_0x40dac5),_0x40dac5||this[_0x4b4b44(0xca)](),_0x40dac5;}),_0x1309f8[_0x2c18c2(0xd5)][_0x2c18c2(0xc4)][_0x2c18c2(0x77)](this[_0x2c18c2(0xb0)])[_0x2c18c2(0xa8)](_0x173822=>{const _0x1ba3e2=_0x2c18c2,_0x4e3ac2=_0x4d9dfb[_0x1ba3e2(0x9b)][_0x1ba3e2(0xd3)](_0x1ba3e2(0x8e)),_0x4f0ef9=new _0x4382e9(_0x4d9dfb[_0x1ba3e2(0x92)],_0x173822,!!_0x4e3ac2[_0x1ba3e2(0xc9)]);return _0x4f0ef9[_0x1ba3e2(0xac)](_0x1ba3e2(0xa6))['to'](_0x1309f8,_0x1ba3e2(0x8f),_0x1fb77d=>!_0x1fb77d),_0x4f0ef9[_0x1ba3e2(0xac)](_0x1ba3e2(0x8a))['to'](_0x1309f8,_0x1ba3e2(0x8f),_0x321f2a=>!_0x321f2a),_0x4e3ac2[_0x1ba3e2(0xc9)]&&this[_0x1ba3e2(0x82)](_0x4f0ef9,_0x1ba3e2(0x91),()=>{const _0x1b961b=_0x1ba3e2;this[_0x1b961b(0x8b)][_0x1b961b(0x8f)]||_0x4e3ac2[_0x1b961b(0xc9)](_0x173822,_0x4f0ef9[_0x1b961b(0xbb)]);}),_0x4f0ef9;}),this[_0x2c18c2(0x82)](_0x1309f8[_0x2c18c2(0xd5)],_0x2c18c2(0x91),()=>{const _0x480f88=_0x2c18c2;this[_0x480f88(0xcc)]?this[_0x480f88(0xca)]():this[_0x480f88(0x8b)][_0x480f88(0x8f)]&&this[_0x480f88(0xd2)]();}),_0x1309f8[_0x2c18c2(0xd5)][_0x2c18c2(0xa5)][_0x2c18c2(0xd4)](_0x2c18c2(0x95),(_0x3592cd,_0x56f5ba)=>{const _0x53a2b7=_0x2c18c2;this[_0x53a2b7(0x8b)][_0x53a2b7(0x8f)]&&(this[_0x53a2b7(0xd2)](),_0x56f5ba());}),_0x1309f8[_0x2c18c2(0xc0)](),_0x16f391[_0x2c18c2(0xc0)](),_0xdd711e({'emitter':_0x1309f8,'activator':()=>_0x16f391[_0x2c18c2(0x85)],'contextElements':[_0x16f391[_0x2c18c2(0xbb)],_0x1309f8[_0x2c18c2(0xd5)][_0x2c18c2(0xbb)]],'callback':()=>this[_0x2c18c2(0xca)]()}),_0x4d9dfb[_0x2c18c2(0x9b)][_0x2c18c2(0xd3)](_0x2c18c2(0x83))[_0x2c18c2(0x94)](_0x1309f8[_0x2c18c2(0xbb)]),this[_0x2c18c2(0xaa)]=new _0x37122f(this[_0x2c18c2(0xd0)][_0x2c18c2(0x92)]),this[_0x2c18c2(0xaa)][_0x2c18c2(0xb6)](),this[_0x2c18c2(0xaa)][_0x2c18c2(0xa7)](this[_0x2c18c2(0x7d)]),_0x1309f8;}[_0x354e2e(0xae)](_0x5b1673){const _0x30aa67=_0x354e2e;if(!this[_0x30aa67(0xd0)][_0x30aa67(0x9b)][_0x30aa67(0xd3)](_0x30aa67(0x78))&&_0x5b1673[_0x30aa67(0x74)])return;const _0x5331e6=this[_0x30aa67(0xd0)][_0x30aa67(0x9b)][_0x30aa67(0xd3)](_0x30aa67(0x96))-0x1;this[_0x30aa67(0xb4)]++,this[_0x30aa67(0xb0)][_0x30aa67(0xd7)]==_0x5331e6&&this[_0x30aa67(0xb0)][_0x30aa67(0xd7)]>0x1&&this[_0x30aa67(0xb0)][_0x30aa67(0xad)](0x1);const _0x3b29a5=_0x5b1673[_0x30aa67(0x74)]?0x0:this[_0x30aa67(0xb0)][_0x30aa67(0xd7)];this[_0x30aa67(0xb0)][_0x30aa67(0xa7)](_0x5b1673,_0x3b29a5);}[_0x354e2e(0x9f)](_0x53d8b5){const _0x1976b0=_0x354e2e;if(this[_0x1976b0(0xb4)]--,this[_0x1976b0(0xb0)][_0x1976b0(0xd3)](_0x53d8b5['id'])&&(this[_0x1976b0(0xb0)][_0x1976b0(0xad)](_0x53d8b5['id']),this[_0x1976b0(0xb0)][_0x1976b0(0xd7)]<this[_0x1976b0(0xb4)])){for(const _0x11ea7d of Array[_0x1976b0(0x75)](this[_0x1976b0(0x98)])[_0x1976b0(0x89)]())if(!this[_0x1976b0(0xb0)][_0x1976b0(0xd3)](_0x11ea7d['id']))return void this[_0x1976b0(0xb0)][_0x1976b0(0xa7)](_0x11ea7d,Math[_0x1976b0(0x9a)](this[_0x1976b0(0xb0)][_0x1976b0(0xd7)],0x1));}}[_0x354e2e(0xd2)](){const _0x335590=_0x354e2e;if(this[_0x335590(0xcc)])return;const _0xc7f965=this[_0x335590(0xd0)][_0x335590(0x9b)][_0x335590(0xd3)](_0x335590(0x8e));this[_0x335590(0xcc)]=new _0x1b1fda(this[_0x335590(0xd0)][_0x335590(0x92)],!!_0xc7f965[_0x335590(0xc9)]),this[_0x335590(0x8b)][_0x335590(0xd5)][_0x335590(0xab)]=!0x0;const {listWrapperView:_0x44f29f}=this[_0x335590(0xcc)];_0x44f29f[_0x335590(0xc4)][_0x335590(0x77)](this[_0x335590(0x98)])[_0x335590(0xa8)](_0x24e04e=>{const _0x5df3b4=_0x335590;if(!_0xc7f965[_0x5df3b4(0xbd)]&&_0x24e04e[_0x5df3b4(0x74)])return null;const _0x33bac3=new _0x150818(this[_0x5df3b4(0xd0)][_0x5df3b4(0x92)],_0x24e04e,!!_0xc7f965[_0x5df3b4(0xc9)]);return _0xc7f965[_0x5df3b4(0xc9)]&&this[_0x5df3b4(0x82)](_0x33bac3,_0x5df3b4(0x91),()=>{const _0x464f95=_0x5df3b4;_0xc7f965[_0x464f95(0xc9)](_0x24e04e,_0x33bac3[_0x464f95(0xbb)]);}),_0x33bac3;}),this[_0x335590(0x7d)][_0x335590(0x86)][_0x335590(0xa7)](this[_0x335590(0xcc)]),this[_0x335590(0x7d)][_0x335590(0xb5)]({'target':this[_0x335590(0x8b)][_0x335590(0xd5)][_0x335590(0xbb)]}),_0x44f29f[_0x335590(0x76)](),_0x44f29f[_0x335590(0x84)]();const _0x14211f=(_0x20bde5,_0x1af79d)=>{const _0x278f09=_0x335590;this[_0x278f09(0xca)](),this[_0x278f09(0x8b)][_0x278f09(0xd5)][_0x278f09(0x76)](),_0x1af79d();};_0x44f29f[_0x335590(0xa5)][_0x335590(0xd4)](_0x335590(0xcb),_0x14211f),_0x44f29f[_0x335590(0xa5)][_0x335590(0xd4)](_0x335590(0xa1),_0x14211f),_0x44f29f[_0x335590(0xa5)][_0x335590(0xd4)](_0x335590(0xc5),(_0x498338,_0x4a79c6)=>{const _0x55b481=_0x335590;!function(_0x3d192a){const _0xf9ebbb=_0x9c6d,_0x5176da=['a',_0xf9ebbb(0xa9),_0xf9ebbb(0x7c),_0xf9ebbb(0xc3),_0xf9ebbb(0x99),_0xf9ebbb(0x80),_0xf9ebbb(0xd6)][_0xf9ebbb(0xcd)](_0xd5b5c8=>_0xd5b5c8+_0xf9ebbb(0x81))[_0xf9ebbb(0xb3)](','),_0x15c38e=[...document[_0xf9ebbb(0xa2)][_0xf9ebbb(0xba)](_0x5176da)][_0xf9ebbb(0x90)](_0x6ec8cf=>_0x6ec8cf===document[_0xf9ebbb(0x9c)]||_0x6ec8cf[_0xf9ebbb(0xa0)]+_0x6ec8cf[_0xf9ebbb(0x7a)]>0x0)[_0xf9ebbb(0x8d)]((_0x25501d,_0xec7b61)=>(_0x25501d[_0xf9ebbb(0xbe)]||0x0)-(_0xec7b61[_0xf9ebbb(0xbe)]||0x0)),_0x3af4b3=_0x15c38e[_0xf9ebbb(0x87)](_0x3d192a),_0xd21e51=_0x15c38e[(_0x3af4b3+0x1)%_0x15c38e[_0xf9ebbb(0xd7)]];_0xd21e51&&_0xd21e51[_0xf9ebbb(0x76)]();}(this[_0x55b481(0x8b)][_0x55b481(0xbb)]),this[_0x55b481(0xca)](),_0x4a79c6();}),_0x44f29f[_0x335590(0x79)][_0x335590(0xa7)](this[_0x335590(0x8b)][_0x335590(0xbb)]),_0x44f29f[_0x335590(0x79)]['on'](_0x335590(0x93),(_0x36f64f,_0x4b0d83,_0x1b1f4a)=>{const _0x4b6b67=_0x335590;_0x1b1f4a||this[_0x4b6b67(0xca)]();});}[_0x354e2e(0xca)](){const _0x1ee3c2=_0x354e2e;this[_0x1ee3c2(0xcc)]&&(this[_0x1ee3c2(0x8b)][_0x1ee3c2(0xd5)][_0x1ee3c2(0xab)]=!0x1,this[_0x1ee3c2(0x7d)][_0x1ee3c2(0xbc)](),this[_0x1ee3c2(0x7d)][_0x1ee3c2(0x86)][_0x1ee3c2(0xad)](this[_0x1ee3c2(0xcc)]),this[_0x1ee3c2(0xcc)][_0x1ee3c2(0xc2)](),this[_0x1ee3c2(0xcc)]=void 0x0);}[_0x354e2e(0xc2)](){const _0xb2b4eb=_0x354e2e;super[_0xb2b4eb(0xc2)](),this[_0xb2b4eb(0x8b)]&&this[_0xb2b4eb(0x8b)][_0xb2b4eb(0x97)]&&this[_0xb2b4eb(0x8b)][_0xb2b4eb(0xc2)](),this[_0xb2b4eb(0xaa)]&&(this[_0xb2b4eb(0xaa)][_0xb2b4eb(0x88)](),this[_0xb2b4eb(0xaa)][_0xb2b4eb(0xc2)](),this[_0xb2b4eb(0xaa)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3453(_0x4002f1,_0x598713){const _0x284a30=_0x284a();return _0x3453=function(_0x3453b8,_0x4cd4b5){_0x3453b8=_0x3453b8-0x11f;let _0x4c0b7e=_0x284a30[_0x3453b8];return _0x4c0b7e;},_0x3453(_0x4002f1,_0x598713);}(function(_0x54d1bd,_0x41275a){const _0x534191=_0x3453,_0x5438c5=_0x54d1bd();while(!![]){try{const _0x2bb165=parseInt(_0x534191(0x125))/0x1+parseInt(_0x534191(0x12c))/0x2*(parseInt(_0x534191(0x120))/0x3)+parseInt(_0x534191(0x122))/0x4*(-parseInt(_0x534191(0x12b))/0x5)+parseInt(_0x534191(0x121))/0x6+-parseInt(_0x534191(0x127))/0x7+parseInt(_0x534191(0x131))/0x8*(parseInt(_0x534191(0x12a))/0x9)+parseInt(_0x534191(0x123))/0xa;if(_0x2bb165===_0x41275a)break;else _0x5438c5['push'](_0x5438c5['shift']());}catch(_0x1697e4){_0x5438c5['push'](_0x5438c5['shift']());}}}(_0x284a,0xd1bcc));function _0x284a(){const _0x2fbba0=['5261080ELhlYT','setTemplate','1161296mUEGzH','bindTemplate','6231757uKUGLd','CONNECTED_USERS','isHidden','990fbVrjj','202725qtKlLO','1947942qNJkXv','div','ck-presence-list__counter','set','usersCount','32344EdEGfC','ck-presence-list__counter--hidden','3ODUprZ','1590180giuXRx','160BTBbTT'];_0x284a=function(){return _0x2fbba0;};return _0x284a();}import{View as _0x1ef64c}from'ckeditor5/src/ui.js';import{getTranslation as _0x2af419}from'../../common-translations.js';export default class ts extends _0x1ef64c{constructor(_0x221a9b){const _0x3dc04d=_0x3453;super(_0x221a9b);const _0x33c46b=this[_0x3dc04d(0x126)];this[_0x3dc04d(0x12f)](_0x3dc04d(0x130),0x0),this[_0x3dc04d(0x12f)](_0x3dc04d(0x129),!0x0),this[_0x3dc04d(0x124)]({'tag':_0x3dc04d(0x12d),'attributes':{'class':['ck',_0x3dc04d(0x12e),_0x33c46b['if'](_0x3dc04d(0x129),_0x3dc04d(0x11f))]},'children':[{'text':_0x33c46b['to'](_0x3dc04d(0x130),_0x446a1e=>_0x2af419(_0x221a9b,_0x3dc04d(0x128),_0x446a1e))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b7c29=_0x33cf;function _0x34f2(){const _0x344e7a=['focus','getBackgroundColorClass','tag','1378227DVrJyg','span','6050442UPlhAK','ck-user__full-name','button','ck-presence-list__dropdown-list-item','fire','bindTemplate','2402Ziuclj','7raZjqK','2267950ZeooeQ','setTemplate','1243649TNsYXE','userView','name','color','execute','431rePVhr','72QcDIDA','8oWYCTu','true','7182192hGIxKK','element','90jMIYRY','ck-presence-list__marker','519219vtGPFm','presentation'];_0x34f2=function(){return _0x344e7a;};return _0x34f2();}(function(_0x1a41d5,_0x569b4c){const _0x4761c5=_0x33cf,_0x3cc1e6=_0x1a41d5();while(!![]){try{const _0x425fa4=parseInt(_0x4761c5(0x1c1))/0x1*(-parseInt(_0x4761c5(0x1b8))/0x2)+parseInt(_0x4761c5(0x1b0))/0x3*(parseInt(_0x4761c5(0x1c3))/0x4)+parseInt(_0x4761c5(0x1ba))/0x5+parseInt(_0x4761c5(0x1b2))/0x6*(parseInt(_0x4761c5(0x1b9))/0x7)+parseInt(_0x4761c5(0x1c2))/0x8*(parseInt(_0x4761c5(0x1ab))/0x9)+parseInt(_0x4761c5(0x1a9))/0xa*(-parseInt(_0x4761c5(0x1bc))/0xb)+-parseInt(_0x4761c5(0x1c5))/0xc;if(_0x425fa4===_0x569b4c)break;else _0x3cc1e6['push'](_0x3cc1e6['shift']());}catch(_0x56cba7){_0x3cc1e6['push'](_0x3cc1e6['shift']());}}}(_0x34f2,0xbb194));function _0x33cf(_0x289789,_0x298e48){const _0x34f253=_0x34f2();return _0x33cf=function(_0x33cf74,_0x4917a9){_0x33cf74=_0x33cf74-0x1a8;let _0x210616=_0x34f253[_0x33cf74];return _0x210616;},_0x33cf(_0x289789,_0x298e48);}import{ListItemView as _0x16505c}from'ckeditor5/src/ui.js';import{UserView as _0x4f2b36}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x16505c{constructor(_0x14f5a8,_0x31f1bb,_0x2bc23c){const _0x117ceb=_0x33cf;super(_0x14f5a8);const _0x105212=this[_0x117ceb(0x1b7)];this[_0x117ceb(0x1bd)]=new _0x4f2b36(_0x14f5a8,_0x31f1bb);const _0xb1f097={'tag':'li','attributes':{'class':['ck',_0x117ceb(0x1b5)],'tabindex':-0x1,'role':_0x117ceb(0x1ac),'aria-label':_0x31f1bb[_0x117ceb(0x1be)]},'children':[this[_0x117ceb(0x1bd)],{'tag':_0x117ceb(0x1b1),'attributes':{'class':['ck',_0x117ceb(0x1b3)]},'children':[{'text':_0x31f1bb[_0x117ceb(0x1be)]}]},{'tag':_0x117ceb(0x1b1),'attributes':{'class':['ck',_0x117ceb(0x1aa),_0x31f1bb[_0x117ceb(0x1bf)][_0x117ceb(0x1ae)]()],'aria-hidden':_0x117ceb(0x1c4)}}]};_0x2bc23c&&(_0xb1f097[_0x117ceb(0x1af)]=_0x117ceb(0x1b4),_0xb1f097['on']={'click':_0x105212['to'](()=>this[_0x117ceb(0x1b6)](_0x117ceb(0x1c0)))}),this[_0x117ceb(0x1bb)](_0xb1f097);}[_0x2b7c29(0x1ad)](){const _0x16e760=_0x2b7c29;this[_0x16e760(0x1a8)][_0x16e760(0x1ad)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1639b1=_0xe863;(function(_0x37e135,_0x246e59){const _0x5963c4=_0xe863,_0x21c8ac=_0x37e135();while(!![]){try{const _0x582c1a=parseInt(_0x5963c4(0x1c8))/0x1*(-parseInt(_0x5963c4(0x1e7))/0x2)+parseInt(_0x5963c4(0x1eb))/0x3+-parseInt(_0x5963c4(0x1dc))/0x4+-parseInt(_0x5963c4(0x1db))/0x5+parseInt(_0x5963c4(0x1d7))/0x6*(-parseInt(_0x5963c4(0x1e6))/0x7)+-parseInt(_0x5963c4(0x1e8))/0x8+-parseInt(_0x5963c4(0x1e1))/0x9*(-parseInt(_0x5963c4(0x1d9))/0xa);if(_0x582c1a===_0x246e59)break;else _0x21c8ac['push'](_0x21c8ac['shift']());}catch(_0x68602e){_0x21c8ac['push'](_0x21c8ac['shift']());}}}(_0x115a,0x54e3e));import{ListView as _0x592bab,View as _0x305c60}from'ckeditor5/src/ui.js';import{global as _0x2abd59}from'ckeditor5/src/utils.js';import{getTranslation as _0xe50b3a}from'../../common-translations.js';function _0xe863(_0x150eb0,_0x3850fd){const _0x115aee=_0x115a();return _0xe863=function(_0xe8632f,_0x2b760e){_0xe8632f=_0xe8632f-0x1c8;let _0x3cae3a=_0x115aee[_0xe8632f];return _0x3cae3a;},_0xe863(_0x150eb0,_0x3850fd);}export default class j extends _0x305c60{constructor(_0x35cb79,_0x20d829){const _0x1383d6=_0xe863;super(_0x35cb79),this[_0x1383d6(0x1d8)]=new PresenceDropdownListWrapperView(_0x35cb79,_0x20d829),this[_0x1383d6(0x1ea)]({'tag':_0x1383d6(0x1df),'attributes':{'tabindex':-0x1,'role':_0x1383d6(0x1ed),'class':['ck',_0x1383d6(0x1da)],'aria-label':_0xe50b3a(_0x35cb79,_0x1383d6(0x1d5))},'children':[this[_0x1383d6(0x1d8)]]});}}export class PresenceDropdownListWrapperView extends _0x592bab{constructor(_0x327b18,_0x55bb45){const _0x6320c1=_0xe863;super(_0x327b18);const _0x401c62=this[_0x6320c1(0x1e3)];this[_0x6320c1(0x1e5)](_0x6320c1(0x1ec),!0x1),this[_0x6320c1(0x1ea)]({'tag':_0x55bb45?_0x6320c1(0x1df):'ul','attributes':{'class':['ck',_0x6320c1(0x1e4),_0x6320c1(0x1d1),_0x6320c1(0x1d2),_0x401c62['if'](_0x6320c1(0x1ec),_0x6320c1(0x1c9))],'role':_0x401c62['to'](_0x6320c1(0x1cd)),'aria-label':_0x401c62['to'](_0x6320c1(0x1e9)),'aria-labelledby':_0x401c62['to'](_0x6320c1(0x1cc))},'children':this[_0x6320c1(0x1de)]}),this[_0x6320c1(0x1e2)](_0x2abd59[_0x6320c1(0x1d3)],_0x6320c1(0x1d4),()=>this[_0x6320c1(0x1ca)]()),this[_0x6320c1(0x1de)]['on'](_0x6320c1(0x1d6),()=>this[_0x6320c1(0x1ca)]());}[_0x1639b1(0x1cf)](){const _0x4c1e41=_0x1639b1;super[_0x4c1e41(0x1cf)](),this[_0x4c1e41(0x1ca)]();}[_0x1639b1(0x1ca)](){const _0x43caa9=_0x1639b1,_0x54cedc=this[_0x43caa9(0x1e0)];_0x54cedc&&(this[_0x43caa9(0x1ec)]=Math[_0x43caa9(0x1dd)](_0x54cedc[_0x43caa9(0x1ce)],_0x54cedc[_0x43caa9(0x1cb)])>0.8*window[_0x43caa9(0x1d0)]);}}function _0x115a(){const _0x4b2c85=['_isScrollable','application','2199VTFEVx','ck-presence-list__dropdown-list-wrapper_scrollable','checkIfScrollable','clientHeight','ariaLabelledBy','role','scrollHeight','render','innerHeight','ck-list','ck-presence-list__dropdown-list-wrapper','window','resize','Connected\x20users\x20list\x20dropdown\x20menu','change','3706602KhTEaO','listWrapperView','49990fAVcoW','ck-presence-list__dropdown-list','729040ryVUJb','844668cXwcpM','max','items','div','element','2853wjzdqk','listenTo','bindTemplate','ck-reset','set','7kbqHdd','458piVDEk','3012592jVZJxi','ariaLabel','setTemplate','1853742vItXQr'];_0x115a=function(){return _0x4b2c85;};return _0x115a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2d884b,_0x29cb78){const _0x4bff47=_0x4438,_0x39e0aa=_0x2d884b();while(!![]){try{const _0x4518c4=-parseInt(_0x4bff47(0xb8))/0x1*(-parseInt(_0x4bff47(0xb2))/0x2)+parseInt(_0x4bff47(0xb7))/0x3+-parseInt(_0x4bff47(0xb0))/0x4*(parseInt(_0x4bff47(0xc0))/0x5)+parseInt(_0x4bff47(0xbc))/0x6+-parseInt(_0x4bff47(0xac))/0x7+parseInt(_0x4bff47(0xbe))/0x8*(parseInt(_0x4bff47(0xaf))/0x9)+parseInt(_0x4bff47(0xa9))/0xa;if(_0x4518c4===_0x29cb78)break;else _0x39e0aa['push'](_0x39e0aa['shift']());}catch(_0x500862){_0x39e0aa['push'](_0x39e0aa['shift']());}}}(_0x54fc,0xd8454));import{LabelView as _0x38d9c0,View as _0x4bfbae}from'ckeditor5/src/ui.js';import{UserView as _0x179f68}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4438(_0x343114,_0x44ef18){const _0x54fcb8=_0x54fc();return _0x4438=function(_0x443858,_0x160d6b){_0x443858=_0x443858-0xa3;let _0x155da9=_0x54fcb8[_0x443858];return _0x155da9;},_0x4438(_0x343114,_0x44ef18);}function _0x54fc(){const _0x8b691d=['execute','ck-presence-list__list-item','tag','1476603IKtERS','15361yCMnDn','hasTooltip','ck-presence-list__list-item__tooltip','button','4032900cKdaXU','ck-presence-list__marker','558136nGHcLu','fire','10iKBWhj','set','tooltipPosition','color','getBackgroundColorClass','span','text','true','name','setTemplate','bindTemplate','13491370akijBM','markerView','template','5266534fqrzJY','userView','div','9qXYaaj','2596704KwYVBF','listitem','46slenYr','isFocusable'];_0x54fc=function(){return _0x8b691d;};return _0x54fc();}export default class y extends _0x4bfbae{constructor(_0x5552e5,_0x1c821a,_0xa5d12){const _0x5db7a8=_0x4438;super(_0x5552e5);const _0x403f6e=this[_0x5db7a8(0xa8)];this[_0x5db7a8(0xc1)](_0x5db7a8(0xb3),!0x1),this[_0x5db7a8(0xc1)](_0x5db7a8(0xb9),!0x0),this[_0x5db7a8(0xc1)](_0x5db7a8(0xc2),''),this[_0x5db7a8(0xad)]=new _0x179f68(_0x5552e5,_0x1c821a),this[_0x5db7a8(0xaa)]=new at(_0x5552e5,_0x1c821a);const _0x56f4de=new _0x38d9c0(_0x5552e5);_0x56f4de[_0x5db7a8(0xab)][_0x5db7a8(0xb6)]=_0x5db7a8(0xa3),_0x56f4de[_0x5db7a8(0xa4)]=_0x1c821a[_0x5db7a8(0xa6)];const _0x299af1={'tag':_0x5db7a8(0xae),'attributes':{'class':['ck',_0x5db7a8(0xb5)],'role':_0x5db7a8(0xb1),'tabindex':_0x403f6e['to'](_0x5db7a8(0xb3),_0x1dc827=>!!_0x1dc827&&0x0),'aria-labelledby':_0x56f4de['id'],'data-cke-tooltip-text':this[_0x5db7a8(0xad)][_0x5db7a8(0xa6)],'data-cke-tooltip-position':_0x403f6e['to'](_0x5db7a8(0xc2)),'data-cke-tooltip-disabled':_0x403f6e['to'](_0x5db7a8(0xb9),_0x2a7a3c=>!_0x2a7a3c),'data-cke-tooltip-class':_0x5db7a8(0xba)},'children':[this[_0x5db7a8(0xad)],this[_0x5db7a8(0xaa)],_0x56f4de]};_0xa5d12&&(_0x299af1[_0x5db7a8(0xb6)]=_0x5db7a8(0xbb),_0x299af1['on']={'click':_0x403f6e['to'](()=>this[_0x5db7a8(0xbf)](_0x5db7a8(0xb4)))}),this[_0x5db7a8(0xa7)](_0x299af1);}}class at extends _0x4bfbae{constructor(_0x473339,_0x43c55c){const _0x548b7c=_0x4438;super(_0x473339),this[_0x548b7c(0xa7)]({'tag':_0x548b7c(0xa3),'attributes':{'class':['ck',_0x548b7c(0xbd),_0x43c55c[_0x548b7c(0xc3)][_0x548b7c(0xc4)]()],'aria-hidden':_0x548b7c(0xa5)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x282534=_0x4327;(function(_0x76241d,_0x208308){const _0x14e6c1=_0x4327,_0x54da9b=_0x76241d();while(!![]){try{const _0x312b07=parseInt(_0x14e6c1(0x1f0))/0x1*(-parseInt(_0x14e6c1(0x204))/0x2)+parseInt(_0x14e6c1(0x1ee))/0x3+-parseInt(_0x14e6c1(0x1f5))/0x4+-parseInt(_0x14e6c1(0x202))/0x5+-parseInt(_0x14e6c1(0x1f2))/0x6+parseInt(_0x14e6c1(0x205))/0x7+-parseInt(_0x14e6c1(0x1fd))/0x8*(-parseInt(_0x14e6c1(0x1f3))/0x9);if(_0x312b07===_0x208308)break;else _0x54da9b['push'](_0x54da9b['shift']());}catch(_0x5668c8){_0x54da9b['push'](_0x54da9b['shift']());}}}(_0x5adb,0xb60bb));import{View as _0x4d4cd0}from'ckeditor5/src/ui.js';function _0x4327(_0xdffb63,_0x3a9bc3){const _0x5adb82=_0x5adb();return _0x4327=function(_0x4327da,_0x30489e){_0x4327da=_0x4327da-0x1ed;let _0x4c0720=_0x5adb82[_0x4327da];return _0x4c0720;},_0x4327(_0xdffb63,_0x3a9bc3);}function _0x5adb(){const _0x71f062=['setTemplate','set','hasPopup','execute','48JFsMZu','createCollection','render','removeAttribute','div','6946110NOYfYU','listenTo','6CBCTYF','5480993FMZbPO','element','keystrokes','items','setAttribute','bindTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','aria-expanded','1083429YfroOq','focus','47455gpoTTG','list','7503090juwIqW','5513976EZHyGg','fire','5169460VkzUQS','isExpanded','ck-presence-list__list','Connected\x20users\x20list'];_0x5adb=function(){return _0x71f062;};return _0x5adb();}import{KeystrokeHandler as _0x385d91}from'ckeditor5/src/utils.js';import{getTranslation as _0x558168}from'../../common-translations.js';export default class es extends _0x4d4cd0{constructor(_0x32321c){const _0x5a619b=_0x4327;super(_0x32321c);const _0x54a12c=this[_0x5a619b(0x20a)];this[_0x5a619b(0x208)]=this[_0x5a619b(0x1fe)](),this[_0x5a619b(0x207)]=new _0x385d91(),this[_0x5a619b(0x1fa)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x5a619b(0x1f9)]({'tag':_0x5a619b(0x201),'attributes':{'aria-haspopup':_0x54a12c['if'](_0x5a619b(0x1fb)),'aria-expanded':_0x54a12c['to'](_0x5a619b(0x1f6),_0x3c5c23=>this[_0x5a619b(0x1fb)]&&String(_0x3c5c23)),'aria-label':_0x54a12c['to'](_0x5a619b(0x1fb),_0xab8ab9=>_0x558168(_0x32321c,_0xab8ab9?_0x5a619b(0x20b):_0x5a619b(0x1f8))),'role':_0x5a619b(0x1f1),'tabindex':_0x54a12c['to'](_0x5a619b(0x1fb),_0x5a8975=>!!_0x5a8975&&0x0),'class':['ck',_0x5a619b(0x1f7)]},'children':this[_0x5a619b(0x208)],'on':{'click':_0x54a12c['to'](()=>this[_0x5a619b(0x1f4)](_0x5a619b(0x1fc)))}}),this['on'](_0x5a619b(0x20c),(_0x4996a0,_0x464681,_0xc5a60d)=>{const _0x54f67d=_0x5a619b;this[_0x54f67d(0x206)]&&(_0xc5a60d?this[_0x54f67d(0x206)][_0x54f67d(0x209)](_0x54f67d(0x1ed),String(this[_0x54f67d(0x1f6)])):this[_0x54f67d(0x206)][_0x54f67d(0x200)](_0x54f67d(0x1ed)));});}[_0x282534(0x1ef)](){const _0x30af00=_0x282534;this[_0x30af00(0x206)][_0x30af00(0x1ef)]();}[_0x282534(0x1ff)](){const _0x2f628f=_0x282534;super[_0x2f628f(0x1ff)](),this[_0x2f628f(0x207)][_0x2f628f(0x203)](this[_0x2f628f(0x206)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xaedc63,_0x31a48a){const _0x96c001=_0xa2f5,_0x1e8d83=_0xaedc63();while(!![]){try{const _0x132dc3=parseInt(_0x96c001(0xf7))/0x1+parseInt(_0x96c001(0xed))/0x2+-parseInt(_0x96c001(0xf5))/0x3+parseInt(_0x96c001(0xf2))/0x4+-parseInt(_0x96c001(0xf0))/0x5*(-parseInt(_0x96c001(0xe6))/0x6)+parseInt(_0x96c001(0xe2))/0x7+parseInt(_0x96c001(0xe3))/0x8*(-parseInt(_0x96c001(0xdf))/0x9);if(_0x132dc3===_0x31a48a)break;else _0x1e8d83['push'](_0x1e8d83['shift']());}catch(_0xb50141){_0x1e8d83['push'](_0x1e8d83['shift']());}}}(_0x17fa,0xe3b4d));import{View as _0x176619}from'ckeditor5/src/ui.js';import _0x36d430 from'./presencecounterview.js';function _0x17fa(){const _0x53deb1=['counterView','ck-presence-list','bindTemplate','1152106qWyIcH','div','locale','155wwpnxR','ck-rounded-corners','1228060CQLYet','listenTo','bind','2812668UeSMbP','set','153985qCNGAz','ck-presence-list--collapsed','setTemplate','first','3695850tIssjH','tooltipPosition','inlineListView','5594288kkBLfb','32ijHaWd','hasPopup','ck-reset','324504DwUewu','change','items','isCollapsed'];_0x17fa=function(){return _0x53deb1;};return _0x17fa();}import _0xd56660 from'./presenceinlinelistview.js';function _0xa2f5(_0x16032a,_0xc9c8ee){const _0x17fab5=_0x17fa();return _0xa2f5=function(_0xa2f5b4,_0x1810b3){_0xa2f5b4=_0xa2f5b4-0xdf;let _0xea9865=_0x17fab5[_0xa2f5b4];return _0xea9865;},_0xa2f5(_0x16032a,_0xc9c8ee);}import'../../../theme/presencelist.css';export default class L extends _0x176619{constructor(_0x4cb6ed){const _0x39064c=_0xa2f5;super(_0x4cb6ed);const _0x20839e=this[_0x39064c(0xec)];this[_0x39064c(0xf6)](_0x39064c(0xe9),!0x0),this[_0x39064c(0xea)]=new _0x36d430(this[_0x39064c(0xef)]),this[_0x39064c(0xe1)]=new _0xd56660(_0x4cb6ed),this[_0x39064c(0xe1)][_0x39064c(0xf4)](_0x39064c(0xe4))['to'](this,_0x39064c(0xe9)),this[_0x39064c(0xf3)](this[_0x39064c(0xe1)][_0x39064c(0xe8)],_0x39064c(0xe7),()=>{const _0x52879b=_0x39064c;for(const _0x5c77b9 of this[_0x52879b(0xe1)][_0x52879b(0xe8)])_0x5c77b9[_0x52879b(0xe0)]='s';this[_0x52879b(0xe1)][_0x52879b(0xe8)][_0x52879b(0xfa)]&&(this[_0x52879b(0xe1)][_0x52879b(0xe8)][_0x52879b(0xfa)][_0x52879b(0xe0)]='se');}),this[_0x39064c(0xf9)]({'tag':_0x39064c(0xee),'attributes':{'class':['ck',_0x39064c(0xeb),_0x39064c(0xe5),_0x39064c(0xf1),_0x20839e['if'](_0x39064c(0xe9),_0x39064c(0xf8))]},'children':[this[_0x39064c(0xea)],this[_0x39064c(0xe1)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4a5623=_0x1343;(function(_0x3e6020,_0x1e6663){var _0x50b555=_0x1343,_0x377ca1=_0x3e6020();while(!![]){try{var _0x476b81=parseInt(_0x50b555(0x196))/0x1+-parseInt(_0x50b555(0x198))/0x2*(parseInt(_0x50b555(0x19b))/0x3)+parseInt(_0x50b555(0x194))/0x4*(-parseInt(_0x50b555(0x19a))/0x5)+-parseInt(_0x50b555(0x192))/0x6*(parseInt(_0x50b555(0x195))/0x7)+parseInt(_0x50b555(0x193))/0x8+parseInt(_0x50b555(0x18e))/0x9*(parseInt(_0x50b555(0x197))/0xa)+parseInt(_0x50b555(0x190))/0xb;if(_0x476b81===_0x1e6663)break;else _0x377ca1['push'](_0x377ca1['shift']());}catch(_0x5ad0cc){_0x377ca1['push'](_0x377ca1['shift']());}}}(_0x2a23,0x552b7));function _0x2a23(){var _0x389be1=['42QNKfjW','699328bSymeS','4KOpgjz','303457zYMUkf','260793vcUyct','727390oSktyz','47434FmqgaN','pluginName','3464665Klumdt','33wfLIOZ','54tXcaWo','requires','9036379htbvAz','PresenceList'];_0x2a23=function(){return _0x389be1;};return _0x2a23();}function _0x1343(_0x405150,_0x5c738a){var _0x2a238f=_0x2a23();return _0x1343=function(_0x134391,_0x2db1a7){_0x134391=_0x134391-0x18e;var _0x38d714=_0x2a238f[_0x134391];return _0x38d714;},_0x1343(_0x405150,_0x5c738a);}import{ContextPlugin as _0x113c14}from'ckeditor5/src/core.js';import _0x3402af from'./realtimecollaborativeediting/sessions.js';import _0x50cc66 from'./presencelist/presencelistui.js';export default class i extends _0x113c14{static get[_0x4a5623(0x18f)](){return[_0x3402af,_0x50cc66];}static get[_0x4a5623(0x199)](){var _0x27cc9c=_0x4a5623;return _0x27cc9c(0x191);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x17c76b=_0x358b;function _0xaf43(){const _0x2f3f4b=['deletedAt','unregister','requires','CommentsRepository','commentThreadReopened','30016660UdEYtg','commentThreadId','cloud-services-internal-error:\x20Request\x20timeout.','Permissions','cloudservicescommentsadapter-connect-already-connected','code','add','permissions','sessionAdd:','121CabaUb','addToReconnectionStack','addComment','keys','10722RKvGot','comments','from','collaboration.channelId','destroy','updateComment','updateCommentThread','config','resolvedAt','has','authorId','commentThreadAdded','content','commentThreadRemoved','4310600AblfyQ','connect','set','404','remove','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','addUser','_setUpService','pluginName','resolvedBy','plugins','14206duzPay','setPermissions','userId','createdAt','map','getCommentThreads','getMany','cloudservicescommentsadapter-disconnect-not-exist','assign','CloudServicesCommentsAdapter','disconnect','getComment','cloud-services-internal-error:\x20Not\x20connected.','2093052RoeyIS','catch','startsWith','commentId','commentAdded','message','removeComment','316DylrEk','get','removeCommentThread','register','9pxaaaC','commentUpdated','7202160BWFOjy','_fetchMissingUsersForThreads','listenTo','_connectService','commentThreadResolved','commentThreadUpdated','size','reopen','off','adapter','_getService','11372960WIlVKw','getConnectedSessions','getUser','reopenCommentThread','CommentsService','addCommentThread','attributes','init','_terminateService','commentRemoved','mySessionId','reconnect','cloudservicescommentsadapter-service-not-exist','resolve','resolveCommentThread','getCommentThread','delete','context','_services','update'];_0xaf43=function(){return _0x2f3f4b;};return _0xaf43();}(function(_0x5eabec,_0x288274){const _0xb09ee0=_0x358b,_0x58ce15=_0x5eabec();while(!![]){try{const _0x11e597=-parseInt(_0xb09ee0(0x10f))/0x1*(-parseInt(_0xb09ee0(0x12c))/0x2)+parseInt(_0xb09ee0(0x113))/0x3*(parseInt(_0xb09ee0(0x140))/0x4)+parseInt(_0xb09ee0(0x146))/0x5+parseInt(_0xb09ee0(0x139))/0x6+-parseInt(_0xb09ee0(0x121))/0x7+parseInt(_0xb09ee0(0x151))/0x8+-parseInt(_0xb09ee0(0x144))/0x9*(parseInt(_0xb09ee0(0x106))/0xa);if(_0x11e597===_0x288274)break;else _0x58ce15['push'](_0x58ce15['shift']());}catch(_0xa7de7e){_0x58ce15['push'](_0x58ce15['shift']());}}}(_0xaf43,0xb3805));import{Context as _0x7f6312,ContextPlugin as _0x9b752c}from'ckeditor5/src/core.js';function _0x358b(_0x276d8c,_0x5a034d){const _0xaf4371=_0xaf43();return _0x358b=function(_0x358b30,_0x49053e){_0x358b30=_0x358b30-0xfe;let _0x17c871=_0xaf4371[_0x358b30];return _0x17c871;},_0x358b(_0x276d8c,_0x5a034d);}import{CKEditorError as _0xb4334d}from'ckeditor5/src/utils.js';import{Users as _0x693b2f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x273436,User as _0x573cf0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x12888f from'../realtimecollaborativeediting/websocketgateway.js';import _0x14e031 from'../realtimecollaborativeediting/sessions.js';class a extends _0x9b752c{static get[_0x17c76b(0x103)](){const _0x1ec04c=_0x17c76b;return[_0x12888f,_0x1ec04c(0x104),_0x14e031,_0x693b2f];}static get[_0x17c76b(0x129)](){const _0x2ab65b=_0x17c76b;return _0x2ab65b(0x135);}constructor(_0x837b2e){const _0x554351=_0x17c76b;super(_0x837b2e),this[_0x554351(0xff)]=new Map();}async[_0x17c76b(0x158)](){const _0x5dc300=_0x17c76b,_0x2e9da7=this[_0x5dc300(0xfe)],_0x2825c0=_0x2e9da7[_0x5dc300(0x12b)][_0x5dc300(0x141)](_0x5dc300(0x104));if(_0x2e9da7[_0x5dc300(0x12b)][_0x5dc300(0x141)](_0x12888f)[_0x5dc300(0x110)](this),_0x2825c0[_0x5dc300(0x14f)]={'addCommentThread':async({channelId:_0x138643,threadId:_0x1533d,comments:_0x4f9d1f,resolvedAt:_0x2e40aa,resolvedBy:_0x23241b,context:_0x1d5ae7,attributes:_0x2caa5a})=>{const _0x2f5f21=_0x5dc300,_0x42c12c=await this[_0x2f5f21(0x150)](_0x138643)[_0x2f5f21(0x156)]({'commentThreadId':_0x1533d,'comments':_0x4f9d1f[_0x2f5f21(0x130)](_0x270ca1=>function(_0x34b753,_0x2b8b79,_0x59f191){const _0x427f0f=_0x2f5f21;return{'commentThreadId':_0x59f191,'commentId':_0x34b753[_0x427f0f(0x13c)],'userId':_0x34b753[_0x427f0f(0x11d)],'content':_0x34b753[_0x427f0f(0x11f)],'documentId':_0x2b8b79,'createdAt':_0x34b753[_0x427f0f(0x12f)],'attributes':_0x34b753[_0x427f0f(0x157)]||{}};}(_0x270ca1,_0x138643,_0x1533d)),'resolvedAt':_0x2e40aa,'resolvedBy':_0x23241b,'context':_0x1d5ae7,'attributes':_0x2caa5a})[_0x2f5f21(0x13a)](R);return{'threadId':_0x42c12c[_0x2f5f21(0x107)],'comments':_0x42c12c[_0x2f5f21(0x114)]};},'getCommentThread':async({channelId:_0x263a5e,threadId:_0x5b7844})=>{const _0x30d78a=_0x5dc300,_0x55e4c7=await this[_0x30d78a(0x150)](_0x263a5e)[_0x30d78a(0x160)](_0x5b7844)[_0x30d78a(0x13a)](R);return _0x55e4c7[_0x30d78a(0x101)]?null:(await this[_0x30d78a(0x147)]([_0x55e4c7]),{'threadId':_0x55e4c7[_0x30d78a(0x107)],'comments':_0x55e4c7[_0x30d78a(0x114)][_0x30d78a(0x130)](S),'context':_0x55e4c7[_0x30d78a(0xfe)],'resolvedAt':_0x55e4c7[_0x30d78a(0x11b)],'resolvedBy':_0x55e4c7[_0x30d78a(0x12a)],'attributes':_0x55e4c7[_0x30d78a(0x157)]||{}});},'updateCommentThread':async({channelId:_0x104653,threadId:_0x3b77fc,context:_0x38d53d,unlinkedAt:_0x3d1366,attributes:_0x4b25e3})=>this[_0x5dc300(0x150)](_0x104653)[_0x5dc300(0x119)]({'commentThreadId':_0x3b77fc,'context':_0x38d53d,'attributes':_0x4b25e3,'unlinkedAt':_0x3d1366})[_0x5dc300(0x13a)](B)[_0x5dc300(0x13a)](R),'resolveCommentThread':async({channelId:_0x25f553,threadId:_0x25b7d5})=>{const _0x1b8ab7=_0x5dc300,_0x495f48=await this[_0x1b8ab7(0x150)](_0x25f553)[_0x1b8ab7(0x15f)](_0x25b7d5)[_0x1b8ab7(0x13a)](B)[_0x1b8ab7(0x13a)](R);return{'threadId':_0x495f48[_0x1b8ab7(0x107)],'resolvedAt':_0x495f48[_0x1b8ab7(0x11b)],'resolvedBy':_0x495f48[_0x1b8ab7(0x12a)]};},'reopenCommentThread':async({channelId:_0x444d61,threadId:_0x171c38})=>this[_0x5dc300(0x150)](_0x444d61)[_0x5dc300(0x154)](_0x171c38)[_0x5dc300(0x13a)](B)[_0x5dc300(0x13a)](R),'removeCommentThread':({channelId:_0x39d2a7,threadId:_0x4f3259})=>this[_0x5dc300(0x150)](_0x39d2a7)[_0x5dc300(0x142)](_0x4f3259)[_0x5dc300(0x13a)](B)[_0x5dc300(0x13a)](R),'addComment':({channelId:_0x5a7d3b,threadId:_0xa482e9,commentId:_0x2dcfa6,content:_0x313a71,attributes:_0x3ecca4})=>this[_0x5dc300(0x150)](_0x5a7d3b)[_0x5dc300(0x111)](_0xa482e9,_0x2dcfa6,_0x313a71,_0x3ecca4)[_0x5dc300(0x13a)](R),'updateComment':({channelId:_0x5525df,threadId:_0x36e81e,commentId:_0x33f786,content:_0x145f5d,attributes:_0xb4edfd})=>this[_0x5dc300(0x150)](_0x5525df)[_0x5dc300(0x118)](_0x36e81e,_0x33f786,_0x145f5d,_0xb4edfd)[_0x5dc300(0x13a)](B)[_0x5dc300(0x13a)](R),'removeComment':({channelId:_0x21175c,threadId:_0x1f0f8f,commentId:_0x4d3f10})=>this[_0x5dc300(0x150)](_0x21175c)[_0x5dc300(0x13f)](_0x1f0f8f,_0x4d3f10)[_0x5dc300(0x13a)](B)[_0x5dc300(0x13a)](R)},_0x2e9da7 instanceof _0x7f6312){const _0x125153=_0x2e9da7[_0x5dc300(0x11a)][_0x5dc300(0x141)](_0x5dc300(0x116)),_0x4b4f1b=_0x2e9da7[_0x5dc300(0x12b)][_0x5dc300(0x141)](_0x14e031);await this[_0x5dc300(0x128)](_0x125153);const _0x3904e5=await this[_0x5dc300(0xff)][_0x5dc300(0x141)](_0x125153)[_0x5dc300(0x152)]();this[_0x5dc300(0x148)](_0x4b4f1b,_0x5dc300(0x10e)+_0x125153,(_0x3cd028,{session:_0x1f31fd})=>{const _0x570a0e=_0x5dc300;_0x1f31fd['id']===_0x4b4f1b[_0x570a0e(0x15b)]&&(_0x3cd028[_0x570a0e(0x14e)](),this[_0x570a0e(0xfe)][_0x570a0e(0x12b)][_0x570a0e(0x141)](_0x570a0e(0x109))[_0x570a0e(0x12d)](_0x1f31fd[_0x570a0e(0x10d)],_0x125153));}),_0x4b4f1b[_0x5dc300(0x143)](_0x125153,_0x3904e5);}}async[_0x17c76b(0x128)](_0x4e17b3){const _0x396f27=_0x17c76b;if(this[_0x396f27(0xff)][_0x396f27(0x11c)](_0x4e17b3))throw new _0xb4334d(_0x396f27(0x10a),null,{'channelId':_0x4e17b3});const _0x2d2c67=this[_0x396f27(0xfe)][_0x396f27(0x12b)][_0x396f27(0x141)](_0x396f27(0x104)),_0x3369e1=new a[(_0x396f27(0x155))](_0x4e17b3);this[_0x396f27(0xff)][_0x396f27(0x123)](_0x4e17b3,_0x3369e1),this[_0x396f27(0x148)](_0x3369e1,_0x396f27(0x11e),(_0x425b25,_0x4a2590)=>{const _0x41ad94=_0x396f27,{commentThreadId:_0x5a8289,documentId:_0x5546e5,context:_0x157ba3,attributes:_0x12b4f7,resolvedAt:_0x4f44a5,resolvedBy:_0x1c7dab,comments:_0x4fc7c1}=_0x4a2590;_0x2d2c67[_0x41ad94(0x160)](_0x5a8289)||_0x2d2c67[_0x41ad94(0x156)]({'threadId':_0x5a8289,'channelId':_0x5546e5,'comments':_0x4fc7c1?_0x4fc7c1[_0x41ad94(0x130)](S):[],'context':_0x157ba3,'attributes':_0x12b4f7,'resolvedAt':_0x4f44a5,'resolvedBy':_0x1c7dab,'isFromAdapter':!0x0});}),this[_0x396f27(0x148)](_0x3369e1,_0x396f27(0x14b),(_0x45f4d0,{commentThreadId:_0x4c2767,documentId:_0x1ada5c,context:_0x54f6d4,unlinkedAt:_0xd91496,attributes:_0x4a4206})=>{const _0x3d7bbf=_0x396f27;_0x2d2c67[_0x3d7bbf(0x160)](_0x4c2767)&&_0x2d2c67[_0x3d7bbf(0x119)]({'threadId':_0x4c2767,'channelId':_0x1ada5c,'context':_0x54f6d4,'unlinkedAt':_0xd91496,'attributes':_0x4a4206,'isFromAdapter':!0x0});}),this[_0x396f27(0x148)](_0x3369e1,_0x396f27(0x14a),(_0x4a756d,{commentThreadId:_0x5caca5,resolvedBy:_0x132382,resolvedAt:_0x34288a})=>{const _0x377a28=_0x396f27,_0x8c2eb7=_0x2d2c67[_0x377a28(0x160)](_0x5caca5);_0x8c2eb7&&_0x8c2eb7[_0x377a28(0x15e)]({'resolvedBy':_0x132382,'resolvedAt':_0x34288a,'isFromAdapter':!0x0});}),this[_0x396f27(0x148)](_0x3369e1,_0x396f27(0x105),(_0x19970a,{commentThreadId:_0x139067})=>{const _0x49b182=_0x396f27,_0x4cec5=_0x2d2c67[_0x49b182(0x160)](_0x139067);_0x4cec5&&_0x4cec5[_0x49b182(0x14d)]({'isFromAdapter':!0x0});}),this[_0x396f27(0x148)](_0x3369e1,_0x396f27(0x120),(_0x269956,{commentThreadId:_0x36bc93})=>{const _0x59bad1=_0x396f27,_0xe59117=_0x2d2c67[_0x59bad1(0x160)](_0x36bc93);_0xe59117&&_0xe59117[_0x59bad1(0x125)]({'isFromAdapter':!0x0});}),this[_0x396f27(0x148)](_0x3369e1,_0x396f27(0x13d),(_0x313712,_0x24163b)=>{const _0x52464e=_0x396f27,_0x1e8fa3=_0x24163b[_0x52464e(0x107)],_0x553b9c=_0x2d2c67[_0x52464e(0x160)](_0x1e8fa3);_0x553b9c&&_0x553b9c[_0x52464e(0x111)]({...S(_0x24163b),'isFromAdapter':!0x0});}),this[_0x396f27(0x148)](_0x3369e1,_0x396f27(0x145),(_0x16982e,{commentThreadId:_0x46fa0a,commentId:_0x1cf62d,content:_0x1ca300,attributes:_0x36dae0})=>{const _0x5036e7=_0x396f27,_0x54571e=_0x2d2c67[_0x5036e7(0x160)](_0x46fa0a);if(_0x54571e){const _0x232d07=_0x54571e[_0x5036e7(0x137)](_0x1cf62d);_0x232d07&&_0x232d07[_0x5036e7(0x100)]({'content':_0x1ca300,'attributes':_0x36dae0,'isFromAdapter':!0x0});}}),this[_0x396f27(0x148)](_0x3369e1,_0x396f27(0x15a),(_0x2f615a,{commentThreadId:_0x494b91,commentId:_0x529f93})=>{const _0x7fdac2=_0x396f27,_0x497a19=_0x2d2c67[_0x7fdac2(0x160)](_0x494b91);if(_0x497a19){const _0xafdb07=_0x497a19[_0x7fdac2(0x137)](_0x529f93);_0xafdb07&&_0xafdb07[_0x7fdac2(0x125)]({'isFromAdapter':!0x0});}}),await this[_0x396f27(0x149)](_0x4e17b3);}[_0x17c76b(0x117)](){const _0x578d46=_0x17c76b;if(this[_0x578d46(0xfe)]instanceof _0x7f6312){const _0x3ad453=this[_0x578d46(0xfe)][_0x578d46(0x11a)][_0x578d46(0x141)](_0x578d46(0x116));this[_0x578d46(0x159)](_0x3ad453);}}[_0x17c76b(0x159)](_0x3f56bc){const _0x34e41f=_0x17c76b;if(!this[_0x34e41f(0xff)][_0x34e41f(0x11c)](_0x3f56bc))throw new _0xb4334d(_0x34e41f(0x133),null,{'channelId':_0x3f56bc});this[_0x34e41f(0x150)](_0x3f56bc)[_0x34e41f(0x136)](),this[_0x34e41f(0xff)][_0x34e41f(0x161)](_0x3f56bc);}async[_0x17c76b(0x15c)](){const _0x12783e=_0x17c76b;for(const _0x3120b5 of this[_0x12783e(0xff)][_0x12783e(0x112)]())await this[_0x12783e(0x149)](_0x3120b5);if(this[_0x12783e(0xfe)]instanceof _0x7f6312){const _0x42d77e=this[_0x12783e(0xfe)][_0x12783e(0x11a)][_0x12783e(0x141)](_0x12783e(0x116)),_0xcfb922=this[_0x12783e(0xfe)][_0x12783e(0x12b)][_0x12783e(0x141)](_0x14e031);_0xcfb922[_0x12783e(0x102)](_0x42d77e);const _0x219fba=await this[_0x12783e(0xff)][_0x12783e(0x141)](_0x42d77e)[_0x12783e(0x152)]();_0xcfb922[_0x12783e(0x143)](_0x42d77e,_0x219fba);}}async[_0x17c76b(0x149)](_0x438e0a){const _0x3b5f43=_0x17c76b,{connection:_0x30d077}=this[_0x3b5f43(0xfe)][_0x3b5f43(0x12b)][_0x3b5f43(0x141)](_0x12888f),_0x3de09c=this[_0x3b5f43(0xfe)][_0x3b5f43(0x12b)][_0x3b5f43(0x141)](_0x3b5f43(0x104)),_0xa46d3b=this[_0x3b5f43(0xff)][_0x3b5f43(0x141)](_0x438e0a),_0x5bba33=await _0xa46d3b[_0x3b5f43(0x122)](_0x30d077);await this[_0x3b5f43(0x147)](_0x5bba33);const _0x329e95=new Set(Array[_0x3b5f43(0x115)](_0x3de09c[_0x3b5f43(0x131)]({'channelId':_0x438e0a}),_0x518e23=>_0x518e23['id']));for(const _0x28a92c of _0x5bba33)_0x28a92c[_0x3b5f43(0x101)]||_0x329e95[_0x3b5f43(0x161)](_0x28a92c[_0x3b5f43(0x107)]);for(const _0xa7142b of _0x329e95)_0x3de09c[_0x3b5f43(0x160)](_0xa7142b)[_0x3b5f43(0x125)]({'isFromAdapter':!0x0});for(const _0x4ab05b of _0x5bba33){let _0x37fd38=_0x3de09c[_0x3b5f43(0x160)](_0x4ab05b[_0x3b5f43(0x107)]);const {commentThreadId:_0x5db62d,context:_0x3b4506,attributes:_0x5c2f69,resolvedBy:_0x30a1c7,resolvedAt:_0x195927,unlinkedAt:_0xa03aca,deletedAt:_0x44301b}=_0x4ab05b;if(_0x44301b)continue;_0x37fd38||(_0x37fd38=_0x3de09c[_0x3b5f43(0x156)]({'channelId':_0x438e0a,'threadId':_0x5db62d,'context':_0x3b4506,'attributes':_0x5c2f69||{},'resolvedBy':_0x30a1c7,'resolvedAt':_0x195927,'unlinkedAt':_0xa03aca,'isFromAdapter':!0x0}));const _0x1e257b=new Set(Array[_0x3b5f43(0x115)](_0x37fd38[_0x3b5f43(0x114)],_0x2f9103=>_0x2f9103['id']));for(const _0x843409 of _0x4ab05b[_0x3b5f43(0x114)])_0x1e257b[_0x3b5f43(0x161)](_0x843409[_0x3b5f43(0x13c)]);for(const _0x10da64 of _0x1e257b)_0x37fd38[_0x3b5f43(0x137)](_0x10da64)[_0x3b5f43(0x125)]({'isFromAdapter':!0x0});for(const _0x23ee88 of _0x4ab05b[_0x3b5f43(0x114)]){const _0x3ee425=_0x37fd38[_0x3b5f43(0x137)](_0x23ee88[_0x3b5f43(0x13c)]);_0x3ee425?_0x3ee425[_0x3b5f43(0x11f)]!==_0x23ee88[_0x3b5f43(0x11f)]&&_0x3ee425[_0x3b5f43(0x100)]({'content':_0x23ee88[_0x3b5f43(0x11f)],'isFromAdapter':!0x0}):_0x37fd38[_0x3b5f43(0x111)](Object[_0x3b5f43(0x134)](S(_0x23ee88),{'isFromAdapter':!0x0}));}}}[_0x17c76b(0x150)](_0x1b71da){const _0x4bd8bf=_0x17c76b;if(!this[_0x4bd8bf(0xff)][_0x4bd8bf(0x11c)](_0x1b71da))throw new _0xb4334d(_0x4bd8bf(0x15d),null,{'channelId':_0x1b71da});return this[_0x4bd8bf(0xff)][_0x4bd8bf(0x141)](_0x1b71da);}async[_0x17c76b(0x147)](_0x50321e){const _0x5c9316=_0x17c76b,_0x1a4bec=this[_0x5c9316(0xfe)][_0x5c9316(0x12b)][_0x5c9316(0x141)](_0x693b2f),{connection:_0x30810a}=this[_0x5c9316(0xfe)][_0x5c9316(0x12b)][_0x5c9316(0x141)](_0x12888f),_0x3246da=new Set();for(const {resolvedBy:_0x747fe0,comments:_0x15a398}of _0x50321e){_0x747fe0&&!_0x1a4bec[_0x5c9316(0x153)](_0x747fe0)&&_0x3246da[_0x5c9316(0x10c)](_0x747fe0);for(const {userId:_0x27e54d}of _0x15a398)_0x1a4bec[_0x5c9316(0x153)](_0x27e54d)||_0x3246da[_0x5c9316(0x10c)](_0x27e54d);}if(0x0===_0x3246da[_0x5c9316(0x14c)])return;const _0x238d9d=await _0x573cf0[_0x5c9316(0x132)](_0x30810a,Array[_0x5c9316(0x115)](_0x3246da));for(const _0x3e3d5b of _0x238d9d)_0x1a4bec[_0x5c9316(0x153)](_0x3e3d5b['id'])||_0x1a4bec[_0x5c9316(0x127)](_0x3e3d5b);}}a[_0x17c76b(0x155)]=_0x273436;export default a;async function B(_0xda1ec3){const _0x87117d=_0x17c76b;if(_0x87117d(0x124)!==_0xda1ec3[_0x87117d(0x10b)])throw _0xda1ec3;}function R(_0x51ad72){const _0x1a48dd=_0x17c76b;if((_0x1e2b94=_0x51ad72)[_0x1a48dd(0x13e)][_0x1a48dd(0x13b)](_0x1a48dd(0x126))||_0x1e2b94[_0x1a48dd(0x13e)][_0x1a48dd(0x13b)](_0x1a48dd(0x138))||_0x1e2b94[_0x1a48dd(0x13e)][_0x1a48dd(0x13b)](_0x1a48dd(0x108)))return new Promise(()=>{});var _0x1e2b94;throw _0x51ad72;}function S(_0x3399ed){const _0x57fda6=_0x17c76b;return{'threadId':_0x3399ed[_0x57fda6(0x107)],'commentId':_0x3399ed[_0x57fda6(0x13c)],'content':_0x3399ed[_0x57fda6(0x11f)],'createdAt':_0x3399ed[_0x57fda6(0x12f)],'authorId':_0x3399ed[_0x57fda6(0x12e)],'attributes':_0x3399ed[_0x57fda6(0x157)]||{}};}
|
|
23
|
+
const _0x878c0d=_0x24ba;(function(_0x532ec3,_0x2f47fe){const _0x1b9dc7=_0x24ba,_0x3e6338=_0x532ec3();while(!![]){try{const _0x25fde1=parseInt(_0x1b9dc7(0x128))/0x1*(parseInt(_0x1b9dc7(0x103))/0x2)+parseInt(_0x1b9dc7(0x12e))/0x3*(parseInt(_0x1b9dc7(0xf6))/0x4)+parseInt(_0x1b9dc7(0x122))/0x5+parseInt(_0x1b9dc7(0x106))/0x6*(parseInt(_0x1b9dc7(0xcd))/0x7)+parseInt(_0x1b9dc7(0xd4))/0x8+parseInt(_0x1b9dc7(0xfc))/0x9+-parseInt(_0x1b9dc7(0xf5))/0xa;if(_0x25fde1===_0x2f47fe)break;else _0x3e6338['push'](_0x3e6338['shift']());}catch(_0x3f4788){_0x3e6338['push'](_0x3e6338['shift']());}}}(_0x37a7,0xef210));import{Context as _0x292f8c,ContextPlugin as _0x26e9b1}from'ckeditor5/src/core.js';import{CKEditorError as _0x350f65}from'ckeditor5/src/utils.js';import{Users as _0x4f09a4}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x51298a,User as _0x5595c4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x28f2c6 from'../realtimecollaborativeediting/websocketgateway.js';import _0x37cb5b from'../realtimecollaborativeediting/sessions.js';function _0x24ba(_0x30df7e,_0x11eb87){const _0x37a7a2=_0x37a7();return _0x24ba=function(_0x24ba2e,_0x354264){_0x24ba2e=_0x24ba2e-0xcc;let _0x1f58c7=_0x37a7a2[_0x24ba2e];return _0x1f58c7;},_0x24ba(_0x30df7e,_0x11eb87);}class a extends _0x26e9b1{static get[_0x878c0d(0x12a)](){const _0x57096d=_0x878c0d;return[_0x28f2c6,_0x57096d(0xd6),_0x37cb5b,_0x4f09a4];}static get[_0x878c0d(0x121)](){const _0x468f00=_0x878c0d;return _0x468f00(0xdd);}constructor(_0x57790f){const _0x4a4d14=_0x878c0d;super(_0x57790f),this[_0x4a4d14(0x112)]=new Map();}async[_0x878c0d(0xd8)](){const _0x1200d6=_0x878c0d,_0x35ae95=this[_0x1200d6(0xfa)],_0xd52cfe=_0x35ae95[_0x1200d6(0xea)][_0x1200d6(0x119)](_0x1200d6(0xd6));if(_0x35ae95[_0x1200d6(0xea)][_0x1200d6(0x119)](_0x28f2c6)[_0x1200d6(0x120)](this),_0xd52cfe[_0x1200d6(0xde)]={'addCommentThread':async({channelId:_0x2e22cb,threadId:_0x2ddf83,comments:_0x1b21e1,resolvedAt:_0x4273db,resolvedBy:_0x20c899,context:_0x19c79a,attributes:_0x767288})=>{const _0x14014b=_0x1200d6,_0x3732d2=await this[_0x14014b(0xe5)](_0x2e22cb)[_0x14014b(0xee)]({'commentThreadId':_0x2ddf83,'comments':_0x1b21e1[_0x14014b(0xd1)](_0x46a6fd=>function(_0x48531d,_0x2138f4,_0x42cb2c){const _0xc667d1=_0x14014b;return{'commentThreadId':_0x42cb2c,'commentId':_0x48531d[_0xc667d1(0x123)],'userId':_0x48531d[_0xc667d1(0x105)],'content':_0x48531d[_0xc667d1(0xf4)],'documentId':_0x2138f4,'createdAt':_0x48531d[_0xc667d1(0x115)],'attributes':_0x48531d[_0xc667d1(0x107)]||{}};}(_0x46a6fd,_0x2e22cb,_0x2ddf83)),'resolvedAt':_0x4273db,'resolvedBy':_0x20c899,'context':_0x19c79a,'attributes':_0x767288})[_0x14014b(0xe9)](R);return{'threadId':_0x3732d2[_0x14014b(0x11c)],'comments':_0x3732d2[_0x14014b(0xf3)]};},'getCommentThread':async({channelId:_0x4c352c,threadId:_0x1411ca})=>{const _0x3d95d1=_0x1200d6,_0x30c082=await this[_0x3d95d1(0xe5)](_0x4c352c)[_0x3d95d1(0xcc)](_0x1411ca)[_0x3d95d1(0xe9)](R);return _0x30c082[_0x3d95d1(0x101)]?null:(await this[_0x3d95d1(0x113)]([_0x30c082]),{'threadId':_0x30c082[_0x3d95d1(0x11c)],'comments':_0x30c082[_0x3d95d1(0xf3)][_0x3d95d1(0xd1)](S),'context':_0x30c082[_0x3d95d1(0xfa)],'resolvedAt':_0x30c082[_0x3d95d1(0x10b)],'resolvedBy':_0x30c082[_0x3d95d1(0xe7)],'attributes':_0x30c082[_0x3d95d1(0x107)]||{}});},'updateCommentThread':async({channelId:_0x3f877a,threadId:_0x28077f,context:_0x23cdfb,unlinkedAt:_0x4a0eaf,attributes:_0x28963c})=>this[_0x1200d6(0xe5)](_0x3f877a)[_0x1200d6(0xf8)]({'commentThreadId':_0x28077f,'context':_0x23cdfb,'attributes':_0x28963c,'unlinkedAt':_0x4a0eaf})[_0x1200d6(0xe9)](B)[_0x1200d6(0xe9)](R),'resolveCommentThread':async({channelId:_0x10bab4,threadId:_0x54e664})=>{const _0xcb0531=_0x1200d6,_0x1659ad=await this[_0xcb0531(0xe5)](_0x10bab4)[_0xcb0531(0xdc)](_0x54e664)[_0xcb0531(0xe9)](B)[_0xcb0531(0xe9)](R);return{'threadId':_0x1659ad[_0xcb0531(0x11c)],'resolvedAt':_0x1659ad[_0xcb0531(0x10b)],'resolvedBy':_0x1659ad[_0xcb0531(0xe7)]};},'reopenCommentThread':async({channelId:_0x2d1e21,threadId:_0x1e8a18})=>this[_0x1200d6(0xe5)](_0x2d1e21)[_0x1200d6(0xf9)](_0x1e8a18)[_0x1200d6(0xe9)](B)[_0x1200d6(0xe9)](R),'removeCommentThread':({channelId:_0x5f120b,threadId:_0x55f731})=>this[_0x1200d6(0xe5)](_0x5f120b)[_0x1200d6(0xf0)](_0x55f731)[_0x1200d6(0xe9)](B)[_0x1200d6(0xe9)](R),'addComment':({channelId:_0x4a95a8,threadId:_0x23cc65,commentId:_0x1f82b1,content:_0x4793a3,attributes:_0x341cdd})=>this[_0x1200d6(0xe5)](_0x4a95a8)[_0x1200d6(0x10a)](_0x23cc65,_0x1f82b1,_0x4793a3,_0x341cdd)[_0x1200d6(0xe9)](R),'updateComment':({channelId:_0x48c207,threadId:_0x4897db,commentId:_0x48e6dc,content:_0x22d3f2,attributes:_0x2ada33})=>this[_0x1200d6(0xe5)](_0x48c207)[_0x1200d6(0x11d)](_0x4897db,_0x48e6dc,_0x22d3f2,_0x2ada33)[_0x1200d6(0xe9)](B)[_0x1200d6(0xe9)](R),'removeComment':({channelId:_0x58b3ab,threadId:_0x34b906,commentId:_0x3b884f})=>this[_0x1200d6(0xe5)](_0x58b3ab)[_0x1200d6(0x11a)](_0x34b906,_0x3b884f)[_0x1200d6(0xe9)](B)[_0x1200d6(0xe9)](R)},_0x35ae95 instanceof _0x292f8c){const _0x221766=_0x35ae95[_0x1200d6(0x104)][_0x1200d6(0x119)](_0x1200d6(0xe2)),_0x5a85fc=_0x35ae95[_0x1200d6(0xea)][_0x1200d6(0x119)](_0x37cb5b);await this[_0x1200d6(0xe6)](_0x221766);const _0x4ca555=await this[_0x1200d6(0x112)][_0x1200d6(0x119)](_0x221766)[_0x1200d6(0x124)]();this[_0x1200d6(0x116)](_0x5a85fc,_0x1200d6(0xf7)+_0x221766,(_0x315933,{session:_0x5d6945})=>{const _0x56bb01=_0x1200d6;_0x5d6945['id']===_0x5a85fc[_0x56bb01(0x117)]&&(_0x315933[_0x56bb01(0xf2)](),this[_0x56bb01(0xfa)][_0x56bb01(0xea)][_0x56bb01(0x119)](_0x56bb01(0x109))[_0x56bb01(0x10d)](_0x5d6945[_0x56bb01(0xcf)],_0x221766));}),_0x5a85fc[_0x1200d6(0x12c)](_0x221766,_0x4ca555);}}async[_0x878c0d(0xe6)](_0x58b82f){const _0x533c58=_0x878c0d;if(this[_0x533c58(0x112)][_0x533c58(0xff)](_0x58b82f))throw new _0x350f65(_0x533c58(0x11b),null,{'channelId':_0x58b82f});const _0x5e5ed9=this[_0x533c58(0xfa)][_0x533c58(0xea)][_0x533c58(0x119)](_0x533c58(0xd6)),_0x335b82=new a[(_0x533c58(0xd0))](_0x58b82f);this[_0x533c58(0x112)][_0x533c58(0x125)](_0x58b82f,_0x335b82),this[_0x533c58(0x116)](_0x335b82,_0x533c58(0xdf),(_0x3a9d70,_0x5901a1)=>{const _0x1d358d=_0x533c58,{commentThreadId:_0x593d3b,documentId:_0x14213e,context:_0x29d6a7,attributes:_0x1c84e3,resolvedAt:_0x3bb563,resolvedBy:_0xd0a735,comments:_0x20a5b3}=_0x5901a1;_0x5e5ed9[_0x1d358d(0xcc)](_0x593d3b)||_0x5e5ed9[_0x1d358d(0xee)]({'threadId':_0x593d3b,'channelId':_0x14213e,'comments':_0x20a5b3?_0x20a5b3[_0x1d358d(0xd1)](S):[],'context':_0x29d6a7,'attributes':_0x1c84e3,'resolvedAt':_0x3bb563,'resolvedBy':_0xd0a735,'isFromAdapter':!0x0});}),this[_0x533c58(0x116)](_0x335b82,_0x533c58(0xec),(_0x1866a8,{commentThreadId:_0xab252c,documentId:_0x429abe,context:_0x3e8e02,unlinkedAt:_0x5d2f3e,attributes:_0x5f058})=>{const _0x4a243a=_0x533c58;_0x5e5ed9[_0x4a243a(0xcc)](_0xab252c)&&_0x5e5ed9[_0x4a243a(0xf8)]({'threadId':_0xab252c,'channelId':_0x429abe,'context':_0x3e8e02,'unlinkedAt':_0x5d2f3e,'attributes':_0x5f058,'isFromAdapter':!0x0});}),this[_0x533c58(0x116)](_0x335b82,_0x533c58(0xe3),(_0x15b9af,{commentThreadId:_0x156f3c,resolvedBy:_0x2cd657,resolvedAt:_0x2df0b1})=>{const _0x1a09ae=_0x533c58,_0x640cd7=_0x5e5ed9[_0x1a09ae(0xcc)](_0x156f3c);_0x640cd7&&_0x640cd7[_0x1a09ae(0x118)]({'resolvedBy':_0x2cd657,'resolvedAt':_0x2df0b1,'isFromAdapter':!0x0});}),this[_0x533c58(0x116)](_0x335b82,_0x533c58(0xce),(_0xab8f62,{commentThreadId:_0x575afd})=>{const _0x3783aa=_0x533c58,_0x571f4e=_0x5e5ed9[_0x3783aa(0xcc)](_0x575afd);_0x571f4e&&_0x571f4e[_0x3783aa(0xf1)]({'isFromAdapter':!0x0});}),this[_0x533c58(0x116)](_0x335b82,_0x533c58(0xfd),(_0x39edac,{commentThreadId:_0x326f9c})=>{const _0x5705eb=_0x533c58,_0xe6ed8a=_0x5e5ed9[_0x5705eb(0xcc)](_0x326f9c);_0xe6ed8a&&_0xe6ed8a[_0x5705eb(0xd7)]({'isFromAdapter':!0x0});}),this[_0x533c58(0x116)](_0x335b82,_0x533c58(0xda),(_0x18aa54,_0x51ab05)=>{const _0x248fec=_0x533c58,_0x4c87c7=_0x51ab05[_0x248fec(0x11c)],_0x4f4afd=_0x5e5ed9[_0x248fec(0xcc)](_0x4c87c7);_0x4f4afd&&_0x4f4afd[_0x248fec(0x10a)]({...S(_0x51ab05),'isFromAdapter':!0x0});}),this[_0x533c58(0x116)](_0x335b82,_0x533c58(0x12d),(_0x48873d,{commentThreadId:_0x5cbe7c,commentId:_0x1b1e79,content:_0x1c5285,attributes:_0x2e7605})=>{const _0x39b21d=_0x533c58,_0x35a9c0=_0x5e5ed9[_0x39b21d(0xcc)](_0x5cbe7c);if(_0x35a9c0){const _0x4c84aa=_0x35a9c0[_0x39b21d(0xe1)](_0x1b1e79);_0x4c84aa&&_0x4c84aa[_0x39b21d(0xd3)]({'content':_0x1c5285,'attributes':_0x2e7605,'isFromAdapter':!0x0});}}),this[_0x533c58(0x116)](_0x335b82,_0x533c58(0xe4),(_0x24f411,{commentThreadId:_0x5a8034,commentId:_0x26581c})=>{const _0x5edcfa=_0x533c58,_0x4cd41b=_0x5e5ed9[_0x5edcfa(0xcc)](_0x5a8034);if(_0x4cd41b){const _0xee1a9e=_0x4cd41b[_0x5edcfa(0xe1)](_0x26581c);_0xee1a9e&&_0xee1a9e[_0x5edcfa(0xd7)]({'isFromAdapter':!0x0});}}),await this[_0x533c58(0x108)](_0x58b82f);}[_0x878c0d(0x126)](){const _0x544705=_0x878c0d;if(this[_0x544705(0xfa)]instanceof _0x292f8c){const _0x20ce6d=this[_0x544705(0xfa)][_0x544705(0x104)][_0x544705(0x119)](_0x544705(0xe2));this[_0x544705(0x11e)](_0x20ce6d);}}[_0x878c0d(0x11e)](_0x3b1b17){const _0x35f14c=_0x878c0d;if(!this[_0x35f14c(0x112)][_0x35f14c(0xff)](_0x3b1b17))throw new _0x350f65(_0x35f14c(0xef),null,{'channelId':_0x3b1b17});this[_0x35f14c(0xe5)](_0x3b1b17)[_0x35f14c(0x114)](),this[_0x35f14c(0x112)][_0x35f14c(0x10c)](_0x3b1b17);}async[_0x878c0d(0x110)](){const _0x5caf47=_0x878c0d;for(const _0x509972 of this[_0x5caf47(0x112)][_0x5caf47(0xe0)]())await this[_0x5caf47(0x108)](_0x509972);if(this[_0x5caf47(0xfa)]instanceof _0x292f8c){const _0x38bde9=this[_0x5caf47(0xfa)][_0x5caf47(0x104)][_0x5caf47(0x119)](_0x5caf47(0xe2)),_0x2db637=this[_0x5caf47(0xfa)][_0x5caf47(0xea)][_0x5caf47(0x119)](_0x37cb5b);_0x2db637[_0x5caf47(0xd5)](_0x38bde9);const _0x13171a=await this[_0x5caf47(0x112)][_0x5caf47(0x119)](_0x38bde9)[_0x5caf47(0x124)]();_0x2db637[_0x5caf47(0x12c)](_0x38bde9,_0x13171a);}}async[_0x878c0d(0x108)](_0x1ca3e5){const _0x34e829=_0x878c0d,{connection:_0x2a6af5}=this[_0x34e829(0xfa)][_0x34e829(0xea)][_0x34e829(0x119)](_0x28f2c6),_0x5fc6e=this[_0x34e829(0xfa)][_0x34e829(0xea)][_0x34e829(0x119)](_0x34e829(0xd6)),_0x1ec496=this[_0x34e829(0x112)][_0x34e829(0x119)](_0x1ca3e5),_0x18086d=await _0x1ec496[_0x34e829(0xeb)](_0x2a6af5);await this[_0x34e829(0x113)](_0x18086d);const _0x558c22=new Set(Array[_0x34e829(0x10e)](_0x5fc6e[_0x34e829(0xd9)]({'channelId':_0x1ca3e5}),_0x49a27f=>_0x49a27f['id']));for(const _0x52b6f7 of _0x18086d)_0x52b6f7[_0x34e829(0x101)]||_0x558c22[_0x34e829(0x10c)](_0x52b6f7[_0x34e829(0x11c)]);for(const _0x358dd2 of _0x558c22)_0x5fc6e[_0x34e829(0xcc)](_0x358dd2)[_0x34e829(0xd7)]({'isFromAdapter':!0x0});for(const _0x2b0419 of _0x18086d){let _0x3c005c=_0x5fc6e[_0x34e829(0xcc)](_0x2b0419[_0x34e829(0x11c)]);const {commentThreadId:_0x52053d,context:_0x2a8f15,attributes:_0x1647ad,resolvedBy:_0x37b2c0,resolvedAt:_0x1a7cee,unlinkedAt:_0x28f8a3,deletedAt:_0xd11e5d}=_0x2b0419;if(_0xd11e5d)continue;_0x3c005c||(_0x3c005c=_0x5fc6e[_0x34e829(0xee)]({'channelId':_0x1ca3e5,'threadId':_0x52053d,'context':_0x2a8f15,'attributes':_0x1647ad||{},'resolvedBy':_0x37b2c0,'resolvedAt':_0x1a7cee,'unlinkedAt':_0x28f8a3,'isFromAdapter':!0x0}));const _0x3a7343=new Set(Array[_0x34e829(0x10e)](_0x3c005c[_0x34e829(0xf3)],_0x5000b3=>_0x5000b3['id']));for(const _0x5b8d08 of _0x2b0419[_0x34e829(0xf3)])_0x3a7343[_0x34e829(0x10c)](_0x5b8d08[_0x34e829(0x123)]);for(const _0x536c7f of _0x3a7343)_0x3c005c[_0x34e829(0xe1)](_0x536c7f)[_0x34e829(0xd7)]({'isFromAdapter':!0x0});for(const _0x46852a of _0x2b0419[_0x34e829(0xf3)]){const _0x45a04e=_0x3c005c[_0x34e829(0xe1)](_0x46852a[_0x34e829(0x123)]);_0x45a04e?_0x45a04e[_0x34e829(0xf4)]!==_0x46852a[_0x34e829(0xf4)]&&_0x45a04e[_0x34e829(0xd3)]({'content':_0x46852a[_0x34e829(0xf4)],'isFromAdapter':!0x0}):_0x3c005c[_0x34e829(0x10a)](Object[_0x34e829(0xfb)](S(_0x46852a),{'isFromAdapter':!0x0}));}}}[_0x878c0d(0xe5)](_0x5a2dac){const _0xb75d32=_0x878c0d;if(!this[_0xb75d32(0x112)][_0xb75d32(0xff)](_0x5a2dac))throw new _0x350f65(_0xb75d32(0x12f),null,{'channelId':_0x5a2dac});return this[_0xb75d32(0x112)][_0xb75d32(0x119)](_0x5a2dac);}async[_0x878c0d(0x113)](_0x221dbf){const _0x285680=_0x878c0d,_0x1e8b1b=this[_0x285680(0xfa)][_0x285680(0xea)][_0x285680(0x119)](_0x4f09a4),{connection:_0x173c50}=this[_0x285680(0xfa)][_0x285680(0xea)][_0x285680(0x119)](_0x28f2c6),_0xe78eff=new Set();for(const {resolvedBy:_0x313b1f,comments:_0x269c08}of _0x221dbf){_0x313b1f&&!_0x1e8b1b[_0x285680(0xe8)](_0x313b1f)&&_0xe78eff[_0x285680(0x127)](_0x313b1f);for(const {userId:_0x3623c6}of _0x269c08)_0x1e8b1b[_0x285680(0xe8)](_0x3623c6)||_0xe78eff[_0x285680(0x127)](_0x3623c6);}if(0x0===_0xe78eff[_0x285680(0xed)])return;const _0x5eefc0=await _0x5595c4[_0x285680(0x100)](_0x173c50,Array[_0x285680(0x10e)](_0xe78eff));for(const _0xfb37f5 of _0x5eefc0)_0x1e8b1b[_0x285680(0xe8)](_0xfb37f5['id'])||_0x1e8b1b[_0x285680(0x111)](_0xfb37f5);}}a[_0x878c0d(0xd0)]=_0x51298a;export default a;function _0x37a7(){const _0x4d838a=['commentThreadAdded','keys','getComment','collaboration.channelId','commentThreadResolved','commentRemoved','_getService','_setUpService','resolvedBy','getUser','catch','plugins','connect','commentThreadUpdated','size','addCommentThread','cloudservicescommentsadapter-disconnect-not-exist','removeCommentThread','reopen','off','comments','content','70215540TkbZxb','100WTgPYN','sessionAdd:','updateCommentThread','reopenCommentThread','context','assign','6818994vKzrVQ','commentThreadRemoved','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','has','getMany','deletedAt','404','2976814jqAYmj','config','authorId','4068aeOUvG','attributes','_connectService','Permissions','addComment','resolvedAt','delete','setPermissions','from','code','reconnect','addUser','_services','_fetchMissingUsersForThreads','disconnect','createdAt','listenTo','mySessionId','resolve','get','removeComment','cloudservicescommentsadapter-connect-already-connected','commentThreadId','updateComment','_terminateService','message','addToReconnectionStack','pluginName','8719935GGBMUs','commentId','getConnectedSessions','set','destroy','add','1nkIzRs','cloud-services-internal-error:\x20Request\x20timeout.','requires','startsWith','register','commentUpdated','98475ITIZBI','cloudservicescommentsadapter-service-not-exist','getCommentThread','18851KazQyi','commentThreadReopened','permissions','CommentsService','map','userId','update','10915896UKRilw','unregister','CommentsRepository','remove','init','getCommentThreads','commentAdded','cloud-services-internal-error:\x20Not\x20connected.','resolveCommentThread','CloudServicesCommentsAdapter','adapter'];_0x37a7=function(){return _0x4d838a;};return _0x37a7();}async function B(_0x4f3069){const _0x4c375e=_0x878c0d;if(_0x4c375e(0x102)!==_0x4f3069[_0x4c375e(0x10f)])throw _0x4f3069;}function R(_0xc0e497){const _0x467481=_0x878c0d;if((_0x3b8e9b=_0xc0e497)[_0x467481(0x11f)][_0x467481(0x12b)](_0x467481(0xfe))||_0x3b8e9b[_0x467481(0x11f)][_0x467481(0x12b)](_0x467481(0xdb))||_0x3b8e9b[_0x467481(0x11f)][_0x467481(0x12b)](_0x467481(0x129)))return new Promise(()=>{});var _0x3b8e9b;throw _0xc0e497;}function S(_0x744e6a){const _0x18beac=_0x878c0d;return{'threadId':_0x744e6a[_0x18beac(0x11c)],'commentId':_0x744e6a[_0x18beac(0x123)],'content':_0x744e6a[_0x18beac(0xf4)],'createdAt':_0x744e6a[_0x18beac(0x115)],'authorId':_0x744e6a[_0x18beac(0xd2)],'attributes':_0x744e6a[_0x18beac(0x107)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x71c9(_0x1d01f3,_0x2c42ce){const _0xe4341f=_0xe434();return _0x71c9=function(_0x71c995,_0x5b81e1){_0x71c995=_0x71c995-0x185;let _0x35d4b9=_0xe4341f[_0x71c995];return _0x35d4b9;},_0x71c9(_0x1d01f3,_0x2c42ce);}const _0x4db738=_0x71c9;(function(_0x528872,_0x38065e){const _0x1443ec=_0x71c9,_0x4eac96=_0x528872();while(!![]){try{const _0x3ce8a7=parseInt(_0x1443ec(0x196))/0x1*(-parseInt(_0x1443ec(0x19f))/0x2)+-parseInt(_0x1443ec(0x1a3))/0x3*(parseInt(_0x1443ec(0x191))/0x4)+-parseInt(_0x1443ec(0x192))/0x5*(parseInt(_0x1443ec(0x1a2))/0x6)+-parseInt(_0x1443ec(0x186))/0x7*(-parseInt(_0x1443ec(0x185))/0x8)+-parseInt(_0x1443ec(0x194))/0x9+-parseInt(_0x1443ec(0x19b))/0xa+parseInt(_0x1443ec(0x18e))/0xb;if(_0x3ce8a7===_0x38065e)break;else _0x4eac96['push'](_0x4eac96['shift']());}catch(_0x3d3042){_0x4eac96['push'](_0x4eac96['shift']());}}}(_0xe434,0x7e688));import{Plugin as _0x6ae18f}from'ckeditor5/src/core.js';import _0x392d0c from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x2f0a64 from'./realtimecollaborativeediting.js';import _0x5e8c5e from'./realtimecollaborativeediting/websocketgateway.js';function _0xe434(){const _0x3db3da=['6626979klekEF','init','1054kbGyvF','_terminateService','requires','ready','_setUpService','9815090aYHmGZ','get','CommentsRepository','CommentsEditing','1886LwAkhe','switchReadOnly','config','1479846JiDVcK','3bHFiHe','connected','plugins','pluginName','181576aHmYNm','182daNFzq','once','editor','Comments','data','destroy','isThreadsLoadingPaused','RealTimeCollaborativeComments','31764623CiqwQd','listenTo','change:state','6576hCZQWQ','5wAiYfd','collaboration.channelId'];_0xe434=function(){return _0x3db3da;};return _0xe434();}export default class m extends _0x6ae18f{static get[_0x4db738(0x198)](){const _0xf8f927=_0x4db738;return[_0xf8f927(0x189),_0x392d0c,_0x2f0a64,_0x5e8c5e];}static get[_0x4db738(0x1a6)](){const _0x368ebf=_0x4db738;return _0x368ebf(0x18d);}[_0x4db738(0x195)](){const _0x2649b4=_0x4db738,_0x28cf99=this[_0x2649b4(0x188)][_0x2649b4(0x1a5)][_0x2649b4(0x19c)](_0x5e8c5e),_0x13a397=this[_0x2649b4(0x188)][_0x2649b4(0x1a5)][_0x2649b4(0x19c)](_0x2649b4(0x19e)),_0x5ede8f=this[_0x2649b4(0x188)][_0x2649b4(0x1a5)][_0x2649b4(0x19c)](_0x392d0c);return this[_0x2649b4(0x188)][_0x2649b4(0x18a)][_0x2649b4(0x187)](_0x2649b4(0x199),()=>{const _0x3e7854=_0x2649b4;this[_0x3e7854(0x18f)](_0x28cf99,_0x3e7854(0x190),(_0x2d1c4c,_0x9a88dc,_0x6ce2fb)=>{const _0x2f355a=_0x3e7854;_0x13a397[_0x2f355a(0x18c)]=_0x2f355a(0x1a4)!==_0x6ce2fb;});}),this[_0x2649b4(0x18f)](_0x28cf99,_0x2649b4(0x190),(_0x1c5bf0,_0x462661,_0x1c3a13)=>{const _0x100e55=_0x2649b4;this[_0x100e55(0x188)][_0x100e55(0x1a5)][_0x100e55(0x19c)](_0x100e55(0x19d))[_0x100e55(0x1a0)](_0x100e55(0x1a4)!==_0x1c3a13);}),_0x5ede8f[_0x2649b4(0x19a)](this[_0x2649b4(0x188)][_0x2649b4(0x1a1)][_0x2649b4(0x19c)](_0x2649b4(0x193)));}[_0x4db738(0x18b)](){const _0xd88f8a=_0x4db738;this[_0xd88f8a(0x188)][_0xd88f8a(0x1a5)][_0xd88f8a(0x19c)](_0x392d0c)[_0xd88f8a(0x197)](this[_0xd88f8a(0x188)][_0xd88f8a(0x1a1)][_0xd88f8a(0x19c)](_0xd88f8a(0x193))),super[_0xd88f8a(0x18b)]();}}
|