@ckeditor/ckeditor5-real-time-collaboration 43.1.0-alpha.1 → 43.1.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xd78c56=>{const {'zh-cn':{dictionary:_0x417516,getPluralForm:_0x45d22f}}={'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':_0x52db20=>0x0}};_0xd78c56['zh-cn']||={'dictionary':{},'getPluralForm':null},_0xd78c56['zh-cn']['dictionary']=Object['assign'](_0xd78c56['zh-cn']['dictionary'],_0x417516),_0xd78c56['zh-cn']['getPluralForm']=_0x45d22f;})(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':_0x117f05=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x51da32=>{const {zh:{dictionary:_0x4f7d34,getPluralForm:_0x51f9ff}}={'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':_0x58afb9=>0x0}};_0x51da32['zh']||={'dictionary':{},'getPluralForm':null},_0x51da32['zh']['dictionary']=Object['assign'](_0x51da32['zh']['dictionary'],_0x4f7d34),_0x51da32['zh']['getPluralForm']=_0x51f9ff;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "43.1.0-alpha.
|
|
3
|
+
"version": "43.1.0-alpha.3",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@ckeditor/ckeditor-cloud-services-collaboration": "52.6.10",
|
|
45
|
-
"@ckeditor/ckeditor5-core": "43.1.0-alpha.
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "43.1.0-alpha.
|
|
47
|
-
"@ckeditor/ckeditor5-operations-compressor": "43.1.0-alpha.
|
|
48
|
-
"@ckeditor/ckeditor5-theme-lark": "43.1.0-alpha.
|
|
49
|
-
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.
|
|
50
|
-
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.
|
|
51
|
-
"ckeditor5": "43.1.0-alpha.
|
|
52
|
-
"ckeditor5-collaboration": "43.1.0-alpha.
|
|
45
|
+
"@ckeditor/ckeditor5-core": "43.1.0-alpha.3",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.1.0-alpha.3",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.1.0-alpha.3",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.1.0-alpha.3",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.3",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.3",
|
|
51
|
+
"ckeditor5": "43.1.0-alpha.3",
|
|
52
|
+
"ckeditor5-collaboration": "43.1.0-alpha.3",
|
|
53
53
|
"lodash-es": "4.17.21"
|
|
54
54
|
},
|
|
55
55
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x36b1db,_0x12283a,_0x287a7a){const t=_0x36b1db['t'];switch(_0x12283a){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'},_0x287a7a);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x59b3(_0x2ab896,_0x6bd5e8){var _0x4f916f=_0x4f91();return _0x59b3=function(_0x59b35c,_0x55f9b8){_0x59b35c=_0x59b35c-0x183;var _0x3175bf=_0x4f916f[_0x59b35c];return _0x3175bf;},_0x59b3(_0x2ab896,_0x6bd5e8);}(function(_0x52dae1,_0x4ee889){var _0x3350ac=_0x59b3,_0x3ea2b1=_0x52dae1();while(!![]){try{var _0x3caac4=parseInt(_0x3350ac(0x188))/0x1*(parseInt(_0x3350ac(0x18f))/0x2)+-parseInt(_0x3350ac(0x18e))/0x3*(parseInt(_0x3350ac(0x184))/0x4)+parseInt(_0x3350ac(0x18c))/0x5+parseInt(_0x3350ac(0x18d))/0x6*(parseInt(_0x3350ac(0x187))/0x7)+-parseInt(_0x3350ac(0x183))/0x8*(-parseInt(_0x3350ac(0x18a))/0x9)+-parseInt(_0x3350ac(0x185))/0xa*(-parseInt(_0x3350ac(0x186))/0xb)+-parseInt(_0x3350ac(0x189))/0xc*(parseInt(_0x3350ac(0x18b))/0xd);if(_0x3caac4===_0x4ee889)break;else _0x3ea2b1['push'](_0x3ea2b1['shift']());}catch(_0x459412){_0x3ea2b1['push'](_0x3ea2b1['shift']());}}}(_0x4f91,0x6747e));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';function _0x4f91(){var _0x536ca0=['114MkSfBD','2iFtgJJ','1192bnGQMy','88148dfBVKj','129930TDlbWg','627pOMtAQ','14pZhpGT','779113QhtAhI','564QMJctB','21654nLXuAM','413582YibLFK','2716340uuFnIu','1002678hxguaO'];_0x4f91=function(){return _0x536ca0;};return _0x4f91();}export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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);}}
|
|
23
|
+
const _0x4786c6=_0x2b7f;(function(_0x23c567,_0x32d887){const _0x476f71=_0x2b7f,_0x3cc5ed=_0x23c567();while(!![]){try{const _0x516987=-parseInt(_0x476f71(0xb4))/0x1*(-parseInt(_0x476f71(0xff))/0x2)+parseInt(_0x476f71(0x113))/0x3+parseInt(_0x476f71(0xf7))/0x4+parseInt(_0x476f71(0xcf))/0x5*(-parseInt(_0x476f71(0xcd))/0x6)+parseInt(_0x476f71(0xc8))/0x7*(parseInt(_0x476f71(0xba))/0x8)+-parseInt(_0x476f71(0xd9))/0x9*(parseInt(_0x476f71(0xe5))/0xa)+parseInt(_0x476f71(0xce))/0xb;if(_0x516987===_0x32d887)break;else _0x3cc5ed['push'](_0x3cc5ed['shift']());}catch(_0x5d7d79){_0x3cc5ed['push'](_0x3cc5ed['shift']());}}}(_0xe98a,0x3bc0f));import{ContextPlugin as _0x4952c1}from'ckeditor5/src/core.js';function _0x2b7f(_0x3176fd,_0x8c39ed){const _0xe98a07=_0xe98a();return _0x2b7f=function(_0x2b7f4d,_0x2bb84d){_0x2b7f4d=_0x2b7f4d-0xb0;let _0x53190b=_0xe98a07[_0x2b7f4d];return _0x53190b;},_0x2b7f(_0x3176fd,_0x8c39ed);}import{CKEditorError as _0x59e365,Collection as _0x15550c}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2b9355,BalloonPanelView as _0x12a93c,BodyCollection as _0x290fd1}from'ckeditor5/src/ui.js';import{isElement as _0x1be163}from'lodash-es';import _0x35f4fd from'../realtimecollaborativeediting/sessions.js';import _0x1a5138 from'./view/presencelistview.js';import _0x206468 from'./view/presencedropdownlistview.js';import _0x5d6598 from'./view/presencedropdownlistitemview.js';function _0xe98a(){const _0x2e5da7=['filter','presenceList.displayMe','tabIndex','querySelectorAll','sort','execute','isExpanded','bind','map','317559gIxlBc','config','isRendered','isMe','isVisible','using','textarea','193gahHgY','from','items','body','destroy','ck\x20ck-presence-list__balloon','8evIsmg','_bodyCollection','define','[contenteditable]','requires','render','presenceList','presencelist-collapseat-invalid-format','focusTracker','_allConnectedUsers','isFocusable','button','showDropdown','offsetWidth','4599JcRjTC','attachToDom','select','_handleUserRemove','unpin','1230frNbag','2214663yjfhzY','2270KixXLJ','activeElement','counterView','indexOf','input','presenceList.collapseAt','inlineListView','number','listenTo','appendChild','4229325hGGLGB','checkIfScrollable','join','change:isFocused','class','usersCount','onClick','allConnectedUsers','keystrokes','element','Tab','Shift+Tab','10fWcHsY','focus','init','Esc','_handleUserAdd','pin','bindTo',':not([disabled]):not([tabindex=\x22-1\x22])','set','locale','get','length','presencelist-missing-container','view','offsetHeight','add','reverse','currentDisplayedUsers','298896RJoqge','isCollapsed','content','_createView','presenceList.container','Enter','hasTooltip','isHidden','4406spdBKp','detachFromDom','displayMe','remove','plugins','[tabindex]','context','presenceDropdownView','min','balloonPanelView','hideDropdown'];_0xe98a=function(){return _0x2e5da7;};return _0xe98a();}import _0x2b7cf1 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x4952c1{constructor(_0x13f183){const _0x4cfeda=_0x2b7f;super(_0x13f183),this[_0x4cfeda(0xbb)]=null,this[_0x4cfeda(0x105)][_0x4cfeda(0x114)][_0x4cfeda(0xbc)](_0x4cfeda(0xc0),A);const _0x895355=_0x13f183[_0x4cfeda(0x114)][_0x4cfeda(0xef)](_0x4cfeda(0xd4));if(_0x4cfeda(0xd6)!=typeof _0x895355)throw new _0x59e365(_0x4cfeda(0xc1),this);if(_0x895355<0x1)throw new _0x59e365(_0x4cfeda(0xc1),this);this[_0x4cfeda(0xc3)]=this[_0x4cfeda(0x105)][_0x4cfeda(0x103)][_0x4cfeda(0xef)](_0x35f4fd)[_0x4cfeda(0xe0)],this[_0x4cfeda(0xed)](_0x4cfeda(0xde),0x0),this[_0x4cfeda(0xf6)]=new _0x15550c(),this[_0x4cfeda(0x108)]=new _0x12a93c(),this[_0x4cfeda(0x108)][_0x4cfeda(0xdd)]=_0x4cfeda(0xb9),this[_0x4cfeda(0xf2)]=this[_0x4cfeda(0xfa)](),this[_0x4cfeda(0x106)]=void 0x0;}static get[_0x4786c6(0xbe)](){return[_0x35f4fd];}[_0x4786c6(0xe7)](){const _0x3c1abd=_0x4786c6;for(const _0x2b863f of this[_0x3c1abd(0xc3)])this[_0x3c1abd(0xe9)](_0x2b863f);this[_0x3c1abd(0xd7)](this[_0x3c1abd(0xc3)],_0x3c1abd(0xf4),(_0x199a1c,_0x22187d)=>{const _0x4db100=_0x3c1abd;this[_0x4db100(0xe9)](_0x22187d);}),this[_0x3c1abd(0xd7)](this[_0x3c1abd(0xc3)],_0x3c1abd(0x102),(_0x538a1a,_0xb900bb)=>{const _0x34adba=_0x3c1abd;this[_0x34adba(0xcb)](_0xb900bb);});}[_0x4786c6(0xfa)](){const _0x9a4d35=_0x4786c6,_0x4cd804=this[_0x9a4d35(0x105)],_0x579e3d=new _0x1a5138(this[_0x9a4d35(0x105)][_0x9a4d35(0xee)]),_0x120d60=this[_0x9a4d35(0x108)];if(!_0x1be163(_0x4cd804[_0x9a4d35(0x114)][_0x9a4d35(0xef)](_0x9a4d35(0xfb))))throw new _0x59e365(_0x9a4d35(0xf1),this);return _0x579e3d[_0x9a4d35(0xd1)][_0x9a4d35(0x111)](_0x9a4d35(0xde))['to'](this),_0x579e3d[_0x9a4d35(0x111)](_0x9a4d35(0xf8))['to'](this,_0x9a4d35(0xde),_0x300968=>{const _0xe3c3f3=_0x9a4d35,{collapseAt:_0x18cbef,displayMe:_0x3f2fa7}=_0x4cd804[_0xe3c3f3(0x114)][_0xe3c3f3(0xef)](_0xe3c3f3(0xc0)),_0x4953af=_0x300968>=_0x18cbef;return _0x579e3d[_0xe3c3f3(0xd1)][_0xe3c3f3(0xfe)]=!(0x1==_0x300968&&_0x3f2fa7||_0x4953af),_0x4953af||this[_0xe3c3f3(0x109)](),_0x4953af;}),_0x579e3d[_0x9a4d35(0xd5)][_0x9a4d35(0xb6)][_0x9a4d35(0xeb)](this[_0x9a4d35(0xf6)])[_0x9a4d35(0xb2)](_0x441d7b=>{const _0x3d74df=_0x9a4d35,_0x1b6431=_0x4cd804[_0x3d74df(0x114)][_0x3d74df(0xef)](_0x3d74df(0xc0)),_0xd6fc6b=new _0x2b7cf1(_0x4cd804[_0x3d74df(0xee)],_0x441d7b,!!_0x1b6431[_0x3d74df(0xdf)]);return _0xd6fc6b[_0x3d74df(0x111)](_0x3d74df(0xfd))['to'](_0x579e3d,_0x3d74df(0xf8),_0x2a3d8b=>!_0x2a3d8b),_0xd6fc6b[_0x3d74df(0x111)](_0x3d74df(0xc4))['to'](_0x579e3d,_0x3d74df(0xf8),_0xc799c=>!_0xc799c),_0x1b6431[_0x3d74df(0xdf)]&&this[_0x3d74df(0xd7)](_0xd6fc6b,_0x3d74df(0x10f),()=>{const _0x438141=_0x3d74df;this[_0x438141(0xf2)][_0x438141(0xf8)]||_0x1b6431[_0x438141(0xdf)](_0x441d7b,_0xd6fc6b[_0x438141(0xe2)]);}),_0xd6fc6b;}),this[_0x9a4d35(0xd7)](_0x579e3d[_0x9a4d35(0xd5)],_0x9a4d35(0x10f),()=>{const _0x49ea2d=_0x9a4d35;this[_0x49ea2d(0x106)]?this[_0x49ea2d(0x109)]():this[_0x49ea2d(0xf2)][_0x49ea2d(0xf8)]&&this[_0x49ea2d(0xc6)]();}),_0x579e3d[_0x9a4d35(0xd5)][_0x9a4d35(0xe1)][_0x9a4d35(0xed)](_0x9a4d35(0xfc),(_0x2cf0e0,_0x1213d4)=>{const _0x31947b=_0x9a4d35;this[_0x31947b(0xf2)][_0x31947b(0xf8)]&&(this[_0x31947b(0xc6)](),_0x1213d4());}),_0x579e3d[_0x9a4d35(0xbf)](),_0x120d60[_0x9a4d35(0xbf)](),_0x2b9355({'emitter':_0x579e3d,'activator':()=>_0x120d60[_0x9a4d35(0xb1)],'contextElements':[_0x120d60[_0x9a4d35(0xe2)],_0x579e3d[_0x9a4d35(0xd5)][_0x9a4d35(0xe2)]],'callback':()=>this[_0x9a4d35(0x109)]()}),_0x4cd804[_0x9a4d35(0x114)][_0x9a4d35(0xef)](_0x9a4d35(0xfb))[_0x9a4d35(0xd8)](_0x579e3d[_0x9a4d35(0xe2)]),this[_0x9a4d35(0xbb)]=new _0x290fd1(this[_0x9a4d35(0x105)][_0x9a4d35(0xee)]),this[_0x9a4d35(0xbb)][_0x9a4d35(0xc9)](),this[_0x9a4d35(0xbb)][_0x9a4d35(0xf4)](this[_0x9a4d35(0x108)]),_0x579e3d;}[_0x4786c6(0xe9)](_0x14c697){const _0x69cdba=_0x4786c6;if(!this[_0x69cdba(0x105)][_0x69cdba(0x114)][_0x69cdba(0xef)](_0x69cdba(0x10b))&&_0x14c697[_0x69cdba(0xb0)])return;const _0x109aea=this[_0x69cdba(0x105)][_0x69cdba(0x114)][_0x69cdba(0xef)](_0x69cdba(0xd4))-0x1;this[_0x69cdba(0xde)]++,this[_0x69cdba(0xf6)][_0x69cdba(0xf0)]==_0x109aea&&this[_0x69cdba(0xf6)][_0x69cdba(0xf0)]>0x1&&this[_0x69cdba(0xf6)][_0x69cdba(0x102)](0x1);const _0x80f602=_0x14c697[_0x69cdba(0xb0)]?0x0:this[_0x69cdba(0xf6)][_0x69cdba(0xf0)];this[_0x69cdba(0xf6)][_0x69cdba(0xf4)](_0x14c697,_0x80f602);}[_0x4786c6(0xcb)](_0x8c92e9){const _0x9eb5b7=_0x4786c6;if(this[_0x9eb5b7(0xde)]--,this[_0x9eb5b7(0xf6)][_0x9eb5b7(0xef)](_0x8c92e9['id'])&&(this[_0x9eb5b7(0xf6)][_0x9eb5b7(0x102)](_0x8c92e9['id']),this[_0x9eb5b7(0xf6)][_0x9eb5b7(0xf0)]<this[_0x9eb5b7(0xde)])){for(const _0x3de1c6 of Array[_0x9eb5b7(0xb5)](this[_0x9eb5b7(0xc3)])[_0x9eb5b7(0xf5)]())if(!this[_0x9eb5b7(0xf6)][_0x9eb5b7(0xef)](_0x3de1c6['id']))return void this[_0x9eb5b7(0xf6)][_0x9eb5b7(0xf4)](_0x3de1c6,Math[_0x9eb5b7(0x107)](this[_0x9eb5b7(0xf6)][_0x9eb5b7(0xf0)],0x1));}}[_0x4786c6(0xc6)](){const _0x267c05=_0x4786c6;if(this[_0x267c05(0x106)])return;const _0x2e3e0e=this[_0x267c05(0x105)][_0x267c05(0x114)][_0x267c05(0xef)](_0x267c05(0xc0));this[_0x267c05(0x106)]=new _0x206468(this[_0x267c05(0x105)][_0x267c05(0xee)],!!_0x2e3e0e[_0x267c05(0xdf)]),this[_0x267c05(0xf2)][_0x267c05(0xd5)][_0x267c05(0x110)]=!0x0;const {listWrapperView:_0x51baf5}=this[_0x267c05(0x106)];_0x51baf5[_0x267c05(0xb6)][_0x267c05(0xeb)](this[_0x267c05(0xc3)])[_0x267c05(0xb2)](_0x1d0c80=>{const _0x5a51fa=_0x267c05;if(!_0x2e3e0e[_0x5a51fa(0x101)]&&_0x1d0c80[_0x5a51fa(0xb0)])return null;const _0x553127=new _0x5d6598(this[_0x5a51fa(0x105)][_0x5a51fa(0xee)],_0x1d0c80,!!_0x2e3e0e[_0x5a51fa(0xdf)]);return _0x2e3e0e[_0x5a51fa(0xdf)]&&this[_0x5a51fa(0xd7)](_0x553127,_0x5a51fa(0x10f),()=>{const _0x1d97e5=_0x5a51fa;_0x2e3e0e[_0x1d97e5(0xdf)](_0x1d0c80,_0x553127[_0x1d97e5(0xe2)]);}),_0x553127;}),this[_0x267c05(0x108)][_0x267c05(0xf9)][_0x267c05(0xf4)](this[_0x267c05(0x106)]),this[_0x267c05(0x108)][_0x267c05(0xea)]({'target':this[_0x267c05(0xf2)][_0x267c05(0xd5)][_0x267c05(0xe2)]}),_0x51baf5[_0x267c05(0xe6)](),_0x51baf5[_0x267c05(0xda)]();const _0x5eca4f=(_0x23c038,_0x543dc8)=>{const _0x12b726=_0x267c05;this[_0x12b726(0x109)](),this[_0x12b726(0xf2)][_0x12b726(0xd5)][_0x12b726(0xe6)](),_0x543dc8();};_0x51baf5[_0x267c05(0xe1)][_0x267c05(0xed)](_0x267c05(0xe8),_0x5eca4f),_0x51baf5[_0x267c05(0xe1)][_0x267c05(0xed)](_0x267c05(0xe4),_0x5eca4f),_0x51baf5[_0x267c05(0xe1)][_0x267c05(0xed)](_0x267c05(0xe3),(_0x4963ca,_0x21947e)=>{const _0x293322=_0x267c05;!function(_0x370d0e){const _0x452d7d=_0x2b7f,_0x572665=['a',_0x452d7d(0xc5),_0x452d7d(0xd3),_0x452d7d(0xca),_0x452d7d(0xb3),_0x452d7d(0x104),_0x452d7d(0xbd)][_0x452d7d(0x112)](_0x48650a=>_0x48650a+_0x452d7d(0xec))[_0x452d7d(0xdb)](','),_0x1d064e=[...document[_0x452d7d(0xb7)][_0x452d7d(0x10d)](_0x572665)][_0x452d7d(0x10a)](_0x39cc10=>_0x39cc10===document[_0x452d7d(0xd0)]||_0x39cc10[_0x452d7d(0xc7)]+_0x39cc10[_0x452d7d(0xf3)]>0x0)[_0x452d7d(0x10e)]((_0x34f92c,_0x1728d4)=>(_0x34f92c[_0x452d7d(0x10c)]||0x0)-(_0x1728d4[_0x452d7d(0x10c)]||0x0)),_0x7f4601=_0x1d064e[_0x452d7d(0xd2)](_0x370d0e),_0x7050bc=_0x1d064e[(_0x7f4601+0x1)%_0x1d064e[_0x452d7d(0xf0)]];_0x7050bc&&_0x7050bc[_0x452d7d(0xe6)]();}(this[_0x293322(0xf2)][_0x293322(0xe2)]),this[_0x293322(0x109)](),_0x21947e();}),_0x51baf5[_0x267c05(0xc2)][_0x267c05(0xf4)](this[_0x267c05(0xf2)][_0x267c05(0xe2)]),_0x51baf5[_0x267c05(0xc2)]['on'](_0x267c05(0xdc),(_0x39ef22,_0x53c390,_0x598239)=>{const _0x4f6314=_0x267c05;_0x598239||this[_0x4f6314(0x109)]();});}[_0x4786c6(0x109)](){const _0x58fb79=_0x4786c6;this[_0x58fb79(0x106)]&&(this[_0x58fb79(0xf2)][_0x58fb79(0xd5)][_0x58fb79(0x110)]=!0x1,this[_0x58fb79(0x108)][_0x58fb79(0xcc)](),this[_0x58fb79(0x108)][_0x58fb79(0xf9)][_0x58fb79(0x102)](this[_0x58fb79(0x106)]),this[_0x58fb79(0x106)][_0x58fb79(0xb8)](),this[_0x58fb79(0x106)]=void 0x0);}[_0x4786c6(0xb8)](){const _0x38ec56=_0x4786c6;super[_0x38ec56(0xb8)](),this[_0x38ec56(0xf2)]&&this[_0x38ec56(0xf2)][_0x38ec56(0x115)]&&this[_0x38ec56(0xf2)][_0x38ec56(0xb8)](),this[_0x38ec56(0xbb)]&&(this[_0x38ec56(0xbb)][_0x38ec56(0x100)](),this[_0x38ec56(0xbb)][_0x38ec56(0xb8)](),this[_0x38ec56(0xbb)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1c7b(_0x57cf64,_0x5b13ff){const _0x4cec59=_0x4cec();return _0x1c7b=function(_0x1c7bda,_0x1986cf){_0x1c7bda=_0x1c7bda-0xfe;let _0x38ba5c=_0x4cec59[_0x1c7bda];return _0x38ba5c;},_0x1c7b(_0x57cf64,_0x5b13ff);}(function(_0x1b3b1a,_0x181a7c){const _0x3efa73=_0x1c7b,_0x383410=_0x1b3b1a();while(!![]){try{const _0x4455e5=parseInt(_0x3efa73(0x10e))/0x1*(parseInt(_0x3efa73(0x10c))/0x2)+-parseInt(_0x3efa73(0x10b))/0x3+parseInt(_0x3efa73(0x105))/0x4*(-parseInt(_0x3efa73(0xfe))/0x5)+-parseInt(_0x3efa73(0x10f))/0x6+-parseInt(_0x3efa73(0x103))/0x7+-parseInt(_0x3efa73(0x109))/0x8*(-parseInt(_0x3efa73(0x106))/0x9)+parseInt(_0x3efa73(0x100))/0xa;if(_0x4455e5===_0x181a7c)break;else _0x383410['push'](_0x383410['shift']());}catch(_0x3916a4){_0x383410['push'](_0x383410['shift']());}}}(_0x4cec,0xe0571));import{View as _0x4985da}from'ckeditor5/src/ui.js';function _0x4cec(){const _0x232ac2=['6395442RTlYdd','CONNECTED_USERS','4955185jNmifK','usersCount','43793300aDyXgJ','div','isHidden','2910572QNQYtI','setTemplate','4CUyGKI','9BNDSHn','ck-presence-list__counter','bindTemplate','1004432zgccLZ','set','4975371EnWcCR','1090420vhiTyY','ck-presence-list__counter--hidden','1btqUJK'];_0x4cec=function(){return _0x232ac2;};return _0x4cec();}import{getTranslation as _0x5b4baf}from'../../common-translations.js';export default class ts extends _0x4985da{constructor(_0x250051){const _0xddaf6d=_0x1c7b;super(_0x250051);const _0x1540c9=this[_0xddaf6d(0x108)];this[_0xddaf6d(0x10a)](_0xddaf6d(0xff),0x0),this[_0xddaf6d(0x10a)](_0xddaf6d(0x102),!0x0),this[_0xddaf6d(0x104)]({'tag':_0xddaf6d(0x101),'attributes':{'class':['ck',_0xddaf6d(0x107),_0x1540c9['if'](_0xddaf6d(0x102),_0xddaf6d(0x10d))]},'children':[{'text':_0x1540c9['to'](_0xddaf6d(0xff),_0xa31e14=>_0x5b4baf(_0x250051,_0xddaf6d(0x110),_0xa31e14))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xbb61(_0x28217f,_0x43314a){const _0x438089=_0x4380();return _0xbb61=function(_0xbb61a4,_0x59e0f3){_0xbb61a4=_0xbb61a4-0x188;let _0x31bd08=_0x438089[_0xbb61a4];return _0x31bd08;},_0xbb61(_0x28217f,_0x43314a);}const _0xc6f937=_0xbb61;(function(_0x20acdd,_0x3ddd72){const _0x2308bc=_0xbb61,_0x3bb6a6=_0x20acdd();while(!![]){try{const _0x60a7a2=-parseInt(_0x2308bc(0x196))/0x1+parseInt(_0x2308bc(0x1a1))/0x2+parseInt(_0x2308bc(0x193))/0x3+parseInt(_0x2308bc(0x188))/0x4+parseInt(_0x2308bc(0x19b))/0x5+parseInt(_0x2308bc(0x18f))/0x6+parseInt(_0x2308bc(0x189))/0x7*(-parseInt(_0x2308bc(0x19a))/0x8);if(_0x60a7a2===_0x3ddd72)break;else _0x3bb6a6['push'](_0x3bb6a6['shift']());}catch(_0xd9db1d){_0x3bb6a6['push'](_0x3bb6a6['shift']());}}}(_0x4380,0x38d7a));import{ListItemView as _0x5eaa02}from'ckeditor5/src/ui.js';import{UserView as _0x2a83dc}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x5eaa02{constructor(_0x371704,_0x5ee17a,_0x51210d){const _0x2046df=_0xbb61;super(_0x371704);const _0x4841a7=this[_0x2046df(0x18e)];this[_0x2046df(0x19f)]=new _0x2a83dc(_0x371704,_0x5ee17a);const _0x7f25a6={'tag':'li','attributes':{'class':['ck',_0x2046df(0x194)],'tabindex':-0x1,'role':_0x2046df(0x197),'aria-label':_0x5ee17a[_0x2046df(0x192)]},'children':[this[_0x2046df(0x19f)],{'tag':_0x2046df(0x199),'attributes':{'class':['ck',_0x2046df(0x195)]},'children':[{'text':_0x5ee17a[_0x2046df(0x192)]}]},{'tag':_0x2046df(0x199),'attributes':{'class':['ck',_0x2046df(0x18c),_0x5ee17a[_0x2046df(0x19d)][_0x2046df(0x190)]()],'aria-hidden':_0x2046df(0x19e)}}]};_0x51210d&&(_0x7f25a6[_0x2046df(0x191)]=_0x2046df(0x198),_0x7f25a6['on']={'click':_0x4841a7['to'](()=>this[_0x2046df(0x1a0)](_0x2046df(0x19c)))}),this[_0x2046df(0x18b)](_0x7f25a6);}[_0xc6f937(0x18a)](){const _0x47f23a=_0xc6f937;this[_0x47f23a(0x18d)][_0x47f23a(0x18a)]();}}function _0x4380(){const _0x45fac3=['tag','name','1317831OSiJpV','ck-presence-list__dropdown-list-item','ck-user__full-name','350992AxoptU','presentation','button','span','693832JyhRwb','1400160mbgXNB','execute','color','true','userView','fire','649260bFGZdq','1402816RzxRIt','91MyZIpr','focus','setTemplate','ck-presence-list__marker','element','bindTemplate','1899912HQUzBI','getBackgroundColorClass'];_0x4380=function(){return _0x45fac3;};return _0x4380();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x359c8d=_0x2fda;function _0x2fda(_0xd00151,_0x41e6f3){const _0x4055ba=_0x4055();return _0x2fda=function(_0x2fda1e,_0x14cba5){_0x2fda1e=_0x2fda1e-0x189;let _0x3c61e8=_0x4055ba[_0x2fda1e];return _0x3c61e8;},_0x2fda(_0xd00151,_0x41e6f3);}(function(_0x35ca0e,_0x3a4b70){const _0xddc511=_0x2fda,_0x28b295=_0x35ca0e();while(!![]){try{const _0x4928df=parseInt(_0xddc511(0x18a))/0x1*(parseInt(_0xddc511(0x189))/0x2)+-parseInt(_0xddc511(0x196))/0x3*(-parseInt(_0xddc511(0x19c))/0x4)+-parseInt(_0xddc511(0x1a6))/0x5+parseInt(_0xddc511(0x18b))/0x6*(parseInt(_0xddc511(0x1a9))/0x7)+parseInt(_0xddc511(0x1ac))/0x8+parseInt(_0xddc511(0x18d))/0x9+-parseInt(_0xddc511(0x18c))/0xa;if(_0x4928df===_0x3a4b70)break;else _0x28b295['push'](_0x28b295['shift']());}catch(_0x4bf2fe){_0x28b295['push'](_0x28b295['shift']());}}}(_0x4055,0x82410));function _0x4055(){const _0x5f1c45=['bindTemplate','ck-presence-list__dropdown-list-wrapper','setTemplate','1292799AuPyOb','listWrapperView','clientHeight','div','_isScrollable','listenTo','8PiaoQG','role','ariaLabel','ariaLabelledBy','ck-presence-list__dropdown-list','ck-presence-list__dropdown-list-wrapper_scrollable','checkIfScrollable','resize','scrollHeight','items','4357915xDsgCB','element','ck-list','77qywaon','window','ck-reset','499800jpcFcx','max','set','2wAqtTo','521942SgonrB','13842TUShLd','7954970ahtAAq','6560460VclvtP','render','innerHeight','change','Connected\x20users\x20list\x20dropdown\x20menu','application'];_0x4055=function(){return _0x5f1c45;};return _0x4055();}import{ListView as _0x388923,View as _0x7d655c}from'ckeditor5/src/ui.js';import{global as _0x1b4884}from'ckeditor5/src/utils.js';import{getTranslation as _0x35234b}from'../../common-translations.js';export default class j extends _0x7d655c{constructor(_0x546df7,_0xa7bb19){const _0x480a6d=_0x2fda;super(_0x546df7),this[_0x480a6d(0x197)]=new PresenceDropdownListWrapperView(_0x546df7,_0xa7bb19),this[_0x480a6d(0x195)]({'tag':_0x480a6d(0x199),'attributes':{'tabindex':-0x1,'role':_0x480a6d(0x192),'class':['ck',_0x480a6d(0x1a0)],'aria-label':_0x35234b(_0x546df7,_0x480a6d(0x191))},'children':[this[_0x480a6d(0x197)]]});}}export class PresenceDropdownListWrapperView extends _0x388923{constructor(_0x149c3a,_0x2ced8b){const _0x396ad8=_0x2fda;super(_0x149c3a);const _0x1cc45e=this[_0x396ad8(0x193)];this[_0x396ad8(0x1ae)](_0x396ad8(0x19a),!0x1),this[_0x396ad8(0x195)]({'tag':_0x2ced8b?_0x396ad8(0x199):'ul','attributes':{'class':['ck',_0x396ad8(0x1ab),_0x396ad8(0x1a8),_0x396ad8(0x194),_0x1cc45e['if'](_0x396ad8(0x19a),_0x396ad8(0x1a1))],'role':_0x1cc45e['to'](_0x396ad8(0x19d)),'aria-label':_0x1cc45e['to'](_0x396ad8(0x19e)),'aria-labelledby':_0x1cc45e['to'](_0x396ad8(0x19f))},'children':this[_0x396ad8(0x1a5)]}),this[_0x396ad8(0x19b)](_0x1b4884[_0x396ad8(0x1aa)],_0x396ad8(0x1a3),()=>this[_0x396ad8(0x1a2)]()),this[_0x396ad8(0x1a5)]['on'](_0x396ad8(0x190),()=>this[_0x396ad8(0x1a2)]());}[_0x359c8d(0x18e)](){const _0x559801=_0x359c8d;super[_0x559801(0x18e)](),this[_0x559801(0x1a2)]();}[_0x359c8d(0x1a2)](){const _0x3a1864=_0x359c8d,_0x59671d=this[_0x3a1864(0x1a7)];_0x59671d&&(this[_0x3a1864(0x19a)]=Math[_0x3a1864(0x1ad)](_0x59671d[_0x3a1864(0x1a4)],_0x59671d[_0x3a1864(0x198)])>0.8*window[_0x3a1864(0x18f)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1ef5ef,_0x3b338e){const _0x534352=_0x5ad8,_0x34353d=_0x1ef5ef();while(!![]){try{const _0x598e0a=-parseInt(_0x534352(0x1d6))/0x1*(-parseInt(_0x534352(0x1dd))/0x2)+-parseInt(_0x534352(0x1da))/0x3+-parseInt(_0x534352(0x1db))/0x4+parseInt(_0x534352(0x1e0))/0x5+parseInt(_0x534352(0x1e6))/0x6+parseInt(_0x534352(0x1df))/0x7+-parseInt(_0x534352(0x1f0))/0x8;if(_0x598e0a===_0x3b338e)break;else _0x34353d['push'](_0x34353d['shift']());}catch(_0x5e8f4a){_0x34353d['push'](_0x34353d['shift']());}}}(_0x29f5,0xa31b5));function _0x29f5(){const _0x5401b3=['execute','button','2859153SPZPvl','3072168BMAgXA','div','1117020vaUMVr','name','7268555aTjWeb','6207030FPsysY','true','setTemplate','set','getBackgroundColorClass','text','5464890RSEBgS','color','listitem','template','fire','bindTemplate','span','tag','ck-presence-list__list-item','hasTooltip','15347424BUOyWx','markerView','ck-presence-list__marker','userView','tooltipPosition','isFocusable','2XtRhwc','ck-presence-list__list-item__tooltip'];_0x29f5=function(){return _0x5401b3;};return _0x29f5();}import{LabelView as _0x220031,View as _0x1c2406}from'ckeditor5/src/ui.js';import{UserView as _0x932b9e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5ad8(_0x3d9099,_0x5308c3){const _0x29f56b=_0x29f5();return _0x5ad8=function(_0x5ad846,_0x167d00){_0x5ad846=_0x5ad846-0x1d1;let _0x2bb128=_0x29f56b[_0x5ad846];return _0x2bb128;},_0x5ad8(_0x3d9099,_0x5308c3);}export default class y extends _0x1c2406{constructor(_0x4d494b,_0x37e4e8,_0x4963d3){const _0x2ec988=_0x5ad8;super(_0x4d494b);const _0x3294ef=this[_0x2ec988(0x1eb)];this[_0x2ec988(0x1e3)](_0x2ec988(0x1d5),!0x1),this[_0x2ec988(0x1e3)](_0x2ec988(0x1ef),!0x0),this[_0x2ec988(0x1e3)](_0x2ec988(0x1d4),''),this[_0x2ec988(0x1d3)]=new _0x932b9e(_0x4d494b,_0x37e4e8),this[_0x2ec988(0x1d1)]=new at(_0x4d494b,_0x37e4e8);const _0x2562b7=new _0x220031(_0x4d494b);_0x2562b7[_0x2ec988(0x1e9)][_0x2ec988(0x1ed)]=_0x2ec988(0x1ec),_0x2562b7[_0x2ec988(0x1e5)]=_0x37e4e8[_0x2ec988(0x1de)];const _0x668b95={'tag':_0x2ec988(0x1dc),'attributes':{'class':['ck',_0x2ec988(0x1ee)],'role':_0x2ec988(0x1e8),'tabindex':_0x3294ef['to'](_0x2ec988(0x1d5),_0xd35bdb=>!!_0xd35bdb&&0x0),'aria-labelledby':_0x2562b7['id'],'data-cke-tooltip-text':this[_0x2ec988(0x1d3)][_0x2ec988(0x1de)],'data-cke-tooltip-position':_0x3294ef['to'](_0x2ec988(0x1d4)),'data-cke-tooltip-disabled':_0x3294ef['to'](_0x2ec988(0x1ef),_0x2e0db0=>!_0x2e0db0),'data-cke-tooltip-class':_0x2ec988(0x1d7)},'children':[this[_0x2ec988(0x1d3)],this[_0x2ec988(0x1d1)],_0x2562b7]};_0x4963d3&&(_0x668b95[_0x2ec988(0x1ed)]=_0x2ec988(0x1d9),_0x668b95['on']={'click':_0x3294ef['to'](()=>this[_0x2ec988(0x1ea)](_0x2ec988(0x1d8)))}),this[_0x2ec988(0x1e2)](_0x668b95);}}class at extends _0x1c2406{constructor(_0x49244e,_0x3e262e){const _0xd45067=_0x5ad8;super(_0x49244e),this[_0xd45067(0x1e2)]({'tag':_0xd45067(0x1ec),'attributes':{'class':['ck',_0xd45067(0x1d2),_0x3e262e[_0xd45067(0x1e7)][_0xd45067(0x1e4)]()],'aria-hidden':_0xd45067(0x1e1)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x324d37=_0x2d44;(function(_0x641537,_0x1d2efa){const _0x55b158=_0x2d44,_0x185957=_0x641537();while(!![]){try{const _0x51f6ef=-parseInt(_0x55b158(0x15b))/0x1+-parseInt(_0x55b158(0x14f))/0x2*(-parseInt(_0x55b158(0x157))/0x3)+-parseInt(_0x55b158(0x14a))/0x4+parseInt(_0x55b158(0x160))/0x5+parseInt(_0x55b158(0x162))/0x6*(-parseInt(_0x55b158(0x148))/0x7)+parseInt(_0x55b158(0x15c))/0x8+parseInt(_0x55b158(0x164))/0x9;if(_0x51f6ef===_0x1d2efa)break;else _0x185957['push'](_0x185957['shift']());}catch(_0x5af24b){_0x185957['push'](_0x185957['shift']());}}}(_0x543f,0x68f50));import{View as _0x3bd422}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x26e06b}from'ckeditor5/src/utils.js';import{getTranslation as _0x266e7c}from'../../common-translations.js';function _0x2d44(_0x2ab83a,_0x38c824){const _0x543f93=_0x543f();return _0x2d44=function(_0x2d4467,_0x30fe52){_0x2d4467=_0x2d4467-0x146;let _0x5a89d2=_0x543f93[_0x2d4467];return _0x5a89d2;},_0x2d44(_0x2ab83a,_0x38c824);}function _0x543f(){const _0x24625d=['Connected\x20users\x20list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','fire','element','execute','4503SKPHcr','focus','isExpanded','setTemplate','831801ilqLzl','1614096bVBVgn','list','createCollection','change:hasPopup','1514950mQzSjo','set','6KCtsgy','ck-presence-list__list','10429272bBqonZ','aria-expanded','setAttribute','items','5464858quqwHB','hasPopup','339880dOdNwN','render','div','bindTemplate','removeAttribute','618aouwTa','listenTo','keystrokes'];_0x543f=function(){return _0x24625d;};return _0x543f();}export default class es extends _0x3bd422{constructor(_0x456f5b){const _0x16c187=_0x2d44;super(_0x456f5b);const _0x14cb0c=this[_0x16c187(0x14d)];this[_0x16c187(0x147)]=this[_0x16c187(0x15e)](),this[_0x16c187(0x151)]=new _0x26e06b(),this[_0x16c187(0x161)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x16c187(0x15a)]({'tag':_0x16c187(0x14c),'attributes':{'aria-haspopup':_0x14cb0c['if'](_0x16c187(0x149)),'aria-expanded':_0x14cb0c['to'](_0x16c187(0x159),_0xf96e09=>this[_0x16c187(0x149)]&&String(_0xf96e09)),'aria-label':_0x14cb0c['to'](_0x16c187(0x149),_0x17e6e0=>_0x266e7c(_0x456f5b,_0x17e6e0?_0x16c187(0x153):_0x16c187(0x152))),'role':_0x16c187(0x15d),'tabindex':_0x14cb0c['to'](_0x16c187(0x149),_0x1f58a1=>!!_0x1f58a1&&0x0),'class':['ck',_0x16c187(0x163)]},'children':this[_0x16c187(0x147)],'on':{'click':_0x14cb0c['to'](()=>this[_0x16c187(0x154)](_0x16c187(0x156)))}}),this['on'](_0x16c187(0x15f),(_0x51be03,_0x39f952,_0x33b46c)=>{const _0xdb60ee=_0x16c187;this[_0xdb60ee(0x155)]&&(_0x33b46c?this[_0xdb60ee(0x155)][_0xdb60ee(0x146)](_0xdb60ee(0x165),String(this[_0xdb60ee(0x159)])):this[_0xdb60ee(0x155)][_0xdb60ee(0x14e)](_0xdb60ee(0x165)));});}[_0x324d37(0x158)](){const _0x53c01e=_0x324d37;this[_0x53c01e(0x155)][_0x53c01e(0x158)]();}[_0x324d37(0x14b)](){const _0x5ab9d5=_0x324d37;super[_0x5ab9d5(0x14b)](),this[_0x5ab9d5(0x151)][_0x5ab9d5(0x150)](this[_0x5ab9d5(0x155)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x216c(_0x515439,_0x3f8b0d){const _0x598d6c=_0x598d();return _0x216c=function(_0x216c9c,_0x5c5075){_0x216c9c=_0x216c9c-0x1e9;let _0x3b7169=_0x598d6c[_0x216c9c];return _0x3b7169;},_0x216c(_0x515439,_0x3f8b0d);}(function(_0x5c11ed,_0x342a24){const _0x5e11e3=_0x216c,_0x27265c=_0x5c11ed();while(!![]){try{const _0xff31a3=parseInt(_0x5e11e3(0x1ee))/0x1+parseInt(_0x5e11e3(0x1f5))/0x2*(-parseInt(_0x5e11e3(0x1ff))/0x3)+parseInt(_0x5e11e3(0x204))/0x4+-parseInt(_0x5e11e3(0x1f8))/0x5+parseInt(_0x5e11e3(0x1fc))/0x6+-parseInt(_0x5e11e3(0x1ed))/0x7*(parseInt(_0x5e11e3(0x1eb))/0x8)+parseInt(_0x5e11e3(0x1f7))/0x9;if(_0xff31a3===_0x342a24)break;else _0x27265c['push'](_0x27265c['shift']());}catch(_0x2c7c9a){_0x27265c['push'](_0x27265c['shift']());}}}(_0x598d,0x4f209));import{View as _0x5c9a62}from'ckeditor5/src/ui.js';import _0x262c59 from'./presencecounterview.js';import _0x38cd90 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x598d(){const _0x5dd800=['listenTo','inlineListView','set','setTemplate','2425828TQsvxk','ck-presence-list','hasPopup','56kngMQN','change','88809meaFic','324158NNDztp','div','bindTemplate','first','ck-presence-list--collapsed','bind','ck-rounded-corners','34834nzFFlT','items','4472046IqWuec','2975350aqGlUa','ck-reset','tooltipPosition','isCollapsed','199902ctOawL','counterView','locale','78MZZsdy'];_0x598d=function(){return _0x5dd800;};return _0x598d();}export default class L extends _0x5c9a62{constructor(_0x1615bd){const _0x4a6c36=_0x216c;super(_0x1615bd);const _0x461266=this[_0x4a6c36(0x1f0)];this[_0x4a6c36(0x202)](_0x4a6c36(0x1fb),!0x0),this[_0x4a6c36(0x1fd)]=new _0x262c59(this[_0x4a6c36(0x1fe)]),this[_0x4a6c36(0x201)]=new _0x38cd90(_0x1615bd),this[_0x4a6c36(0x201)][_0x4a6c36(0x1f3)](_0x4a6c36(0x1ea))['to'](this,_0x4a6c36(0x1fb)),this[_0x4a6c36(0x200)](this[_0x4a6c36(0x201)][_0x4a6c36(0x1f6)],_0x4a6c36(0x1ec),()=>{const _0x19e41a=_0x4a6c36;for(const _0x2ebba0 of this[_0x19e41a(0x201)][_0x19e41a(0x1f6)])_0x2ebba0[_0x19e41a(0x1fa)]='s';this[_0x19e41a(0x201)][_0x19e41a(0x1f6)][_0x19e41a(0x1f1)]&&(this[_0x19e41a(0x201)][_0x19e41a(0x1f6)][_0x19e41a(0x1f1)][_0x19e41a(0x1fa)]='se');}),this[_0x4a6c36(0x203)]({'tag':_0x4a6c36(0x1ef),'attributes':{'class':['ck',_0x4a6c36(0x1e9),_0x4a6c36(0x1f9),_0x4a6c36(0x1f4),_0x461266['if'](_0x4a6c36(0x1fb),_0x4a6c36(0x1f2))]},'children':[this[_0x4a6c36(0x1fd)],this[_0x4a6c36(0x201)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4f9991=_0x19a7;(function(_0x58b709,_0x5ced54){var _0x2991ce=_0x19a7,_0x3c9277=_0x58b709();while(!![]){try{var _0x4d4eb6=parseInt(_0x2991ce(0xf9))/0x1*(parseInt(_0x2991ce(0xfc))/0x2)+-parseInt(_0x2991ce(0xfe))/0x3*(-parseInt(_0x2991ce(0xf5))/0x4)+parseInt(_0x2991ce(0xf2))/0x5*(-parseInt(_0x2991ce(0xf6))/0x6)+parseInt(_0x2991ce(0xfb))/0x7*(parseInt(_0x2991ce(0xf7))/0x8)+-parseInt(_0x2991ce(0xf1))/0x9+parseInt(_0x2991ce(0xf8))/0xa+-parseInt(_0x2991ce(0xfa))/0xb*(parseInt(_0x2991ce(0xfd))/0xc);if(_0x4d4eb6===_0x5ced54)break;else _0x3c9277['push'](_0x3c9277['shift']());}catch(_0x4de780){_0x3c9277['push'](_0x3c9277['shift']());}}}(_0xc089,0x91e45));function _0xc089(){var _0x2ae90a=['11002260mIvOTN','1YNPboT','13455959rncrHu','7598941mJrKwe','8922waJgqT','12WwkdmP','9hAhVVi','PresenceList','651798qoYAtO','85BguOca','requires','pluginName','1151404krAjGq','409602wcJNRS','8rdqnpf'];_0xc089=function(){return _0x2ae90a;};return _0xc089();}import{ContextPlugin as _0x55f133}from'ckeditor5/src/core.js';function _0x19a7(_0x59e4b0,_0x3ecd67){var _0xc0895c=_0xc089();return _0x19a7=function(_0x19a7a4,_0x133f08){_0x19a7a4=_0x19a7a4-0xf1;var _0x4d1cb1=_0xc0895c[_0x19a7a4];return _0x4d1cb1;},_0x19a7(_0x59e4b0,_0x3ecd67);}import _0x11f4f5 from'./realtimecollaborativeediting/sessions.js';import _0x193f90 from'./presencelist/presencelistui.js';export default class i extends _0x55f133{static get[_0x4f9991(0xf3)](){return[_0x11f4f5,_0x193f90];}static get[_0x4f9991(0xf4)](){var _0x75e2a6=_0x4f9991;return _0x75e2a6(0xff);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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)]||{}};}
|
|
23
|
+
const _0x4fefbd=_0x7e65;(function(_0x476876,_0x4375f1){const _0x3cee11=_0x7e65,_0x36fdb1=_0x476876();while(!![]){try{const _0x15d325=parseInt(_0x3cee11(0x115))/0x1*(parseInt(_0x3cee11(0x111))/0x2)+-parseInt(_0x3cee11(0x101))/0x3+parseInt(_0x3cee11(0x13c))/0x4+-parseInt(_0x3cee11(0x132))/0x5*(-parseInt(_0x3cee11(0x12a))/0x6)+parseInt(_0x3cee11(0x13e))/0x7*(-parseInt(_0x3cee11(0xf4))/0x8)+parseInt(_0x3cee11(0x11f))/0x9+-parseInt(_0x3cee11(0x12d))/0xa;if(_0x15d325===_0x4375f1)break;else _0x36fdb1['push'](_0x36fdb1['shift']());}catch(_0x4e994a){_0x36fdb1['push'](_0x36fdb1['shift']());}}}(_0xfeae,0x7c218));import{Context as _0x5d510c,ContextPlugin as _0xe3fbd7}from'ckeditor5/src/core.js';import{CKEditorError as _0x4f966f}from'ckeditor5/src/utils.js';import{Users as _0x372c69}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x11d358,User as _0x6058ba}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x4b46a4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2ddbde from'../realtimecollaborativeediting/sessions.js';class a extends _0xe3fbd7{static get[_0x4fefbd(0x107)](){const _0x420fbc=_0x4fefbd;return[_0x4b46a4,_0x420fbc(0x130),_0x2ddbde,_0x372c69];}static get[_0x4fefbd(0x116)](){const _0x181377=_0x4fefbd;return _0x181377(0xf6);}constructor(_0x4fc71c){const _0x51be07=_0x4fefbd;super(_0x4fc71c),this[_0x51be07(0xfe)]=new Map();}async[_0x4fefbd(0x112)](){const _0x15d0bb=_0x4fefbd,_0x3e9bed=this[_0x15d0bb(0x145)],_0xcc743c=_0x3e9bed[_0x15d0bb(0x102)][_0x15d0bb(0x147)](_0x15d0bb(0x130));if(_0x3e9bed[_0x15d0bb(0x102)][_0x15d0bb(0x147)](_0x4b46a4)[_0x15d0bb(0x114)](this),_0xcc743c[_0x15d0bb(0x11d)]={'addCommentThread':async({channelId:_0x575b68,threadId:_0x410135,comments:_0x497441,resolvedAt:_0x220258,resolvedBy:_0x4f102a,context:_0xd43011,attributes:_0x3553e9})=>{const _0x20b9d4=_0x15d0bb,_0x5b6685=await this[_0x20b9d4(0xe4)](_0x575b68)[_0x20b9d4(0x122)]({'commentThreadId':_0x410135,'comments':_0x497441[_0x20b9d4(0x10e)](_0x50caa1=>function(_0x1135b8,_0x4e2152,_0x1a65bd){const _0xd89839=_0x20b9d4;return{'commentThreadId':_0x1a65bd,'commentId':_0x1135b8[_0xd89839(0xe7)],'userId':_0x1135b8[_0xd89839(0x123)],'content':_0x1135b8[_0xd89839(0x143)],'documentId':_0x4e2152,'createdAt':_0x1135b8[_0xd89839(0x118)],'attributes':_0x1135b8[_0xd89839(0x126)]||{}};}(_0x50caa1,_0x575b68,_0x410135)),'resolvedAt':_0x220258,'resolvedBy':_0x4f102a,'context':_0xd43011,'attributes':_0x3553e9})[_0x20b9d4(0x129)](R);return{'threadId':_0x5b6685[_0x20b9d4(0xf3)],'comments':_0x5b6685[_0x20b9d4(0x108)]};},'getCommentThread':async({channelId:_0x4a007f,threadId:_0x3e760b})=>{const _0x249345=_0x15d0bb,_0x44e78c=await this[_0x249345(0xe4)](_0x4a007f)[_0x249345(0xe9)](_0x3e760b)[_0x249345(0x129)](R);return _0x44e78c[_0x249345(0xe5)]?null:(await this[_0x249345(0x120)]([_0x44e78c]),{'threadId':_0x44e78c[_0x249345(0xf3)],'comments':_0x44e78c[_0x249345(0x108)][_0x249345(0x10e)](S),'context':_0x44e78c[_0x249345(0x145)],'resolvedAt':_0x44e78c[_0x249345(0x13a)],'resolvedBy':_0x44e78c[_0x249345(0xec)],'attributes':_0x44e78c[_0x249345(0x126)]||{}});},'updateCommentThread':async({channelId:_0x2c8636,threadId:_0x1e52be,context:_0x165f10,unlinkedAt:_0x155012,attributes:_0x28f8b9})=>this[_0x15d0bb(0xe4)](_0x2c8636)[_0x15d0bb(0x13d)]({'commentThreadId':_0x1e52be,'context':_0x165f10,'attributes':_0x28f8b9,'unlinkedAt':_0x155012})[_0x15d0bb(0x129)](B)[_0x15d0bb(0x129)](R),'resolveCommentThread':async({channelId:_0x1d39a2,threadId:_0x33d72b})=>{const _0x49afac=_0x15d0bb,_0x3ed46f=await this[_0x49afac(0xe4)](_0x1d39a2)[_0x49afac(0x131)](_0x33d72b)[_0x49afac(0x129)](B)[_0x49afac(0x129)](R);return{'threadId':_0x3ed46f[_0x49afac(0xf3)],'resolvedAt':_0x3ed46f[_0x49afac(0x13a)],'resolvedBy':_0x3ed46f[_0x49afac(0xec)]};},'reopenCommentThread':async({channelId:_0x53cfdc,threadId:_0x25ee25})=>this[_0x15d0bb(0xe4)](_0x53cfdc)[_0x15d0bb(0x110)](_0x25ee25)[_0x15d0bb(0x129)](B)[_0x15d0bb(0x129)](R),'removeCommentThread':({channelId:_0x47349a,threadId:_0x1afbb4})=>this[_0x15d0bb(0xe4)](_0x47349a)[_0x15d0bb(0xf9)](_0x1afbb4)[_0x15d0bb(0x129)](B)[_0x15d0bb(0x129)](R),'addComment':({channelId:_0x3845ca,threadId:_0x2ccfd8,commentId:_0x25c18e,content:_0x44e559,attributes:_0xaa8f66})=>this[_0x15d0bb(0xe4)](_0x3845ca)[_0x15d0bb(0x144)](_0x2ccfd8,_0x25c18e,_0x44e559,_0xaa8f66)[_0x15d0bb(0x129)](R),'updateComment':({channelId:_0x511ed9,threadId:_0x4389d8,commentId:_0x1e1864,content:_0x1f47e4,attributes:_0x1c49c5})=>this[_0x15d0bb(0xe4)](_0x511ed9)[_0x15d0bb(0x146)](_0x4389d8,_0x1e1864,_0x1f47e4,_0x1c49c5)[_0x15d0bb(0x129)](B)[_0x15d0bb(0x129)](R),'removeComment':({channelId:_0x254548,threadId:_0x1f207c,commentId:_0xff5189})=>this[_0x15d0bb(0xe4)](_0x254548)[_0x15d0bb(0x13f)](_0x1f207c,_0xff5189)[_0x15d0bb(0x129)](B)[_0x15d0bb(0x129)](R)},_0x3e9bed instanceof _0x5d510c){const _0x420ba1=_0x3e9bed[_0x15d0bb(0xfc)][_0x15d0bb(0x147)](_0x15d0bb(0x135)),_0x38f4a5=_0x3e9bed[_0x15d0bb(0x102)][_0x15d0bb(0x147)](_0x2ddbde);await this[_0x15d0bb(0xe8)](_0x420ba1);const _0x438b39=await this[_0x15d0bb(0xfe)][_0x15d0bb(0x147)](_0x420ba1)[_0x15d0bb(0xf7)]();this[_0x15d0bb(0x106)](_0x38f4a5,_0x15d0bb(0x105)+_0x420ba1,(_0x3f0912,{session:_0x492d1a})=>{const _0x430033=_0x15d0bb;_0x492d1a['id']===_0x38f4a5[_0x430033(0x11e)]&&(_0x3f0912[_0x430033(0xf0)](),this[_0x430033(0x145)][_0x430033(0x102)][_0x430033(0x147)](_0x430033(0xf2))[_0x430033(0x10c)](_0x492d1a[_0x430033(0x113)],_0x420ba1));}),_0x38f4a5[_0x15d0bb(0x12c)](_0x420ba1,_0x438b39);}}async[_0x4fefbd(0xe8)](_0x1b2288){const _0x487eff=_0x4fefbd;if(this[_0x487eff(0xfe)][_0x487eff(0xee)](_0x1b2288))throw new _0x4f966f(_0x487eff(0x139),null,{'channelId':_0x1b2288});const _0x406db9=this[_0x487eff(0x145)][_0x487eff(0x102)][_0x487eff(0x147)](_0x487eff(0x130)),_0x1c7d9d=new a[(_0x487eff(0x10f))](_0x1b2288);this[_0x487eff(0xfe)][_0x487eff(0xed)](_0x1b2288,_0x1c7d9d),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x117),(_0x10659e,_0x1394d6)=>{const _0x3f4fe7=_0x487eff,{commentThreadId:_0x27b497,documentId:_0x3dd119,context:_0x2dd896,attributes:_0x5a397f,resolvedAt:_0x460103,resolvedBy:_0x302338,comments:_0x7e31a3}=_0x1394d6;_0x406db9[_0x3f4fe7(0xe9)](_0x27b497)||_0x406db9[_0x3f4fe7(0x122)]({'threadId':_0x27b497,'channelId':_0x3dd119,'comments':_0x7e31a3?_0x7e31a3[_0x3f4fe7(0x10e)](S):[],'context':_0x2dd896,'attributes':_0x5a397f,'resolvedAt':_0x460103,'resolvedBy':_0x302338,'isFromAdapter':!0x0});}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x127),(_0x4ca784,{commentThreadId:_0x1581ad,documentId:_0x44113a,context:_0x25631c,unlinkedAt:_0x2f4d11,attributes:_0x3c3d9e})=>{const _0x583d1d=_0x487eff;_0x406db9[_0x583d1d(0xe9)](_0x1581ad)&&_0x406db9[_0x583d1d(0x13d)]({'threadId':_0x1581ad,'channelId':_0x44113a,'context':_0x25631c,'unlinkedAt':_0x2f4d11,'attributes':_0x3c3d9e,'isFromAdapter':!0x0});}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x11b),(_0x5e162f,{commentThreadId:_0x5f4a9c,resolvedBy:_0x463094,resolvedAt:_0x281831})=>{const _0x308188=_0x487eff,_0x502ef7=_0x406db9[_0x308188(0xe9)](_0x5f4a9c);_0x502ef7&&_0x502ef7[_0x308188(0x10b)]({'resolvedBy':_0x463094,'resolvedAt':_0x281831,'isFromAdapter':!0x0});}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x12b),(_0x28728f,{commentThreadId:_0x12f74f})=>{const _0x2820ad=_0x487eff,_0x536088=_0x406db9[_0x2820ad(0xe9)](_0x12f74f);_0x536088&&_0x536088[_0x2820ad(0xfd)]({'isFromAdapter':!0x0});}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0xeb),(_0x3a5215,{commentThreadId:_0x4786d7})=>{const _0x274d4d=_0x487eff,_0x2c35aa=_0x406db9[_0x274d4d(0xe9)](_0x4786d7);_0x2c35aa&&_0x2c35aa[_0x274d4d(0xff)]({'isFromAdapter':!0x0});}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x12f),(_0x1586ea,_0x4607ee)=>{const _0x574718=_0x487eff,_0x5230b3=_0x4607ee[_0x574718(0xf3)],_0x4272d2=_0x406db9[_0x574718(0xe9)](_0x5230b3);_0x4272d2&&_0x4272d2[_0x574718(0x144)]({...S(_0x4607ee),'isFromAdapter':!0x0});}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x141),(_0x3826d0,{commentThreadId:_0x2208dc,commentId:_0x10d3c4,content:_0x2811a3,attributes:_0x2b803f})=>{const _0x48b6b1=_0x487eff,_0xe8afc8=_0x406db9[_0x48b6b1(0xe9)](_0x2208dc);if(_0xe8afc8){const _0x5df92d=_0xe8afc8[_0x48b6b1(0xf5)](_0x10d3c4);_0x5df92d&&_0x5df92d[_0x48b6b1(0x137)]({'content':_0x2811a3,'attributes':_0x2b803f,'isFromAdapter':!0x0});}}),this[_0x487eff(0x106)](_0x1c7d9d,_0x487eff(0x138),(_0x3b33af,{commentThreadId:_0x1108b0,commentId:_0x537c0e})=>{const _0x22eb2d=_0x487eff,_0xa6d8ee=_0x406db9[_0x22eb2d(0xe9)](_0x1108b0);if(_0xa6d8ee){const _0x20d90e=_0xa6d8ee[_0x22eb2d(0xf5)](_0x537c0e);_0x20d90e&&_0x20d90e[_0x22eb2d(0xff)]({'isFromAdapter':!0x0});}}),await this[_0x487eff(0x10d)](_0x1b2288);}[_0x4fefbd(0x134)](){const _0x22e49e=_0x4fefbd;if(this[_0x22e49e(0x145)]instanceof _0x5d510c){const _0x2751d5=this[_0x22e49e(0x145)][_0x22e49e(0xfc)][_0x22e49e(0x147)](_0x22e49e(0x135));this[_0x22e49e(0x103)](_0x2751d5);}}[_0x4fefbd(0x103)](_0x2d44e9){const _0x4f5b25=_0x4fefbd;if(!this[_0x4f5b25(0xfe)][_0x4f5b25(0xee)](_0x2d44e9))throw new _0x4f966f(_0x4f5b25(0x128),null,{'channelId':_0x2d44e9});this[_0x4f5b25(0xe4)](_0x2d44e9)[_0x4f5b25(0x140)](),this[_0x4f5b25(0xfe)][_0x4f5b25(0x12e)](_0x2d44e9);}async[_0x4fefbd(0xfb)](){const _0x2d09bb=_0x4fefbd;for(const _0x5874ca of this[_0x2d09bb(0xfe)][_0x2d09bb(0x133)]())await this[_0x2d09bb(0x10d)](_0x5874ca);if(this[_0x2d09bb(0x145)]instanceof _0x5d510c){const _0x60827b=this[_0x2d09bb(0x145)][_0x2d09bb(0xfc)][_0x2d09bb(0x147)](_0x2d09bb(0x135)),_0xbb90e5=this[_0x2d09bb(0x145)][_0x2d09bb(0x102)][_0x2d09bb(0x147)](_0x2ddbde);_0xbb90e5[_0x2d09bb(0x104)](_0x60827b);const _0x5977f8=await this[_0x2d09bb(0xfe)][_0x2d09bb(0x147)](_0x60827b)[_0x2d09bb(0xf7)]();_0xbb90e5[_0x2d09bb(0x12c)](_0x60827b,_0x5977f8);}}async[_0x4fefbd(0x10d)](_0x34d973){const _0x380f07=_0x4fefbd,{connection:_0x1218fa}=this[_0x380f07(0x145)][_0x380f07(0x102)][_0x380f07(0x147)](_0x4b46a4),_0x24fda5=this[_0x380f07(0x145)][_0x380f07(0x102)][_0x380f07(0x147)](_0x380f07(0x130)),_0x7613c2=this[_0x380f07(0xfe)][_0x380f07(0x147)](_0x34d973),_0x19a45e=await _0x7613c2[_0x380f07(0x119)](_0x1218fa);await this[_0x380f07(0x120)](_0x19a45e);const _0x2e0c74=new Set(Array[_0x380f07(0x11c)](_0x24fda5[_0x380f07(0x142)]({'channelId':_0x34d973}),_0x27908a=>_0x27908a['id']));for(const _0xee05e4 of _0x19a45e)_0xee05e4[_0x380f07(0xe5)]||_0x2e0c74[_0x380f07(0x12e)](_0xee05e4[_0x380f07(0xf3)]);for(const _0x306819 of _0x2e0c74)_0x24fda5[_0x380f07(0xe9)](_0x306819)[_0x380f07(0xff)]({'isFromAdapter':!0x0});for(const _0x4edaeb of _0x19a45e){let _0x1f8d8d=_0x24fda5[_0x380f07(0xe9)](_0x4edaeb[_0x380f07(0xf3)]);const {commentThreadId:_0x300616,context:_0x3dac5b,attributes:_0x30f078,resolvedBy:_0xb79e0a,resolvedAt:_0x54fdf5,unlinkedAt:_0x5c0553,deletedAt:_0xfa04eb}=_0x4edaeb;if(_0xfa04eb)continue;_0x1f8d8d||(_0x1f8d8d=_0x24fda5[_0x380f07(0x122)]({'channelId':_0x34d973,'threadId':_0x300616,'context':_0x3dac5b,'attributes':_0x30f078||{},'resolvedBy':_0xb79e0a,'resolvedAt':_0x54fdf5,'unlinkedAt':_0x5c0553,'isFromAdapter':!0x0}));const _0x31ad1c=new Set(Array[_0x380f07(0x11c)](_0x1f8d8d[_0x380f07(0x108)],_0x5aeb9f=>_0x5aeb9f['id']));for(const _0x5b8189 of _0x4edaeb[_0x380f07(0x108)])_0x31ad1c[_0x380f07(0x12e)](_0x5b8189[_0x380f07(0xe7)]);for(const _0x70aa88 of _0x31ad1c)_0x1f8d8d[_0x380f07(0xf5)](_0x70aa88)[_0x380f07(0xff)]({'isFromAdapter':!0x0});for(const _0x380913 of _0x4edaeb[_0x380f07(0x108)]){const _0x16e37f=_0x1f8d8d[_0x380f07(0xf5)](_0x380913[_0x380f07(0xe7)]);_0x16e37f?_0x16e37f[_0x380f07(0x143)]!==_0x380913[_0x380f07(0x143)]&&_0x16e37f[_0x380f07(0x137)]({'content':_0x380913[_0x380f07(0x143)],'isFromAdapter':!0x0}):_0x1f8d8d[_0x380f07(0x144)](Object[_0x380f07(0x11a)](S(_0x380913),{'isFromAdapter':!0x0}));}}}[_0x4fefbd(0xe4)](_0x2aa95c){const _0x44b991=_0x4fefbd;if(!this[_0x44b991(0xfe)][_0x44b991(0xee)](_0x2aa95c))throw new _0x4f966f(_0x44b991(0xea),null,{'channelId':_0x2aa95c});return this[_0x44b991(0xfe)][_0x44b991(0x147)](_0x2aa95c);}async[_0x4fefbd(0x120)](_0x413ceb){const _0x2e3133=_0x4fefbd,_0x4f2982=this[_0x2e3133(0x145)][_0x2e3133(0x102)][_0x2e3133(0x147)](_0x372c69),{connection:_0xfd3620}=this[_0x2e3133(0x145)][_0x2e3133(0x102)][_0x2e3133(0x147)](_0x4b46a4),_0x433cb4=new Set();for(const {resolvedBy:_0x1eddb1,comments:_0x390636}of _0x413ceb){_0x1eddb1&&!_0x4f2982[_0x2e3133(0x136)](_0x1eddb1)&&_0x433cb4[_0x2e3133(0x109)](_0x1eddb1);for(const {userId:_0x10ca68}of _0x390636)_0x4f2982[_0x2e3133(0x136)](_0x10ca68)||_0x433cb4[_0x2e3133(0x109)](_0x10ca68);}if(0x0===_0x433cb4[_0x2e3133(0x124)])return;const _0x449ddb=await _0x6058ba[_0x2e3133(0x100)](_0xfd3620,Array[_0x2e3133(0x11c)](_0x433cb4));for(const _0x532447 of _0x449ddb)_0x4f2982[_0x2e3133(0x136)](_0x532447['id'])||_0x4f2982[_0x2e3133(0xf1)](_0x532447);}}a[_0x4fefbd(0x10f)]=_0x11d358;export default a;function _0x7e65(_0x40e087,_0x51b02f){const _0xfeae3b=_0xfeae();return _0x7e65=function(_0x7e6552,_0x382152){_0x7e6552=_0x7e6552-0xe4;let _0x2b7a09=_0xfeae3b[_0x7e6552];return _0x2b7a09;},_0x7e65(_0x40e087,_0x51b02f);}async function B(_0x4d00a7){const _0x4319c0=_0x4fefbd;if(_0x4319c0(0x121)!==_0x4d00a7[_0x4319c0(0xef)])throw _0x4d00a7;}function _0xfeae(){const _0x242c92=['addUser','Permissions','commentThreadId','1928QCSYsU','getComment','CloudServicesCommentsAdapter','getConnectedSessions','cloud-services-internal-error:\x20Request\x20timeout.','removeCommentThread','cloud-services-internal-error:\x20Not\x20connected.','reconnect','config','reopen','_services','remove','getMany','2978100xqYHiW','plugins','_terminateService','unregister','sessionAdd:','listenTo','requires','comments','add','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','resolve','setPermissions','_connectService','map','CommentsService','reopenCommentThread','56kLGpDz','init','permissions','addToReconnectionStack','23678EVFAsG','pluginName','commentThreadAdded','createdAt','connect','assign','commentThreadResolved','from','adapter','mySessionId','3361401AghPxd','_fetchMissingUsersForThreads','404','addCommentThread','authorId','size','startsWith','attributes','commentThreadUpdated','cloudservicescommentsadapter-disconnect-not-exist','catch','18sFPJIr','commentThreadReopened','register','2006420CAearU','delete','commentAdded','CommentsRepository','resolveCommentThread','1686735QWzPkY','keys','destroy','collaboration.channelId','getUser','update','commentRemoved','cloudservicescommentsadapter-connect-already-connected','resolvedAt','message','2065156qOiebE','updateCommentThread','25067camaqV','removeComment','disconnect','commentUpdated','getCommentThreads','content','addComment','context','updateComment','get','_getService','deletedAt','userId','commentId','_setUpService','getCommentThread','cloudservicescommentsadapter-service-not-exist','commentThreadRemoved','resolvedBy','set','has','code','off'];_0xfeae=function(){return _0x242c92;};return _0xfeae();}function R(_0x3a3c39){const _0x542caa=_0x4fefbd;if((_0x218ff8=_0x3a3c39)[_0x542caa(0x13b)][_0x542caa(0x125)](_0x542caa(0x10a))||_0x218ff8[_0x542caa(0x13b)][_0x542caa(0x125)](_0x542caa(0xfa))||_0x218ff8[_0x542caa(0x13b)][_0x542caa(0x125)](_0x542caa(0xf8)))return new Promise(()=>{});var _0x218ff8;throw _0x3a3c39;}function S(_0x15f74f){const _0x5dc0e7=_0x4fefbd;return{'threadId':_0x15f74f[_0x5dc0e7(0xf3)],'commentId':_0x15f74f[_0x5dc0e7(0xe7)],'content':_0x15f74f[_0x5dc0e7(0x143)],'createdAt':_0x15f74f[_0x5dc0e7(0x118)],'authorId':_0x15f74f[_0x5dc0e7(0xe6)],'attributes':_0x15f74f[_0x5dc0e7(0x126)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xda89b5=_0x2992;(function(_0x13cc20,_0x472e7b){const _0x58bb2a=_0x2992,_0x434c57=_0x13cc20();while(!![]){try{const _0xa44b99=-parseInt(_0x58bb2a(0x82))/0x1*(-parseInt(_0x58bb2a(0x8c))/0x2)+parseInt(_0x58bb2a(0x84))/0x3*(-parseInt(_0x58bb2a(0x9b))/0x4)+parseInt(_0x58bb2a(0x96))/0x5*(parseInt(_0x58bb2a(0x90))/0x6)+parseInt(_0x58bb2a(0x7f))/0x7+-parseInt(_0x58bb2a(0x95))/0x8+-parseInt(_0x58bb2a(0x9a))/0x9+parseInt(_0x58bb2a(0x7d))/0xa;if(_0xa44b99===_0x472e7b)break;else _0x434c57['push'](_0x434c57['shift']());}catch(_0x20b9f1){_0x434c57['push'](_0x434c57['shift']());}}}(_0x1af5,0x657e0));import{Plugin as _0x12a725}from'ckeditor5/src/core.js';function _0x2992(_0x4e0778,_0x79146d){const _0x1af5bc=_0x1af5();return _0x2992=function(_0x299263,_0x597141){_0x299263=_0x299263-0x7b;let _0x395d85=_0x1af5bc[_0x299263];return _0x395d85;},_0x2992(_0x4e0778,_0x79146d);}import _0x3111c8 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x166139 from'./realtimecollaborativeediting.js';import _0x5d623b from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x12a725{static get[_0xda89b5(0x93)](){const _0x1912dd=_0xda89b5;return[_0x1912dd(0x8a),_0x3111c8,_0x166139,_0x5d623b];}static get[_0xda89b5(0x8b)](){const _0x50c43a=_0xda89b5;return _0x50c43a(0x7c);}[_0xda89b5(0x83)](){const _0x1dd51e=_0xda89b5,_0x22c749=this[_0x1dd51e(0x8f)][_0x1dd51e(0x86)][_0x1dd51e(0x99)](_0x5d623b),_0x31462d=this[_0x1dd51e(0x8f)][_0x1dd51e(0x86)][_0x1dd51e(0x99)](_0x1dd51e(0x8e)),_0x5c3098=this[_0x1dd51e(0x8f)][_0x1dd51e(0x86)][_0x1dd51e(0x99)](_0x3111c8);return this[_0x1dd51e(0x8f)][_0x1dd51e(0x97)][_0x1dd51e(0x87)](_0x1dd51e(0x92),()=>{const _0x41dba0=_0x1dd51e;this[_0x41dba0(0x88)](_0x22c749,_0x41dba0(0x8d),(_0x2106c0,_0x1b8a9c,_0x5245b8)=>{const _0x2793d8=_0x41dba0;_0x31462d[_0x2793d8(0x7b)]=_0x2793d8(0x85)!==_0x5245b8;});}),this[_0x1dd51e(0x88)](_0x22c749,_0x1dd51e(0x8d),(_0x49e461,_0x4a63bd,_0x50eb4e)=>{const _0x6f41b3=_0x1dd51e;this[_0x6f41b3(0x8f)][_0x6f41b3(0x86)][_0x6f41b3(0x99)](_0x6f41b3(0x91))[_0x6f41b3(0x7e)](_0x6f41b3(0x85)!==_0x50eb4e);}),_0x5c3098[_0x1dd51e(0x81)](this[_0x1dd51e(0x8f)][_0x1dd51e(0x94)][_0x1dd51e(0x99)](_0x1dd51e(0x89)));}[_0xda89b5(0x98)](){const _0x306a3a=_0xda89b5;this[_0x306a3a(0x8f)][_0x306a3a(0x86)][_0x306a3a(0x99)](_0x3111c8)[_0x306a3a(0x80)](this[_0x306a3a(0x8f)][_0x306a3a(0x94)][_0x306a3a(0x99)](_0x306a3a(0x89))),super[_0x306a3a(0x98)]();}}function _0x1af5(){const _0x28ae2b=['data','destroy','get','682308QkOikT','8cpEJTn','isThreadsLoadingPaused','RealTimeCollaborativeComments','1951340CqlTjJ','switchReadOnly','4848872usXFXv','_terminateService','_setUpService','1twVJKy','init','391377SAGHiT','connected','plugins','once','listenTo','collaboration.channelId','Comments','pluginName','89454TujQwF','change:state','CommentsEditing','editor','6iSbZSF','CommentsRepository','ready','requires','config','1595152IDhtIS','96395JfVnyI'];_0x1af5=function(){return _0x28ae2b;};return _0x1af5();}
|