@ckeditor/ckeditor5-real-time-collaboration 43.1.0-alpha.7 → 43.1.0-alpha.8
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
|
+
(_0x35cc2b=>{const {'zh-cn':{dictionary:_0x1bdfc2,getPluralForm:_0x44c17b}}={'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':_0x22c610=>0x0}};_0x35cc2b['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x35cc2b['zh-cn']['dictionary']=Object['assign'](_0x35cc2b['zh-cn']['dictionary'],_0x1bdfc2),_0x35cc2b['zh-cn']['getPluralForm']=_0x44c17b;})(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':_0x31184d=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x116719=>{const {zh:{dictionary:_0x3f9b33,getPluralForm:_0x2f2852}}={'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':_0x46ccf2=>0x0}};_0x116719['zh']||={'dictionary':{},'getPluralForm':null},_0x116719['zh']['dictionary']=Object['assign'](_0x116719['zh']['dictionary'],_0x3f9b33),_0x116719['zh']['getPluralForm']=_0x2f2852;})(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.8",
|
|
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.8",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "43.1.0-alpha.8",
|
|
47
|
+
"@ckeditor/ckeditor5-operations-compressor": "43.1.0-alpha.8",
|
|
48
|
+
"@ckeditor/ckeditor5-theme-lark": "43.1.0-alpha.8",
|
|
49
|
+
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.8",
|
|
50
|
+
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.8",
|
|
51
|
+
"ckeditor5": "43.1.0-alpha.8",
|
|
52
|
+
"ckeditor5-collaboration": "43.1.0-alpha.8",
|
|
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(_0x1d32fc,_0x33236e,_0x8d7d32){const t=_0x1d32fc['t'];switch(_0x33236e){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'},_0x8d7d32);default:return'';}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5501d2,_0x1b1aad){var _0x23ffb0=_0x10d6,_0x32c34d=_0x5501d2();while(!![]){try{var _0x4d7c75=parseInt(_0x23ffb0(0x104))/0x1*(-parseInt(_0x23ffb0(0xfd))/0x2)+parseInt(_0x23ffb0(0x100))/0x3+parseInt(_0x23ffb0(0x106))/0x4+-parseInt(_0x23ffb0(0xfe))/0x5*(-parseInt(_0x23ffb0(0xfb))/0x6)+-parseInt(_0x23ffb0(0x102))/0x7*(parseInt(_0x23ffb0(0xff))/0x8)+parseInt(_0x23ffb0(0x101))/0x9*(parseInt(_0x23ffb0(0x105))/0xa)+parseInt(_0x23ffb0(0xfc))/0xb*(-parseInt(_0x23ffb0(0x103))/0xc);if(_0x4d7c75===_0x1b1aad)break;else _0x32c34d['push'](_0x32c34d['shift']());}catch(_0x2ea3d8){_0x32c34d['push'](_0x32c34d['shift']());}}}(_0x48ca,0x61d4e));export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x10d6(_0x4ece75,_0x207151){var _0x48caf7=_0x48ca();return _0x10d6=function(_0x10d6e5,_0x5d1d6e){_0x10d6e5=_0x10d6e5-0xfb;var _0x3b896a=_0x48caf7[_0x10d6e5];return _0x3b896a;},_0x10d6(_0x4ece75,_0x207151);}export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';function _0x48ca(){var _0x259794=['470dTUmkw','1530592SQbLfP','246366jvllUL','949498LcqfTp','397924cyhmIK','10vYeJqV','1213288zGlCac','920421RgzMMO','12654oRCcQd','7RaEMyu','12kDQYYP','1CHffie'];_0x48ca=function(){return _0x259794;};return _0x48ca();}import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4f2fd7=_0x510a;(function(_0x3b528d,_0x1bb113){const _0x1099b4=_0x510a,_0xdf788f=_0x3b528d();while(!![]){try{const _0x18c7a0=-parseInt(_0x1099b4(0x15b))/0x1+-parseInt(_0x1099b4(0x116))/0x2*(parseInt(_0x1099b4(0x159))/0x3)+-parseInt(_0x1099b4(0x160))/0x4*(-parseInt(_0x1099b4(0x120))/0x5)+-parseInt(_0x1099b4(0x145))/0x6*(-parseInt(_0x1099b4(0x102))/0x7)+parseInt(_0x1099b4(0x14e))/0x8+parseInt(_0x1099b4(0x12e))/0x9*(-parseInt(_0x1099b4(0x144))/0xa)+parseInt(_0x1099b4(0x113))/0xb;if(_0x18c7a0===_0x1bb113)break;else _0xdf788f['push'](_0xdf788f['shift']());}catch(_0x2a4b43){_0xdf788f['push'](_0xdf788f['shift']());}}}(_0x5595,0x3f732));import{ContextPlugin as _0x431367}from'ckeditor5/src/core.js';import{CKEditorError as _0x304f99,Collection as _0x22c200}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x18d218,BalloonPanelView as _0x365abd,BodyCollection as _0x4c0102}from'ckeditor5/src/ui.js';import{isElement as _0x5840eb}from'lodash-es';import _0x269a66 from'../realtimecollaborativeediting/sessions.js';function _0x510a(_0x128ae5,_0x550bb9){const _0x5595e5=_0x5595();return _0x510a=function(_0x510adc,_0x2752f6){_0x510adc=_0x510adc-0xfc;let _0x42bc56=_0x5595e5[_0x510adc];return _0x42bc56;},_0x510a(_0x128ae5,_0x550bb9);}import _0xd537a from'./view/presencelistview.js';import _0x5d320c from'./view/presencedropdownlistview.js';import _0x4103eb from'./view/presencedropdownlistitemview.js';import _0x1c919e from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0x431367{constructor(_0x20c524){const _0x209a3a=_0x510a;super(_0x20c524),this[_0x209a3a(0x13a)]=null,this[_0x209a3a(0x155)][_0x209a3a(0x118)][_0x209a3a(0x146)](_0x209a3a(0x136),A);const _0x5f5c25=_0x20c524[_0x209a3a(0x118)][_0x209a3a(0x12c)](_0x209a3a(0x14f));if(_0x209a3a(0x127)!=typeof _0x5f5c25)throw new _0x304f99(_0x209a3a(0x12a),this);if(_0x5f5c25<0x1)throw new _0x304f99(_0x209a3a(0x12a),this);this[_0x209a3a(0x15f)]=this[_0x209a3a(0x155)][_0x209a3a(0x11c)][_0x209a3a(0x12c)](_0x269a66)[_0x209a3a(0x143)],this[_0x209a3a(0x132)](_0x209a3a(0x15e),0x0),this[_0x209a3a(0x106)]=new _0x22c200(),this[_0x209a3a(0x115)]=new _0x365abd(),this[_0x209a3a(0x115)][_0x209a3a(0x161)]=_0x209a3a(0x111),this[_0x209a3a(0x10f)]=this[_0x209a3a(0x123)](),this[_0x209a3a(0x12b)]=void 0x0;}static get[_0x4f2fd7(0x10e)](){return[_0x269a66];}[_0x4f2fd7(0x138)](){const _0x34841f=_0x4f2fd7;for(const _0x4663bc of this[_0x34841f(0x15f)])this[_0x34841f(0x152)](_0x4663bc);this[_0x34841f(0x107)](this[_0x34841f(0x15f)],_0x34841f(0x10a),(_0x652f32,_0x33032a)=>{const _0x530abd=_0x34841f;this[_0x530abd(0x152)](_0x33032a);}),this[_0x34841f(0x107)](this[_0x34841f(0x15f)],_0x34841f(0x109),(_0x569f65,_0x5515dd)=>{const _0x185afc=_0x34841f;this[_0x185afc(0x105)](_0x5515dd);});}[_0x4f2fd7(0x123)](){const _0x26bfc7=_0x4f2fd7,_0xa3e3a9=this[_0x26bfc7(0x155)],_0x3313f2=new _0xd537a(this[_0x26bfc7(0x155)][_0x26bfc7(0x10b)]),_0x581a10=this[_0x26bfc7(0x115)];if(!_0x5840eb(_0xa3e3a9[_0x26bfc7(0x118)][_0x26bfc7(0x12c)](_0x26bfc7(0x112))))throw new _0x304f99(_0x26bfc7(0x12f),this);return _0x3313f2[_0x26bfc7(0x125)][_0x26bfc7(0x135)](_0x26bfc7(0x15e))['to'](this),_0x3313f2[_0x26bfc7(0x135)](_0x26bfc7(0x110))['to'](this,_0x26bfc7(0x15e),_0x3e44c9=>{const _0x122c5c=_0x26bfc7,{collapseAt:_0x20e08b,displayMe:_0x483488}=_0xa3e3a9[_0x122c5c(0x118)][_0x122c5c(0x12c)](_0x122c5c(0x136)),_0x1012de=_0x3e44c9>=_0x20e08b;return _0x3313f2[_0x122c5c(0x125)][_0x122c5c(0xfe)]=!(0x1==_0x3e44c9&&_0x483488||_0x1012de),_0x1012de||this[_0x122c5c(0xfd)](),_0x1012de;}),_0x3313f2[_0x26bfc7(0x122)][_0x26bfc7(0x156)][_0x26bfc7(0x10c)](this[_0x26bfc7(0x106)])[_0x26bfc7(0x11a)](_0x307ca0=>{const _0x5a7277=_0x26bfc7,_0x53964d=_0xa3e3a9[_0x5a7277(0x118)][_0x5a7277(0x12c)](_0x5a7277(0x136)),_0x241f07=new _0x1c919e(_0xa3e3a9[_0x5a7277(0x10b)],_0x307ca0,!!_0x53964d[_0x5a7277(0x126)]);return _0x241f07[_0x5a7277(0x135)](_0x5a7277(0x121))['to'](_0x3313f2,_0x5a7277(0x110),_0x50002b=>!_0x50002b),_0x241f07[_0x5a7277(0x135)](_0x5a7277(0x153))['to'](_0x3313f2,_0x5a7277(0x110),_0xddf380=>!_0xddf380),_0x53964d[_0x5a7277(0x126)]&&this[_0x5a7277(0x107)](_0x241f07,_0x5a7277(0x117),()=>{const _0x509301=_0x5a7277;this[_0x509301(0x10f)][_0x509301(0x110)]||_0x53964d[_0x509301(0x126)](_0x307ca0,_0x241f07[_0x509301(0x140)]);}),_0x241f07;}),this[_0x26bfc7(0x107)](_0x3313f2[_0x26bfc7(0x122)],_0x26bfc7(0x117),()=>{const _0x1dbd49=_0x26bfc7;this[_0x1dbd49(0x12b)]?this[_0x1dbd49(0xfd)]():this[_0x1dbd49(0x10f)][_0x1dbd49(0x110)]&&this[_0x1dbd49(0x14b)]();}),_0x3313f2[_0x26bfc7(0x122)][_0x26bfc7(0x147)][_0x26bfc7(0x132)](_0x26bfc7(0xff),(_0x20411d,_0x4f61bf)=>{const _0x25529b=_0x26bfc7;this[_0x25529b(0x10f)][_0x25529b(0x110)]&&(this[_0x25529b(0x14b)](),_0x4f61bf());}),_0x3313f2[_0x26bfc7(0x134)](),_0x581a10[_0x26bfc7(0x134)](),_0x18d218({'emitter':_0x3313f2,'activator':()=>_0x581a10[_0x26bfc7(0x11f)],'contextElements':[_0x581a10[_0x26bfc7(0x140)],_0x3313f2[_0x26bfc7(0x122)][_0x26bfc7(0x140)]],'callback':()=>this[_0x26bfc7(0xfd)]()}),_0xa3e3a9[_0x26bfc7(0x118)][_0x26bfc7(0x12c)](_0x26bfc7(0x112))[_0x26bfc7(0x130)](_0x3313f2[_0x26bfc7(0x140)]),this[_0x26bfc7(0x13a)]=new _0x4c0102(this[_0x26bfc7(0x155)][_0x26bfc7(0x10b)]),this[_0x26bfc7(0x13a)][_0x26bfc7(0x114)](),this[_0x26bfc7(0x13a)][_0x26bfc7(0x10a)](this[_0x26bfc7(0x115)]),_0x3313f2;}[_0x4f2fd7(0x152)](_0x3f5071){const _0x17edd2=_0x4f2fd7;if(!this[_0x17edd2(0x155)][_0x17edd2(0x118)][_0x17edd2(0x12c)](_0x17edd2(0x154))&&_0x3f5071[_0x17edd2(0x13f)])return;const _0x19eb57=this[_0x17edd2(0x155)][_0x17edd2(0x118)][_0x17edd2(0x12c)](_0x17edd2(0x14f))-0x1;this[_0x17edd2(0x15e)]++,this[_0x17edd2(0x106)][_0x17edd2(0x148)]==_0x19eb57&&this[_0x17edd2(0x106)][_0x17edd2(0x148)]>0x1&&this[_0x17edd2(0x106)][_0x17edd2(0x109)](0x1);const _0x173d4d=_0x3f5071[_0x17edd2(0x13f)]?0x0:this[_0x17edd2(0x106)][_0x17edd2(0x148)];this[_0x17edd2(0x106)][_0x17edd2(0x10a)](_0x3f5071,_0x173d4d);}[_0x4f2fd7(0x105)](_0x149c98){const _0x7fb8e7=_0x4f2fd7;if(this[_0x7fb8e7(0x15e)]--,this[_0x7fb8e7(0x106)][_0x7fb8e7(0x12c)](_0x149c98['id'])&&(this[_0x7fb8e7(0x106)][_0x7fb8e7(0x109)](_0x149c98['id']),this[_0x7fb8e7(0x106)][_0x7fb8e7(0x148)]<this[_0x7fb8e7(0x15e)])){for(const _0x16317a of Array[_0x7fb8e7(0x13e)](this[_0x7fb8e7(0x15f)])[_0x7fb8e7(0x14a)]())if(!this[_0x7fb8e7(0x106)][_0x7fb8e7(0x12c)](_0x16317a['id']))return void this[_0x7fb8e7(0x106)][_0x7fb8e7(0x10a)](_0x16317a,Math[_0x7fb8e7(0x11e)](this[_0x7fb8e7(0x106)][_0x7fb8e7(0x148)],0x1));}}[_0x4f2fd7(0x14b)](){const _0x43b06e=_0x4f2fd7;if(this[_0x43b06e(0x12b)])return;const _0x4c862f=this[_0x43b06e(0x155)][_0x43b06e(0x118)][_0x43b06e(0x12c)](_0x43b06e(0x136));this[_0x43b06e(0x12b)]=new _0x5d320c(this[_0x43b06e(0x155)][_0x43b06e(0x10b)],!!_0x4c862f[_0x43b06e(0x126)]),this[_0x43b06e(0x10f)][_0x43b06e(0x122)][_0x43b06e(0x13b)]=!0x0;const {listWrapperView:_0x18e970}=this[_0x43b06e(0x12b)];_0x18e970[_0x43b06e(0x156)][_0x43b06e(0x10c)](this[_0x43b06e(0x15f)])[_0x43b06e(0x11a)](_0xd5cd4b=>{const _0xed99d3=_0x43b06e;if(!_0x4c862f[_0xed99d3(0x11d)]&&_0xd5cd4b[_0xed99d3(0x13f)])return null;const _0x3ea4b4=new _0x4103eb(this[_0xed99d3(0x155)][_0xed99d3(0x10b)],_0xd5cd4b,!!_0x4c862f[_0xed99d3(0x126)]);return _0x4c862f[_0xed99d3(0x126)]&&this[_0xed99d3(0x107)](_0x3ea4b4,_0xed99d3(0x117),()=>{const _0x294e44=_0xed99d3;_0x4c862f[_0x294e44(0x126)](_0xd5cd4b,_0x3ea4b4[_0x294e44(0x140)]);}),_0x3ea4b4;}),this[_0x43b06e(0x115)][_0x43b06e(0x103)][_0x43b06e(0x10a)](this[_0x43b06e(0x12b)]),this[_0x43b06e(0x115)][_0x43b06e(0x11b)]({'target':this[_0x43b06e(0x10f)][_0x43b06e(0x122)][_0x43b06e(0x140)]}),_0x18e970[_0x43b06e(0xfc)](),_0x18e970[_0x43b06e(0x128)]();const _0x500955=(_0x3f0d2d,_0x2bd80b)=>{const _0x1857fb=_0x43b06e;this[_0x1857fb(0xfd)](),this[_0x1857fb(0x10f)][_0x1857fb(0x122)][_0x1857fb(0xfc)](),_0x2bd80b();};_0x18e970[_0x43b06e(0x147)][_0x43b06e(0x132)](_0x43b06e(0x149),_0x500955),_0x18e970[_0x43b06e(0x147)][_0x43b06e(0x132)](_0x43b06e(0x157),_0x500955),_0x18e970[_0x43b06e(0x147)][_0x43b06e(0x132)](_0x43b06e(0x142),(_0x1696a8,_0x8a551d)=>{const _0x3c508a=_0x43b06e;!function(_0x3c0bf3){const _0x15b917=_0x510a,_0x38b5cb=['a',_0x15b917(0x129),_0x15b917(0x108),_0x15b917(0x119),_0x15b917(0x14c),_0x15b917(0x12d),_0x15b917(0x124)][_0x15b917(0x137)](_0x546edd=>_0x546edd+_0x15b917(0x13c))[_0x15b917(0x139)](','),_0x53bf63=[...document[_0x15b917(0x13d)][_0x15b917(0x133)](_0x38b5cb)][_0x15b917(0x101)](_0x589f73=>_0x589f73===document[_0x15b917(0x15a)]||_0x589f73[_0x15b917(0x104)]+_0x589f73[_0x15b917(0x10d)]>0x0)[_0x15b917(0x14d)]((_0x3abbe7,_0x3c69fe)=>(_0x3abbe7[_0x15b917(0x100)]||0x0)-(_0x3c69fe[_0x15b917(0x100)]||0x0)),_0x55b85a=_0x53bf63[_0x15b917(0x15c)](_0x3c0bf3),_0x2052f0=_0x53bf63[(_0x55b85a+0x1)%_0x53bf63[_0x15b917(0x148)]];_0x2052f0&&_0x2052f0[_0x15b917(0xfc)]();}(this[_0x3c508a(0x10f)][_0x3c508a(0x140)]),this[_0x3c508a(0xfd)](),_0x8a551d();}),_0x18e970[_0x43b06e(0x150)][_0x43b06e(0x10a)](this[_0x43b06e(0x10f)][_0x43b06e(0x140)]),_0x18e970[_0x43b06e(0x150)]['on'](_0x43b06e(0x131),(_0x19b5a0,_0x440f3f,_0x33210b)=>{const _0x31b304=_0x43b06e;_0x33210b||this[_0x31b304(0xfd)]();});}[_0x4f2fd7(0xfd)](){const _0x238d7f=_0x4f2fd7;this[_0x238d7f(0x12b)]&&(this[_0x238d7f(0x10f)][_0x238d7f(0x122)][_0x238d7f(0x13b)]=!0x1,this[_0x238d7f(0x115)][_0x238d7f(0x141)](),this[_0x238d7f(0x115)][_0x238d7f(0x103)][_0x238d7f(0x109)](this[_0x238d7f(0x12b)]),this[_0x238d7f(0x12b)][_0x238d7f(0x15d)](),this[_0x238d7f(0x12b)]=void 0x0);}[_0x4f2fd7(0x15d)](){const _0x3fe2f6=_0x4f2fd7;super[_0x3fe2f6(0x15d)](),this[_0x3fe2f6(0x10f)]&&this[_0x3fe2f6(0x10f)][_0x3fe2f6(0x158)]&&this[_0x3fe2f6(0x10f)][_0x3fe2f6(0x15d)](),this[_0x3fe2f6(0x13a)]&&(this[_0x3fe2f6(0x13a)][_0x3fe2f6(0x151)](),this[_0x3fe2f6(0x13a)][_0x3fe2f6(0x15d)](),this[_0x3fe2f6(0x13a)]=null);}}function _0x5595(){const _0x2faa9e=['map','init','join','_bodyCollection','isExpanded',':not([disabled]):not([tabindex=\x22-1\x22])','body','from','isMe','element','unpin','Tab','allConnectedUsers','1113430pepwBP','2075142MwdcmP','define','keystrokes','length','Esc','reverse','showDropdown','textarea','sort','1981384fFFyJp','presenceList.collapseAt','focusTracker','detachFromDom','_handleUserAdd','isFocusable','presenceList.displayMe','context','items','Shift+Tab','isRendered','39quihle','activeElement','371018atOsFM','indexOf','destroy','usersCount','_allConnectedUsers','23496sQCxuE','class','focus','hideDropdown','isHidden','Enter','tabIndex','filter','7KiZVDb','content','offsetWidth','_handleUserRemove','currentDisplayedUsers','listenTo','input','remove','add','locale','bindTo','offsetHeight','requires','view','isCollapsed','ck\x20ck-presence-list__balloon','presenceList.container','1000604WodVVi','attachToDom','balloonPanelView','27262IdWWzI','execute','config','select','using','pin','plugins','displayMe','min','isVisible','200gEnnfk','hasTooltip','inlineListView','_createView','[contenteditable]','counterView','onClick','number','checkIfScrollable','button','presencelist-collapseat-invalid-format','presenceDropdownView','get','[tabindex]','9wZrxAt','presencelist-missing-container','appendChild','change:isFocused','set','querySelectorAll','render','bind','presenceList'];_0x5595=function(){return _0x2faa9e;};return _0x5595();}
|
|
23
|
+
const _0x540dd8=_0x2b16;(function(_0x28178b,_0x487578){const _0x409ebe=_0x2b16,_0x1ea26b=_0x28178b();while(!![]){try{const _0x17f636=parseInt(_0x409ebe(0x1ed))/0x1+parseInt(_0x409ebe(0x1dd))/0x2+-parseInt(_0x409ebe(0x1dc))/0x3+parseInt(_0x409ebe(0x1cb))/0x4*(-parseInt(_0x409ebe(0x1f4))/0x5)+parseInt(_0x409ebe(0x1e9))/0x6+parseInt(_0x409ebe(0x1ea))/0x7*(-parseInt(_0x409ebe(0x214))/0x8)+parseInt(_0x409ebe(0x1db))/0x9*(parseInt(_0x409ebe(0x1ee))/0xa);if(_0x17f636===_0x487578)break;else _0x1ea26b['push'](_0x1ea26b['shift']());}catch(_0x643011){_0x1ea26b['push'](_0x1ea26b['shift']());}}}(_0x93d9,0xa9253));function _0x2b16(_0x59db27,_0x3fc5c5){const _0x93d95f=_0x93d9();return _0x2b16=function(_0x2b1697,_0x25be8a){_0x2b1697=_0x2b1697-0x1be;let _0xacd799=_0x93d95f[_0x2b1697];return _0xacd799;},_0x2b16(_0x59db27,_0x3fc5c5);}import{ContextPlugin as _0xeee504}from'ckeditor5/src/core.js';import{CKEditorError as _0x1024d9,Collection as _0x471f30}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x1cefd0,BalloonPanelView as _0x497f1f,BodyCollection as _0x49b106}from'ckeditor5/src/ui.js';import{isElement as _0x1e9cdf}from'lodash-es';import _0x577027 from'../realtimecollaborativeediting/sessions.js';import _0x592505 from'./view/presencelistview.js';import _0x4c9cc1 from'./view/presencedropdownlistview.js';import _0xd66167 from'./view/presencedropdownlistitemview.js';import _0x280491 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class s extends _0xeee504{constructor(_0xd2871a){const _0x1370b8=_0x2b16;super(_0xd2871a),this[_0x1370b8(0x1fc)]=null,this[_0x1370b8(0x1d1)][_0x1370b8(0x218)][_0x1370b8(0x20e)](_0x1370b8(0x20d),A);const _0x3398f1=_0xd2871a[_0x1370b8(0x218)][_0x1370b8(0x1cc)](_0x1370b8(0x205));if(_0x1370b8(0x1bf)!=typeof _0x3398f1)throw new _0x1024d9(_0x1370b8(0x203),this);if(_0x3398f1<0x1)throw new _0x1024d9(_0x1370b8(0x203),this);this[_0x1370b8(0x207)]=this[_0x1370b8(0x1d1)][_0x1370b8(0x1e0)][_0x1370b8(0x1cc)](_0x577027)[_0x1370b8(0x21a)],this[_0x1370b8(0x201)](_0x1370b8(0x20b),0x0),this[_0x1370b8(0x206)]=new _0x471f30(),this[_0x1370b8(0x1fa)]=new _0x497f1f(),this[_0x1370b8(0x1fa)][_0x1370b8(0x209)]=_0x1370b8(0x1f1),this[_0x1370b8(0x212)]=this[_0x1370b8(0x1ff)](),this[_0x1370b8(0x1c6)]=void 0x0;}static get[_0x540dd8(0x1e3)](){return[_0x577027];}[_0x540dd8(0x1fe)](){const _0x11d1da=_0x540dd8;for(const _0x5da12a of this[_0x11d1da(0x207)])this[_0x11d1da(0x1ce)](_0x5da12a);this[_0x11d1da(0x1c4)](this[_0x11d1da(0x207)],_0x11d1da(0x1c3),(_0x2142f0,_0x4801b9)=>{const _0x57f2ca=_0x11d1da;this[_0x57f2ca(0x1ce)](_0x4801b9);}),this[_0x11d1da(0x1c4)](this[_0x11d1da(0x207)],_0x11d1da(0x208),(_0x2dd77e,_0x2a5828)=>{const _0x2e7173=_0x11d1da;this[_0x2e7173(0x1cf)](_0x2a5828);});}[_0x540dd8(0x1ff)](){const _0xa977dc=_0x540dd8,_0x18fa23=this[_0xa977dc(0x1d1)],_0x571a67=new _0x592505(this[_0xa977dc(0x1d1)][_0xa977dc(0x20a)]),_0x4d5f05=this[_0xa977dc(0x1fa)];if(!_0x1e9cdf(_0x18fa23[_0xa977dc(0x218)][_0xa977dc(0x1cc)](_0xa977dc(0x1e1))))throw new _0x1024d9(_0xa977dc(0x1f0),this);return _0x571a67[_0xa977dc(0x21c)][_0xa977dc(0x1fb)](_0xa977dc(0x20b))['to'](this),_0x571a67[_0xa977dc(0x1fb)](_0xa977dc(0x21b))['to'](this,_0xa977dc(0x20b),_0x413bc2=>{const _0x1e1c70=_0xa977dc,{collapseAt:_0x3fb4d1,displayMe:_0x4cbe32}=_0x18fa23[_0x1e1c70(0x218)][_0x1e1c70(0x1cc)](_0x1e1c70(0x20d)),_0x56b383=_0x413bc2>=_0x3fb4d1;return _0x571a67[_0x1e1c70(0x21c)][_0x1e1c70(0x204)]=!(0x1==_0x413bc2&&_0x4cbe32||_0x56b383),_0x56b383||this[_0x1e1c70(0x1da)](),_0x56b383;}),_0x571a67[_0xa977dc(0x215)][_0xa977dc(0x1e2)][_0xa977dc(0x202)](this[_0xa977dc(0x206)])[_0xa977dc(0x1c7)](_0x5a5353=>{const _0x49868b=_0xa977dc,_0x42058f=_0x18fa23[_0x49868b(0x218)][_0x49868b(0x1cc)](_0x49868b(0x20d)),_0x3c1afd=new _0x280491(_0x18fa23[_0x49868b(0x20a)],_0x5a5353,!!_0x42058f[_0x49868b(0x1c9)]);return _0x3c1afd[_0x49868b(0x1fb)](_0x49868b(0x1de))['to'](_0x571a67,_0x49868b(0x21b),_0x157134=>!_0x157134),_0x3c1afd[_0x49868b(0x1fb)](_0x49868b(0x1f2))['to'](_0x571a67,_0x49868b(0x21b),_0x58e2a5=>!_0x58e2a5),_0x42058f[_0x49868b(0x1c9)]&&this[_0x49868b(0x1c4)](_0x3c1afd,_0x49868b(0x1d0),()=>{const _0x5bf762=_0x49868b;this[_0x5bf762(0x212)][_0x5bf762(0x21b)]||_0x42058f[_0x5bf762(0x1c9)](_0x5a5353,_0x3c1afd[_0x5bf762(0x1d3)]);}),_0x3c1afd;}),this[_0xa977dc(0x1c4)](_0x571a67[_0xa977dc(0x215)],_0xa977dc(0x1d0),()=>{const _0x55e51f=_0xa977dc;this[_0x55e51f(0x1c6)]?this[_0x55e51f(0x1da)]():this[_0x55e51f(0x212)][_0x55e51f(0x21b)]&&this[_0x55e51f(0x1e6)]();}),_0x571a67[_0xa977dc(0x215)][_0xa977dc(0x20f)][_0xa977dc(0x201)](_0xa977dc(0x1f9),(_0xb6efca,_0x74197c)=>{const _0x2e9ef4=_0xa977dc;this[_0x2e9ef4(0x212)][_0x2e9ef4(0x21b)]&&(this[_0x2e9ef4(0x1e6)](),_0x74197c());}),_0x571a67[_0xa977dc(0x1cd)](),_0x4d5f05[_0xa977dc(0x1cd)](),_0x1cefd0({'emitter':_0x571a67,'activator':()=>_0x4d5f05[_0xa977dc(0x1eb)],'contextElements':[_0x4d5f05[_0xa977dc(0x1d3)],_0x571a67[_0xa977dc(0x215)][_0xa977dc(0x1d3)]],'callback':()=>this[_0xa977dc(0x1da)]()}),_0x18fa23[_0xa977dc(0x218)][_0xa977dc(0x1cc)](_0xa977dc(0x1e1))[_0xa977dc(0x1d9)](_0x571a67[_0xa977dc(0x1d3)]),this[_0xa977dc(0x1fc)]=new _0x49b106(this[_0xa977dc(0x1d1)][_0xa977dc(0x20a)]),this[_0xa977dc(0x1fc)][_0xa977dc(0x1c2)](),this[_0xa977dc(0x1fc)][_0xa977dc(0x1c3)](this[_0xa977dc(0x1fa)]),_0x571a67;}[_0x540dd8(0x1ce)](_0x59649c){const _0x5c68d5=_0x540dd8;if(!this[_0x5c68d5(0x1d1)][_0x5c68d5(0x218)][_0x5c68d5(0x1cc)](_0x5c68d5(0x222))&&_0x59649c[_0x5c68d5(0x1e4)])return;const _0x80f626=this[_0x5c68d5(0x1d1)][_0x5c68d5(0x218)][_0x5c68d5(0x1cc)](_0x5c68d5(0x205))-0x1;this[_0x5c68d5(0x20b)]++,this[_0x5c68d5(0x206)][_0x5c68d5(0x211)]==_0x80f626&&this[_0x5c68d5(0x206)][_0x5c68d5(0x211)]>0x1&&this[_0x5c68d5(0x206)][_0x5c68d5(0x208)](0x1);const _0x40b7c8=_0x59649c[_0x5c68d5(0x1e4)]?0x0:this[_0x5c68d5(0x206)][_0x5c68d5(0x211)];this[_0x5c68d5(0x206)][_0x5c68d5(0x1c3)](_0x59649c,_0x40b7c8);}[_0x540dd8(0x1cf)](_0x1d044d){const _0x154531=_0x540dd8;if(this[_0x154531(0x20b)]--,this[_0x154531(0x206)][_0x154531(0x1cc)](_0x1d044d['id'])&&(this[_0x154531(0x206)][_0x154531(0x208)](_0x1d044d['id']),this[_0x154531(0x206)][_0x154531(0x211)]<this[_0x154531(0x20b)])){for(const _0x3efb68 of Array[_0x154531(0x1e5)](this[_0x154531(0x207)])[_0x154531(0x220)]())if(!this[_0x154531(0x206)][_0x154531(0x1cc)](_0x3efb68['id']))return void this[_0x154531(0x206)][_0x154531(0x1c3)](_0x3efb68,Math[_0x154531(0x1d7)](this[_0x154531(0x206)][_0x154531(0x211)],0x1));}}[_0x540dd8(0x1e6)](){const _0x4251f1=_0x540dd8;if(this[_0x4251f1(0x1c6)])return;const _0x1460f3=this[_0x4251f1(0x1d1)][_0x4251f1(0x218)][_0x4251f1(0x1cc)](_0x4251f1(0x20d));this[_0x4251f1(0x1c6)]=new _0x4c9cc1(this[_0x4251f1(0x1d1)][_0x4251f1(0x20a)],!!_0x1460f3[_0x4251f1(0x1c9)]),this[_0x4251f1(0x212)][_0x4251f1(0x215)][_0x4251f1(0x21e)]=!0x0;const {listWrapperView:_0x27ec72}=this[_0x4251f1(0x1c6)];_0x27ec72[_0x4251f1(0x1e2)][_0x4251f1(0x202)](this[_0x4251f1(0x207)])[_0x4251f1(0x1c7)](_0x45f08a=>{const _0x508f34=_0x4251f1;if(!_0x1460f3[_0x508f34(0x1df)]&&_0x45f08a[_0x508f34(0x1e4)])return null;const _0x524fbb=new _0xd66167(this[_0x508f34(0x1d1)][_0x508f34(0x20a)],_0x45f08a,!!_0x1460f3[_0x508f34(0x1c9)]);return _0x1460f3[_0x508f34(0x1c9)]&&this[_0x508f34(0x1c4)](_0x524fbb,_0x508f34(0x1d0),()=>{const _0x26a415=_0x508f34;_0x1460f3[_0x26a415(0x1c9)](_0x45f08a,_0x524fbb[_0x26a415(0x1d3)]);}),_0x524fbb;}),this[_0x4251f1(0x1fa)][_0x4251f1(0x221)][_0x4251f1(0x1c3)](this[_0x4251f1(0x1c6)]),this[_0x4251f1(0x1fa)][_0x4251f1(0x217)]({'target':this[_0x4251f1(0x212)][_0x4251f1(0x215)][_0x4251f1(0x1d3)]}),_0x27ec72[_0x4251f1(0x213)](),_0x27ec72[_0x4251f1(0x219)]();const _0x492476=(_0x366e50,_0x2dd316)=>{const _0x2d648a=_0x4251f1;this[_0x2d648a(0x1da)](),this[_0x2d648a(0x212)][_0x2d648a(0x215)][_0x2d648a(0x213)](),_0x2dd316();};_0x27ec72[_0x4251f1(0x20f)][_0x4251f1(0x201)](_0x4251f1(0x1f3),_0x492476),_0x27ec72[_0x4251f1(0x20f)][_0x4251f1(0x201)](_0x4251f1(0x1ec),_0x492476),_0x27ec72[_0x4251f1(0x20f)][_0x4251f1(0x201)](_0x4251f1(0x1ca),(_0x2ab116,_0x2ffa56)=>{const _0x3f3a1e=_0x4251f1;!function(_0x5ccb4a){const _0x1805bf=_0x2b16,_0x8c8336=['a',_0x1805bf(0x1d5),_0x1805bf(0x20c),_0x1805bf(0x216),_0x1805bf(0x1d4),_0x1805bf(0x1c8),_0x1805bf(0x1e8)][_0x1805bf(0x1fd)](_0x4b7eb7=>_0x4b7eb7+_0x1805bf(0x1e7))[_0x1805bf(0x1d2)](','),_0xae01b0=[...document[_0x1805bf(0x21f)][_0x1805bf(0x1f5)](_0x8c8336)][_0x1805bf(0x200)](_0x181591=>_0x181591===document[_0x1805bf(0x1c0)]||_0x181591[_0x1805bf(0x1f8)]+_0x181591[_0x1805bf(0x1c1)]>0x0)[_0x1805bf(0x210)]((_0x50150e,_0x401c8d)=>(_0x50150e[_0x1805bf(0x1c5)]||0x0)-(_0x401c8d[_0x1805bf(0x1c5)]||0x0)),_0xfe99bb=_0xae01b0[_0x1805bf(0x1f6)](_0x5ccb4a),_0x32c2eb=_0xae01b0[(_0xfe99bb+0x1)%_0xae01b0[_0x1805bf(0x211)]];_0x32c2eb&&_0x32c2eb[_0x1805bf(0x213)]();}(this[_0x3f3a1e(0x212)][_0x3f3a1e(0x1d3)]),this[_0x3f3a1e(0x1da)](),_0x2ffa56();}),_0x27ec72[_0x4251f1(0x1ef)][_0x4251f1(0x1c3)](this[_0x4251f1(0x212)][_0x4251f1(0x1d3)]),_0x27ec72[_0x4251f1(0x1ef)]['on'](_0x4251f1(0x1be),(_0x2ae5a3,_0x16da8c,_0x48c2ac)=>{const _0x44c7ac=_0x4251f1;_0x48c2ac||this[_0x44c7ac(0x1da)]();});}[_0x540dd8(0x1da)](){const _0x17db28=_0x540dd8;this[_0x17db28(0x1c6)]&&(this[_0x17db28(0x212)][_0x17db28(0x215)][_0x17db28(0x21e)]=!0x1,this[_0x17db28(0x1fa)][_0x17db28(0x1f7)](),this[_0x17db28(0x1fa)][_0x17db28(0x221)][_0x17db28(0x208)](this[_0x17db28(0x1c6)]),this[_0x17db28(0x1c6)][_0x17db28(0x1d8)](),this[_0x17db28(0x1c6)]=void 0x0);}[_0x540dd8(0x1d8)](){const _0xf6fa83=_0x540dd8;super[_0xf6fa83(0x1d8)](),this[_0xf6fa83(0x212)]&&this[_0xf6fa83(0x212)][_0xf6fa83(0x21d)]&&this[_0xf6fa83(0x212)][_0xf6fa83(0x1d8)](),this[_0xf6fa83(0x1fc)]&&(this[_0xf6fa83(0x1fc)][_0xf6fa83(0x1d6)](),this[_0xf6fa83(0x1fc)][_0xf6fa83(0x1d8)](),this[_0xf6fa83(0x1fc)]=null);}}function _0x93d9(){const _0x46aa4c=['Shift+Tab','296899hpImnu','60ujxQkK','focusTracker','presencelist-missing-container','ck\x20ck-presence-list__balloon','isFocusable','Esc','290eQtuow','querySelectorAll','indexOf','unpin','offsetWidth','Enter','balloonPanelView','bind','_bodyCollection','map','init','_createView','filter','set','bindTo','presencelist-collapseat-invalid-format','isHidden','presenceList.collapseAt','currentDisplayedUsers','_allConnectedUsers','remove','class','locale','usersCount','input','presenceList','define','keystrokes','sort','length','view','focus','240dTqIoI','inlineListView','select','pin','config','checkIfScrollable','allConnectedUsers','isCollapsed','counterView','isRendered','isExpanded','body','reverse','content','presenceList.displayMe','change:isFocused','number','activeElement','offsetHeight','attachToDom','add','listenTo','tabIndex','presenceDropdownView','using','[tabindex]','onClick','Tab','88184bcmpsd','get','render','_handleUserAdd','_handleUserRemove','execute','context','join','element','textarea','button','detachFromDom','min','destroy','appendChild','hideDropdown','2986659lQxXBa','378576MeeTxO','1496098wRaiun','hasTooltip','displayMe','plugins','presenceList.container','items','requires','isMe','from','showDropdown',':not([disabled]):not([tabindex=\x22-1\x22])','[contenteditable]','372570mvVuXx','233443AXIvdM','isVisible'];_0x93d9=function(){return _0x46aa4c;};return _0x93d9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3c2d3e,_0x430e05){const _0x4ad1e5=_0x1641,_0x34acdb=_0x3c2d3e();while(!![]){try{const _0x36b1f9=-parseInt(_0x4ad1e5(0x1fa))/0x1+-parseInt(_0x4ad1e5(0x1f6))/0x2*(-parseInt(_0x4ad1e5(0x1ef))/0x3)+parseInt(_0x4ad1e5(0x1f0))/0x4+-parseInt(_0x4ad1e5(0x1ff))/0x5*(-parseInt(_0x4ad1e5(0x1f8))/0x6)+parseInt(_0x4ad1e5(0x1ee))/0x7+-parseInt(_0x4ad1e5(0x1fd))/0x8+-parseInt(_0x4ad1e5(0x1fe))/0x9;if(_0x36b1f9===_0x430e05)break;else _0x34acdb['push'](_0x34acdb['shift']());}catch(_0x57f6a4){_0x34acdb['push'](_0x34acdb['shift']());}}}(_0x188e,0x6b093));function _0x1641(_0xf1a83c,_0xf53d83){const _0x188e9f=_0x188e();return _0x1641=function(_0x164136,_0x2bfab6){_0x164136=_0x164136-0x1ee;let _0x490ebe=_0x188e9f[_0x164136];return _0x490ebe;},_0x1641(_0xf1a83c,_0xf53d83);}import{View as _0x49b46c}from'ckeditor5/src/ui.js';import{getTranslation as _0x1586d7}from'../../common-translations.js';export default class ts extends _0x49b46c{constructor(_0x48065e){const _0x344176=_0x1641;super(_0x48065e);const _0x10060c=this[_0x344176(0x1f3)];this[_0x344176(0x1f1)](_0x344176(0x1f9),0x0),this[_0x344176(0x1f1)](_0x344176(0x1f2),!0x0),this[_0x344176(0x1fc)]({'tag':_0x344176(0x1f4),'attributes':{'class':['ck',_0x344176(0x1f5),_0x10060c['if'](_0x344176(0x1f2),_0x344176(0x1fb))]},'children':[{'text':_0x10060c['to'](_0x344176(0x1f9),_0x333675=>_0x1586d7(_0x48065e,_0x344176(0x1f7),_0x333675))}]});}}function _0x188e(){const _0x5915a1=['360376UxrDVL','set','isHidden','bindTemplate','div','ck-presence-list__counter','44IEkuwY','CONNECTED_USERS','2516466enAEyB','usersCount','325895gJsClV','ck-presence-list__counter--hidden','setTemplate','6687344jvqBDq','1638081qMnoHr','5kazOTH','2836624KkJYDO','118296XCOafk'];_0x188e=function(){return _0x5915a1;};return _0x188e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55f1c2=_0x5d51;(function(_0x872f26,_0x83752e){const _0x2e0bf2=_0x5d51,_0x1228b6=_0x872f26();while(!![]){try{const _0x4e781c=-parseInt(_0x2e0bf2(0x10f))/0x1*(-parseInt(_0x2e0bf2(0x10c))/0x2)+-parseInt(_0x2e0bf2(0x107))/0x3*(-parseInt(_0x2e0bf2(0x106))/0x4)+parseInt(_0x2e0bf2(0xf9))/0x5+-parseInt(_0x2e0bf2(0xfa))/0x6+parseInt(_0x2e0bf2(0xfd))/0x7*(-parseInt(_0x2e0bf2(0x104))/0x8)+parseInt(_0x2e0bf2(0x112))/0x9*(-parseInt(_0x2e0bf2(0x10e))/0xa)+-parseInt(_0x2e0bf2(0x103))/0xb*(-parseInt(_0x2e0bf2(0xf6))/0xc);if(_0x4e781c===_0x83752e)break;else _0x1228b6['push'](_0x1228b6['shift']());}catch(_0x1eba91){_0x1228b6['push'](_0x1228b6['shift']());}}}(_0x5639,0x666ad));function _0x5639(){const _0x114d44=['fire','bindTemplate','getBackgroundColorClass','ck-presence-list__marker','4tLXoKR','element','10VQTkIe','332611khglZs','tag','span','1886877PsEIPf','setTemplate','16764EROZRg','button','userView','3792010ZUEcJN','2218872WwAYdn','color','ck-presence-list__dropdown-list-item','27419aMPcek','name','presentation','execute','focus','true','979cckxun','1576ytXlmp','ck-user__full-name','2732kOMizf','978dAhzgz'];_0x5639=function(){return _0x114d44;};return _0x5639();}function _0x5d51(_0x108deb,_0x592c3d){const _0x563932=_0x5639();return _0x5d51=function(_0x5d51f9,_0x20f8d7){_0x5d51f9=_0x5d51f9-0xf5;let _0x2b61e3=_0x563932[_0x5d51f9];return _0x2b61e3;},_0x5d51(_0x108deb,_0x592c3d);}import{ListItemView as _0x52761f}from'ckeditor5/src/ui.js';import{UserView as _0x1ed790}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x52761f{constructor(_0x126348,_0x24a5cf,_0x135818){const _0x2cb833=_0x5d51;super(_0x126348);const _0x5bf787=this[_0x2cb833(0x109)];this[_0x2cb833(0xf8)]=new _0x1ed790(_0x126348,_0x24a5cf);const _0x3501a3={'tag':'li','attributes':{'class':['ck',_0x2cb833(0xfc)],'tabindex':-0x1,'role':_0x2cb833(0xff),'aria-label':_0x24a5cf[_0x2cb833(0xfe)]},'children':[this[_0x2cb833(0xf8)],{'tag':_0x2cb833(0x111),'attributes':{'class':['ck',_0x2cb833(0x105)]},'children':[{'text':_0x24a5cf[_0x2cb833(0xfe)]}]},{'tag':_0x2cb833(0x111),'attributes':{'class':['ck',_0x2cb833(0x10b),_0x24a5cf[_0x2cb833(0xfb)][_0x2cb833(0x10a)]()],'aria-hidden':_0x2cb833(0x102)}}]};_0x135818&&(_0x3501a3[_0x2cb833(0x110)]=_0x2cb833(0xf7),_0x3501a3['on']={'click':_0x5bf787['to'](()=>this[_0x2cb833(0x108)](_0x2cb833(0x100)))}),this[_0x2cb833(0xf5)](_0x3501a3);}[_0x55f1c2(0x101)](){const _0x5cdf9c=_0x55f1c2;this[_0x5cdf9c(0x10d)][_0x5cdf9c(0x101)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x690f6b=_0x3cd9;function _0x3b8d(){const _0x815639=['81426TTglES','381144FKEdaz','div','9JMiFmT','window','197299rsDLsj','ck-presence-list__dropdown-list-wrapper','setTemplate','ck-presence-list__dropdown-list-wrapper_scrollable','listWrapperView','bindTemplate','listenTo','ck-presence-list__dropdown-list','application','_isScrollable','ariaLabelledBy','items','element','resize','2263816yCzMbD','set','91rFubhv','innerHeight','274100azYvjB','clientHeight','change','role','scrollHeight','860790vpHuek','Connected\x20users\x20list\x20dropdown\x20menu','ariaLabel','ck-reset','checkIfScrollable','305796zsUIvR','ck-list','max','render'];_0x3b8d=function(){return _0x815639;};return _0x3b8d();}(function(_0x24c263,_0x123707){const _0xc3889c=_0x3cd9,_0x447abe=_0x24c263();while(!![]){try{const _0x333e90=parseInt(_0xc3889c(0xf6))/0x1+-parseInt(_0xc3889c(0xf2))/0x2+-parseInt(_0xc3889c(0xed))/0x3+-parseInt(_0xc3889c(0xe3))/0x4+-parseInt(_0xc3889c(0xe8))/0x5+parseInt(_0xc3889c(0xf1))/0x6*(parseInt(_0xc3889c(0xe1))/0x7)+parseInt(_0xc3889c(0xdf))/0x8*(parseInt(_0xc3889c(0xf4))/0x9);if(_0x333e90===_0x123707)break;else _0x447abe['push'](_0x447abe['shift']());}catch(_0x17a560){_0x447abe['push'](_0x447abe['shift']());}}}(_0x3b8d,0x1e278));import{ListView as _0x11cd59,View as _0x1c80d3}from'ckeditor5/src/ui.js';import{global as _0x2e9397}from'ckeditor5/src/utils.js';import{getTranslation as _0x117775}from'../../common-translations.js';function _0x3cd9(_0x52c8f0,_0xb3bab){const _0x3b8d64=_0x3b8d();return _0x3cd9=function(_0x3cd947,_0xc84729){_0x3cd947=_0x3cd947-0xd7;let _0x11d45f=_0x3b8d64[_0x3cd947];return _0x11d45f;},_0x3cd9(_0x52c8f0,_0xb3bab);}export default class j extends _0x1c80d3{constructor(_0x5cf674,_0x241f89){const _0x480614=_0x3cd9;super(_0x5cf674),this[_0x480614(0xfa)]=new PresenceDropdownListWrapperView(_0x5cf674,_0x241f89),this[_0x480614(0xf8)]({'tag':_0x480614(0xf3),'attributes':{'tabindex':-0x1,'role':_0x480614(0xd9),'class':['ck',_0x480614(0xd8)],'aria-label':_0x117775(_0x5cf674,_0x480614(0xe9))},'children':[this[_0x480614(0xfa)]]});}}export class PresenceDropdownListWrapperView extends _0x11cd59{constructor(_0x310a5a,_0xd3e440){const _0x3a8b7c=_0x3cd9;super(_0x310a5a);const _0x3d7332=this[_0x3a8b7c(0xfb)];this[_0x3a8b7c(0xe0)](_0x3a8b7c(0xda),!0x1),this[_0x3a8b7c(0xf8)]({'tag':_0xd3e440?_0x3a8b7c(0xf3):'ul','attributes':{'class':['ck',_0x3a8b7c(0xeb),_0x3a8b7c(0xee),_0x3a8b7c(0xf7),_0x3d7332['if'](_0x3a8b7c(0xda),_0x3a8b7c(0xf9))],'role':_0x3d7332['to'](_0x3a8b7c(0xe6)),'aria-label':_0x3d7332['to'](_0x3a8b7c(0xea)),'aria-labelledby':_0x3d7332['to'](_0x3a8b7c(0xdb))},'children':this[_0x3a8b7c(0xdc)]}),this[_0x3a8b7c(0xd7)](_0x2e9397[_0x3a8b7c(0xf5)],_0x3a8b7c(0xde),()=>this[_0x3a8b7c(0xec)]()),this[_0x3a8b7c(0xdc)]['on'](_0x3a8b7c(0xe5),()=>this[_0x3a8b7c(0xec)]());}[_0x690f6b(0xf0)](){const _0x123629=_0x690f6b;super[_0x123629(0xf0)](),this[_0x123629(0xec)]();}[_0x690f6b(0xec)](){const _0x372d70=_0x690f6b,_0x51be28=this[_0x372d70(0xdd)];_0x51be28&&(this[_0x372d70(0xda)]=Math[_0x372d70(0xef)](_0x51be28[_0x372d70(0xe7)],_0x51be28[_0x372d70(0xe4)])>0.8*window[_0x372d70(0xe2)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x276583,_0x6d2dc9){const _0x59822e=_0x5411,_0x346ab4=_0x276583();while(!![]){try{const _0x4637b1=parseInt(_0x59822e(0x184))/0x1+parseInt(_0x59822e(0x180))/0x2+-parseInt(_0x59822e(0x192))/0x3*(-parseInt(_0x59822e(0x174))/0x4)+-parseInt(_0x59822e(0x17c))/0x5*(-parseInt(_0x59822e(0x17b))/0x6)+-parseInt(_0x59822e(0x18e))/0x7*(-parseInt(_0x59822e(0x175))/0x8)+-parseInt(_0x59822e(0x191))/0x9+-parseInt(_0x59822e(0x18d))/0xa;if(_0x4637b1===_0x6d2dc9)break;else _0x346ab4['push'](_0x346ab4['shift']());}catch(_0x2574c7){_0x346ab4['push'](_0x346ab4['shift']());}}}(_0x2c3b,0x43a52));import{LabelView as _0x5a50d3,View as _0x13b472}from'ckeditor5/src/ui.js';function _0x5411(_0x1e3cd9,_0x3f1477){const _0x2c3b2a=_0x2c3b();return _0x5411=function(_0x541151,_0x1fc4bb){_0x541151=_0x541151-0x171;let _0x358e0e=_0x2c3b2a[_0x541151];return _0x358e0e;},_0x5411(_0x1e3cd9,_0x3f1477);}import{UserView as _0x19972b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2c3b(){const _0x341eb2=['5061390VcKfil','6853oGGNjL','getBackgroundColorClass','hasTooltip','2198934whVEWV','187749BdzsHv','set','tag','span','12XdUZpk','2392XsmYVB','name','markerView','execute','color','button','1338102toKZbX','5mXrfhC','ck-presence-list__list-item__tooltip','template','text','56512asJGBZ','ck-presence-list__marker','ck-presence-list__list-item','bindTemplate','295796BQgNjh','isFocusable','setTemplate','true','tooltipPosition','listitem','div','fire','userView'];_0x2c3b=function(){return _0x341eb2;};return _0x2c3b();}export default class y extends _0x13b472{constructor(_0x5459dc,_0x2cd5c0,_0x3775c2){const _0x594369=_0x5411;super(_0x5459dc);const _0x414c7d=this[_0x594369(0x183)];this[_0x594369(0x171)](_0x594369(0x185),!0x1),this[_0x594369(0x171)](_0x594369(0x190),!0x0),this[_0x594369(0x171)](_0x594369(0x188),''),this[_0x594369(0x18c)]=new _0x19972b(_0x5459dc,_0x2cd5c0),this[_0x594369(0x177)]=new at(_0x5459dc,_0x2cd5c0);const _0x4835fd=new _0x5a50d3(_0x5459dc);_0x4835fd[_0x594369(0x17e)][_0x594369(0x172)]=_0x594369(0x173),_0x4835fd[_0x594369(0x17f)]=_0x2cd5c0[_0x594369(0x176)];const _0x1ba17c={'tag':_0x594369(0x18a),'attributes':{'class':['ck',_0x594369(0x182)],'role':_0x594369(0x189),'tabindex':_0x414c7d['to'](_0x594369(0x185),_0x157cf9=>!!_0x157cf9&&0x0),'aria-labelledby':_0x4835fd['id'],'data-cke-tooltip-text':this[_0x594369(0x18c)][_0x594369(0x176)],'data-cke-tooltip-position':_0x414c7d['to'](_0x594369(0x188)),'data-cke-tooltip-disabled':_0x414c7d['to'](_0x594369(0x190),_0x3e151c=>!_0x3e151c),'data-cke-tooltip-class':_0x594369(0x17d)},'children':[this[_0x594369(0x18c)],this[_0x594369(0x177)],_0x4835fd]};_0x3775c2&&(_0x1ba17c[_0x594369(0x172)]=_0x594369(0x17a),_0x1ba17c['on']={'click':_0x414c7d['to'](()=>this[_0x594369(0x18b)](_0x594369(0x178)))}),this[_0x594369(0x186)](_0x1ba17c);}}class at extends _0x13b472{constructor(_0x438b71,_0x2d2047){const _0x1c678f=_0x5411;super(_0x438b71),this[_0x1c678f(0x186)]({'tag':_0x1c678f(0x173),'attributes':{'class':['ck',_0x1c678f(0x181),_0x2d2047[_0x1c678f(0x179)][_0x1c678f(0x18f)]()],'aria-hidden':_0x1c678f(0x187)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1be7a4=_0x407f;function _0x14f6(){const _0x4e1fdb=['setTemplate','listenTo','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','10225536ratXll','div','5827005bJgnvZ','isExpanded','execute','aria-expanded','list','set','items','305utAuuU','6SSzlzQ','createCollection','change:hasPopup','bindTemplate','focus','5602659cFCWlO','render','103076CHLdnb','3805250ihBWXF','850885XknsuV','ck-presence-list__list','keystrokes','element','hasPopup','40709funtfz','Connected\x20users\x20list','removeAttribute','104gDuYxm','setAttribute','fire'];_0x14f6=function(){return _0x4e1fdb;};return _0x14f6();}function _0x407f(_0x39ac53,_0x4989e1){const _0x14f687=_0x14f6();return _0x407f=function(_0x407f84,_0x44f96a){_0x407f84=_0x407f84-0x182;let _0x295acb=_0x14f687[_0x407f84];return _0x295acb;},_0x407f(_0x39ac53,_0x4989e1);}(function(_0x10dfdb,_0x1cb8c0){const _0x4ba8d4=_0x407f,_0x1e4db4=_0x10dfdb();while(!![]){try{const _0x4b6b87=-parseInt(_0x4ba8d4(0x193))/0x1*(-parseInt(_0x4ba8d4(0x185))/0x2)+-parseInt(_0x4ba8d4(0x18a))/0x3+-parseInt(_0x4ba8d4(0x18c))/0x4*(-parseInt(_0x4ba8d4(0x184))/0x5)+parseInt(_0x4ba8d4(0x19c))/0x6+-parseInt(_0x4ba8d4(0x18e))/0x7*(parseInt(_0x4ba8d4(0x196))/0x8)+parseInt(_0x4ba8d4(0x19e))/0x9+parseInt(_0x4ba8d4(0x18d))/0xa;if(_0x4b6b87===_0x1cb8c0)break;else _0x1e4db4['push'](_0x1e4db4['shift']());}catch(_0x3e31a2){_0x1e4db4['push'](_0x1e4db4['shift']());}}}(_0x14f6,0xeee3e));import{View as _0x1d04c4}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x45b58e}from'ckeditor5/src/utils.js';import{getTranslation as _0x206def}from'../../common-translations.js';export default class es extends _0x1d04c4{constructor(_0x44d531){const _0x505594=_0x407f;super(_0x44d531);const _0x491faa=this[_0x505594(0x188)];this[_0x505594(0x183)]=this[_0x505594(0x186)](),this[_0x505594(0x190)]=new _0x45b58e(),this[_0x505594(0x182)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x505594(0x199)]({'tag':_0x505594(0x19d),'attributes':{'aria-haspopup':_0x491faa['if'](_0x505594(0x192)),'aria-expanded':_0x491faa['to'](_0x505594(0x19f),_0x19e2a0=>this[_0x505594(0x192)]&&String(_0x19e2a0)),'aria-label':_0x491faa['to'](_0x505594(0x192),_0x45eb7b=>_0x206def(_0x44d531,_0x45eb7b?_0x505594(0x19b):_0x505594(0x194))),'role':_0x505594(0x1a2),'tabindex':_0x491faa['to'](_0x505594(0x192),_0x458003=>!!_0x458003&&0x0),'class':['ck',_0x505594(0x18f)]},'children':this[_0x505594(0x183)],'on':{'click':_0x491faa['to'](()=>this[_0x505594(0x198)](_0x505594(0x1a0)))}}),this['on'](_0x505594(0x187),(_0x4c711b,_0x37e8a6,_0x274031)=>{const _0x317d83=_0x505594;this[_0x317d83(0x191)]&&(_0x274031?this[_0x317d83(0x191)][_0x317d83(0x197)](_0x317d83(0x1a1),String(this[_0x317d83(0x19f)])):this[_0x317d83(0x191)][_0x317d83(0x195)](_0x317d83(0x1a1)));});}[_0x1be7a4(0x189)](){const _0x2951bc=_0x1be7a4;this[_0x2951bc(0x191)][_0x2951bc(0x189)]();}[_0x1be7a4(0x18b)](){const _0x1335f1=_0x1be7a4;super[_0x1335f1(0x18b)](),this[_0x1335f1(0x190)][_0x1335f1(0x19a)](this[_0x1335f1(0x191)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x506e77,_0x317227){const _0x132909=_0x10eb,_0x547133=_0x506e77();while(!![]){try{const _0x1994bc=parseInt(_0x132909(0x1ad))/0x1+parseInt(_0x132909(0x1a7))/0x2*(parseInt(_0x132909(0x1b7))/0x3)+parseInt(_0x132909(0x1b6))/0x4+-parseInt(_0x132909(0x1be))/0x5*(-parseInt(_0x132909(0x1bf))/0x6)+parseInt(_0x132909(0x1c3))/0x7*(-parseInt(_0x132909(0x1ab))/0x8)+parseInt(_0x132909(0x1a6))/0x9*(parseInt(_0x132909(0x1a9))/0xa)+parseInt(_0x132909(0x1ac))/0xb*(-parseInt(_0x132909(0x1b1))/0xc);if(_0x1994bc===_0x317227)break;else _0x547133['push'](_0x547133['shift']());}catch(_0x3e9b34){_0x547133['push'](_0x547133['shift']());}}}(_0x4bc4,0xdcd15));function _0x10eb(_0x524741,_0x1d5e89){const _0x4bc413=_0x4bc4();return _0x10eb=function(_0x10eb96,_0x5b56f6){_0x10eb96=_0x10eb96-0x1a5;let _0x3f4008=_0x4bc413[_0x10eb96];return _0x3f4008;},_0x10eb(_0x524741,_0x1d5e89);}import{View as _0x181469}from'ckeditor5/src/ui.js';function _0x4bc4(){const _0x5e7ce1=['30gBZjCk','listenTo','inlineListView','tooltipPosition','137571HkmPUh','isCollapsed','405dLCcGZ','62HdZSBU','setTemplate','3820MvjMQR','bind','656oQyDMr','2090rdeujf','32655MpzIBC','set','ck-rounded-corners','first','123924AohOAf','counterView','ck-presence-list','div','change','6755052tmBlQc','118446mMMrdg','locale','items','ck-presence-list--collapsed','bindTemplate','hasPopup','ck-reset','1515595qCWKwR'];_0x4bc4=function(){return _0x5e7ce1;};return _0x4bc4();}import _0x1f39ea from'./presencecounterview.js';import _0x86682d from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class L extends _0x181469{constructor(_0x23fc7a){const _0xa3badc=_0x10eb;super(_0x23fc7a);const _0x5e8775=this[_0xa3badc(0x1bb)];this[_0xa3badc(0x1ae)](_0xa3badc(0x1a5),!0x0),this[_0xa3badc(0x1b2)]=new _0x1f39ea(this[_0xa3badc(0x1b8)]),this[_0xa3badc(0x1c1)]=new _0x86682d(_0x23fc7a),this[_0xa3badc(0x1c1)][_0xa3badc(0x1aa)](_0xa3badc(0x1bc))['to'](this,_0xa3badc(0x1a5)),this[_0xa3badc(0x1c0)](this[_0xa3badc(0x1c1)][_0xa3badc(0x1b9)],_0xa3badc(0x1b5),()=>{const _0x193955=_0xa3badc;for(const _0x1fcd48 of this[_0x193955(0x1c1)][_0x193955(0x1b9)])_0x1fcd48[_0x193955(0x1c2)]='s';this[_0x193955(0x1c1)][_0x193955(0x1b9)][_0x193955(0x1b0)]&&(this[_0x193955(0x1c1)][_0x193955(0x1b9)][_0x193955(0x1b0)][_0x193955(0x1c2)]='se');}),this[_0xa3badc(0x1a8)]({'tag':_0xa3badc(0x1b4),'attributes':{'class':['ck',_0xa3badc(0x1b3),_0xa3badc(0x1bd),_0xa3badc(0x1af),_0x5e8775['if'](_0xa3badc(0x1a5),_0xa3badc(0x1ba))]},'children':[this[_0xa3badc(0x1b2)],this[_0xa3badc(0x1c1)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x438483=_0x5678;function _0x5a09(){var _0x240994=['requires','3021395OdrCDm','514676TEmsaD','3035727bmRRjX','3233764fjRnlY','14510433MXCDMg','pluginName','1464278BblxAc','2259024jdVeNo','PresenceList'];_0x5a09=function(){return _0x240994;};return _0x5a09();}(function(_0x13407d,_0x20c03a){var _0x4f919b=_0x5678,_0x5e6210=_0x13407d();while(!![]){try{var _0x3f0c4c=parseInt(_0x4f919b(0x1d7))/0x1+-parseInt(_0x4f919b(0x1d2))/0x2+parseInt(_0x4f919b(0x1d8))/0x3+parseInt(_0x4f919b(0x1cf))/0x4+parseInt(_0x4f919b(0x1d6))/0x5+parseInt(_0x4f919b(0x1d3))/0x6+-parseInt(_0x4f919b(0x1d0))/0x7;if(_0x3f0c4c===_0x20c03a)break;else _0x5e6210['push'](_0x5e6210['shift']());}catch(_0x405ff3){_0x5e6210['push'](_0x5e6210['shift']());}}}(_0x5a09,0x7cb1f));import{ContextPlugin as _0x4c3a86}from'ckeditor5/src/core.js';import _0x2cbf09 from'./realtimecollaborativeediting/sessions.js';import _0x256e2d from'./presencelist/presencelistui.js';function _0x5678(_0x345652,_0x19cfad){var _0x5a098d=_0x5a09();return _0x5678=function(_0x5678bb,_0x46e7c0){_0x5678bb=_0x5678bb-0x1cf;var _0x306e32=_0x5a098d[_0x5678bb];return _0x306e32;},_0x5678(_0x345652,_0x19cfad);}export default class i extends _0x4c3a86{static get[_0x438483(0x1d5)](){return[_0x2cbf09,_0x256e2d];}static get[_0x438483(0x1d1)](){var _0x498a06=_0x438483;return _0x498a06(0x1d4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3ec431=_0x22dc;(function(_0x1d16c9,_0x1139fc){const _0x15156b=_0x22dc,_0x34ad7a=_0x1d16c9();while(!![]){try{const _0x1fbba2=parseInt(_0x15156b(0x17f))/0x1+parseInt(_0x15156b(0x151))/0x2*(parseInt(_0x15156b(0x197))/0x3)+-parseInt(_0x15156b(0x13f))/0x4*(parseInt(_0x15156b(0x16a))/0x5)+-parseInt(_0x15156b(0x15f))/0x6+parseInt(_0x15156b(0x15e))/0x7+-parseInt(_0x15156b(0x178))/0x8+parseInt(_0x15156b(0x13c))/0x9;if(_0x1fbba2===_0x1139fc)break;else _0x34ad7a['push'](_0x34ad7a['shift']());}catch(_0x49b4dd){_0x34ad7a['push'](_0x34ad7a['shift']());}}}(_0x8329,0xa6ee7));import{Context as _0x3a8feb,ContextPlugin as _0x538204}from'ckeditor5/src/core.js';import{CKEditorError as _0x1cf057}from'ckeditor5/src/utils.js';import{Users as _0x57e16f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x57ba24,User as _0x1def9c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x15e16a from'../realtimecollaborativeediting/websocketgateway.js';import _0x186b79 from'../realtimecollaborativeediting/sessions.js';class a extends _0x538204{static get[_0x3ec431(0x160)](){const _0x1cf826=_0x3ec431;return[_0x15e16a,_0x1cf826(0x17d),_0x186b79,_0x57e16f];}static get[_0x3ec431(0x194)](){const _0x4c6284=_0x3ec431;return _0x4c6284(0x177);}constructor(_0x3d8f75){const _0x13f592=_0x3ec431;super(_0x3d8f75),this[_0x13f592(0x154)]=new Map();}async[_0x3ec431(0x17c)](){const _0x517be9=_0x3ec431,_0x3d3720=this[_0x517be9(0x18d)],_0x1578c0=_0x3d3720[_0x517be9(0x180)][_0x517be9(0x171)](_0x517be9(0x17d));if(_0x3d3720[_0x517be9(0x180)][_0x517be9(0x171)](_0x15e16a)[_0x517be9(0x14e)](this),_0x1578c0[_0x517be9(0x14f)]={'addCommentThread':async({channelId:_0x77792d,threadId:_0x48efe2,comments:_0x488576,resolvedAt:_0xe2fd38,resolvedBy:_0x3724d1,context:_0xbf1284,attributes:_0x161d51})=>{const _0x426b2b=_0x517be9,_0x191b6e=await this[_0x426b2b(0x16b)](_0x77792d)[_0x426b2b(0x15a)]({'commentThreadId':_0x48efe2,'comments':_0x488576[_0x426b2b(0x172)](_0x3f9644=>function(_0x4a9a3f,_0x433d3c,_0x5de3e9){const _0x59a404=_0x426b2b;return{'commentThreadId':_0x5de3e9,'commentId':_0x4a9a3f[_0x59a404(0x135)],'userId':_0x4a9a3f[_0x59a404(0x17b)],'content':_0x4a9a3f[_0x59a404(0x18c)],'documentId':_0x433d3c,'createdAt':_0x4a9a3f[_0x59a404(0x150)],'attributes':_0x4a9a3f[_0x59a404(0x139)]||{}};}(_0x3f9644,_0x77792d,_0x48efe2)),'resolvedAt':_0xe2fd38,'resolvedBy':_0x3724d1,'context':_0xbf1284,'attributes':_0x161d51})[_0x426b2b(0x16d)](R);return{'threadId':_0x191b6e[_0x426b2b(0x153)],'comments':_0x191b6e[_0x426b2b(0x143)]};},'getCommentThread':async({channelId:_0x41b937,threadId:_0x4243e8})=>{const _0x3fd799=_0x517be9,_0xa4ceb8=await this[_0x3fd799(0x16b)](_0x41b937)[_0x3fd799(0x158)](_0x4243e8)[_0x3fd799(0x16d)](R);return _0xa4ceb8[_0x3fd799(0x157)]?null:(await this[_0x3fd799(0x186)]([_0xa4ceb8]),{'threadId':_0xa4ceb8[_0x3fd799(0x153)],'comments':_0xa4ceb8[_0x3fd799(0x143)][_0x3fd799(0x172)](S),'context':_0xa4ceb8[_0x3fd799(0x18d)],'resolvedAt':_0xa4ceb8[_0x3fd799(0x176)],'resolvedBy':_0xa4ceb8[_0x3fd799(0x147)],'attributes':_0xa4ceb8[_0x3fd799(0x139)]||{}});},'updateCommentThread':async({channelId:_0x899595,threadId:_0x43c0f8,context:_0x5486e6,unlinkedAt:_0x109e8b,attributes:_0xbd5ef5})=>this[_0x517be9(0x16b)](_0x899595)[_0x517be9(0x13b)]({'commentThreadId':_0x43c0f8,'context':_0x5486e6,'attributes':_0xbd5ef5,'unlinkedAt':_0x109e8b})[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R),'resolveCommentThread':async({channelId:_0x2c240d,threadId:_0x3bfd6d})=>{const _0x483ea7=_0x517be9,_0xc23ada=await this[_0x483ea7(0x16b)](_0x2c240d)[_0x483ea7(0x170)](_0x3bfd6d)[_0x483ea7(0x16d)](B)[_0x483ea7(0x16d)](R);return{'threadId':_0xc23ada[_0x483ea7(0x153)],'resolvedAt':_0xc23ada[_0x483ea7(0x176)],'resolvedBy':_0xc23ada[_0x483ea7(0x147)]};},'reopenCommentThread':async({channelId:_0x4a0c80,threadId:_0xf7dcc1})=>this[_0x517be9(0x16b)](_0x4a0c80)[_0x517be9(0x152)](_0xf7dcc1)[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R),'removeCommentThread':({channelId:_0x51d457,threadId:_0x17ad69})=>this[_0x517be9(0x16b)](_0x51d457)[_0x517be9(0x189)](_0x17ad69)[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R),'addComment':({channelId:_0x33518e,threadId:_0x587ed4,commentId:_0x36d762,content:_0x30cc40,attributes:_0x98fcce})=>this[_0x517be9(0x16b)](_0x33518e)[_0x517be9(0x195)](_0x587ed4,_0x36d762,_0x30cc40,_0x98fcce)[_0x517be9(0x16d)](R),'updateComment':({channelId:_0x17f3d2,threadId:_0x372414,commentId:_0x4f3c07,content:_0x4d781d,attributes:_0x3854ab})=>this[_0x517be9(0x16b)](_0x17f3d2)[_0x517be9(0x142)](_0x372414,_0x4f3c07,_0x4d781d,_0x3854ab)[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R),'removeComment':({channelId:_0x4383b5,threadId:_0x5d69da,commentId:_0x487531})=>this[_0x517be9(0x16b)](_0x4383b5)[_0x517be9(0x15b)](_0x5d69da,_0x487531)[_0x517be9(0x16d)](B)[_0x517be9(0x16d)](R)},_0x3d3720 instanceof _0x3a8feb){const _0x512d34=_0x3d3720[_0x517be9(0x17e)][_0x517be9(0x171)](_0x517be9(0x13e)),_0xa28f96=_0x3d3720[_0x517be9(0x180)][_0x517be9(0x171)](_0x186b79);await this[_0x517be9(0x187)](_0x512d34);const _0xbf7e2e=await this[_0x517be9(0x154)][_0x517be9(0x171)](_0x512d34)[_0x517be9(0x18e)]();this[_0x517be9(0x136)](_0xa28f96,_0x517be9(0x166)+_0x512d34,(_0x2789ea,{session:_0x44047f})=>{const _0x347eb2=_0x517be9;_0x44047f['id']===_0xa28f96[_0x347eb2(0x159)]&&(_0x2789ea[_0x347eb2(0x190)](),this[_0x347eb2(0x18d)][_0x347eb2(0x180)][_0x347eb2(0x171)](_0x347eb2(0x140))[_0x347eb2(0x149)](_0x44047f[_0x347eb2(0x141)],_0x512d34));}),_0xa28f96[_0x517be9(0x184)](_0x512d34,_0xbf7e2e);}}async[_0x3ec431(0x187)](_0x3dbcb9){const _0x4fa58e=_0x3ec431;if(this[_0x4fa58e(0x154)][_0x4fa58e(0x161)](_0x3dbcb9))throw new _0x1cf057(_0x4fa58e(0x14a),null,{'channelId':_0x3dbcb9});const _0x31b0e6=this[_0x4fa58e(0x18d)][_0x4fa58e(0x180)][_0x4fa58e(0x171)](_0x4fa58e(0x17d)),_0x20d57d=new a[(_0x4fa58e(0x188))](_0x3dbcb9);this[_0x4fa58e(0x154)][_0x4fa58e(0x164)](_0x3dbcb9,_0x20d57d),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x148),(_0x4f1ff1,_0x41dd0f)=>{const _0x35a3cb=_0x4fa58e,{commentThreadId:_0x2aafba,documentId:_0x38e89d,context:_0x90e103,attributes:_0x4ef956,resolvedAt:_0x503872,resolvedBy:_0x51bd6b,comments:_0x5ea816}=_0x41dd0f;_0x31b0e6[_0x35a3cb(0x158)](_0x2aafba)||_0x31b0e6[_0x35a3cb(0x15a)]({'threadId':_0x2aafba,'channelId':_0x38e89d,'comments':_0x5ea816?_0x5ea816[_0x35a3cb(0x172)](S):[],'context':_0x90e103,'attributes':_0x4ef956,'resolvedAt':_0x503872,'resolvedBy':_0x51bd6b,'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x193),(_0x182005,{commentThreadId:_0x233221,documentId:_0x2ab4fc,context:_0x262a5c,unlinkedAt:_0x1a49de,attributes:_0x55fedd})=>{const _0x53ee45=_0x4fa58e;_0x31b0e6[_0x53ee45(0x158)](_0x233221)&&_0x31b0e6[_0x53ee45(0x13b)]({'threadId':_0x233221,'channelId':_0x2ab4fc,'context':_0x262a5c,'unlinkedAt':_0x1a49de,'attributes':_0x55fedd,'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x145),(_0x5caef9,{commentThreadId:_0x1b2ed3,resolvedBy:_0x32377b,resolvedAt:_0xc18054})=>{const _0xfa55e=_0x4fa58e,_0x973996=_0x31b0e6[_0xfa55e(0x158)](_0x1b2ed3);_0x973996&&_0x973996[_0xfa55e(0x196)]({'resolvedBy':_0x32377b,'resolvedAt':_0xc18054,'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x17a),(_0x1e11df,{commentThreadId:_0x33d9fe})=>{const _0x3cbe23=_0x4fa58e,_0x3ef882=_0x31b0e6[_0x3cbe23(0x158)](_0x33d9fe);_0x3ef882&&_0x3ef882[_0x3cbe23(0x146)]({'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x15d),(_0xc7d190,{commentThreadId:_0x36d07f})=>{const _0x238481=_0x4fa58e,_0x415a80=_0x31b0e6[_0x238481(0x158)](_0x36d07f);_0x415a80&&_0x415a80[_0x238481(0x168)]({'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x181),(_0x1ca02c,_0x4ca5f2)=>{const _0x51212c=_0x4fa58e,_0x5f0064=_0x4ca5f2[_0x51212c(0x153)],_0x23237d=_0x31b0e6[_0x51212c(0x158)](_0x5f0064);_0x23237d&&_0x23237d[_0x51212c(0x195)]({...S(_0x4ca5f2),'isFromAdapter':!0x0});}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x173),(_0x41d70a,{commentThreadId:_0x21ec26,commentId:_0xd0dd7c,content:_0x5e6e6e,attributes:_0x129953})=>{const _0x187823=_0x4fa58e,_0x2049ca=_0x31b0e6[_0x187823(0x158)](_0x21ec26);if(_0x2049ca){const _0xa54a79=_0x2049ca[_0x187823(0x14d)](_0xd0dd7c);_0xa54a79&&_0xa54a79[_0x187823(0x16f)]({'content':_0x5e6e6e,'attributes':_0x129953,'isFromAdapter':!0x0});}}),this[_0x4fa58e(0x136)](_0x20d57d,_0x4fa58e(0x179),(_0x22a95a,{commentThreadId:_0x2ba9a1,commentId:_0x1611e4})=>{const _0x4138d4=_0x4fa58e,_0x9603eb=_0x31b0e6[_0x4138d4(0x158)](_0x2ba9a1);if(_0x9603eb){const _0x114ea2=_0x9603eb[_0x4138d4(0x14d)](_0x1611e4);_0x114ea2&&_0x114ea2[_0x4138d4(0x168)]({'isFromAdapter':!0x0});}}),await this[_0x4fa58e(0x156)](_0x3dbcb9);}[_0x3ec431(0x165)](){const _0x5f20cd=_0x3ec431;if(this[_0x5f20cd(0x18d)]instanceof _0x3a8feb){const _0x2654ee=this[_0x5f20cd(0x18d)][_0x5f20cd(0x17e)][_0x5f20cd(0x171)](_0x5f20cd(0x13e));this[_0x5f20cd(0x163)](_0x2654ee);}}[_0x3ec431(0x163)](_0x14918d){const _0x59bd16=_0x3ec431;if(!this[_0x59bd16(0x154)][_0x59bd16(0x161)](_0x14918d))throw new _0x1cf057(_0x59bd16(0x16e),null,{'channelId':_0x14918d});this[_0x59bd16(0x16b)](_0x14918d)[_0x59bd16(0x183)](),this[_0x59bd16(0x154)][_0x59bd16(0x155)](_0x14918d);}async[_0x3ec431(0x18f)](){const _0x51a7a1=_0x3ec431;for(const _0x5f2332 of this[_0x51a7a1(0x154)][_0x51a7a1(0x167)]())await this[_0x51a7a1(0x156)](_0x5f2332);if(this[_0x51a7a1(0x18d)]instanceof _0x3a8feb){const _0x484689=this[_0x51a7a1(0x18d)][_0x51a7a1(0x17e)][_0x51a7a1(0x171)](_0x51a7a1(0x13e)),_0x54bc24=this[_0x51a7a1(0x18d)][_0x51a7a1(0x180)][_0x51a7a1(0x171)](_0x186b79);_0x54bc24[_0x51a7a1(0x138)](_0x484689);const _0x4c69d0=await this[_0x51a7a1(0x154)][_0x51a7a1(0x171)](_0x484689)[_0x51a7a1(0x18e)]();_0x54bc24[_0x51a7a1(0x184)](_0x484689,_0x4c69d0);}}async[_0x3ec431(0x156)](_0x10a06e){const _0x2af07e=_0x3ec431,{connection:_0x355d2f}=this[_0x2af07e(0x18d)][_0x2af07e(0x180)][_0x2af07e(0x171)](_0x15e16a),_0x438335=this[_0x2af07e(0x18d)][_0x2af07e(0x180)][_0x2af07e(0x171)](_0x2af07e(0x17d)),_0x147b56=this[_0x2af07e(0x154)][_0x2af07e(0x171)](_0x10a06e),_0x372751=await _0x147b56[_0x2af07e(0x15c)](_0x355d2f);await this[_0x2af07e(0x186)](_0x372751);const _0x9bb140=new Set(Array[_0x2af07e(0x182)](_0x438335[_0x2af07e(0x175)]({'channelId':_0x10a06e}),_0x296556=>_0x296556['id']));for(const _0x58228b of _0x372751)_0x58228b[_0x2af07e(0x157)]||_0x9bb140[_0x2af07e(0x155)](_0x58228b[_0x2af07e(0x153)]);for(const _0x3e634c of _0x9bb140)_0x438335[_0x2af07e(0x158)](_0x3e634c)[_0x2af07e(0x168)]({'isFromAdapter':!0x0});for(const _0x592c0d of _0x372751){let _0x4339e6=_0x438335[_0x2af07e(0x158)](_0x592c0d[_0x2af07e(0x153)]);const {commentThreadId:_0x63c164,context:_0x2410b3,attributes:_0x2cd600,resolvedBy:_0x426d15,resolvedAt:_0x42a1ee,unlinkedAt:_0x274276,deletedAt:_0x23dc4b}=_0x592c0d;if(_0x23dc4b)continue;_0x4339e6||(_0x4339e6=_0x438335[_0x2af07e(0x15a)]({'channelId':_0x10a06e,'threadId':_0x63c164,'context':_0x2410b3,'attributes':_0x2cd600||{},'resolvedBy':_0x426d15,'resolvedAt':_0x42a1ee,'unlinkedAt':_0x274276,'isFromAdapter':!0x0}));const _0x241014=new Set(Array[_0x2af07e(0x182)](_0x4339e6[_0x2af07e(0x143)],_0x4536a5=>_0x4536a5['id']));for(const _0x31acda of _0x592c0d[_0x2af07e(0x143)])_0x241014[_0x2af07e(0x155)](_0x31acda[_0x2af07e(0x135)]);for(const _0x3c0c0e of _0x241014)_0x4339e6[_0x2af07e(0x14d)](_0x3c0c0e)[_0x2af07e(0x168)]({'isFromAdapter':!0x0});for(const _0x4a1ce8 of _0x592c0d[_0x2af07e(0x143)]){const _0x1a00b7=_0x4339e6[_0x2af07e(0x14d)](_0x4a1ce8[_0x2af07e(0x135)]);_0x1a00b7?_0x1a00b7[_0x2af07e(0x18c)]!==_0x4a1ce8[_0x2af07e(0x18c)]&&_0x1a00b7[_0x2af07e(0x16f)]({'content':_0x4a1ce8[_0x2af07e(0x18c)],'isFromAdapter':!0x0}):_0x4339e6[_0x2af07e(0x195)](Object[_0x2af07e(0x18b)](S(_0x4a1ce8),{'isFromAdapter':!0x0}));}}}[_0x3ec431(0x16b)](_0x4e6fcf){const _0x57b576=_0x3ec431;if(!this[_0x57b576(0x154)][_0x57b576(0x161)](_0x4e6fcf))throw new _0x1cf057(_0x57b576(0x174),null,{'channelId':_0x4e6fcf});return this[_0x57b576(0x154)][_0x57b576(0x171)](_0x4e6fcf);}async[_0x3ec431(0x186)](_0x2aa078){const _0x3f0ca5=_0x3ec431,_0x31fb31=this[_0x3f0ca5(0x18d)][_0x3f0ca5(0x180)][_0x3f0ca5(0x171)](_0x57e16f),{connection:_0x11720b}=this[_0x3f0ca5(0x18d)][_0x3f0ca5(0x180)][_0x3f0ca5(0x171)](_0x15e16a),_0x39d5a0=new Set();for(const {resolvedBy:_0x478cb7,comments:_0x16817d}of _0x2aa078){_0x478cb7&&!_0x31fb31[_0x3f0ca5(0x185)](_0x478cb7)&&_0x39d5a0[_0x3f0ca5(0x144)](_0x478cb7);for(const {userId:_0x4c9591}of _0x16817d)_0x31fb31[_0x3f0ca5(0x185)](_0x4c9591)||_0x39d5a0[_0x3f0ca5(0x144)](_0x4c9591);}if(0x0===_0x39d5a0[_0x3f0ca5(0x13d)])return;const _0x37b755=await _0x1def9c[_0x3f0ca5(0x162)](_0x11720b,Array[_0x3f0ca5(0x182)](_0x39d5a0));for(const _0x5d58a1 of _0x37b755)_0x31fb31[_0x3f0ca5(0x185)](_0x5d58a1['id'])||_0x31fb31[_0x3f0ca5(0x14b)](_0x5d58a1);}}a[_0x3ec431(0x188)]=_0x57ba24;export default a;function _0x8329(){const _0x208b40=['commentThreadId','_services','delete','_connectService','deletedAt','getCommentThread','mySessionId','addCommentThread','removeComment','connect','commentThreadRemoved','578508lwugmD','1325676wcBPMT','requires','has','getMany','_terminateService','set','destroy','sessionAdd:','keys','remove','message','365UCGoem','_getService','code','catch','cloudservicescommentsadapter-disconnect-not-exist','update','resolveCommentThread','get','map','commentUpdated','cloudservicescommentsadapter-service-not-exist','getCommentThreads','resolvedAt','CloudServicesCommentsAdapter','9739184OnvrGd','commentRemoved','commentThreadReopened','authorId','init','CommentsRepository','config','1044626bgjnbA','plugins','commentAdded','from','disconnect','register','getUser','_fetchMissingUsersForThreads','_setUpService','CommentsService','removeCommentThread','userId','assign','content','context','getConnectedSessions','reconnect','off','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadUpdated','pluginName','addComment','resolve','1011963JPeUJO','commentId','listenTo','404','unregister','attributes','startsWith','updateCommentThread','10425870rBxOjJ','size','collaboration.channelId','27448YHsLSS','Permissions','permissions','updateComment','comments','add','commentThreadResolved','reopen','resolvedBy','commentThreadAdded','setPermissions','cloudservicescommentsadapter-connect-already-connected','addUser','cloud-services-internal-error:\x20Not\x20connected.','getComment','addToReconnectionStack','adapter','createdAt','2pLUFAc','reopenCommentThread'];_0x8329=function(){return _0x208b40;};return _0x8329();}function _0x22dc(_0x235efd,_0xe8b76a){const _0x83299c=_0x8329();return _0x22dc=function(_0x22dc34,_0x334fe6){_0x22dc34=_0x22dc34-0x135;let _0x5daf06=_0x83299c[_0x22dc34];return _0x5daf06;},_0x22dc(_0x235efd,_0xe8b76a);}async function B(_0x1c8379){const _0x511842=_0x3ec431;if(_0x511842(0x137)!==_0x1c8379[_0x511842(0x16c)])throw _0x1c8379;}function R(_0x7827e5){const _0x38a770=_0x3ec431;if((_0x55e78e=_0x7827e5)[_0x38a770(0x169)][_0x38a770(0x13a)](_0x38a770(0x192))||_0x55e78e[_0x38a770(0x169)][_0x38a770(0x13a)](_0x38a770(0x14c))||_0x55e78e[_0x38a770(0x169)][_0x38a770(0x13a)](_0x38a770(0x191)))return new Promise(()=>{});var _0x55e78e;throw _0x7827e5;}function S(_0x28696e){const _0x3388d1=_0x3ec431;return{'threadId':_0x28696e[_0x3388d1(0x153)],'commentId':_0x28696e[_0x3388d1(0x135)],'content':_0x28696e[_0x3388d1(0x18c)],'createdAt':_0x28696e[_0x3388d1(0x150)],'authorId':_0x28696e[_0x3388d1(0x18a)],'attributes':_0x28696e[_0x3388d1(0x139)]||{}};}
|
|
23
|
+
const _0x3898b8=_0x505b;(function(_0x4ab474,_0xc5aac6){const _0x230571=_0x505b,_0x3238b1=_0x4ab474();while(!![]){try{const _0xac92de=parseInt(_0x230571(0x20b))/0x1*(parseInt(_0x230571(0x1f0))/0x2)+parseInt(_0x230571(0x247))/0x3*(parseInt(_0x230571(0x1f3))/0x4)+-parseInt(_0x230571(0x224))/0x5+-parseInt(_0x230571(0x1e4))/0x6+parseInt(_0x230571(0x22a))/0x7*(-parseInt(_0x230571(0x236))/0x8)+-parseInt(_0x230571(0x20c))/0x9*(parseInt(_0x230571(0x1ec))/0xa)+-parseInt(_0x230571(0x22f))/0xb*(-parseInt(_0x230571(0x235))/0xc);if(_0xac92de===_0xc5aac6)break;else _0x3238b1['push'](_0x3238b1['shift']());}catch(_0x564cd6){_0x3238b1['push'](_0x3238b1['shift']());}}}(_0x3ff5,0x795d7));import{Context as _0x38854e,ContextPlugin as _0x256674}from'ckeditor5/src/core.js';function _0x3ff5(){const _0x3497e9=['updateCommentThread','authorId','message','13307iqMKAX','destroy','assign','adapter','getUser','803xfLgYP','404','content','addComment','getComment','commentThreadAdded','210792XStoQY','3576flqfkC','removeCommentThread','unregister','code','keys','mySessionId','config','reconnect','catch','addUser','_setUpService','getCommentThread','startsWith','size','commentAdded','map','_terminateService','5337bgeNAD','_fetchMissingUsersForThreads','removeComment','2155830PADOMq','plugins','requires','updateComment','collaboration.channelId','pluginName','reopen','cloudservicescommentsadapter-service-not-exist','200zDEzdw','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','add','_connectService','4dBRNus','get','permissions','1244tPICjC','CloudServicesCommentsAdapter','disconnect','set','addCommentThread','off','has','cloud-services-internal-error:\x20Request\x20timeout.','getCommentThreads','context','reopenCommentThread','resolve','commentThreadResolved','sessionAdd:','listenTo','commentThreadId','remove','comments','register','attributes','from','resolvedBy','commentId','commentThreadUpdated','148889iQAeqj','4032jFsDFa','cloud-services-internal-error:\x20Not\x20connected.','addToReconnectionStack','Permissions','CommentsRepository','userId','_getService','resolvedAt','commentRemoved','resolveCommentThread','getConnectedSessions','commentUpdated','delete','cloudservicescommentsadapter-connect-already-connected','getMany','deletedAt','init','update','commentThreadReopened','_services','createdAt','cloudservicescommentsadapter-disconnect-not-exist','CommentsService','commentThreadRemoved','2091210ULHKoX','setPermissions','connect'];_0x3ff5=function(){return _0x3497e9;};return _0x3ff5();}import{CKEditorError as _0x23165a}from'ckeditor5/src/utils.js';import{Users as _0x3afba4}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x505b(_0x2aba30,_0x568f84){const _0x3ff5ae=_0x3ff5();return _0x505b=function(_0x505bf3,_0x36f44b){_0x505bf3=_0x505bf3-0x1e4;let _0x117f85=_0x3ff5ae[_0x505bf3];return _0x117f85;},_0x505b(_0x2aba30,_0x568f84);}import{CommentsService as _0xcac0fb,User as _0x55742b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x2c8e1d from'../realtimecollaborativeediting/websocketgateway.js';import _0x37e4d9 from'../realtimecollaborativeediting/sessions.js';class a extends _0x256674{static get[_0x3898b8(0x1e6)](){const _0x70761b=_0x3898b8;return[_0x2c8e1d,_0x70761b(0x210),_0x37e4d9,_0x3afba4];}static get[_0x3898b8(0x1e9)](){const _0x5a64c5=_0x3898b8;return _0x5a64c5(0x1f4);}constructor(_0x306a36){const _0x4b36db=_0x3898b8;super(_0x306a36),this[_0x4b36db(0x21f)]=new Map();}async[_0x3898b8(0x21c)](){const _0x1b4725=_0x3898b8,_0x474c67=this[_0x1b4725(0x1fc)],_0xbd5162=_0x474c67[_0x1b4725(0x1e5)][_0x1b4725(0x1f1)](_0x1b4725(0x210));if(_0x474c67[_0x1b4725(0x1e5)][_0x1b4725(0x1f1)](_0x2c8e1d)[_0x1b4725(0x20e)](this),_0xbd5162[_0x1b4725(0x22d)]={'addCommentThread':async({channelId:_0xd732a9,threadId:_0x56dd07,comments:_0x1b2e33,resolvedAt:_0x12ff6e,resolvedBy:_0x2dc4a3,context:_0x17a206,attributes:_0x4bf380})=>{const _0x1ebe50=_0x1b4725,_0x24f8e3=await this[_0x1ebe50(0x212)](_0xd732a9)[_0x1ebe50(0x1f7)]({'commentThreadId':_0x56dd07,'comments':_0x1b2e33[_0x1ebe50(0x245)](_0x5578f0=>function(_0x476ec1,_0x4736d2,_0x17a4b0){const _0x32dde7=_0x1ebe50;return{'commentThreadId':_0x17a4b0,'commentId':_0x476ec1[_0x32dde7(0x209)],'userId':_0x476ec1[_0x32dde7(0x228)],'content':_0x476ec1[_0x32dde7(0x231)],'documentId':_0x4736d2,'createdAt':_0x476ec1[_0x32dde7(0x220)],'attributes':_0x476ec1[_0x32dde7(0x206)]||{}};}(_0x5578f0,_0xd732a9,_0x56dd07)),'resolvedAt':_0x12ff6e,'resolvedBy':_0x2dc4a3,'context':_0x17a206,'attributes':_0x4bf380})[_0x1ebe50(0x23e)](R);return{'threadId':_0x24f8e3[_0x1ebe50(0x202)],'comments':_0x24f8e3[_0x1ebe50(0x204)]};},'getCommentThread':async({channelId:_0x4797b1,threadId:_0x357eab})=>{const _0x59a4e0=_0x1b4725,_0x34d1e8=await this[_0x59a4e0(0x212)](_0x4797b1)[_0x59a4e0(0x241)](_0x357eab)[_0x59a4e0(0x23e)](R);return _0x34d1e8[_0x59a4e0(0x21b)]?null:(await this[_0x59a4e0(0x248)]([_0x34d1e8]),{'threadId':_0x34d1e8[_0x59a4e0(0x202)],'comments':_0x34d1e8[_0x59a4e0(0x204)][_0x59a4e0(0x245)](S),'context':_0x34d1e8[_0x59a4e0(0x1fc)],'resolvedAt':_0x34d1e8[_0x59a4e0(0x213)],'resolvedBy':_0x34d1e8[_0x59a4e0(0x208)],'attributes':_0x34d1e8[_0x59a4e0(0x206)]||{}});},'updateCommentThread':async({channelId:_0x43ea20,threadId:_0x248973,context:_0x19d073,unlinkedAt:_0x146671,attributes:_0xa042ba})=>this[_0x1b4725(0x212)](_0x43ea20)[_0x1b4725(0x227)]({'commentThreadId':_0x248973,'context':_0x19d073,'attributes':_0xa042ba,'unlinkedAt':_0x146671})[_0x1b4725(0x23e)](B)[_0x1b4725(0x23e)](R),'resolveCommentThread':async({channelId:_0xe92d21,threadId:_0x25a61c})=>{const _0x5cafc1=_0x1b4725,_0x4bc355=await this[_0x5cafc1(0x212)](_0xe92d21)[_0x5cafc1(0x215)](_0x25a61c)[_0x5cafc1(0x23e)](B)[_0x5cafc1(0x23e)](R);return{'threadId':_0x4bc355[_0x5cafc1(0x202)],'resolvedAt':_0x4bc355[_0x5cafc1(0x213)],'resolvedBy':_0x4bc355[_0x5cafc1(0x208)]};},'reopenCommentThread':async({channelId:_0x20921f,threadId:_0x1aef04})=>this[_0x1b4725(0x212)](_0x20921f)[_0x1b4725(0x1fd)](_0x1aef04)[_0x1b4725(0x23e)](B)[_0x1b4725(0x23e)](R),'removeCommentThread':({channelId:_0x17bde3,threadId:_0x3e2e59})=>this[_0x1b4725(0x212)](_0x17bde3)[_0x1b4725(0x237)](_0x3e2e59)[_0x1b4725(0x23e)](B)[_0x1b4725(0x23e)](R),'addComment':({channelId:_0x1a9ae8,threadId:_0xd8b262,commentId:_0x26c971,content:_0x50b9f4,attributes:_0x94cd88})=>this[_0x1b4725(0x212)](_0x1a9ae8)[_0x1b4725(0x232)](_0xd8b262,_0x26c971,_0x50b9f4,_0x94cd88)[_0x1b4725(0x23e)](R),'updateComment':({channelId:_0x3dc0fa,threadId:_0x3d456e,commentId:_0x1887e3,content:_0x50cb52,attributes:_0xf0c1ff})=>this[_0x1b4725(0x212)](_0x3dc0fa)[_0x1b4725(0x1e7)](_0x3d456e,_0x1887e3,_0x50cb52,_0xf0c1ff)[_0x1b4725(0x23e)](B)[_0x1b4725(0x23e)](R),'removeComment':({channelId:_0x2347f9,threadId:_0x2ebe95,commentId:_0x112c93})=>this[_0x1b4725(0x212)](_0x2347f9)[_0x1b4725(0x249)](_0x2ebe95,_0x112c93)[_0x1b4725(0x23e)](B)[_0x1b4725(0x23e)](R)},_0x474c67 instanceof _0x38854e){const _0x45aa99=_0x474c67[_0x1b4725(0x23c)][_0x1b4725(0x1f1)](_0x1b4725(0x1e8)),_0x3ab87e=_0x474c67[_0x1b4725(0x1e5)][_0x1b4725(0x1f1)](_0x37e4d9);await this[_0x1b4725(0x240)](_0x45aa99);const _0x4ccd93=await this[_0x1b4725(0x21f)][_0x1b4725(0x1f1)](_0x45aa99)[_0x1b4725(0x216)]();this[_0x1b4725(0x201)](_0x3ab87e,_0x1b4725(0x200)+_0x45aa99,(_0x55572f,{session:_0x438878})=>{const _0x19a580=_0x1b4725;_0x438878['id']===_0x3ab87e[_0x19a580(0x23b)]&&(_0x55572f[_0x19a580(0x1f8)](),this[_0x19a580(0x1fc)][_0x19a580(0x1e5)][_0x19a580(0x1f1)](_0x19a580(0x20f))[_0x19a580(0x225)](_0x438878[_0x19a580(0x1f2)],_0x45aa99));}),_0x3ab87e[_0x1b4725(0x205)](_0x45aa99,_0x4ccd93);}}async[_0x3898b8(0x240)](_0x55424f){const _0x562c5c=_0x3898b8;if(this[_0x562c5c(0x21f)][_0x562c5c(0x1f9)](_0x55424f))throw new _0x23165a(_0x562c5c(0x219),null,{'channelId':_0x55424f});const _0xdcf3c7=this[_0x562c5c(0x1fc)][_0x562c5c(0x1e5)][_0x562c5c(0x1f1)](_0x562c5c(0x210)),_0x1127cd=new a[(_0x562c5c(0x222))](_0x55424f);this[_0x562c5c(0x21f)][_0x562c5c(0x1f6)](_0x55424f,_0x1127cd),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x234),(_0x54ba5a,_0x18f195)=>{const _0x51e500=_0x562c5c,{commentThreadId:_0x3839dc,documentId:_0x410256,context:_0x24da4d,attributes:_0x2a2225,resolvedAt:_0x598a85,resolvedBy:_0x262963,comments:_0x511d61}=_0x18f195;_0xdcf3c7[_0x51e500(0x241)](_0x3839dc)||_0xdcf3c7[_0x51e500(0x1f7)]({'threadId':_0x3839dc,'channelId':_0x410256,'comments':_0x511d61?_0x511d61[_0x51e500(0x245)](S):[],'context':_0x24da4d,'attributes':_0x2a2225,'resolvedAt':_0x598a85,'resolvedBy':_0x262963,'isFromAdapter':!0x0});}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x20a),(_0x2b1b49,{commentThreadId:_0x503e7f,documentId:_0x9fdbd0,context:_0x78ef0,unlinkedAt:_0x15e256,attributes:_0x320950})=>{const _0x27003b=_0x562c5c;_0xdcf3c7[_0x27003b(0x241)](_0x503e7f)&&_0xdcf3c7[_0x27003b(0x227)]({'threadId':_0x503e7f,'channelId':_0x9fdbd0,'context':_0x78ef0,'unlinkedAt':_0x15e256,'attributes':_0x320950,'isFromAdapter':!0x0});}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x1ff),(_0x4ac59a,{commentThreadId:_0xc0fc7d,resolvedBy:_0x39f6d6,resolvedAt:_0xedcee7})=>{const _0x374fb4=_0x562c5c,_0xc7716a=_0xdcf3c7[_0x374fb4(0x241)](_0xc0fc7d);_0xc7716a&&_0xc7716a[_0x374fb4(0x1fe)]({'resolvedBy':_0x39f6d6,'resolvedAt':_0xedcee7,'isFromAdapter':!0x0});}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x21e),(_0x42c238,{commentThreadId:_0x15c98f})=>{const _0x2a329a=_0x562c5c,_0x338362=_0xdcf3c7[_0x2a329a(0x241)](_0x15c98f);_0x338362&&_0x338362[_0x2a329a(0x1ea)]({'isFromAdapter':!0x0});}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x223),(_0x5b75b9,{commentThreadId:_0x15c328})=>{const _0x4183b3=_0x562c5c,_0x3fad88=_0xdcf3c7[_0x4183b3(0x241)](_0x15c328);_0x3fad88&&_0x3fad88[_0x4183b3(0x203)]({'isFromAdapter':!0x0});}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x244),(_0x42fd34,_0x810ae8)=>{const _0x35458f=_0x562c5c,_0x56797a=_0x810ae8[_0x35458f(0x202)],_0x4fecf2=_0xdcf3c7[_0x35458f(0x241)](_0x56797a);_0x4fecf2&&_0x4fecf2[_0x35458f(0x232)]({...S(_0x810ae8),'isFromAdapter':!0x0});}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x217),(_0x2e9ac0,{commentThreadId:_0x108831,commentId:_0x2abcdd,content:_0x2827ae,attributes:_0x56b315})=>{const _0x252465=_0x562c5c,_0x448cb8=_0xdcf3c7[_0x252465(0x241)](_0x108831);if(_0x448cb8){const _0x412d3e=_0x448cb8[_0x252465(0x233)](_0x2abcdd);_0x412d3e&&_0x412d3e[_0x252465(0x21d)]({'content':_0x2827ae,'attributes':_0x56b315,'isFromAdapter':!0x0});}}),this[_0x562c5c(0x201)](_0x1127cd,_0x562c5c(0x214),(_0x394319,{commentThreadId:_0x56a2ba,commentId:_0x18cbec})=>{const _0x43d366=_0x562c5c,_0x4576c=_0xdcf3c7[_0x43d366(0x241)](_0x56a2ba);if(_0x4576c){const _0x206b4a=_0x4576c[_0x43d366(0x233)](_0x18cbec);_0x206b4a&&_0x206b4a[_0x43d366(0x203)]({'isFromAdapter':!0x0});}}),await this[_0x562c5c(0x1ef)](_0x55424f);}[_0x3898b8(0x22b)](){const _0x41096c=_0x3898b8;if(this[_0x41096c(0x1fc)]instanceof _0x38854e){const _0x14a155=this[_0x41096c(0x1fc)][_0x41096c(0x23c)][_0x41096c(0x1f1)](_0x41096c(0x1e8));this[_0x41096c(0x246)](_0x14a155);}}[_0x3898b8(0x246)](_0x5093cc){const _0x41f558=_0x3898b8;if(!this[_0x41f558(0x21f)][_0x41f558(0x1f9)](_0x5093cc))throw new _0x23165a(_0x41f558(0x221),null,{'channelId':_0x5093cc});this[_0x41f558(0x212)](_0x5093cc)[_0x41f558(0x1f5)](),this[_0x41f558(0x21f)][_0x41f558(0x218)](_0x5093cc);}async[_0x3898b8(0x23d)](){const _0x168b77=_0x3898b8;for(const _0x360248 of this[_0x168b77(0x21f)][_0x168b77(0x23a)]())await this[_0x168b77(0x1ef)](_0x360248);if(this[_0x168b77(0x1fc)]instanceof _0x38854e){const _0x16c63f=this[_0x168b77(0x1fc)][_0x168b77(0x23c)][_0x168b77(0x1f1)](_0x168b77(0x1e8)),_0x15fb44=this[_0x168b77(0x1fc)][_0x168b77(0x1e5)][_0x168b77(0x1f1)](_0x37e4d9);_0x15fb44[_0x168b77(0x238)](_0x16c63f);const _0x54a50f=await this[_0x168b77(0x21f)][_0x168b77(0x1f1)](_0x16c63f)[_0x168b77(0x216)]();_0x15fb44[_0x168b77(0x205)](_0x16c63f,_0x54a50f);}}async[_0x3898b8(0x1ef)](_0x33b04e){const _0x47b45c=_0x3898b8,{connection:_0x58cfbc}=this[_0x47b45c(0x1fc)][_0x47b45c(0x1e5)][_0x47b45c(0x1f1)](_0x2c8e1d),_0x59d701=this[_0x47b45c(0x1fc)][_0x47b45c(0x1e5)][_0x47b45c(0x1f1)](_0x47b45c(0x210)),_0x3b0d59=this[_0x47b45c(0x21f)][_0x47b45c(0x1f1)](_0x33b04e),_0x5b9e7b=await _0x3b0d59[_0x47b45c(0x226)](_0x58cfbc);await this[_0x47b45c(0x248)](_0x5b9e7b);const _0x3ea6a2=new Set(Array[_0x47b45c(0x207)](_0x59d701[_0x47b45c(0x1fb)]({'channelId':_0x33b04e}),_0x378d1b=>_0x378d1b['id']));for(const _0x195e52 of _0x5b9e7b)_0x195e52[_0x47b45c(0x21b)]||_0x3ea6a2[_0x47b45c(0x218)](_0x195e52[_0x47b45c(0x202)]);for(const _0x388556 of _0x3ea6a2)_0x59d701[_0x47b45c(0x241)](_0x388556)[_0x47b45c(0x203)]({'isFromAdapter':!0x0});for(const _0x4531b6 of _0x5b9e7b){let _0x5ba911=_0x59d701[_0x47b45c(0x241)](_0x4531b6[_0x47b45c(0x202)]);const {commentThreadId:_0x2093dc,context:_0x2412b4,attributes:_0x5782f6,resolvedBy:_0x6a3740,resolvedAt:_0x467eca,unlinkedAt:_0x3e642e,deletedAt:_0x485867}=_0x4531b6;if(_0x485867)continue;_0x5ba911||(_0x5ba911=_0x59d701[_0x47b45c(0x1f7)]({'channelId':_0x33b04e,'threadId':_0x2093dc,'context':_0x2412b4,'attributes':_0x5782f6||{},'resolvedBy':_0x6a3740,'resolvedAt':_0x467eca,'unlinkedAt':_0x3e642e,'isFromAdapter':!0x0}));const _0x5db97d=new Set(Array[_0x47b45c(0x207)](_0x5ba911[_0x47b45c(0x204)],_0x1c00de=>_0x1c00de['id']));for(const _0x538884 of _0x4531b6[_0x47b45c(0x204)])_0x5db97d[_0x47b45c(0x218)](_0x538884[_0x47b45c(0x209)]);for(const _0x25cd11 of _0x5db97d)_0x5ba911[_0x47b45c(0x233)](_0x25cd11)[_0x47b45c(0x203)]({'isFromAdapter':!0x0});for(const _0x4aef7e of _0x4531b6[_0x47b45c(0x204)]){const _0x313264=_0x5ba911[_0x47b45c(0x233)](_0x4aef7e[_0x47b45c(0x209)]);_0x313264?_0x313264[_0x47b45c(0x231)]!==_0x4aef7e[_0x47b45c(0x231)]&&_0x313264[_0x47b45c(0x21d)]({'content':_0x4aef7e[_0x47b45c(0x231)],'isFromAdapter':!0x0}):_0x5ba911[_0x47b45c(0x232)](Object[_0x47b45c(0x22c)](S(_0x4aef7e),{'isFromAdapter':!0x0}));}}}[_0x3898b8(0x212)](_0x2e4375){const _0x386c28=_0x3898b8;if(!this[_0x386c28(0x21f)][_0x386c28(0x1f9)](_0x2e4375))throw new _0x23165a(_0x386c28(0x1eb),null,{'channelId':_0x2e4375});return this[_0x386c28(0x21f)][_0x386c28(0x1f1)](_0x2e4375);}async[_0x3898b8(0x248)](_0x102287){const _0x15e194=_0x3898b8,_0x1af61a=this[_0x15e194(0x1fc)][_0x15e194(0x1e5)][_0x15e194(0x1f1)](_0x3afba4),{connection:_0x14ae6e}=this[_0x15e194(0x1fc)][_0x15e194(0x1e5)][_0x15e194(0x1f1)](_0x2c8e1d),_0x548cd2=new Set();for(const {resolvedBy:_0x2d96c1,comments:_0x22ba1d}of _0x102287){_0x2d96c1&&!_0x1af61a[_0x15e194(0x22e)](_0x2d96c1)&&_0x548cd2[_0x15e194(0x1ee)](_0x2d96c1);for(const {userId:_0x5ff2b}of _0x22ba1d)_0x1af61a[_0x15e194(0x22e)](_0x5ff2b)||_0x548cd2[_0x15e194(0x1ee)](_0x5ff2b);}if(0x0===_0x548cd2[_0x15e194(0x243)])return;const _0x560c3a=await _0x55742b[_0x15e194(0x21a)](_0x14ae6e,Array[_0x15e194(0x207)](_0x548cd2));for(const _0x2d39a6 of _0x560c3a)_0x1af61a[_0x15e194(0x22e)](_0x2d39a6['id'])||_0x1af61a[_0x15e194(0x23f)](_0x2d39a6);}}a[_0x3898b8(0x222)]=_0xcac0fb;export default a;async function B(_0x4e2c76){const _0x5c695d=_0x3898b8;if(_0x5c695d(0x230)!==_0x4e2c76[_0x5c695d(0x239)])throw _0x4e2c76;}function R(_0x19c120){const _0x1b002b=_0x3898b8;if((_0x1a15ea=_0x19c120)[_0x1b002b(0x229)][_0x1b002b(0x242)](_0x1b002b(0x1ed))||_0x1a15ea[_0x1b002b(0x229)][_0x1b002b(0x242)](_0x1b002b(0x20d))||_0x1a15ea[_0x1b002b(0x229)][_0x1b002b(0x242)](_0x1b002b(0x1fa)))return new Promise(()=>{});var _0x1a15ea;throw _0x19c120;}function S(_0x4997ed){const _0x5c1b92=_0x3898b8;return{'threadId':_0x4997ed[_0x5c1b92(0x202)],'commentId':_0x4997ed[_0x5c1b92(0x209)],'content':_0x4997ed[_0x5c1b92(0x231)],'createdAt':_0x4997ed[_0x5c1b92(0x220)],'authorId':_0x4997ed[_0x5c1b92(0x211)],'attributes':_0x4997ed[_0x5c1b92(0x206)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4de8c4=_0x5e3b;function _0x5e3b(_0x4e0c50,_0x4f05d4){const _0x16048f=_0x1604();return _0x5e3b=function(_0x5e3b82,_0x3ff763){_0x5e3b82=_0x5e3b82-0x7d;let _0x2e2d05=_0x16048f[_0x5e3b82];return _0x2e2d05;},_0x5e3b(_0x4e0c50,_0x4f05d4);}(function(_0x8863dd,_0x100691){const _0x2a0c9a=_0x5e3b,_0x8f02d3=_0x8863dd();while(!![]){try{const _0x46b817=parseInt(_0x2a0c9a(0x8e))/0x1*(parseInt(_0x2a0c9a(0x83))/0x2)+-parseInt(_0x2a0c9a(0x92))/0x3*(parseInt(_0x2a0c9a(0x84))/0x4)+-parseInt(_0x2a0c9a(0x9e))/0x5+parseInt(_0x2a0c9a(0x88))/0x6*(-parseInt(_0x2a0c9a(0x8f))/0x7)+-parseInt(_0x2a0c9a(0x9d))/0x8*(parseInt(_0x2a0c9a(0x90))/0x9)+parseInt(_0x2a0c9a(0x86))/0xa*(-parseInt(_0x2a0c9a(0x95))/0xb)+parseInt(_0x2a0c9a(0x96))/0xc;if(_0x46b817===_0x100691)break;else _0x8f02d3['push'](_0x8f02d3['shift']());}catch(_0x57c97c){_0x8f02d3['push'](_0x8f02d3['shift']());}}}(_0x1604,0xa0647));import{Plugin as _0x321b48}from'ckeditor5/src/core.js';import _0xbb2881 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x59ce17 from'./realtimecollaborativeediting.js';import _0x2f9c62 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x321b48{static get[_0x4de8c4(0x94)](){const _0x5fabb9=_0x4de8c4;return[_0x5fabb9(0x89),_0xbb2881,_0x59ce17,_0x2f9c62];}static get[_0x4de8c4(0x9b)](){const _0xff07d1=_0x4de8c4;return _0xff07d1(0x8c);}[_0x4de8c4(0x81)](){const _0x3dae7a=_0x4de8c4,_0xd5072a=this[_0x3dae7a(0x93)][_0x3dae7a(0x8d)][_0x3dae7a(0x7e)](_0x2f9c62),_0x3d7364=this[_0x3dae7a(0x93)][_0x3dae7a(0x8d)][_0x3dae7a(0x7e)](_0x3dae7a(0x8b)),_0x35db7b=this[_0x3dae7a(0x93)][_0x3dae7a(0x8d)][_0x3dae7a(0x7e)](_0xbb2881);return this[_0x3dae7a(0x93)][_0x3dae7a(0x82)][_0x3dae7a(0x7f)](_0x3dae7a(0x91),()=>{const _0x3bf322=_0x3dae7a;this[_0x3bf322(0x98)](_0xd5072a,_0x3bf322(0x85),(_0x10d827,_0x4d3937,_0x1f0dc4)=>{const _0x136e1b=_0x3bf322;_0x3d7364[_0x136e1b(0x9f)]=_0x136e1b(0x8a)!==_0x1f0dc4;});}),this[_0x3dae7a(0x98)](_0xd5072a,_0x3dae7a(0x85),(_0x5217f2,_0x51ca6a,_0x8b35d1)=>{const _0x1e8a3c=_0x3dae7a;this[_0x1e8a3c(0x93)][_0x1e8a3c(0x8d)][_0x1e8a3c(0x7e)](_0x1e8a3c(0x9a))[_0x1e8a3c(0x7d)](_0x1e8a3c(0x8a)!==_0x8b35d1);}),_0x35db7b[_0x3dae7a(0x9c)](this[_0x3dae7a(0x93)][_0x3dae7a(0x80)][_0x3dae7a(0x7e)](_0x3dae7a(0x99)));}[_0x4de8c4(0x87)](){const _0x13f839=_0x4de8c4;this[_0x13f839(0x93)][_0x13f839(0x8d)][_0x13f839(0x7e)](_0xbb2881)[_0x13f839(0x97)](this[_0x13f839(0x93)][_0x13f839(0x80)][_0x13f839(0x7e)](_0x13f839(0x99))),super[_0x13f839(0x87)]();}}function _0x1604(){const _0x52b807=['207VQkTwc','ready','15BnKLzk','editor','requires','187EKHaIT','57362184DSNSyu','_terminateService','listenTo','collaboration.channelId','CommentsRepository','pluginName','_setUpService','403504spKXjN','6474905ohMNuJ','isThreadsLoadingPaused','switchReadOnly','get','once','config','init','data','162330PbomSr','355928WWeFha','change:state','676670zGWauE','destroy','3534LjFEia','Comments','connected','CommentsEditing','RealTimeCollaborativeComments','plugins','9jrNfgV','9548tGGYct'];_0x1604=function(){return _0x52b807;};return _0x1604();}
|