@ckeditor/ckeditor5-collaboration-core 40.2.0 → 41.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/lang/translations/af.po +1 -1
  4. package/lang/translations/ar.po +1 -1
  5. package/lang/translations/az.po +1 -1
  6. package/lang/translations/bg.po +1 -1
  7. package/lang/translations/bn.po +1 -1
  8. package/lang/translations/bs.po +1 -1
  9. package/lang/translations/ca.po +1 -1
  10. package/lang/translations/cs.po +1 -1
  11. package/lang/translations/da.po +1 -1
  12. package/lang/translations/de-ch.po +1 -1
  13. package/lang/translations/de.po +1 -1
  14. package/lang/translations/el.po +1 -1
  15. package/lang/translations/en-au.po +1 -1
  16. package/lang/translations/en.po +1 -1
  17. package/lang/translations/es-co.po +1 -1
  18. package/lang/translations/es.po +1 -1
  19. package/lang/translations/et.po +1 -1
  20. package/lang/translations/fa.po +1 -1
  21. package/lang/translations/fi.po +1 -1
  22. package/lang/translations/fr.po +1 -1
  23. package/lang/translations/gl.po +1 -1
  24. package/lang/translations/he.po +1 -1
  25. package/lang/translations/hi.po +1 -1
  26. package/lang/translations/hr.po +1 -1
  27. package/lang/translations/hu.po +1 -1
  28. package/lang/translations/id.po +1 -1
  29. package/lang/translations/it.po +1 -1
  30. package/lang/translations/ja.po +1 -1
  31. package/lang/translations/jv.po +1 -1
  32. package/lang/translations/ko.po +1 -1
  33. package/lang/translations/lt.po +1 -1
  34. package/lang/translations/lv.po +1 -1
  35. package/lang/translations/ms.po +1 -1
  36. package/lang/translations/nl.po +1 -1
  37. package/lang/translations/no.po +1 -1
  38. package/lang/translations/pl.po +1 -1
  39. package/lang/translations/pt-br.po +1 -1
  40. package/lang/translations/pt.po +1 -1
  41. package/lang/translations/ro.po +1 -1
  42. package/lang/translations/ru.po +1 -1
  43. package/lang/translations/sk.po +1 -1
  44. package/lang/translations/sr-latn.po +1 -1
  45. package/lang/translations/sr.po +1 -1
  46. package/lang/translations/sv.po +1 -1
  47. package/lang/translations/th.po +1 -1
  48. package/lang/translations/tk.po +1 -1
  49. package/lang/translations/tr.po +1 -1
  50. package/lang/translations/tt.po +1 -1
  51. package/lang/translations/ug.po +1 -1
  52. package/lang/translations/uk.po +1 -1
  53. package/lang/translations/ur.po +1 -1
  54. package/lang/translations/vi.po +1 -1
  55. package/lang/translations/zh-cn.po +1 -1
  56. package/lang/translations/zh.po +1 -1
  57. package/package.json +3 -2
  58. package/src/augmentation.d.ts +3 -3
  59. package/src/augmentation.js +1 -1
  60. package/src/collaborationhistory.d.ts +2 -2
  61. package/src/collaborationhistory.js +1 -1
  62. package/src/collaborationoperation.d.ts +2 -2
  63. package/src/collaborationoperation.js +1 -1
  64. package/src/config.d.ts +1 -1
  65. package/src/config.js +1 -1
  66. package/src/index.d.ts +16 -16
  67. package/src/index.js +2 -2
  68. package/src/permissions.d.ts +2 -2
  69. package/src/permissions.js +2 -2
  70. package/src/suggestionstyles.d.ts +1 -1
  71. package/src/suggestionstyles.js +1 -1
  72. package/src/users/view/userview.d.ts +4 -4
  73. package/src/users/view/userview.js +2 -2
  74. package/src/users.d.ts +8 -4
  75. package/src/users.js +2 -2
  76. package/src/utils/common-translations.d.ts +2 -2
  77. package/src/utils/common-translations.js +2 -2
  78. package/src/utils/confirmmixin.d.ts +3 -3
  79. package/src/utils/confirmmixin.js +2 -2
  80. package/src/utils/confirmview.d.ts +3 -3
  81. package/src/utils/confirmview.js +2 -2
  82. package/src/utils/getdatetimeformatter.d.ts +2 -2
  83. package/src/utils/getdatetimeformatter.js +2 -2
  84. package/src/utils/getmarkerdomelement.d.ts +2 -2
  85. package/src/utils/getmarkerdomelement.js +2 -2
  86. package/src/utils/hashobject.d.ts +1 -1
  87. package/src/utils/hashobject.js +2 -2
  88. package/src/utils/sanitizeEditorConfig.d.ts +2 -2
  89. package/src/utils/sanitizeEditorConfig.js +2 -2
  90. package/src/utils/surroundingmarkersdetector.d.ts +2 -2
  91. package/src/utils/surroundingmarkersdetector.js +2 -2
  92. package/src/utils/trim-html.d.ts +1 -1
  93. package/src/utils/trim-html.js +2 -2
  94. package/theme/icons/notification.svg +1 -1
  95. package/theme/integrations/codeblock.css +1 -1
  96. package/theme/integrations/horizontalline.css +1 -1
  97. package/theme/integrations/image.css +1 -1
  98. package/theme/integrations/mediaembed.css +1 -1
  99. package/theme/integrations/pagebreak.css +1 -1
  100. package/theme/integrations/table.css +1 -1
  101. package/theme/suggestion.css +1 -1
  102. package/theme/suggestionmarker.css +1 -1
  103. package/theme/usercolormixin.css +1 -1
  104. package/theme/usercolors.css +1 -1
  105. package/theme/users.css +13 -5
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c8f=['commands','CommentsOnly','setPermissions','get','no-permissions','isEnabled','noPermissions','permissions-set-permissions-invalid-channel-id','enableReadOnlyMode','document:write','CommentsRepository','editors','includes','comment:write','context','collaboration.channelId','pluginName','comment:modify_all','addCommentThread','plugins','Permissions','has','comment:admin','config','clearForceDisabled'];(function(_0x3f6bb3,_0x1c8fbf){const _0x3671bb=function(_0x7a50a9){while(--_0x7a50a9){_0x3f6bb3['push'](_0x3f6bb3['shift']());}};_0x3671bb(++_0x1c8fbf);}(_0x1c8f,0x16e));const _0x3671=function(_0x3f6bb3,_0x1c8fbf){_0x3f6bb3=_0x3f6bb3-0x0;let _0x3671bb=_0x1c8f[_0x3f6bb3];return _0x3671bb;};import{ContextPlugin as _0x35894c,Editor as _0x40bf17}from'ckeditor5/src/core';import{CKEditorError as _0xc209e2}from'ckeditor5/src/utils';export default class n extends _0x35894c{static get[_0x3671('0x0')](){return _0x3671('0x4');}[_0x3671('0xb')](_0x5444ca,_0x2dfb4b){let _0x57c5d0;if(_0x2dfb4b||(_0x2dfb4b=this[_0x3671('0x17')]['config'][_0x3671('0xc')](_0x3671('0x18'))),this['context']['config']['get']('collaboration.channelId')==_0x2dfb4b?_0x57c5d0=this[_0x3671('0x17')]:_0x3671('0x14')in this['context']&&this[_0x3671('0x17')][_0x3671('0x14')]&&(_0x57c5d0=this['context'][_0x3671('0x14')]['find'](_0x4162a2=>_0x4162a2[_0x3671('0x7')]['get']('collaboration.channelId')==_0x2dfb4b)),!_0x57c5d0)throw new _0xc209e2(_0x3671('0x10'),null);const _0x2fabd8=_0x57c5d0[_0x3671('0x3')],_0x5cc24f=_0x2fabd8[_0x3671('0x5')]('CommentsRepository')?_0x2fabd8['get'](_0x3671('0x13')):void 0x0,_0x14ad9f=_0x2fabd8[_0x3671('0x5')]('CommentsOnly')&&_0x2fabd8[_0x3671('0xc')](_0x3671('0xa')),_0x38f347=_0x5444ca[_0x3671('0x15')](_0x3671('0x12')),_0xd85eb1=_0x5444ca[_0x3671('0x15')](_0x3671('0x1')),_0xf8c5a0=_0x5444ca[_0x3671('0x15')](_0x3671('0x6')),_0x3a0e84=_0x5444ca[_0x3671('0x15')](_0x3671('0x16')),_0x243a6b=_0x3a0e84||_0xf8c5a0,_0x566783=_0x243a6b||_0xd85eb1,_0x5b1e4d=_0x38f347||_0x243a6b;(_0x14ad9f&&(_0x14ad9f[_0x3671('0xe')]=!_0x38f347&&_0x566783),_0x57c5d0 instanceof _0x40bf17)&&(!(_0x38f347||_0x566783&&_0x5cc24f)?_0x57c5d0[_0x3671('0x11')]('no-permissions'):_0x57c5d0['disableReadOnlyMode'](_0x3671('0xd')));if(_0x5cc24f){_0x5cc24f['setPermissions']({'admin':_0xf8c5a0,'modifyAll':_0xd85eb1,'write':_0x3a0e84,'resolve':_0x5b1e4d},_0x2dfb4b);const _0x496807=_0x57c5d0 instanceof _0x40bf17&&_0x57c5d0[_0x3671('0x9')][_0x3671('0xc')](_0x3671('0x2'));_0x496807&&(_0x243a6b?_0x496807[_0x3671('0x8')](_0x3671('0xf')):_0x496807['forceDisabled']('noPermissions'));}}}
23
+ const _0x2587=['comment:modify_all','comment:admin','has','forceDisabled','collaboration.channelId','config','commands','clearForceDisabled','document:write','pluginName','editors','no-permissions','enableReadOnlyMode','comment:write','permissions-set-permissions-invalid-channel-id','noPermissions','CommentsRepository','setPermissions','addCommentThread','includes','plugins','CommentsOnly','isEnabled','context','get'];(function(_0x4fbf12,_0x258715){const _0x2feb2b=function(_0x4c12af){while(--_0x4c12af){_0x4fbf12['push'](_0x4fbf12['shift']());}};_0x2feb2b(++_0x258715);}(_0x2587,0x1b3));const _0x2feb=function(_0x4fbf12,_0x258715){_0x4fbf12=_0x4fbf12-0x0;let _0x2feb2b=_0x2587[_0x4fbf12];return _0x2feb2b;};import{ContextPlugin as _0x5c0324,Editor as _0x1e0f4f}from'ckeditor5/src/core.js';import{CKEditorError as _0x15ad4d}from'ckeditor5/src/utils.js';export default class n extends _0x5c0324{static get[_0x2feb('0x18')](){return'Permissions';}[_0x2feb('0x7')](_0x3acbe0,_0x2b4cad){let _0x291020;if(_0x2b4cad||(_0x2b4cad=this[_0x2feb('0xd')]['config']['get'](_0x2feb('0x13'))),this[_0x2feb('0xd')][_0x2feb('0x14')][_0x2feb('0xe')]('collaboration.channelId')==_0x2b4cad?_0x291020=this['context']:_0x2feb('0x0')in this['context']&&this[_0x2feb('0xd')][_0x2feb('0x0')]&&(_0x291020=this[_0x2feb('0xd')][_0x2feb('0x0')]['find'](_0x19d12b=>_0x19d12b[_0x2feb('0x14')][_0x2feb('0xe')](_0x2feb('0x13'))==_0x2b4cad)),!_0x291020)throw new _0x15ad4d(_0x2feb('0x4'),null);const _0x2fb7b8=_0x291020[_0x2feb('0xa')],_0x19b679=_0x2fb7b8[_0x2feb('0x11')](_0x2feb('0x6'))?_0x2fb7b8['get']('CommentsRepository'):void 0x0,_0xfaa1e8=_0x2fb7b8['has']('CommentsOnly')&&_0x2fb7b8[_0x2feb('0xe')](_0x2feb('0xb')),_0x2a67c2=_0x3acbe0[_0x2feb('0x9')](_0x2feb('0x17')),_0x230e98=_0x3acbe0[_0x2feb('0x9')](_0x2feb('0xf')),_0xdfd1f3=_0x3acbe0[_0x2feb('0x9')](_0x2feb('0x10')),_0x4b0725=_0x3acbe0[_0x2feb('0x9')](_0x2feb('0x3')),_0x3c1dfc=_0x4b0725||_0xdfd1f3,_0x1594d4=_0x3c1dfc||_0x230e98,_0x4a09e1=_0x2a67c2||_0x3c1dfc;(_0xfaa1e8&&(_0xfaa1e8[_0x2feb('0xc')]=!_0x2a67c2&&_0x1594d4),_0x291020 instanceof _0x1e0f4f)&&(!(_0x2a67c2||_0x1594d4&&_0x19b679)?_0x291020[_0x2feb('0x2')](_0x2feb('0x1')):_0x291020['disableReadOnlyMode'](_0x2feb('0x1')));if(_0x19b679){_0x19b679['setPermissions']({'admin':_0xdfd1f3,'modifyAll':_0x230e98,'write':_0x4b0725,'resolve':_0x4a09e1},_0x2b4cad);const _0xe2d9ff=_0x291020 instanceof _0x1e0f4f&&_0x291020[_0x2feb('0x15')]['get'](_0x2feb('0x8'));_0xe2d9ff&&(_0x3c1dfc?_0xe2d9ff[_0x2feb('0x16')](_0x2feb('0x5')):_0xe2d9ff[_0x2feb('0x12')](_0x2feb('0x5')));}}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  import '../theme/suggestion.css';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module collaboration-core/users/view/userview
7
7
  */
8
- import { View, type TemplateDefinition } from 'ckeditor5/src/ui';
9
- import type { Locale } from 'ckeditor5/src/utils';
10
- import type { User } from '../../users';
8
+ import { View, type TemplateDefinition } from 'ckeditor5/src/ui.js';
9
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
+ import type { User } from '../../users.js';
11
11
  import '../../../theme/users.css';
12
12
  export default class UserView extends View {
13
13
  name: string;
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1df4=['url(\x27','ck-user__notification','ck-user__avatar','avatar','div','content','ck\x20ck-user__name\x20ck-user__name--hidden','name','extendTemplate','initials','setTemplate','push','ck-user','ck\x20ck-user__name','ck-user__img','isAnonymous','notificationView','ck-user__icon'];(function(_0xc72dfb,_0x1df4bc){const _0x2eccc3=function(_0x91a364){while(--_0x91a364){_0xc72dfb['push'](_0xc72dfb['shift']());}};_0x2eccc3(++_0x1df4bc);}(_0x1df4,0x98));const _0x2ecc=function(_0xc72dfb,_0x1df4bc){_0xc72dfb=_0xc72dfb-0x0;let _0x2eccc3=_0x1df4[_0xc72dfb];return _0x2eccc3;};import{View as _0x24c3c8,IconView as _0x2cbf3f}from'ckeditor5/src/ui';import _0x172991 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class C extends _0x24c3c8{constructor(_0xe341e3,_0x39ff41,_0x100ea0){super(_0xe341e3),this[_0x2ecc('0x11')]=_0x39ff41[_0x2ecc('0x11')],this['notificationView']=null;const _0x671f48=['ck',_0x2ecc('0x6')];if(_0x39ff41[_0x2ecc('0x7')]&&_0x671f48[_0x2ecc('0x3')]('ck-user__anonymous'),_0x39ff41['avatar']&&_0x671f48[_0x2ecc('0x3')](_0x2ecc('0xc')),_0x100ea0){const _0x127798=new _0x2cbf3f();_0x127798[_0x2ecc('0x0')]({'attributes':{'class':[_0x2ecc('0x9')]}}),_0x127798[_0x2ecc('0xf')]=_0x172991,this[_0x2ecc('0x8')]={'tag':'div','attributes':{'class':['ck',_0x2ecc('0xb')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x100ea0},'children':[_0x127798]};}const _0x5ed59c=[{'tag':_0x2ecc('0xe'),'attributes':{'class':_0x671f48,'style':{'background-image':_0x39ff41[_0x2ecc('0xd')]?_0x2ecc('0xa')+_0x39ff41[_0x2ecc('0xd')]+'\x27)':''}}},{'tag':_0x2ecc('0xe'),'attributes':{'class':_0x39ff41[_0x2ecc('0xd')]?_0x2ecc('0x10'):_0x2ecc('0x5')},'children':[{'text':_0x39ff41[_0x2ecc('0x1')]}]}];this['notificationView']&&_0x5ed59c[_0x2ecc('0x3')](this[_0x2ecc('0x8')]),this[_0x2ecc('0x2')]({'tag':_0x2ecc('0xe'),'attributes':{'class':['ck',_0x2ecc('0x4')],'data-user-id':_0x39ff41['id']},'children':_0x5ed59c});}}
23
+ const _0x4689=['ck\x20ck-user__name','push','url(\x27','setTemplate','name','isMe','ck-user__notification','div','notificationView','avatar','ck-user__avatar','ck-user','ck-user__img','ck-user_me'];(function(_0x149af9,_0x46892f){const _0x442254=function(_0x4aeac0){while(--_0x4aeac0){_0x149af9['push'](_0x149af9['shift']());}};_0x442254(++_0x46892f);}(_0x4689,0xba));const _0x4422=function(_0x149af9,_0x46892f){_0x149af9=_0x149af9-0x0;let _0x442254=_0x4689[_0x149af9];return _0x442254;};import{View as _0xa542c6,IconView as _0x37b559}from'ckeditor5/src/ui.js';import _0x5a0c25 from'../../../theme/icons/notification.svg';import'../../../theme/users.css';export default class E extends _0xa542c6{constructor(_0x1431d3,_0x5a0bae,_0x54daf5){super(_0x1431d3),this[_0x4422('0x0')]=_0x5a0bae[_0x4422('0x0')],this[_0x4422('0x4')]=null;const _0x2de4a4=['ck',_0x4422('0x7')],_0x28d250=['ck',_0x4422('0x8')];if(_0x5a0bae['isAnonymous']&&_0x28d250[_0x4422('0xb')]('ck-user__anonymous'),!_0x5a0bae['isAnonymous']&&_0x5a0bae[_0x4422('0x1')]&&_0x2de4a4['push'](_0x4422('0x9')),_0x5a0bae[_0x4422('0x5')]&&_0x28d250[_0x4422('0xb')](_0x4422('0x6')),_0x54daf5){const _0x5a076c=new _0x37b559();_0x5a076c['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x5a076c['content']=_0x5a0c25,this[_0x4422('0x4')]={'tag':_0x4422('0x3'),'attributes':{'class':['ck',_0x4422('0x2')],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x54daf5},'children':[_0x5a076c]};}const _0x13f305=[{'tag':_0x4422('0x3'),'attributes':{'class':_0x28d250,'style':{'background-image':_0x5a0bae['avatar']?_0x4422('0xc')+_0x5a0bae[_0x4422('0x5')]+'\x27)':''}}},{'tag':_0x4422('0x3'),'attributes':{'class':_0x5a0bae[_0x4422('0x5')]?'ck\x20ck-user__name\x20ck-user__name--hidden':_0x4422('0xa')},'children':[{'text':_0x5a0bae['initials']}]}];this['notificationView']&&_0x13f305[_0x4422('0xb')](this['notificationView']),this[_0x4422('0xd')]({'tag':'div','attributes':{'class':_0x2de4a4,'data-user-id':_0x5a0bae['id']},'children':_0x13f305});}}
package/src/users.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module collaboration-core/users
7
7
  * @publicApi
8
8
  */
9
- import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core';
10
- import { Collection } from 'ckeditor5/src/utils';
11
- import Permissions from './permissions';
9
+ import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core.js';
10
+ import { Collection } from 'ckeditor5/src/utils.js';
11
+ import Permissions from './permissions.js';
12
12
  import '../theme/usercolors.css';
13
13
  /**
14
14
  * The `Users` plugin provides the basic interface for setting and getting users involved in the document editing process.
@@ -121,6 +121,10 @@ export declare class User {
121
121
  * used by "guest" users of your application, or when the original user's account was removed.
122
122
  */
123
123
  get isAnonymous(): boolean;
124
+ /**
125
+ * Is `true` for the {@link module:collaboration-core/users~Users#me local user}.
126
+ */
127
+ get isMe(): boolean;
124
128
  /**
125
129
  * The initials of the user.
126
130
  *
package/src/users.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x128a=['split','licenseKeyTrialLimit:operations','pluginName','users.anonymousUserId','licenseKey','licenseKeyTrialLimit:revisions','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','toUpperCase','locale','trim','_id','init','destroy','users','licenseKeyValid','string','requires','initials','_licenseKeyCheckInterval','_getInitial','includes','ck-user__marker--','add','useAnonymousUser','Anonymous','_locale','context','_getNextColor','anonymous-user','invalid-license-key','config','licenseKeyTrialLimit:time','trial-license-key-reached-limit-time','users-add-duplicated-id','define','name','decorate','getSelectionClass','getUser','avatar','users-me-already-defined','ck-user__selection--','defineMe','users-me-missing-user','trial-license-key-reached-limit-revisions','users.colorsCount','length','info','addUser','isAnonymous','trial-license-key-reached-limit-changes','has','_myId','licenseKeyTrial','_isAnonymous','_lastColor','charAt','get','licenseKeyInvalid','getMarkerClass','getOperationAuthor'];(function(_0x4ea929,_0x128a80){const _0x3bb480=function(_0x279ff5){while(--_0x279ff5){_0x4ea929['push'](_0x4ea929['shift']());}};_0x3bb480(++_0x128a80);}(_0x128a,0x1ae));const _0x3bb4=function(_0x4ea929,_0x128a80){_0x4ea929=_0x4ea929-0x0;let _0x3bb480=_0x128a[_0x4ea929];return _0x3bb480;};import{ContextPlugin as _0x44f272}from'ckeditor5/src/core';import{Collection as _0x5492b1,CKEditorError as _0x309315}from'ckeditor5/src/utils';import _0xd42d29 from'./permissions';import{getTranslation as _0x4351b5}from'./utils/common-translations';import'../theme/usercolors.css';export default class l extends _0x44f272{static get[_0x3bb4('0x3c')](){return'Users';}static get[_0x3bb4('0xd')](){return[_0xd42d29];}constructor(_0x441eea){super(_0x441eea),this['context'][_0x3bb4('0x1b')][_0x3bb4('0x1f')](_0x3bb4('0x0'),_0x3bb4('0x19')),this[_0x3bb4('0x17')][_0x3bb4('0x1b')][_0x3bb4('0x1f')](_0x3bb4('0x2a'),0x8),this[_0x3bb4('0xa')]=new _0x5492b1(),this[_0x3bb4('0x16')]=_0x441eea[_0x3bb4('0x5')],this[_0x3bb4('0xf')]=null,this[_0x3bb4('0x34')]=0x0,this[_0x3bb4('0x31')]=null,this[_0x3bb4('0x21')](_0x3bb4('0x39'));}[_0x3bb4('0x8')](){const _0x3e7cda=this[_0x3bb4('0x17')];this['licenseKey']=_0x3e7cda[_0x3bb4('0x1b')]['get'](_0x3bb4('0x1'));const _0x537009=[_0x3bb4('0x32'),_0x3bb4('0x37'),_0x3bb4('0xb'),'licenseKeyTrialLimit:operations',_0x3bb4('0x1c'),_0x3bb4('0x2')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x22a97d;for(const _0x479048 in _0x3e7cda){const _0x35276c=_0x3e7cda[_0x479048];if(_0x537009[_0x3bb4('0x11')](_0x35276c)){delete _0x3e7cda[_0x479048],_0x22a97d=_0x35276c;break;}}if(_0x3bb4('0x37')===_0x22a97d)throw clearInterval(this[_0x3bb4('0xf')]),new _0x309315(_0x3bb4('0x1a'),null);if(_0x3bb4('0x32')===_0x22a97d&&console[_0x3bb4('0x2c')](_0x3bb4('0x3')),_0x3bb4('0x3b')===_0x22a97d)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x309315(_0x3bb4('0x2f'),null);if('licenseKeyTrialLimit:time'===_0x22a97d)throw clearInterval(this[_0x3bb4('0xf')]),new _0x309315(_0x3bb4('0x1d'),null);if(_0x3bb4('0x2')===_0x22a97d)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x309315(_0x3bb4('0x29'),null);_0x3bb4('0xb')===_0x22a97d&&clearInterval(this[_0x3bb4('0xf')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x3bb4('0x31')]?null:this[_0x3bb4('0x23')](this[_0x3bb4('0x31')]);}[_0x3bb4('0x2d')]({id:_0x5cc999,name:_0x3676a0,..._0x51b47c}){if(!_0x5cc999||_0x3bb4('0xc')!=typeof _0x5cc999)throw new _0x309315('users-add-invalid-id');if(this[_0x3bb4('0xa')][_0x3bb4('0x30')](_0x5cc999))throw new _0x309315(_0x3bb4('0x1e'),null,{'id':_0x5cc999});const _0xe66c35={..._0x51b47c,'id':_0x5cc999,'name':a(this[_0x3bb4('0x16')],_0x3676a0),'color':this[_0x3bb4('0x18')]()};_0xe66c35[_0x3bb4('0x20')]=a(this[_0x3bb4('0x16')],_0xe66c35[_0x3bb4('0x20')]);const _0x31919d=new User(_0xe66c35);return this[_0x3bb4('0xa')][_0x3bb4('0x13')](_0x31919d),_0x31919d;}[_0x3bb4('0x23')](_0x10403a){return this[_0x3bb4('0xa')][_0x3bb4('0x36')](_0x10403a);}[_0x3bb4('0x14')](){const _0x4d9cb5=this['context'][_0x3bb4('0x1b')]['get'](_0x3bb4('0x0'));this['_myId']||this[_0x3bb4('0x27')](_0x4d9cb5);}[_0x3bb4('0x27')](_0x5aad9e){if(this['_myId'])throw new _0x309315(_0x3bb4('0x25'),null);if(!this['getUser'](_0x5aad9e))throw new _0x309315(_0x3bb4('0x28'),null);this[_0x3bb4('0x31')]=_0x5aad9e;}[_0x3bb4('0x39')](){return this['me'];}[_0x3bb4('0x9')](){super['destroy'](),clearInterval(this[_0x3bb4('0xf')]);}[_0x3bb4('0x18')](){const _0x439ae6=this[_0x3bb4('0x17')][_0x3bb4('0x1b')][_0x3bb4('0x36')](_0x3bb4('0x2a'));return this['_lastColor']>=_0x439ae6&&(this[_0x3bb4('0x34')]=0x0),new u(this[_0x3bb4('0x34')]++);}['_addAnonymousUser'](){const _0x472873=this[_0x3bb4('0x17')][_0x3bb4('0x1b')][_0x3bb4('0x36')](_0x3bb4('0x0'));this[_0x3bb4('0x2d')]({'id':_0x472873,'name':_0x4351b5(this[_0x3bb4('0x16')],'Anonymous')})[_0x3bb4('0x33')]=!0x0;}}export class User{constructor(_0x248428){this['id']=_0x248428['id'],this['color']=_0x248428['color'],this[_0x3bb4('0x20')]=_0x248428[_0x3bb4('0x20')],this[_0x3bb4('0x24')]=_0x248428['avatar'],this[_0x3bb4('0x33')]=!0x1;}get[_0x3bb4('0x2e')](){return this[_0x3bb4('0x33')];}get[_0x3bb4('0xe')](){const _0x54b72b=this[_0x3bb4('0x20')][_0x3bb4('0x3a')]('\x20');return 0x1===_0x54b72b['length']?this['_getInitial'](_0x54b72b[0x0]):this['_getInitial'](_0x54b72b[0x0])+this[_0x3bb4('0x10')](_0x54b72b[_0x54b72b[_0x3bb4('0x2b')]-0x1]);}[_0x3bb4('0x10')](_0x5612bf){return _0x5612bf[_0x3bb4('0x35')](0x0)[_0x3bb4('0x4')]();}}function a(_0x1dd28,_0x5a50df=''){return''==(_0x5a50df=_0x5a50df[_0x3bb4('0x6')]())?_0x4351b5(_0x1dd28,_0x3bb4('0x15')):_0x5a50df;}class u{constructor(_0xb96d1c){this[_0x3bb4('0x7')]=_0xb96d1c;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this[_0x3bb4('0x7')];}[_0x3bb4('0x22')](){return _0x3bb4('0x26')+this[_0x3bb4('0x7')];}[_0x3bb4('0x38')](){return _0x3bb4('0x12')+this[_0x3bb4('0x7')];}}
23
+ const _0x19a7=['config','invalid-license-key','useAnonymousUser','context','_getInitial','color','defineMe','_licenseKeyCheckInterval','trial-license-key-reached-limit-time','info','decorate','length','licenseKeyTrialLimit:operations','_id','getSelectionClass','Anonymous','requires','name','initials','_lastColor','trial-license-key-reached-limit-changes','charAt','ck-user__marker--','add','destroy','addUser','users','licenseKeyTrial','isAnonymous','toUpperCase','licenseKeyInvalid','getOperationAuthor','includes','anonymous-user','licenseKeyTrialLimit:time','_myId','licenseKey','ck-user__selection--','locale','licenseKeyValid','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','_isMe','has','getMarkerClass','users.colorsCount','users.anonymousUserId','_getNextColor','users-me-missing-user','users-add-invalid-id','getBackgroundColorClass','_locale','get','users-add-duplicated-id','_isAnonymous','users-me-already-defined','getUser','init','_addAnonymousUser','pluginName','trial-license-key-reached-limit-revisions'];(function(_0x47610a,_0x19a7ac){const _0x1495ef=function(_0x593831){while(--_0x593831){_0x47610a['push'](_0x47610a['shift']());}};_0x1495ef(++_0x19a7ac);}(_0x19a7,0x190));const _0x1495=function(_0x47610a,_0x19a7ac){_0x47610a=_0x47610a-0x0;let _0x1495ef=_0x19a7[_0x47610a];return _0x1495ef;};import{ContextPlugin as _0x1eb7d3}from'ckeditor5/src/core.js';import{Collection as _0x65548a,CKEditorError as _0x3f2c22}from'ckeditor5/src/utils.js';import _0x4cba61 from'./permissions.js';import{getTranslation as _0x397170}from'./utils/common-translations.js';import'../theme/usercolors.css';export default class l extends _0x1eb7d3{static get[_0x1495('0x12')](){return'Users';}static get[_0x1495('0x24')](){return[_0x4cba61];}constructor(_0x4cb194){super(_0x4cb194),this[_0x1495('0x17')]['config']['define'](_0x1495('0x5'),_0x1495('0x35')),this[_0x1495('0x17')][_0x1495('0x14')]['define'](_0x1495('0x4'),0x8),this[_0x1495('0x2e')]=new _0x65548a(),this[_0x1495('0xa')]=_0x4cb194[_0x1495('0x3a')],this[_0x1495('0x1b')]=null,this[_0x1495('0x27')]=0x0,this[_0x1495('0x37')]=null,this[_0x1495('0x1e')]('getOperationAuthor');}[_0x1495('0x10')](){const _0x4aa670=this[_0x1495('0x17')];this['licenseKey']=_0x4aa670[_0x1495('0x14')]['get'](_0x1495('0x38'));const _0x8628df=[_0x1495('0x2f'),_0x1495('0x32'),_0x1495('0x3b'),_0x1495('0x20'),_0x1495('0x36'),'licenseKeyTrialLimit:revisions'];this[_0x1495('0x1b')]=setInterval(()=>{let _0x298c50;for(const _0x4d74f7 in _0x4aa670){const _0x50cc85=_0x4aa670[_0x4d74f7];if(_0x8628df[_0x1495('0x34')](_0x50cc85)){delete _0x4aa670[_0x4d74f7],_0x298c50=_0x50cc85;break;}}if(_0x1495('0x32')===_0x298c50)throw clearInterval(this[_0x1495('0x1b')]),new _0x3f2c22(_0x1495('0x15'),null);if(_0x1495('0x2f')===_0x298c50&&console[_0x1495('0x1d')](_0x1495('0x0')),_0x1495('0x20')===_0x298c50)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x3f2c22(_0x1495('0x28'),null);if(_0x1495('0x36')===_0x298c50)throw clearInterval(this[_0x1495('0x1b')]),new _0x3f2c22(_0x1495('0x1c'),null);if('licenseKeyTrialLimit:revisions'===_0x298c50)throw clearInterval(this[_0x1495('0x1b')]),new _0x3f2c22(_0x1495('0x13'),null);_0x1495('0x3b')===_0x298c50&&clearInterval(this[_0x1495('0x1b')]);},0x3e8),this['_addAnonymousUser']();}get['me'](){return null==this[_0x1495('0x37')]?null:this[_0x1495('0xf')](this['_myId']);}[_0x1495('0x2d')]({id:_0x2eebb6,name:_0x171d5a,..._0x1b0057}){if(!_0x2eebb6||'string'!=typeof _0x2eebb6)throw new _0x3f2c22(_0x1495('0x8'));if(this[_0x1495('0x2e')][_0x1495('0x2')](_0x2eebb6))throw new _0x3f2c22(_0x1495('0xc'),null,{'id':_0x2eebb6});const _0x54019f={..._0x1b0057,'id':_0x2eebb6,'name':a(this[_0x1495('0xa')],_0x171d5a),'color':this['_getNextColor']()};_0x54019f[_0x1495('0x25')]=a(this[_0x1495('0xa')],_0x54019f[_0x1495('0x25')]);const _0x30fd2c=new User(_0x54019f);return this[_0x1495('0x2e')][_0x1495('0x2b')](_0x30fd2c),_0x30fd2c;}[_0x1495('0xf')](_0x5dd2eb){return this[_0x1495('0x2e')][_0x1495('0xb')](_0x5dd2eb);}[_0x1495('0x16')](){const _0x946e6c=this[_0x1495('0x17')]['config'][_0x1495('0xb')](_0x1495('0x5'));this[_0x1495('0x37')]||this[_0x1495('0x1a')](_0x946e6c);}[_0x1495('0x1a')](_0x3d4ddb){if(this[_0x1495('0x37')])throw new _0x3f2c22(_0x1495('0xe'),null);const _0x2ba2fa=this[_0x1495('0xf')](_0x3d4ddb);if(!_0x2ba2fa)throw new _0x3f2c22(_0x1495('0x7'),null);this[_0x1495('0x37')]=_0x3d4ddb,_0x2ba2fa[_0x1495('0x1')]=!0x0;}[_0x1495('0x33')](){return this['me'];}[_0x1495('0x2c')](){super['destroy'](),clearInterval(this['_licenseKeyCheckInterval']);}[_0x1495('0x6')](){const _0x489343=this[_0x1495('0x17')][_0x1495('0x14')][_0x1495('0xb')](_0x1495('0x4'));return this['_lastColor']>=_0x489343&&(this[_0x1495('0x27')]=0x0),new u(this['_lastColor']++);}[_0x1495('0x11')](){const _0x584d75=this['context'][_0x1495('0x14')][_0x1495('0xb')](_0x1495('0x5'));this['addUser']({'id':_0x584d75,'name':_0x397170(this[_0x1495('0xa')],'Anonymous')})['_isAnonymous']=!0x0;}}export class User{constructor(_0x49ea3c){this['id']=_0x49ea3c['id'],this['color']=_0x49ea3c[_0x1495('0x19')],this[_0x1495('0x25')]=_0x49ea3c[_0x1495('0x25')],this['avatar']=_0x49ea3c['avatar'],this['_isAnonymous']=!0x1,this[_0x1495('0x1')]=!0x1;}get[_0x1495('0x30')](){return this[_0x1495('0xd')];}get['isMe'](){return this[_0x1495('0x1')];}get[_0x1495('0x26')](){const _0x489dfb=this[_0x1495('0x25')]['split']('\x20');return 0x1===_0x489dfb[_0x1495('0x1f')]?this['_getInitial'](_0x489dfb[0x0]):this[_0x1495('0x18')](_0x489dfb[0x0])+this[_0x1495('0x18')](_0x489dfb[_0x489dfb[_0x1495('0x1f')]-0x1]);}[_0x1495('0x18')](_0x2d2732){return _0x2d2732[_0x1495('0x29')](0x0)[_0x1495('0x31')]();}}function a(_0x5ca705,_0x3136f5=''){return''==(_0x3136f5=_0x3136f5['trim']())?_0x397170(_0x5ca705,_0x1495('0x23')):_0x3136f5;}class u{constructor(_0x5c5a02){this[_0x1495('0x21')]=_0x5c5a02;}[_0x1495('0x9')](){return'ck-user__bg-color--'+this['_id'];}[_0x1495('0x22')](){return _0x1495('0x39')+this[_0x1495('0x21')];}[_0x1495('0x3')](){return _0x1495('0x2a')+this[_0x1495('0x21')];}}
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module collaboration-core/utils/common-translations
7
7
  */
8
- import type { Locale } from 'ckeditor5/src/utils';
8
+ import type { Locale } from 'ckeditor5/src/utils.js';
9
9
  export declare function getTranslation(locale: Locale, id: string): string;
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4ffdac,_0x21b646){const t=_0x4ffdac['t'];switch(_0x21b646){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
23
+ export function getTranslation(_0x43504f,_0x2e8dc5){const t=_0x43504f['t'];switch(_0x2e8dc5){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module comments/comments/ui/view/confirmmixin
7
7
  */
8
- import type { View } from 'ckeditor5/src/ui';
9
- import type { Locale, Mixed } from 'ckeditor5/src/utils';
8
+ import type { View } from 'ckeditor5/src/ui.js';
9
+ import type { Locale, Mixed } from 'ckeditor5/src/utils.js';
10
10
  /**
11
11
  * Adds interface for showing confirmation view in the specific for `CommentThreadView` and `CommentView` structure
12
12
  * Confirm is always set to the `content` collection at the last position.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xb61d=['set','focus','element','isConfirm','appendChild','render','deregisterChild','cancel','submit','cancelConfirm','registerChild','remove','message','confirmView','_removeConfirm','fire','destroy','once'];(function(_0x4513f9,_0xb61d7){var _0x13fb5c=function(_0x2a686f){while(--_0x2a686f){_0x4513f9['push'](_0x4513f9['shift']());}};_0x13fb5c(++_0xb61d7);}(_0xb61d,0x186));var _0x13fb=function(_0x4513f9,_0xb61d7){_0x4513f9=_0x4513f9-0x0;var _0x13fb5c=_0xb61d[_0x4513f9];return _0x13fb5c;};import _0x5e7629 from'./confirmview';export default function m(_0x4f2e9b){return class extends _0x4f2e9b{['showConfirm'](_0x417a1d,_0x38bd0e){return this['confirmView']=new _0x5e7629(this['locale']),this[_0x13fb('0x1')][_0x13fb('0xb')](),this[_0x13fb('0x1')][_0x13fb('0x0')]=_0x417a1d,this[_0x13fb('0x1')][_0x13fb('0x5')]('cancel',()=>{this[_0x13fb('0x2')]();}),this[_0x13fb('0x1')]['once'](_0x13fb('0xe'),()=>{this[_0x13fb('0x2')]();}),_0x38bd0e[_0x13fb('0xa')](this[_0x13fb('0x1')][_0x13fb('0x8')]),this[_0x13fb('0x10')](this[_0x13fb('0x1')]),this['element'][_0x13fb('0x7')](),this[_0x13fb('0x6')](_0x13fb('0x9'),!0x0),new Promise(_0x988b6f=>this[_0x13fb('0x1')]['on'](_0x13fb('0xe'),_0x988b6f));}[_0x13fb('0xf')](){this['isConfirm']&&this[_0x13fb('0x1')][_0x13fb('0x3')](_0x13fb('0xd'));}['_removeConfirm'](){this[_0x13fb('0x8')]&&this[_0x13fb('0x1')]&&this[_0x13fb('0x1')][_0x13fb('0x8')]&&(this[_0x13fb('0x8')][_0x13fb('0x7')](),this['confirmView'][_0x13fb('0x8')][_0x13fb('0x11')](),this[_0x13fb('0xc')](this[_0x13fb('0x1')]),this[_0x13fb('0x9')]=!0x1,this[_0x13fb('0x1')][_0x13fb('0x4')](),this['confirmView']=void 0x0);}};}
23
+ var _0x1dee=['remove','_removeConfirm','showConfirm','deregisterChild','submit','element','isConfirm','set','cancel','registerChild','render','focus','confirmView'];(function(_0x577462,_0x1dee97){var _0x535867=function(_0x25f64e){while(--_0x25f64e){_0x577462['push'](_0x577462['shift']());}};_0x535867(++_0x1dee97);}(_0x1dee,0x1d3));var _0x5358=function(_0x577462,_0x1dee97){_0x577462=_0x577462-0x0;var _0x535867=_0x1dee[_0x577462];return _0x535867;};import _0x16179d from'./confirmview.js';export default function m(_0x179ef2){return class extends _0x179ef2{[_0x5358('0x3')](_0x155b17,_0x337cf1){return this[_0x5358('0x0')]=new _0x16179d(this['locale']),this[_0x5358('0x0')][_0x5358('0xb')](),this[_0x5358('0x0')]['message']=_0x155b17,this['confirmView']['once'](_0x5358('0x9'),()=>{this[_0x5358('0x2')]();}),this[_0x5358('0x0')]['once'](_0x5358('0x5'),()=>{this[_0x5358('0x2')]();}),_0x337cf1['appendChild'](this[_0x5358('0x0')][_0x5358('0x6')]),this[_0x5358('0xa')](this[_0x5358('0x0')]),this[_0x5358('0x6')]['focus'](),this[_0x5358('0x8')](_0x5358('0x7'),!0x0),new Promise(_0x1d0d2d=>this[_0x5358('0x0')]['on']('submit',_0x1d0d2d));}['cancelConfirm'](){this[_0x5358('0x7')]&&this[_0x5358('0x0')]['fire'](_0x5358('0x9'));}[_0x5358('0x2')](){this[_0x5358('0x6')]&&this[_0x5358('0x0')]&&this['confirmView'][_0x5358('0x6')]&&(this[_0x5358('0x6')][_0x5358('0xc')](),this[_0x5358('0x0')][_0x5358('0x6')][_0x5358('0x1')](),this[_0x5358('0x4')](this['confirmView']),this[_0x5358('0x7')]=!0x1,this[_0x5358('0x0')]['destroy'](),this[_0x5358('0x0')]=void 0x0);}};}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module comments/comments/ui/view/confirmview
7
7
  */
8
- import { View } from 'ckeditor5/src/ui';
9
- import type { Locale } from 'ckeditor5/src/utils';
8
+ import { View } from 'ckeditor5/src/ui.js';
9
+ import type { Locale } from 'ckeditor5/src/utils.js';
10
10
  export default class ConfirmView extends View {
11
11
  message: string;
12
12
  constructor(locale: Locale);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b48=['bindTemplate','set','submitView','check','submit','cancelView','Are\x20you\x20sure?','extendTemplate','div','cancel','message','setTemplate','ck-thread__remove-confirm-','_createButtonView','Yes'];(function(_0x5618a4,_0x4b48ee){const _0x15c149=function(_0x4fe446){while(--_0x4fe446){_0x5618a4['push'](_0x5618a4['shift']());}};_0x15c149(++_0x4b48ee);}(_0x4b48,0x1ce));const _0x15c1=function(_0x5618a4,_0x4b48ee){_0x5618a4=_0x5618a4-0x0;let _0x15c149=_0x4b48[_0x5618a4];return _0x15c149;};import{View as _0x36ae8b,ButtonView as _0x13b3ee}from'ckeditor5/src/ui';import{icons as _0x576402}from'ckeditor5/src/core';import{getTranslation as _0x576352}from'./common-translations';export default class h extends _0x36ae8b{constructor(_0x20d061){super(_0x20d061);const _0x5e4254=this[_0x15c1('0x3')];this[_0x15c1('0x5')]=this['_createButtonView'](_0x20d061,_0x576352(_0x20d061,_0x15c1('0x2')),_0x576402[_0x15c1('0x6')],_0x15c1('0x7')),this[_0x15c1('0x8')]=this[_0x15c1('0x1')](_0x20d061,_0x576352(_0x20d061,'No'),_0x576402[_0x15c1('0xc')],_0x15c1('0xc')),this[_0x15c1('0x4')](_0x15c1('0xd'),_0x576352(_0x20d061,_0x15c1('0x9'))),this[_0x15c1('0xe')]({'tag':_0x15c1('0xb'),'attributes':{'class':['ck-thread__remove-confirm']},'children':[{'tag':_0x15c1('0xb'),'attributes':{'class':'ck-thread__remove-confirm-inner'},'children':[{'tag':'p','children':[{'text':_0x5e4254['to'](_0x15c1('0xd'))}]},{'tag':_0x15c1('0xb'),'attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this[_0x15c1('0x8')]]}]}]});}['_createButtonView'](_0x139a3c,_0x159d5c,_0x1f3f0e,_0xf3cc76){const _0x4f1bc3=new _0x13b3ee(_0x139a3c);return _0x4f1bc3['label']=_0x159d5c,_0x4f1bc3['icon']=_0x1f3f0e,_0x4f1bc3[_0x15c1('0xa')]({'attributes':{'class':_0x15c1('0x0')+_0xf3cc76}}),_0x4f1bc3['on']('execute',()=>this['fire'](_0xf3cc76)),_0x4f1bc3;}}
23
+ const _0x398a=['cancelView','fire','extendTemplate','ck-thread__remove-confirm-actions','submit','ck-thread__remove-confirm-','ck-thread__remove-confirm','submitView','check','Are\x20you\x20sure?','div','ck-thread__remove-confirm-inner','setTemplate','icon','message','cancel','bindTemplate','execute','_createButtonView'];(function(_0x458573,_0x398abb){const _0xdf7307=function(_0x30240f){while(--_0x30240f){_0x458573['push'](_0x458573['shift']());}};_0xdf7307(++_0x398abb);}(_0x398a,0x188));const _0xdf73=function(_0x458573,_0x398abb){_0x458573=_0x458573-0x0;let _0xdf7307=_0x398a[_0x458573];return _0xdf7307;};import{View as _0x42bccd,ButtonView as _0x3e90c1}from'ckeditor5/src/ui.js';import{icons as _0x4fce87}from'ckeditor5/src/core.js';import{getTranslation as _0x5388a9}from'./common-translations.js';export default class h extends _0x42bccd{constructor(_0x53fa57){super(_0x53fa57);const _0x537a39=this[_0xdf73('0x4')];this[_0xdf73('0xe')]=this[_0xdf73('0x6')](_0x53fa57,_0x5388a9(_0x53fa57,'Yes'),_0x4fce87[_0xdf73('0xf')],_0xdf73('0xb')),this['cancelView']=this[_0xdf73('0x6')](_0x53fa57,_0x5388a9(_0x53fa57,'No'),_0x4fce87[_0xdf73('0x3')],_0xdf73('0x3')),this['set'](_0xdf73('0x2'),_0x5388a9(_0x53fa57,_0xdf73('0x10'))),this[_0xdf73('0x0')]({'tag':_0xdf73('0x11'),'attributes':{'class':[_0xdf73('0xd')]},'children':[{'tag':_0xdf73('0x11'),'attributes':{'class':_0xdf73('0x12')},'children':[{'tag':'p','children':[{'text':_0x537a39['to'](_0xdf73('0x2'))}]},{'tag':_0xdf73('0x11'),'attributes':{'class':_0xdf73('0xa')},'children':[this[_0xdf73('0xe')],this[_0xdf73('0x7')]]}]}]});}['_createButtonView'](_0xc22303,_0x5f0600,_0x5604ec,_0x52150c){const _0x2dc678=new _0x3e90c1(_0xc22303);return _0x2dc678['label']=_0x5f0600,_0x2dc678[_0xdf73('0x1')]=_0x5604ec,_0x2dc678[_0xdf73('0x9')]({'attributes':{'class':_0xdf73('0xc')+_0x52150c}}),_0x2dc678['on'](_0xdf73('0x5'),()=>this[_0xdf73('0x8')](_0x52150c)),_0x2dc678;}}
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { LocaleConfig } from '../config';
5
+ import type { LocaleConfig } from '../config.js';
6
6
  /**
7
7
  * Returns a function that formats the date to the set format.
8
8
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ec3=['dateTimeFormat','\x27Last\x27\x20EEEE\x20hh:mma','MM-dd-yyyy\x20hh:mma','\x27Today\x27\x20hh:mma','invalid-date-time-format','string','\x27Yesterday\x27\x20hh:mma','function'];(function(_0x2cf09d,_0x3ec31f){const _0x1a99a6=function(_0x3687b5){while(--_0x3687b5){_0x2cf09d['push'](_0x2cf09d['shift']());}};_0x1a99a6(++_0x3ec31f);}(_0x3ec3,0x120));const _0x1a99=function(_0x2cf09d,_0x3ec31f){_0x2cf09d=_0x2cf09d-0x0;let _0x1a99a6=_0x3ec3[_0x2cf09d];return _0x1a99a6;};import _0x3a626b from'date-fns/format';import _0x51f831 from'date-fns/parseISO';import _0x444378 from'date-fns/differenceInCalendarDays';import{CKEditorError as _0xc9dbfd}from'ckeditor5/src/utils';export default function E(_0x4d7b15={}){if(void 0x0!==_0x4d7b15[_0x1a99('0x0')]&&_0x1a99('0x7')!=typeof _0x4d7b15['dateTimeFormat'])throw new _0xc9dbfd(_0x1a99('0x4'));return _0x20adeb=>{const _0x210786=_0x1a99('0x5')==typeof _0x20adeb?_0x51f831(_0x20adeb):_0x20adeb,_0x25a4fe=new Date(),_0x308c75=_0x444378(_0x25a4fe,_0x210786);return _0x4d7b15[_0x1a99('0x0')]?_0x4d7b15[_0x1a99('0x0')](_0x210786):_0x3a626b(_0x210786,0x0===_0x308c75?_0x1a99('0x3'):0x1===_0x308c75?_0x1a99('0x6'):_0x308c75<0x7?_0x1a99('0x1'):_0x1a99('0x2'));};}
23
+ const _0x275b=['invalid-date-time-format','string','dateTimeFormat','\x27Last\x27\x20EEEE\x20hh:mma','\x27Yesterday\x27\x20hh:mma','\x27Today\x27\x20hh:mma','function','MM-dd-yyyy\x20hh:mma'];(function(_0x3c85b4,_0x275bdb){const _0x265049=function(_0x22a5eb){while(--_0x22a5eb){_0x3c85b4['push'](_0x3c85b4['shift']());}};_0x265049(++_0x275bdb);}(_0x275b,0x162));const _0x2650=function(_0x3c85b4,_0x275bdb){_0x3c85b4=_0x3c85b4-0x0;let _0x265049=_0x275b[_0x3c85b4];return _0x265049;};import _0x22bfaf from'date-fns/format/index.js';import _0x455249 from'date-fns/parseISO/index.js';import _0x146241 from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x12f927}from'ckeditor5/src/utils.js';export default function j(_0x45a8e3={}){if(void 0x0!==_0x45a8e3[_0x2650('0x0')]&&_0x2650('0x4')!=typeof _0x45a8e3[_0x2650('0x0')])throw new _0x12f927(_0x2650('0x6'));return _0x5c8d40=>{const _0x25831d=_0x2650('0x7')==typeof _0x5c8d40?_0x455249(_0x5c8d40):_0x5c8d40,_0x207e30=new Date(),_0x394cf3=_0x146241(_0x207e30,_0x25831d);return _0x45a8e3[_0x2650('0x0')]?_0x45a8e3[_0x2650('0x0')](_0x25831d):_0x22bfaf(_0x25831d,0x0===_0x394cf3?_0x2650('0x3'):0x1===_0x394cf3?_0x2650('0x2'):_0x394cf3<0x7?_0x2650('0x1'):_0x2650('0x5'));};}
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { EditingController, Marker } from 'ckeditor5/src/engine';
5
+ import type { EditingController, Marker } from 'ckeditor5/src/engine.js';
6
6
  /**
7
7
  * Returns a first DOM element mapped with the marker.
8
8
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ac7=['domConverter','getClientRects','mapper','name','filter','mapViewToDom','length','sort','values','map','view'];(function(_0x1679d6,_0x5ac75e){const _0x14cd3f=function(_0x12c431){while(--_0x12c431){_0x1679d6['push'](_0x1679d6['shift']());}};_0x14cd3f(++_0x5ac75e);}(_0x5ac7,0xc2));const _0x14cd=function(_0x1679d6,_0x5ac75e){_0x1679d6=_0x1679d6-0x0;let _0x14cd3f=_0x5ac7[_0x1679d6];return _0x14cd3f;};import{first as _0x1f39c6}from'ckeditor5/src/utils';export default function k(_0x47b163,_0x567bbd){const _0x585922=_0x47b163[_0x14cd('0x6')]['markerNameToElements'](_0x567bbd['name']);if(!_0x585922)return null;const _0x2fe562=_0x1f39c6(_0x585922[_0x14cd('0x1')]());return _0x47b163[_0x14cd('0x3')][_0x14cd('0x4')][_0x14cd('0x9')](_0x2fe562)||null;}export function getAllMarkersDomElementsSorted(_0xfd18e3,_0x50b806){if(0x0===_0x50b806[_0x14cd('0xa')])return null;const _0x488b96=[],_0x1e4114=_0xfd18e3[_0x14cd('0x3')]['domConverter'];for(const _0x2e0574 of _0x50b806){const _0x5a53c4=_0xfd18e3[_0x14cd('0x6')]['markerNameToElements'](_0x2e0574[_0x14cd('0x7')]);if(!_0x5a53c4)continue;const _0x490a3e=Array['from'](_0x5a53c4)[_0x14cd('0x2')](_0x821f3f=>_0x1e4114['mapViewToDom'](_0x821f3f))[_0x14cd('0x8')](_0xc3af0f=>!!_0xc3af0f);_0x488b96['push'](..._0x490a3e);}if(0x0===_0x488b96[_0x14cd('0xa')])return null;const _0xebdf09=[];for(const _0x467efa of _0x488b96){const _0x1d5dce=_0x467efa[_0x14cd('0x5')]()['item'](0x0);_0x1d5dce&&_0xebdf09['push']({'x':_0x1d5dce['x'],'y':_0x1d5dce['y'],'domElement':_0x467efa});}return 0x0===_0xebdf09['length']?null:(_0xebdf09[_0x14cd('0x0')]((_0x2822a8,_0x34a856)=>_0x2822a8['y']-_0x34a856['y']||_0x2822a8['x']-_0x34a856['x']),_0xebdf09['map'](_0x152e74=>_0x152e74['domElement']));}
23
+ const _0x47f6=['sort','filter','length','mapViewToDom','mapper','push','getClientRects','item','map','values','name','domConverter','from','markerNameToElements','view'];(function(_0x57794c,_0x47f6eb){const _0x203dd6=function(_0x345082){while(--_0x345082){_0x57794c['push'](_0x57794c['shift']());}};_0x203dd6(++_0x47f6eb);}(_0x47f6,0x1d3));const _0x203d=function(_0x57794c,_0x47f6eb){_0x57794c=_0x57794c-0x0;let _0x203dd6=_0x47f6[_0x57794c];return _0x203dd6;};import{first as _0x331007}from'ckeditor5/src/utils.js';export default function k(_0x591813,_0x4f32aa){const _0x22bb01=_0x591813['mapper'][_0x203d('0xb')](_0x4f32aa['name']);if(!_0x22bb01)return null;const _0x3878fd=_0x331007(_0x22bb01[_0x203d('0x7')]());return _0x591813[_0x203d('0xc')][_0x203d('0x9')]['mapViewToDom'](_0x3878fd)||null;}export function getAllMarkersDomElementsSorted(_0x57ea0c,_0x277fda){if(0x0===_0x277fda[_0x203d('0x0')])return null;const _0xd4becd=[],_0x37d32f=_0x57ea0c['view']['domConverter'];for(const _0x155ac4 of _0x277fda){const _0x777dfc=_0x57ea0c[_0x203d('0x2')][_0x203d('0xb')](_0x155ac4[_0x203d('0x8')]);if(!_0x777dfc)continue;const _0x15a871=Array[_0x203d('0xa')](_0x777dfc)[_0x203d('0x6')](_0x57ea9b=>_0x37d32f[_0x203d('0x1')](_0x57ea9b))[_0x203d('0xe')](_0x4b8f10=>!!_0x4b8f10);_0xd4becd[_0x203d('0x3')](..._0x15a871);}if(0x0===_0xd4becd[_0x203d('0x0')])return null;const _0x12a4fb=[];for(const _0x144e7f of _0xd4becd){const _0x492473=_0x144e7f[_0x203d('0x4')]()[_0x203d('0x5')](0x0);_0x492473&&_0x12a4fb[_0x203d('0x3')]({'x':_0x492473['x'],'y':_0x492473['y'],'domElement':_0x144e7f});}return 0x0===_0x12a4fb[_0x203d('0x0')]?null:(_0x12a4fb[_0x203d('0xd')]((_0x56cf1c,_0x107722)=>_0x56cf1c['y']-_0x107722['y']||_0x56cf1c['x']-_0x107722['x']),_0x12a4fb['map'](_0x2af4b0=>_0x2af4b0['domElement']));}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3521=['toString','keys','sort','boolean','charCodeAt','isArray','number'];(function(_0x3fa1e4,_0x3521b3){const _0x5c6e40=function(_0xf015a6){while(--_0xf015a6){_0x3fa1e4['push'](_0x3fa1e4['shift']());}};_0x5c6e40(++_0x3521b3);}(_0x3521,0x16f));const _0x5c6e=function(_0x3fa1e4,_0x3521b3){_0x3fa1e4=_0x3fa1e4-0x0;let _0x5c6e40=_0x3521[_0x3fa1e4];return _0x5c6e40;};export default function b(_0x466822){let _0x47b119=0x0,_0x5bce35=0x0;for(const _0x24f254 of g(_0x466822))_0x47b119=(_0x47b119<<0x5)-_0x47b119+_0x24f254,_0x47b119&=_0x47b119,[_0x47b119,_0x5bce35]=[_0x5bce35,_0x47b119];return O(_0x47b119)+O(_0x5bce35);}function*j(_0x277ebb){_0x277ebb?_0x5c6e('0x0')==typeof _0x277ebb?yield 0x1:Array[_0x5c6e('0x2')](_0x277ebb)?yield*function*(_0x377a1a){for(const _0x588983 of _0x377a1a)yield*j(_0x588983);}(_0x277ebb):'object'==typeof _0x277ebb?yield*g(_0x277ebb):'string'==typeof _0x277ebb?yield*A(_0x277ebb):_0x5c6e('0x3')==typeof _0x277ebb&&(yield _0x277ebb):yield 0x0;}function*g(_0x333668){if(yield M('{'),_0x333668){const _0x161dd1=Object[_0x5c6e('0x5')](_0x333668)[_0x5c6e('0x6')]();for(const _0x4e181c of _0x161dd1){yield*A(_0x4e181c),yield M(':');const _0x4952ca=_0x333668[_0x4e181c];yield*j(_0x4952ca);}}yield M('}');}function*A(_0x1939f4){yield M('\x22');for(const _0x101442 of _0x1939f4)yield M(_0x101442);yield M('\x22');}function M(_0x569a28){return _0x569a28[_0x5c6e('0x1')](0x0);}function O(_0x4a3cf5){return(_0x4a3cf5*=Math['sign'](_0x4a3cf5))[_0x5c6e('0x4')](0x24);}
23
+ const _0x56fc=['sign','toString','keys','isArray','object','string','charCodeAt'];(function(_0x4d9f81,_0x56fca6){const _0x3e7a6e=function(_0x3db4fc){while(--_0x3db4fc){_0x4d9f81['push'](_0x4d9f81['shift']());}};_0x3e7a6e(++_0x56fca6);}(_0x56fc,0x1aa));const _0x3e7a=function(_0x4d9f81,_0x56fca6){_0x4d9f81=_0x4d9f81-0x0;let _0x3e7a6e=_0x56fc[_0x4d9f81];return _0x3e7a6e;};export default function b(_0x274d78){let _0x711ae4=0x0,_0x3fe40c=0x0;for(const _0x164dee of A(_0x274d78))_0x711ae4=(_0x711ae4<<0x5)-_0x711ae4+_0x164dee,_0x711ae4&=_0x711ae4,[_0x711ae4,_0x3fe40c]=[_0x3fe40c,_0x711ae4];return q(_0x711ae4)+q(_0x3fe40c);}function*g(_0x327dc9){null==_0x327dc9||null==_0x327dc9?yield 0x12b9b0a1:0x0===_0x327dc9||!0x1===_0x327dc9?yield 0x0:0x1===_0x327dc9||0x1==_0x327dc9?yield 0x1:Array[_0x3e7a('0x4')](_0x327dc9)?yield*function*(_0x4068e8){for(const _0x667be8 of _0x4068e8)yield*g(_0x667be8);}(_0x327dc9):_0x3e7a('0x5')==typeof _0x327dc9?yield*A(_0x327dc9):_0x3e7a('0x6')==typeof _0x327dc9?yield*M(_0x327dc9):'number'==typeof _0x327dc9&&(yield _0x327dc9);}function*A(_0x487adc){if(yield O('{'),_0x487adc){const _0x4bbde2=Object[_0x3e7a('0x3')](_0x487adc)['sort']();for(const _0x1e7fbf of _0x4bbde2){yield*M(_0x1e7fbf),yield O(':');const _0x554b9f=_0x487adc[_0x1e7fbf];yield*g(_0x554b9f);}}yield O('}');}function*M(_0x5525b0){yield O('\x22');for(const _0x55e884 of _0x5525b0)yield O(_0x55e884);yield O('\x22');}function O(_0xfa0115){return _0xfa0115[_0x3e7a('0x0')](0x0);}function q(_0x35344e){return(_0x35344e*=Math[_0x3e7a('0x1')](_0x35344e))[_0x3e7a('0x2')](0x24);}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module collaboration-core/utils/common-translations
7
7
  */
8
- import type { Editor, EditorConfig } from 'ckeditor5/src/core';
8
+ import type { Editor, EditorConfig } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * A function that prepares config for internal editors removing all unnecessary plugins like RTC.
11
11
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47d5=['set','WebSocketGateway','WordCount','DocumentOutline','get','Autosave','pluginName','plugins','has','includes','length','rootsAttributes','every','requires','extraPlugins','_context','names','map','from','context','constructor','removePlugins','config','concat','WProofreader'];(function(_0x2dc08a,_0x47d537){const _0x548b6d=function(_0x4ccfde){while(--_0x4ccfde){_0x2dc08a['push'](_0x2dc08a['shift']());}};_0x548b6d(++_0x47d537);}(_0x47d5,0x124));const _0x548b=function(_0x2dc08a,_0x47d537){_0x2dc08a=_0x2dc08a-0x0;let _0x548b6d=_0x47d5[_0x2dc08a];return _0x548b6d;};const w=['initialData',_0x548b('0x2'),'toolbar',_0x548b('0x13')],W=[_0x548b('0x9'),'RevisionTracker',_0x548b('0xd'),_0x548b('0xa'),_0x548b('0xb'),_0x548b('0x7')];function v(_0x2eb786,_0x85ba84,_0x30f392,_0x2c0205=[]){const _0x32e8ca='string'==typeof _0x2eb786?_0x30f392[_0x548b('0xc')](_0x2eb786)[_0x548b('0x3')]:_0x2eb786,_0x4ff296=_0x32e8ca[_0x548b('0xe')]||_0x32e8ca['name'];if(_0x85ba84[_0x548b('0x10')](_0x4ff296))return _0x85ba84['get'](_0x4ff296);if(_0x85ba84['set'](_0x4ff296,!0x0),_0x4ff296&&W[_0x548b('0x6')](_0x2c0205)['includes'](_0x4ff296))return _0x85ba84[_0x548b('0x8')](_0x4ff296,!0x1),!0x1;if(!_0x32e8ca[_0x548b('0x15')])return _0x85ba84[_0x548b('0x8')](_0x4ff296,!0x0),!0x0;const _0x4cb3e7=_0x32e8ca[_0x548b('0x15')][_0x548b('0x14')](_0x173f44=>v(_0x173f44,_0x85ba84,_0x30f392,_0x2c0205));return _0x85ba84['set'](_0x4ff296,_0x4cb3e7),_0x4cb3e7;}export default function D(_0x3237c7,_0x3d494e){const _0x2350f4={};for(const _0x30700d of _0x3237c7['config'][_0x548b('0x18')]())w['includes'](_0x30700d)||(_0x2350f4[_0x30700d]=_0x3237c7[_0x548b('0x5')][_0x548b('0xc')](_0x30700d));const _0x21c831=_0x2350f4[_0x548b('0xf')]||[],_0x2f3f99=_0x3237c7[_0x548b('0x3')]['builtinPlugins']||[],_0x643721=_0x21c831[_0x548b('0x12')]?_0x21c831:_0x2f3f99,_0x3d45f7=_0x2350f4[_0x548b('0x16')]||[];delete _0x2350f4[_0x548b('0x16')];const _0x32bdb1=_0x2350f4[_0x548b('0x4')]||[];delete _0x2350f4['removePlugins'];const _0x112481=_0x3237c7[_0x548b('0x17')][_0x548b('0x5')][_0x548b('0xc')](_0x548b('0xf'))||[],_0x623686=_0x643721[_0x548b('0x6')](_0x3d45f7)['concat'](_0x112481)[_0x548b('0x0')](_0x3e620b=>'string'==typeof _0x3e620b?_0x2f3f99['find'](_0x74d172=>_0x74d172[_0x548b('0xe')]==_0x3e620b):_0x3e620b)['filter'](_0x4c55a0=>!_0x32bdb1['includes'](_0x4c55a0)&&!_0x32bdb1[_0x548b('0x11')](_0x4c55a0[_0x548b('0xe')])),_0x5a97a4=Array[_0x548b('0x1')](new Set(_0x623686)),_0x2c76a4=new Map();return _0x2350f4[_0x548b('0xf')]=_0x5a97a4['filter'](_0xd055c=>v(_0xd055c,_0x2c76a4,_0x3237c7['plugins'],_0x3d494e)),_0x2350f4;}
23
+ const _0x5517=['WProofreader','requires','includes','extraPlugins','WebSocketGateway','initialData','find','config','constructor','concat','rootsAttributes','filter','set','RevisionTracker','Autosave','_context','get','name','names','plugins','pluginName','every','context','has','builtinPlugins','removePlugins','string'];(function(_0x57f6aa,_0x551749){const _0x49ae17=function(_0x521294){while(--_0x521294){_0x57f6aa['push'](_0x57f6aa['shift']());}};_0x49ae17(++_0x551749);}(_0x5517,0x1d5));const _0x49ae=function(_0x57f6aa,_0x551749){_0x57f6aa=_0x57f6aa-0x0;let _0x49ae17=_0x5517[_0x57f6aa];return _0x49ae17;};const w=[_0x49ae('0x16'),_0x49ae('0xc'),'toolbar',_0x49ae('0x0')],W=[_0x49ae('0x15'),_0x49ae('0x3'),_0x49ae('0x4'),'WordCount','DocumentOutline',_0x49ae('0x11')];function v(_0x30c582,_0x264d9c,_0x330025,_0x50722a=[]){const _0x2d239a=_0x49ae('0x10')==typeof _0x30c582?_0x330025[_0x49ae('0x6')](_0x30c582)['constructor']:_0x30c582,_0x31818e=_0x2d239a[_0x49ae('0xa')]||_0x2d239a[_0x49ae('0x7')];if(_0x264d9c[_0x49ae('0xd')](_0x31818e))return _0x264d9c[_0x49ae('0x6')](_0x31818e);if(_0x264d9c[_0x49ae('0x2')](_0x31818e,!0x0),_0x31818e&&W[_0x49ae('0x1a')](_0x50722a)[_0x49ae('0x13')](_0x31818e))return _0x264d9c[_0x49ae('0x2')](_0x31818e,!0x1),!0x1;if(!_0x2d239a[_0x49ae('0x12')])return _0x264d9c['set'](_0x31818e,!0x0),!0x0;const _0x20cdb3=_0x2d239a[_0x49ae('0x12')][_0x49ae('0xb')](_0x55aef3=>v(_0x55aef3,_0x264d9c,_0x330025,_0x50722a));return _0x264d9c[_0x49ae('0x2')](_0x31818e,_0x20cdb3),_0x20cdb3;}export default function D(_0x5b7d6f,_0x37369a){const _0x5b9c2f={};for(const _0x30d8f3 of _0x5b7d6f[_0x49ae('0x18')][_0x49ae('0x8')]())w['includes'](_0x30d8f3)||(_0x5b9c2f[_0x30d8f3]=_0x5b7d6f['config'][_0x49ae('0x6')](_0x30d8f3));const _0x7b5a5f=_0x5b9c2f[_0x49ae('0x9')]||[],_0x4c9af3=_0x5b7d6f[_0x49ae('0x19')][_0x49ae('0xe')]||[],_0x55f6af=_0x7b5a5f['length']?_0x7b5a5f:_0x4c9af3,_0x1748df=_0x5b9c2f[_0x49ae('0x14')]||[];delete _0x5b9c2f[_0x49ae('0x14')];const _0xfcd631=_0x5b9c2f[_0x49ae('0xf')]||[];delete _0x5b9c2f[_0x49ae('0xf')];const _0x284c5d=_0x5b7d6f[_0x49ae('0x5')][_0x49ae('0x18')][_0x49ae('0x6')]('plugins')||[],_0x4fd632=_0x55f6af['concat'](_0x1748df)[_0x49ae('0x1a')](_0x284c5d)['map'](_0x196b89=>'string'==typeof _0x196b89?_0x4c9af3[_0x49ae('0x17')](_0x15b03f=>_0x15b03f[_0x49ae('0xa')]==_0x196b89):_0x196b89)[_0x49ae('0x1')](_0x457970=>!_0xfcd631[_0x49ae('0x13')](_0x457970)&&!_0xfcd631[_0x49ae('0x13')](_0x457970[_0x49ae('0xa')])),_0x5c1259=Array['from'](new Set(_0x4fd632)),_0x231ede=new Map();return _0x5b9c2f['plugins']=_0x5c1259[_0x49ae('0x1')](_0x446f23=>v(_0x446f23,_0x231ede,_0x5b7d6f[_0x49ae('0x9')],_0x37369a)),_0x5b9c2f;}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module collaboration-core/utils/surroundingmarkersdetector
7
7
  */
8
- import type { Marker, Model } from 'ckeditor5/src/engine';
8
+ import type { Marker, Model } from 'ckeditor5/src/engine.js';
9
9
  /**
10
10
  * A utility that responds to range changes in the document selection and detects which markers' ranges
11
11
  * touch or contain (surround) the document selection's focus.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25f2=['start','containsPosition','focus','markers','change:range','push','length','selection','includes','getRange','isEqual'];(function(_0x24cf0b,_0x25f28b){const _0x34abf3=function(_0x4ac443){while(--_0x4ac443){_0x24cf0b['push'](_0x24cf0b['shift']());}};_0x34abf3(++_0x25f28b);}(_0x25f2,0xfe));const _0x34ab=function(_0x24cf0b,_0x25f28b){_0x24cf0b=_0x24cf0b-0x0;let _0x34abf3=_0x25f2[_0x24cf0b];return _0x34abf3;};export default function q(_0x23eac0,_0x54905c){const _0x4cac47=[];_0x23eac0['document'][_0x34ab('0x6')]['on'](_0x34ab('0x3'),()=>{const _0x387b13=function(_0x42a0d4,_0x259522){const _0x289040=[];for(const _0x185c22 of _0x42a0d4[_0x34ab('0x2')]){const _0x4b50e4=_0x185c22[_0x34ab('0x8')]();(_0x4b50e4[_0x34ab('0x0')](_0x259522)||_0x4b50e4[_0x34ab('0xa')][_0x34ab('0x9')](_0x259522)||_0x4b50e4['end'][_0x34ab('0x9')](_0x259522))&&_0x289040['push'](_0x185c22);}return _0x289040;}(_0x23eac0,_0x23eac0['document'][_0x34ab('0x6')][_0x34ab('0x1')]),_0x22751d=[],_0x1fe1dd=[],_0x5083d2=[];for(const _0x2ff7d8 of _0x4cac47)_0x387b13['includes'](_0x2ff7d8)||_0x22751d[_0x34ab('0x4')](_0x2ff7d8);for(const _0x21bcb0 of _0x387b13)_0x4cac47[_0x34ab('0x7')](_0x21bcb0)||_0x1fe1dd['push'](_0x21bcb0),_0x5083d2[_0x34ab('0x4')](_0x21bcb0);(_0x22751d[_0x34ab('0x5')]||_0x1fe1dd['length'])&&_0x54905c({'left':_0x22751d,'entered':_0x1fe1dd}),_0x4cac47[_0x34ab('0x5')]=0x0,_0x4cac47[_0x34ab('0x4')](..._0x5083d2);});}
23
+ const _0x5de9=['containsPosition','document','push','getRange','isEqual','length','start','includes','selection','focus','change:range'];(function(_0x1e0104,_0x5de9f6){const _0x10b588=function(_0x45217d){while(--_0x45217d){_0x1e0104['push'](_0x1e0104['shift']());}};_0x10b588(++_0x5de9f6);}(_0x5de9,0xe2));const _0x10b5=function(_0x1e0104,_0x5de9f6){_0x1e0104=_0x1e0104-0x0;let _0x10b588=_0x5de9[_0x1e0104];return _0x10b588;};export default function z(_0x5d44ac,_0x58fd33){const _0x419bd9=[];_0x5d44ac[_0x10b5('0x6')][_0x10b5('0x2')]['on'](_0x10b5('0x4'),()=>{const _0x5d1f07=function(_0x5d439e,_0x32461c){const _0x2b0a79=[];for(const _0x1a1722 of _0x5d439e['markers']){const _0x46f310=_0x1a1722[_0x10b5('0x8')]();(_0x46f310[_0x10b5('0x5')](_0x32461c)||_0x46f310[_0x10b5('0x0')]['isEqual'](_0x32461c)||_0x46f310['end'][_0x10b5('0x9')](_0x32461c))&&_0x2b0a79[_0x10b5('0x7')](_0x1a1722);}return _0x2b0a79;}(_0x5d44ac,_0x5d44ac[_0x10b5('0x6')][_0x10b5('0x2')][_0x10b5('0x3')]),_0x4267cd=[],_0x1787d9=[],_0x20e818=[];for(const _0x268135 of _0x419bd9)_0x5d1f07[_0x10b5('0x1')](_0x268135)||_0x4267cd[_0x10b5('0x7')](_0x268135);for(const _0x168f7d of _0x5d1f07)_0x419bd9[_0x10b5('0x1')](_0x168f7d)||_0x1787d9[_0x10b5('0x7')](_0x168f7d),_0x20e818[_0x10b5('0x7')](_0x168f7d);(_0x4267cd[_0x10b5('0xa')]||_0x1787d9[_0x10b5('0xa')])&&_0x58fd33({'left':_0x4267cd,'entered':_0x1787d9}),_0x419bd9[_0x10b5('0xa')]=0x0,_0x419bd9[_0x10b5('0x7')](..._0x20e818);});}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x264c=['pop','length','slice','split','...','indexOf','push','match','join','startsWith','replace','substring'];(function(_0x325abf,_0x264c9e){const _0x4508b9=function(_0x87217e){while(--_0x87217e){_0x325abf['push'](_0x325abf['shift']());}};_0x4508b9(++_0x264c9e);}(_0x264c,0x137));const _0x4508=function(_0x325abf,_0x264c9e){_0x325abf=_0x325abf-0x0;let _0x4508b9=_0x264c[_0x325abf];return _0x4508b9;};export default function z(_0x28dab1,{limit:_0x3b5990,suffix:_0x5e0fce=_0x4508('0x5')}){const _0x320bc2=[];let _0x416e34=0x0;const _0x26cb61=_0x28dab1[_0x4508('0xb')](/</g,'\x0a<')[_0x4508('0xb')](/>/g,'>\x0a')[_0x4508('0xb')](/^\n/g,'')['replace'](/\n$/g,'')[_0x4508('0x4')]('\x0a');for(let _0x39aac7=0x0;_0x39aac7<_0x26cb61['length'];_0x39aac7++){let _0x499751=_0x26cb61[_0x39aac7];const _0x3462d5=Z(_0x499751);if(_0x499751[_0x4508('0xa')]('<')){if(_0x416e34>=_0x3b5990){const _0x345889=_0x499751[_0x4508('0x8')](/[a-zA-Z]+/);if(!_0x345889){_0x26cb61[_0x39aac7]='';continue;}const _0x2097d3=_0x345889[0x0];_0x499751['startsWith']('</')?(_0x320bc2[_0x4508('0x2')]&&(_0x499751=''),_0x320bc2[_0x4508('0x1')]()):(_0x320bc2[_0x4508('0x7')](_0x2097d3),_0x499751='');}}else{if(_0x416e34>=_0x3b5990)_0x499751='';else{if(_0x416e34+_0x3462d5[_0x4508('0x2')]>=_0x3b5990){let _0x5ce393=_0x3b5990-_0x416e34;if('\x20'===_0x3462d5[_0x5ce393-0x1])_0x5ce393--;else{const _0x5b4c69=_0x3462d5[_0x4508('0x3')](_0x5ce393)[_0x4508('0x6')]('\x20');-0x1!==_0x5b4c69?_0x5ce393+=_0x5b4c69:_0x5ce393=_0x499751['length'];}_0x499751=_0x3462d5[_0x4508('0x3')](0x0,_0x5ce393)[_0x4508('0x9')]('')+_0x5e0fce,_0x416e34=_0x3b5990;}else _0x416e34+=_0x3462d5[_0x4508('0x2')];}}_0x26cb61[_0x39aac7]=_0x499751;}return _0x26cb61['join']('\x0a')[_0x4508('0xb')](/\n/g,'');}function Z(_0x59cc3d){const _0x340d22=[];for(let _0x4655dd=0x0;_0x4655dd<_0x59cc3d[_0x4508('0x2')];_0x4655dd++){const _0x43f7e4=_0x59cc3d[_0x4508('0x0')](_0x4655dd)[_0x4508('0x8')](/^&[a-z0-9#]+;/);if(_0x43f7e4){const _0x3deb98=_0x43f7e4[0x0];_0x340d22[_0x4508('0x7')](_0x3deb98),_0x4655dd+=_0x3deb98[_0x4508('0x2')]-0x1;}else _0x340d22['push'](_0x59cc3d[_0x4655dd]);}return _0x340d22;}
23
+ const _0x4f9d=['length','startsWith','...','replace','match','substring','push','join','pop','slice','indexOf'];(function(_0x5bc7d9,_0x4f9dbc){const _0x11eb0e=function(_0x4697ee){while(--_0x4697ee){_0x5bc7d9['push'](_0x5bc7d9['shift']());}};_0x11eb0e(++_0x4f9dbc);}(_0x4f9d,0x1e5));const _0x11eb=function(_0x5bc7d9,_0x4f9dbc){_0x5bc7d9=_0x5bc7d9-0x0;let _0x11eb0e=_0x4f9d[_0x5bc7d9];return _0x11eb0e;};export default function Z(_0x5a3a76,{limit:_0x578291,suffix:_0x10bc26=_0x11eb('0x1')}){const _0x3e575e=[];let _0x302d53=0x0;const _0x470094=_0x5a3a76[_0x11eb('0x2')](/</g,'\x0a<')[_0x11eb('0x2')](/>/g,'>\x0a')[_0x11eb('0x2')](/^\n/g,'')[_0x11eb('0x2')](/\n$/g,'')['split']('\x0a');for(let _0x434775=0x0;_0x434775<_0x470094['length'];_0x434775++){let _0x59f6a8=_0x470094[_0x434775];const _0x4776fe=$(_0x59f6a8);if(_0x59f6a8[_0x11eb('0x0')]('<')){if(_0x302d53>=_0x578291){const _0x48e30c=_0x59f6a8[_0x11eb('0x3')](/[a-zA-Z]+/);if(!_0x48e30c){_0x470094[_0x434775]='';continue;}const _0x365f1e=_0x48e30c[0x0];_0x59f6a8[_0x11eb('0x0')]('</')?(_0x3e575e[_0x11eb('0xa')]&&(_0x59f6a8=''),_0x3e575e[_0x11eb('0x7')]()):(_0x3e575e['push'](_0x365f1e),_0x59f6a8='');}}else{if(_0x302d53>=_0x578291)_0x59f6a8='';else{if(_0x302d53+_0x4776fe[_0x11eb('0xa')]>=_0x578291){let _0x15786b=_0x578291-_0x302d53;if('\x20'===_0x4776fe[_0x15786b-0x1])_0x15786b--;else{const _0x52beca=_0x4776fe[_0x11eb('0x8')](_0x15786b)[_0x11eb('0x9')]('\x20');-0x1!==_0x52beca?_0x15786b+=_0x52beca:_0x15786b=_0x59f6a8[_0x11eb('0xa')];}_0x59f6a8=_0x4776fe[_0x11eb('0x8')](0x0,_0x15786b)[_0x11eb('0x6')]('')+_0x10bc26,_0x302d53=_0x578291;}else _0x302d53+=_0x4776fe[_0x11eb('0xa')];}}_0x470094[_0x434775]=_0x59f6a8;}return _0x470094['join']('\x0a')[_0x11eb('0x2')](/\n/g,'');}function $(_0x1d205a){const _0x377fec=[];for(let _0x3d0cb6=0x0;_0x3d0cb6<_0x1d205a[_0x11eb('0xa')];_0x3d0cb6++){const _0x44b6df=_0x1d205a[_0x11eb('0x4')](_0x3d0cb6)[_0x11eb('0x3')](/^&[a-z0-9#]+;/);if(_0x44b6df){const _0xd0a2be=_0x44b6df[0x0];_0x377fec['push'](_0xd0a2be),_0x3d0cb6+=_0xd0a2be['length']-0x1;}else _0x377fec[_0x11eb('0x5')](_0x1d205a[_0x3d0cb6]);}return _0x377fec;}
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
8
  */
9
9